The CogPatInspectPattern type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ChangedEventSuspended | 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. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| InterpolationMode | Specifies how affine transforms are applied. | |
| Origin | A 6 DOF origin for the pattern. This transform maps from "Pattern Space" to the selected space of TrainImage. | |
| SobelOffset | 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. | |
| SobelScale | 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. | |
| StatisticalTrainingEnded | Gets whether (statistical) training of this pattern has been ended. | |
| ThresholdOffset | The threshold coefficients are used to compute a threshold image from the standard deviation image. Threshold Pixel = [ThresholdScale * Standard Deviation Pixel] + ThresholdOffset. | |
| ThresholdScale | The threshold coefficients are used to compute a threshold image from the standard deviation image. Threshold Pixel = [ThresholdScale * Standard Deviation Pixel] + ThresholdOffset. | |
| Trained | True if the pattern is trained. | |
| TrainedCount | 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. | |
| TrainImage | 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. | |
| TrainImageMask | 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). | |
| TrainImageMaskOffsetX | 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. | |
| TrainImageMaskOffsetY | 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. | |
| TrainRegion | 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. | |
| TrainRegionMode | Specifies how the TrainRegion is applied to the TrainImage. |
See Also