CWIMAQDisplayMapping

NI Vision for Visual Basic

CWIMAQDisplayMapping

CWIMAQDisplayMapping enables the pixel mapping policy for displaying 16-bit images. Because 16-bit grayscale images cannot be displayed with their full resolution on 32-bit color displays using common video adapters limited to 8-bit resolution per color plane , 16-bit images must be mapped to the 8-bit range (0 to 255).

Properties

NumberOfShiftsNumber of bits to right-shift the pixel values for the Downshift display mapping method.
PolicyPolicy used to perform the display mapping.
RangeRange used when the display mapping policy is map given range or map given percent range.

Methods

DownshiftApplies a given number of right shifts to the 16-bit pixels.
Map90PercentDynamicRangeMaps the range corresponding to the center 90 percent of the cumulative histogram to 8 bits.
MapFullDynamicRangeMaps the image full dynamic to 8 bits.
MapGivenPercentRangeMaps the pixel values in the relative percentage range (0 to 100) of the cumulated histogram to an 8-bit scale.
MapGivenRangeMaps the pixel values in a specified range to an 8-bit scale.

See Also

CWIMAQViewer.DisplayMapping