Image I/O & Framework
From CUVI Wiki
CUVI sdlksljfdks;dlks kdsldks
Using CUVI with C++
CuviImage
CuviImage is a C++ class to hold image data on the device. It has all the essential members to hold image information as well as methods to create and move image to and from device. The CuviImage members include:
Member name | Type | Description |
---|---|---|
data | void* | Data pointer containing the image pixel values on device |
width | Cuvi32u | Image width in pixels |
height | Cuvi32u | Image height in pixels |
pitch | size_t | Image pitch/widthstep in bytes |
depth | Cuvi32u | Defines the data container for the image. A depth of '8' creates CuviImage of type Cuvi8u |
nChannels | Cuvi32u | Number of channels in image |
isSigned | bool | Specifies if the image also contains negative values. (float is an exception) |
isInitialized | bool | Specifies if the image has successfully been created on the device |
channelSequence | CuviChannelSeq | Specifies the arrangement of image channels like RGB and BGR |