The CogPMAlignRunParams type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AcceptThreshold | Acceptance threshold on the score of a result. Only instances of the pattern that receive scores greater than or equal to this threshold are accepted. Valid range is from 0 to 1. | |
| ApproximateNumberToFind | Number of results to look for. In some cases, PMAlign may return more or fewer results than requested. | |
| AutoEdgeThresholdEnabled | If true, user provided edge threshold will be used for training. If false, computed edge threshold will be used. Default value is false. | |
| 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. | |
| CoarseAcceptThreshold | If CoarseAcceptThresholdEnabled is true, then results whose score is greater than or equal to CoarseAcceptThreshold will be refined and then compared against AcceptThreshold. Otherwise result scores are only compared against AcceptThreshold. The legal range for CoarseAcceptThreshold is [0.0, 1.0] and the default is 0.33. | |
| CoarseAcceptThresholdEnabled | Whether to use CoarseAcceptThreshold. Default is false. | |
| ContrastThreshold | Minimum acceptable contrast for a pattern instance. Only pattern instances where the average difference in pixel values across all feature boundaries exceeds the contrast threshold are considered by PMAlign. Threshold must be between 0 and 65535. | |
| EdgeThreshold | Run-time edge threshold, under which, edges will be ignored. Valid value range is from 0.0 to 65535.0. Default value is 5.0. | |
| GrainLimitCoarse | Coarse grain limit that will be used at run-time if GrainLimitsUsePattern is false. Coarse must be greater than or equal to fine. Setting coarse less than fine will also set fine to the new coarse value. Valid range is from 1.0 to 25.5 inclusive. | |
| GrainLimitFine | Fine grain limit that will be used at run-time if GrainLimitsUsePattern is false. Coarse must be greater than or equal to fine. Setting fine greater than coarse will also set coarse to the new fine value. Valid range is from 1.0 to 25.5 inclusive. | |
| GrainLimitsUsePattern | If true then the grain limits specified in CogPMAlignPattern will be used. If false then the grain limits specified in this CogPMAlignRunParams will be used. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| OutsideRegionThreshold | Specifies the proportion of features that can be outside the search region without affecting score. The value must be set to 0 when using PatFlex or PatMaxPerspective train algorithm. | |
| OwnedFlexParams | Gets the runtime parameters specific to the PatFlex algorithm. These parameters are owned by this object, but are conveniently grouped together inside the returned interface. | |
| RunAlgorithm | The algorithm used to run this PMAlign pattern. The algorithm specified must be among those for which the PMAlign object was trained. | |
| RunMode | The mode in which this PMAlign pattern will be run. | |
| SaveMatchInfo | Flag indicating whether to save information necessary to create result match graphics. Must be set to true if user wants to get match info graphics using the ICogPMAlignResult::CreateResultGraphics method. | |
| ScoreUsingClutter | Determines if PatMax considers extraneous features when computing the score of a pattern instance. True, extraneous features are considered and will result in lower scores. False, extraneous features are ignored. Available for PatMax only. | |
| SearchImageMask | Mask that is used when running the PMAlign pattern. The mask allows the user to identify areas of the pattern as "Care" or "Don't Care". The mask is aligned to the run-time input image using the SearchImageMaskOffsetX & Y values. | |
| SearchImageMaskOffsetX | X offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the run-time input image to the upper-left corner of the SearchImageMask in image coordinates of the input image. | |
| SearchImageMaskOffsetY | Y offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the run-time input image to the upper-left corner of the SearchImageMask in image coordinates of the input image. | |
| SearchRegionMode | Mode which specifies how the search region is to be applied to the input image of a PMAlign inspection. | |
| StartPose | Transform that defines the starting model pose within the input image. | |
| Timeout | The maximum execution time (msec) allowed to run a PMAlign inspection. If PMAlign has not finished by the end of the timeout period, it will stop soon thereafter and return E_Cog_TimeoutExpired. This value only applies if TimeoutEnabled is true. | |
| TimeoutEnabled | If true then the Timeout property limits the execution time of the PMAlign inspection. If false then timeout is disabled and the Timeout property is ignored. | |
| XYOverlap | Result candidates overlap in area if the percentage of area overlap is greater than XYOverlap. PMAlign discards the weaker pattern instance when two pattern instances overlap for all DOFs as well as area. | |
| ZoneAngle | Zone configuration for the angle degree of freedom. Units are in Radians. | |
| ZoneScale | Zone configuration for the uniform scale degree of freedom. | |
| ZoneScaleX | Zone configuration for the X scale degree of freedom only. | |
| ZoneScaleY | Zone configuration for the Y scale degree of freedom only. |
See Also