LibMultiSense
LibMultiSense Documentation
|
Class containing image Header information common to all image types. More...
#include <MultiSenseTypes.hh>
Public Member Functions | |
Header () | |
Default Constructor. More... | |
virtual bool | inMask (DataSource mask) |
Member function used to determine if the data contained in the header is contained in a specific image mask. More... | |
Public Member Functions inherited from crl::multisense::HeaderBase | |
virtual | ~HeaderBase () |
Public Attributes | |
DataSource | source |
DataSource corresponding to imageDataP. More... | |
uint32_t | bitsPerPixel |
Bits per pixel in the image. More... | |
uint32_t | width |
Width of the image. More... | |
uint32_t | height |
Height of the image. More... | |
int64_t | frameId |
Unique ID used to describe an image. More... | |
uint32_t | timeSeconds |
The time seconds value corresponding to when the image was captured. More... | |
uint32_t | timeMicroSeconds |
The time microseconds value corresponding to when the image was captured. More... | |
uint32_t | exposure |
The image exposure time in microseconds. More... | |
float | gain |
The imager gain the image was captured with. More... | |
float | framesPerSecond |
The number of frames per second currently streaming from the device. More... | |
uint32_t | imageLength |
The length of the image data stored in imageDataP. More... | |
const void * | imageDataP |
A pointer to the image data. More... | |
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 453 of file MultiSenseTypes.hh.
|
inline |
Default Constructor.
Definition at line 485 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 492 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::bitsPerPixel |
Bits per pixel in the image.
Definition at line 459 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::exposure |
The image exposure time in microseconds.
Definition at line 472 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 465 of file MultiSenseTypes.hh.
float crl::multisense::image::Header::framesPerSecond |
The number of frames per second currently streaming from the device.
Definition at line 476 of file MultiSenseTypes.hh.
float crl::multisense::image::Header::gain |
The imager gain the image was captured with.
Definition at line 474 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::height |
Height of the image.
Definition at line 463 of file MultiSenseTypes.hh.
const void* crl::multisense::image::Header::imageDataP |
A pointer to the image data.
Definition at line 480 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::imageLength |
The length of the image data stored in imageDataP.
Definition at line 478 of file MultiSenseTypes.hh.
DataSource crl::multisense::image::Header::source |
DataSource corresponding to imageDataP.
Definition at line 457 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 469 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 467 of file MultiSenseTypes.hh.
uint32_t crl::multisense::image::Header::width |
Width of the image.
Definition at line 461 of file MultiSenseTypes.hh.