CogPixelMapAlgorithmConstants EnumerationCognex VisionPro 9.20
Enumeration of constants used to specify the algorithm to use to compute the mapping. The algorithm dictates which histogram statistics is performed and how the reference points are selected

Namespace: Cognex.VisionPro.PixelMap
Assembly: Cognex.VisionPro.PixelMap (in Cognex.VisionPro.PixelMap.dll) Version: 80.0.0.0
Syntax

[FlagsAttribute]
public enum CogPixelMapAlgorithmConstants
Members

  Member nameValueDescription
MinMax0 Use the minimum and maximum values in the histogram statistics of the input image to fill the output range
Tails1 Use the low tail and high tail in the histograms statistics of the input image to fill the output range
MeanStdDev2 Use the mean minus a multiple of the standard deviation and the mean plus a (possibly different) multiple of the standard deviation to fill the output range
TypeRange4 Use the minimum and maximum values of the range of the input type (e.g. 0 and 65536 for 16-bit input images) to fill the output range. Note that the "proper" mapping of, e.g., the full 16-bit range to the full 8-bit range is a shift by 8 bits (or, equivalently, a division by 256), which implies that the correct mapping is from 65536 to 256, rather than from 65535 to 255
See Also