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

Invoke.ConvertPixelType

Changes the type of pixel components.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inNewTypeAvl.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.
outImageAvl.ImageOutput image.

See also