|
cuVSLAM API Reference
|
Public Types | |
| enum class | Encoding : uint8_t { MONO , RGB } |
| Image encoding. More... | |
| enum class | DataType : uint8_t { UINT8 , UINT16 , FLOAT32 } |
| Image data type. More... | |
Public Attributes | |
| const void * | pixels |
| Pixels must be stored row-wise (right to left, top to bottom) | |
| int32_t | width |
| image width must match Camera::size | |
| int32_t | height |
| image height must match Camera::size | |
| int32_t | pitch |
| bytes per image row including padding for GPU memory images, ignored for CPU images | |
| Encoding | encoding |
| grayscale and RGB are supported now | |
| DataType | data_type |
| image data type | |
| bool | is_gpu_mem |
| is pixels pointer points to GPU or CPU memory buffer | |
Image data structure.
|
strong |
Image encoding.
| Enumerator | |
|---|---|
| MONO | grayscale or other single-channel data |
| RGB | RGB. |
|
strong |
Image data type.
| Enumerator | |
|---|---|
| UINT8 | 8-bit unsigned integer |
| UINT16 | 16-bit unsigned integer |
| FLOAT32 | 32-bit floating point |