CogAutoSelect PropertiesCognex VisionPro 9.8

The CogAutoSelect 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.
(Inherited from CogSerializableChangedEventBase.)
Public propertyCNLSearchRunParams
Get or sets the CogCNLSearchRunParams to be used during the auto selection process.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyInputImageMask
Gets or sets the input image mask to be used during the auto selection process. Only the three most significant bits of each mask image pixel are used:
  • Bit 7 (MSB): Care bit. One (1) means "Care", as in "use this feature in the model", while zero (0) means "do not use this feature in the model".
  • Bit 6: Don't Score bit. One (1) means "Don't Score", as in "don't compute clutter score", while zero means "Score", as in "do compute clutter score".
  • Bit 5: Position bit. One (1) means discard any model that includes this pixel, while zero (0) means the opposite.
Public propertyInputImageMaskOffsetX
Gets or sets the input image mask X offset in pixels. This offset is the horizontal distance in pixels from the upper left corner of the input image to the upper left corner of the InputImageMask.
Public propertyInputImageMaskOffsetY
Gets or sets the input image mask Y offset in pixels. This offset is the vertical distance in pixels from the upper left corner of the input image to the upper left corner of the InputImageMask.
Public propertyMaxNumResults
Gets or sets the maximum number of results.
Public propertyModelMask
Gets or sets the model mask to be used during the auto selection process. The size of this mask must match the run time values of ModelSizeX and ModelSizeY.
Public propertyModelSizeX
Gets or sets the desired image model X dimension in pixels.
Public propertyModelSizeY
Gets or sets the desired image model Y dimension in pixels.
Public propertyPMAlignRunParams
Get or sets the CogPMAlignRunParams to be used during the auto selection process.
Public propertyQueryPointCount
Get the number of currently defined query points.
Public propertyRegionMode
Gets or sets the region mode. Legal values include PixelAlignedBoundingBox and PixelAlignedBoundingBoxAdjustMask.
Public propertyRunMode
Gets or sets the run mode. Legal values include Search (process the entire input image) and Query (only consider specified locations).
Public propertySamplingInterval
Gets or sets the sampling interval in pixels. Increasing the sampling interval causes CogAutoSelect to run faster but produce lower quality results.
Public propertyScoringCombineMethod
Gets or sets the scoring combine method. Legal values include GeometricMean and ArithmeticMean.
Public propertyScoringOrthogonalityWeight
Gets or sets the orthogonality scoring weight.
Public propertyScoringSymmetryWeight
Gets or sets the symmetry scoring weight.
Public propertyScoringUniquenessWeight
Gets or sets the uniqueness scoring weight.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Public propertyTarget
Gets or sets the target tool type. Legal values include PMAlign and CNLSearch.
Public propertyXYOverlap
Gets or sets the XY overlap required to consider two instances to be the same result. Overlap is (approximately) the ratio of overlap area to total area of the pattern, in the range of 0.0 (no overlap) to 1.0 (full overlap) inclusive. Note that this parameter has a large effect upon execution time - low values (below 0.5) may cause a significant slowdown.
Top
See Also