Image operations
This section covers the API to the supplied low-level image operations. For more examples and information, refer to the relevant guides in the User Guide.
Format conversion
|
Convert a frame to grayscale. |
|
Convert a frame to BGR format. |
|
Convert a frame to HSV format. |
Drawing
|
Convenience function for drawing contour(s) on an image. |
|
Convenience function for drawing rectangle(s) on an image. |
|
Convenience function for drawing circle(s) on an image. |
|
Convenience function for drawing ellipse(s) on an image. |
Mask constructors
|
Convenience class for performing segmentation to a mask. |
|
Mask an image to a new roi. |
|
Create a rectangular mask. |
|
Create a circular mask. |
|
Create a contour mask at the dimensions of contour(s). |
|
Create an ellipse mask. |
Contour filters
|
Contour filter that returns the smallest contour by area. |
|
Contour filter that returns the largest contour by area. |
|
Contour filter that returns only parent contours. |
|
Filter contours by area based on a lower or upper limit, or both. |
|
Filter contours by eccentricity based on a lower or upper limit, or both. |
|
Filter contours by solidity based on a lower or upper limit, or both. |
Additional contour functions
|
Fit bounding boxes to contour(s). |
|
Fit minimum enclosing circles to contour(s). |
|
Fit ellipses to contour(s). |
|
Convenience function for contour detection. |
|
Convenience function to cast contour(s) to a given x,y. |