cuVSLAM API Reference
Public Attributes | List of all members
cuvslam::Image Struct Reference

Image with timestamp and camera index. More...

Public Attributes

int64_t timestamp_ns
 Image timestamp in nanoseconds.
 
uint32_t camera_index
 index of the camera in the rig
 
- Public Attributes inherited from cuvslam::ImageData
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
 

Additional Inherited Members

- Public Types inherited from cuvslam::ImageData
enum class  Encoding : uint8_t {
  MONO ,
  RGB
}
 Image encoding. More...
 
enum class  DataType : uint8_t {
  UINT8 ,
  UINT16 ,
  FLOAT32
}
 Image data type. More...
 

Detailed Description

Image with timestamp and camera index.