DisplayMapping
Describes the display mapping policy for a selected window.
Elements
Name | Type | Description |
---|---|---|
method | MappingMethod | Describes the method for converting 16-bit pixels to 8-bit pixels. |
minimumValue | int | When method is IMAQ_RANGE, minimumValue represents the value that is mapped to 0. When method is IMAQ_PERCENT_RANGE, minimumValue represents the percentage of the range used to compute the pixel value mapped to 0. Otherwise, minimumValue does not affect the mapping policy. |
maximumValue | int | When method is IMAQ_RANGE, maximumValue represents the value that is mapped to 255. When method is IMAQ_PERCENT_RANGE, maximumValue represents the percentage of the range used to compute the pixel value mapped to 255. Otherwise, maximumValue does not affect the mapping policy. |
shiftCount | int |
When method is IMAQ_DOWNSHIFT, shiftCount represents the number of bits the function right-shifts the 16-bit pixel values. Otherwise, shiftCount does not affect the mapping policy. For more information, refer to the Display functions topic. |