ImageGear Professional for Windows ActiveX
TransformWithLUT Method

Description:

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.

Syntax:

      TransformWithLUT (ByVal pPage As IGPage, ByVal colorChannel As
enumIGColorChannels)

Parameters:

Name Description
pPage Reference to IGPage Object.
colorChannel Specifies which color channel to use, or to use all three.

Return Value:

An integer array that contains the resulting histogram.

Bits Per Pixel:

8-bit gray level, 24

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback