You are here: Start » FIL.NET » Invoke.ConvertPixelType

Invoke.ConvertPixelType

Changes the type of pixel components.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ConvertPixelType
(
	Fil.Image inImage,
	Optional<Fil.Region> inRoi,
	Fil.PlainType inNewType,
	int inDepthDelta,
	Fil.Image outImage
)

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inRoiFtl.Optional<Fil.Region>Range of pixels to be processed. Default value: ftl::NIL.
inNewTypeFil.PlainTypeUInt8Type of the output image. Default value: UInt8.
inDepthDeltaint<-30, 30>0Pixel values will be multiplied by 2^inDepthDelta. For example, use -4 to convert 12-bit to 8-bit images. Default value: 0.
outImageFil.ImageOutput image.

See also