CogCNLSearchResult Contrast Property Cognex VisionPro 9.5
The Contrast is the ratio of the standard deviation of the pixels in the trained pattern to the standard deviation of the care pixels in the located pattern.

Namespace: Cognex.VisionPro.CNLSearch
Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 69.0.0.0
Syntax

public double Contrast { get; }

Property Value

Type: Double
Exceptions

ExceptionCondition
CogCNLSearchContrastNotComputedException

This result was not created using the LinearSearchalgorithm.

Remarks

The contrast value is the ratio of the standard deviation of the image pixel values to the standard deviation of the model image pixels (including only "care" model pixels and image pixels that correspond to "care" model pixels). Contrast provides a measure of the image contrast of the search image relative to the image contrast of the trained model. Values greater than 1.0 indicate a search image with greater contrast than the trained model; values less than 1.0 indicate a search image with lower contrast.

See Also