CogPMRedLinePattern PropertiesCognex VisionPro 9.23

The CogPMRedLinePattern 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 propertyFeatureThreshold
Gets or sets the feature threshold. This value controls how many features are included in the trained pattern. Raising the threshold reduces the number of trained features.
Public propertyGrainLimitCoarse
Gets or sets the coarse granularity limit. This is the maximum amount of subsampling that will be applied to the input image when PMRedLine searchs for instances of your pattern. If GrainLimitCoarseAutoSelect is "true" this granularity limit will be recomputed automatically when the pattern is trained, overwriting the previous value.
Public propertyGrainLimitCoarseAutoSelect
Gets or sets whether to automatically recompute the coarse granularity limit during pattern training. If "true", the limit computed during training will overwrite the existing GrainLimitCoarse. Otherwise, it will remain unchanged.
Public propertyGrainLimitFine
Gets or sets the fine granularity limit. This is the minimum amount of subsampling that will be applied to the input image when PMRedLine searchs for instances of your pattern. If GrainLimitFineAutoSelect is "true" this granularity limit will be recomputed automatically when the pattern is trained, overwriting the previous value.
Public propertyGrainLimitFineAutoSelect
Gets or sets whether to automatically recompute the fine granularity limit during pattern training. If "true", the limit computed during training will overwrite the existing GrainLimitFine. Otherwise, it will remain unchanged.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyOrigin
Gets or sets a six degree of freedom (DOF) origin for the pattern. This linear transform maps points from "Pattern Space" to the selected space of the train image.
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 propertyTrained
Gets whether this pattern is currently trained.
Public propertyTrainImage
Gets or sets the image that will be used to train this PMRedLine pattern. Pattern features will be found and trained only from portions of the image within the train region.
Public propertyTrainImageMask
Gets or sets the mask to be used when training a CogPMRedLine pattern. The mask allows you to identify areas of the train image as "Care" or "Don't Care".
Public propertyTrainImageMaskOffsetX
Gets or sets the X offset (in pixels) for the train image mask.
Public propertyTrainImageMaskOffsetY
Gets or sets the Y offset (in pixels) for the train image mask.
Public propertyTrainRegion
Gets or sets the train region. Only the portion of the train image that lies within this region will be trained by PMRedLine. If the supplied region object is null, the entire train image will be trained.
Public propertyTrainRegionMode
Gets or sets the train region mode. This mode specifies how the train region is applied to the train image.
Public propertyTrainTimeout
Gets or sets the maximum execution time (in msec) allowed when a PMRedLine tool is trained. This value only applies if TrainTimeoutEnabled is set to "true".
Public propertyTrainTimeoutEnabled
Gets or sets whether to enable the train timeout.
Top
See Also