CogShapePolarize PropertiesCognex VisionPro

The CogShapePolarize type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyCombineMode
Indicates the mode that the shape polarization operator will use for combining the original shape polarities with the polarities derived from the image.
Public propertyContrastThreshold
The minimum absolute contrast difference between a polarity sample point's probes that is required to make a polarity determination. If the difference is less than the threshold then the polarity sample point is assigned an undefined polarity.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyMaintainShapeIntegrity
If true then the shape will not be broken up into sections due to differing polarities along the shape's boundary. In this case, the MinPolarityPerimeter property is ignored. A primitive shape that is broken up into sections will become a contour.
Public propertyMinPolarityPerimeter
The minimum length a constant-polarity section of the shape must have in order to be preserved. Sections that are shorter than this length will be combined with neighboring sections and the polarity will be set based on polarity of its neighbors.
Public propertyProbeOffsetInPixels
The probe offset specifies the distance from the shape to each of the two points where the image intensity is sampled. This parameter is specified in image pixel units.
Public propertyProbeResolution
The probe resolution specifies the maximum arc length, in shape selected space units, between adjacent polarity sample points along the original shape. Some portions of the shape may be sampled more densely than the specified probe resolution.
Top
See Also