CogOCVMaxSearchParams DeformationRate Property Cognex VisionPro
The maximum deformation rate to be accommodated in flexible alignment of characters. Note that larger values may increase running time, and will make it easier for the tool to become confused between characters with similar appearance. For example, a U could be flexed into a V, or a 5 into an S, when allowing a sufficiently high deformation rate. Set this to the smallest value that works for your application's particular deformation. A value of 0 still allows some deformation.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax

public double DeformationRate { get; set; }

Property Value

Type: Double
This read/write property of type Double must be between zero and one inclusive.
Events

Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxSearchParams object has already been disposed.
ArgumentOutOfRangeExceptionIf you attempt to set this to a value less than zero or more than one.
See Also