ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > TransformWithLUTs Method |
Transforms the pixel values of the IGPage, using an array of look up tables. The pixels from IGPage are used as indices into the LUTs. The entry in the LUT at this position is placed into the corresponding channel of the new image.
Number of LUTs must correspond to the number of channels in the image. Input depths of all LUTs must be equal to corresponding channel depths of the image. Channel depths of result image will be equal to output depths of the corresponding LUTs.
This method takes into account the ROI settings of pPage object, that are accessible via the IGPage.ROI property. By default ROI is set to the entire image.
TransformWithLUTs(
ByVal pPage As IGPage,
LUTs as IGDataArray
);
Name | Description |
---|---|
pPage | Reference to IGPage object. |
LUTs | IGDataArray containing elements of type IGLUT. |