#include <MultiSenseTypes.hh>
Public Member Functions | |
Header () | |
virtual bool | inMask (DataSource mask) |
Public Member Functions inherited from crl::multisense::HeaderBase | |
virtual | ~HeaderBase () |
Public Attributes | |
uint32_t | bitsPerPixel |
uint32_t | exposure |
int64_t | frameId |
float | framesPerSecond |
float | gain |
uint32_t | height |
const void * | imageDataP |
uint32_t | imageLength |
DataSource | source |
uint32_t | timeMicroSeconds |
uint32_t | timeSeconds |
uint32_t | width |
Class containing image Header information common to all image types. This will be passed to any callback, of type image::Callback, that is subscribed to image data.
See crl::multisense::Channel::addIsolatedCallback for more details
Example code to extract 8 bit image data from a image header and display it using OpenCV (header.bitsPerPixel = 8)
Definition at line 374 of file MultiSenseTypes.hh.
|
inline |
Default Constructor
Definition at line 406 of file MultiSenseTypes.hh.
|
inlinevirtual |
Member function used to determine if the data contained in the header is contained in a specific image mask
Reimplemented from crl::multisense::HeaderBase.
Definition at line 413 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::bitsPerPixel |
Bits per pixel in the image
Definition at line 380 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::exposure |
The image exposure time in microseconds
Definition at line 393 of file MultiSenseTypes.hh.
int64_t crl::multisense::image::Header::frameId |
Unique ID used to describe an image. FrameIds increase sequentally from the device
Definition at line 386 of file MultiSenseTypes.hh.
float crl::multisense::image::Header::framesPerSecond |
The number of frames per second currently streaming from the device
Definition at line 397 of file MultiSenseTypes.hh.
float crl::multisense::image::Header::gain |
The imager gain the image was captured with
Definition at line 395 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::height |
Height of the image
Definition at line 384 of file MultiSenseTypes.hh.
const void* crl::multisense::image::Header::imageDataP |
A pointer to the image data
Definition at line 401 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::imageLength |
The length of the image data stored in imageDataP
Definition at line 399 of file MultiSenseTypes.hh.
DataSource crl::multisense::image::Header::source |
DataSource corresponding to imageDataP
Definition at line 378 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::timeMicroSeconds |
The time microseconds value corresponding to when the image was captured
Definition at line 390 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::timeSeconds |
The time seconds value corresponding to when the image was captured
Definition at line 388 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::width |
Width of the image
Definition at line 382 of file MultiSenseTypes.hh.