The CogPMRedLinePattern 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.
(Inherited from CogSerializableChangedEventBase.) | |
| FeatureThreshold |
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.
| |
| GrainLimitCoarse |
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.
| |
| GrainLimitCoarseAutoSelect |
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.
| |
| GrainLimitFine |
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.
| |
| GrainLimitFineAutoSelect |
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.
| |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| Origin |
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.
| |
| StateFlags |
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.) | |
| Trained |
Gets whether this pattern is currently trained.
| |
| TrainImage |
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.
| |
| TrainImageMask |
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".
| |
| TrainImageMaskOffsetX |
Gets or sets the X offset (in pixels) for the train image mask.
| |
| TrainImageMaskOffsetY |
Gets or sets the Y offset (in pixels) for the train image mask.
| |
| TrainRegion |
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.
| |
| TrainRegionMode |
Gets or sets the train region mode. This mode specifies how the
train region is applied to the train image.
| |
| TrainTimeout |
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".
| |
| TrainTimeoutEnabled |
Gets or sets whether to enable the train timeout.
|
See Also