CogPatInspectPattern PropertiesCognex VisionPro

The CogPatInspectPattern 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 propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyInterpolationMode
Specifies how affine transforms are applied.
Public propertyOrigin
A 6 DOF origin for the pattern. This transform maps from "Pattern Space" to the selected space of TrainImage.
Public propertySobelOffset
The Sobel coefficients are used to compute a pseudo standard deviation image when the pattern has been trained from a single image. Standard Deviation Pixel = [SobelScale * Sobel Magnitude Pixel Value] + SobelOffset.
Public propertySobelScale
The Sobel coefficients are used to compute a pseudo standard deviation image when the pattern has been trained from a single image. Standard Deviation Pixel = [SobelScale * Sobel Magnitude Pixel Value] + SobelOffset.
Public propertyStatisticalTrainingEnded
Gets whether (statistical) training of this pattern has been ended.
Public propertyThresholdOffset
The threshold coefficients are used to compute a threshold image from the standard deviation image. Threshold Pixel = [ThresholdScale * Standard Deviation Pixel] + ThresholdOffset.
Public propertyThresholdScale
The threshold coefficients are used to compute a threshold image from the standard deviation image. Threshold Pixel = [ThresholdScale * Standard Deviation Pixel] + ThresholdOffset.
Public propertyTrained
True if the pattern is trained.
Public propertyTrainedCount
The number of images that are statistically incorporated into the pattern. This number is equal to the number of times StatisticalTrain has been called plus one for the initial call to Train.
Public propertyTrainImage
Image used to train PatInspect. Additional images may be incorporated into the pattern using the StatisticalTrain method. The TrainRegion is applied to this TrainImage in order to define the region that will be used to train the pattern.
Public propertyTrainImageMask
Mask used when training the PatInspect pattern. The mask allows the user to identify areas of the pattern as "Care" (128-255) or "Don't Care" (0-127).
Public propertyTrainImageMaskOffsetX
X offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the TrainImage to the upper-left corner of the TrainImageMask in image coordinates of the TrainImage.
Public propertyTrainImageMaskOffsetY
Y offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the TrainImage to the upper-left corner of the TrainImageMask in image coordinates of the TrainImage.
Public propertyTrainRegion
Region of interest in the TrainImage that will be used to train the pattern. A NULL TrainRegion indicates that the entire TrainImage will be used to train the PatInspect pattern.
Public propertyTrainRegionMode
Specifies how the TrainRegion is applied to the TrainImage.
Top
See Also