You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | inNewType | Avl.PlainType | UInt8 | Type of the output image. Default value: UInt8. | |
![]() | inDepthDelta | int | <-30, 30> | 0 | Pixel values will be multiplied by 2^inDepthDelta. For example, use -4 to convert 12-bit to 8-bit images. Default value: 0. |
![]() | outImage | Avl.Image | Output image. |