You are here: Start » FIL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inNewType | Fil.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 | Fil.Image | Output image. |