Function:BitConversion
From CUVI Wiki
Converts image pixel values from one data type to another. It uses dataBits field of CuviImage to decide the number of bits of the destination image.
Function
|
Parameters
Name | Type | Description |
---|---|---|
srcImage | CuviImage* | Input Image |
dstImage | CuviImage* | Output Image |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8u | 8u |
8u | 16u |
16u | 16u |
16u | 8u |
Sample
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|