LibMultiSense
LibMultiSense Documentation
|
#include <MultiSenseTypes.hh>
Public Member Functions | |
ExposureConfig () | |
void | setExposure (uint32_t e) |
Set the exposure time used to capture images. More... | |
void | setAutoExposure (bool e) |
Set auto-exposure enable flag. More... | |
void | setAutoExposureMax (uint32_t m) |
Set the desired maximum auto-exposure value. More... | |
void | setAutoExposureDecay (uint32_t d) |
Set the desired auto-exposure decay rate. More... | |
void | setAutoExposureTargetIntensity (float d) |
Set the desired auto-exposure target Intensity . More... | |
void | setAutoExposureThresh (float t) |
Set the desired auto-exposure threshold. More... | |
void | setAutoExposureRoi (uint16_t start_x, uint16_t start_y, uint16_t width, uint16_t height) |
Set the desired ROI to use when computing the auto-exposure. More... | |
void | setGain (const float &g) |
Set the gain applied to the camera. More... | |
uint32_t | exposure () const |
Query the current image configuration's exposure setting. More... | |
bool | autoExposure () const |
Query the current image configuration's auto-exposure enable setting. More... | |
uint32_t | autoExposureMax () const |
Query the current image configuration's maximum auto-exposure value. More... | |
uint32_t | autoExposureDecay () const |
Query the current image configuration's auto-exposure decay rate. More... | |
float | autoExposureTargetIntensity () const |
Query the current image configuration's auto-exposure target Intensity. More... | |
float | autoExposureThresh () const |
Query the current image configuration's auto-exposure threshold. More... | |
uint16_t | autoExposureRoiX () const |
Query the current image configuration's auto-exposure ROI X value. More... | |
uint16_t | autoExposureRoiY () const |
Query the current image configuration's auto-exposure ROI Y value. More... | |
uint16_t | autoExposureRoiWidth () const |
Query the current image configuration's auto-exposure ROI width value Will return crl::multisense::Roi_Full_Image for the default setting, when the ROI covers the entire image regardless of current resolution. More... | |
uint16_t | autoExposureRoiHeight () const |
Query the current image configuration's auto-exposure ROI height value Will return crl::multisense::Roi_Full_Image for the default setting, when the ROI covers the entire image regardless of current resolution. More... | |
float | gain () const |
Query the gain applied to the camera. More... | |
Private Attributes | |
uint32_t | m_exposure |
bool | m_aeEnabled |
uint32_t | m_aeMax |
uint32_t | m_aeDecay |
float | m_aeThresh |
uint16_t | m_autoExposureRoiX |
uint16_t | m_autoExposureRoiY |
uint16_t | m_autoExposureRoiWidth |
uint16_t | m_autoExposureRoiHeight |
float | m_aeTargetIntensity |
float | m_gain |
Definition at line 509 of file MultiSenseTypes.hh.
|
inline |
Definition at line 511 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's auto-exposure enable setting.
Definition at line 616 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's auto-exposure decay rate.
Definition at line 632 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's maximum auto-exposure value.
Definition at line 624 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's auto-exposure ROI height value Will return crl::multisense::Roi_Full_Image for the default setting, when the ROI covers the entire image regardless of current resolution.
Definition at line 680 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's auto-exposure ROI width value Will return crl::multisense::Roi_Full_Image for the default setting, when the ROI covers the entire image regardless of current resolution.
Definition at line 671 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's auto-exposure ROI X value.
Definition at line 655 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's auto-exposure ROI Y value.
Definition at line 662 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's auto-exposure target Intensity.
Definition at line 640 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's auto-exposure threshold.
Definition at line 648 of file MultiSenseTypes.hh.
|
inline |
Query the current image configuration's exposure setting.
Definition at line 608 of file MultiSenseTypes.hh.
|
inline |
Query the gain applied to the camera.
Definition at line 687 of file MultiSenseTypes.hh.
|
inline |
Set auto-exposure enable flag.
Default value: true
e | A boolean used to enable or disable auto-exposure |
Definition at line 533 of file MultiSenseTypes.hh.
|
inline |
Set the desired auto-exposure decay rate.
Default value: 7
d | The auto-exposure decay rate [0, 20] |
Definition at line 549 of file MultiSenseTypes.hh.
|
inline |
Set the desired maximum auto-exposure value.
Default value: 5000000
m | The maximum auto-exposure value in microseconds |
Definition at line 541 of file MultiSenseTypes.hh.
|
inline |
Set the desired ROI to use when computing the auto-exposure.
x axis is horizontal and y axis is vertical. (0,0) coordinate starts in the upper left corner of the image. If (x + w > image width) or (y + h > image height) the sensor will return an error. Setting to default:(0,0,crl::multisense::Roi_Full_Image,crl::multisense::Roi_Full_Image) will use the entire image for the ROI regardless of the current resolution This feature is only available in sensor firmware version 4.3 and greater
start_x | The X coordinate where the ROI starts |
start_y | The Y coordinate where the ROI starts |
width | The width of the ROI |
height | The height of the ROI |
Definition at line 583 of file MultiSenseTypes.hh.
|
inline |
Set the desired auto-exposure target Intensity .
Default value: 0.95
d | The auto-exposure target intensity [0.0, 1.0] |
Definition at line 557 of file MultiSenseTypes.hh.
|
inline |
Set the desired auto-exposure threshold.
This is the percentage of the image that should be white. Default value: 0.75
t | The desired auto-exposure threshold [0.0, 1.0] |
Definition at line 566 of file MultiSenseTypes.hh.
|
inline |
Set the exposure time used to capture images.
Note auto exposure must be disabled for this to take effect. Default value: 10000
e | The output exposure time in microseconds [10, 5000000] |
Definition at line 525 of file MultiSenseTypes.hh.
|
inline |
Set the gain applied to the camera.
s | The gain to apply to this camera |
Definition at line 597 of file MultiSenseTypes.hh.
|
private |
Definition at line 693 of file MultiSenseTypes.hh.
|
private |
Definition at line 691 of file MultiSenseTypes.hh.
|
private |
Definition at line 692 of file MultiSenseTypes.hh.
|
private |
Definition at line 701 of file MultiSenseTypes.hh.
|
private |
Definition at line 694 of file MultiSenseTypes.hh.
|
private |
Definition at line 699 of file MultiSenseTypes.hh.
|
private |
Definition at line 698 of file MultiSenseTypes.hh.
|
private |
Definition at line 696 of file MultiSenseTypes.hh.
|
private |
Definition at line 697 of file MultiSenseTypes.hh.
|
private |
Definition at line 687 of file MultiSenseTypes.hh.
|
private |
Definition at line 702 of file MultiSenseTypes.hh.