Expand description
Specialized utilities for working with contours found by imageproc::contours.
This module provides functions for filtering, sorting, and analyzing the hierarchy of
contours, complementing the core functionality in imageproc.
Functionsยง
- remove_
hypotenuse_ in_ place - Filters a vector of contours in-place based on shape properties.
- sort_
by_ direct_ children_ count_ owned - Counts the number of direct child contours for each contour by consuming the input vector,
and returns pairs of
(Contour, count), sorted by the count in descending order. - sort_
by_ perimeters_ owned - Calculates the perimeter of each contour and sorts them in descending order.