ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > TransformWithLUT Method |
Transforms the pixel values of an image using a LUT. The pixels from pPage are used as indices into the LUT. The entry in the LUT at this position is placed into the new image. For 24-bit images, the three channels each have their own LUT.
This method takes into account the ROI settings of pPage object, that are accessible via the IGPage Object.ROI Property. By default ROI is set to the entire image.
TransformWithLUT (ByVal pPage As IGPage, ByVal colorChannel As
enumIGColorChannels)
Name | Description |
---|---|
pPage | Reference to IGPage Object. |
colorChannel | Specifies which color channel to use, or to use all three. |
An integer array that contains the resulting histogram.
8-bit gray level, 24
Image Processing and Effects