Changes the type of pixel components.
|inRoi||Region*||Range of pixels to be processed|
|inNewType||PlainType||Type of the output image|
|inDepthDelta||Integer||-30 - 30||Pixel values will be multiplied by 2^inDepthDelta. For example, use -4 to convert 12-bit to 8-bit images.|
The operation alters the pixel component format of the inImage. Available formats are listed in the documentation of the Image data type.
If the value of pixel component doesn't fit in the range of the new type, it is clipped to the nearest proper value, which can lead to the significant loss of information, as demonstrated in the example.
This operation supports automatic parallelization for multicore and multiprocessor systems.
This filter is available on Basic Complexity Level.