CWMVCountAndMeasureObjectsOptions
CWMVCountAndMeasureObjectsOptions contains optional parameters used by the CWMachineVision.CountAndMeasureObjects method. These optional parameters include parameters to the algorithm as well as properties that indicate what overlays to add to the image.
Properties
FillHoles | Boolean that specifies if the holes in the binary objects are ignored. The default is False. |
IgnoreBorderObjects | Boolean that specifies if the binary objects touching the borders of the search area are ignored. The default is False. |
MaxObjectSize | Largest objects to consider. The default is 100. |
MinObjectSize | Smallest objects to consider. The default is 3. |
Objects | Type of objects to be detected. The default is cwmvBrightObjects. |
ShowBoundingBox | Boolean that determines if the bounding rectangles of the objects found are overlaid on the image. The default is True. |
ShowCenter | Boolean that determines if the locations of the objects found are overlaid on the image. The default is True. |
ShowSearchArea | Boolean that determines if the search area is overlaid on the image. The default is False. |
Threshold | Grayscale intensity that is used as the threshold level. The default is 128. |
UseMaxObjectSize | Boolean that specifies if the detected objects larger than MaxObjectSize are ignored. The default is False. |
UseMinObjectSize | Boolean that specifies if the detected objects smaller than MinObjectSize are ignored. The default is False. |