© Copyright e-con Systems. 2017. All rights reserved.
7
Mat RImage
Right Image of the
Camera
Mat *DispartiyMap
Disparity Map
computed
Mat *disp_filtered
Disparity map for
visualization is
passed.
BOOL EstimateDepth(Point Pt, float *DepthValue)
This function estimates the depth of the point passed from the disparity map
computed and returns the depth of the point.
Parameters
Description
Return Values
Point Pt
Point of which the
depth is found
TRUE on Success
FALSE on Failure
Float *DepthValue
Pointer to return the
depth of the point
passed
BOOL SetExposure(int Exposureval)
This function invokes the HID function SetManualExposureStereo to set the
exposure of the device initialized. The range of the exposure is 10 to 1000000 micro
seconds.
Parameters
Description
Return Values
Int ExposureVal
Exposure value to be set
to the camera.
TRUE on Success
FALSE on Failure
BOOL GetExposure(int *ExposureVal)
This function invokes the HID function GetManualExposureStereo to read the
exposure of the device. The range of the manual exposure is 10 to 1000000 micro
seconds. When the camera is in Auto Exposure, ExposureVal will be read as 1.
Parameters
Description
Return Values
Int *ExposureVal
Pointer to store the
current value of the
exposure of the camera.
TRUE on Success
FALSE on Failure
BOOL SetAutoExposure()
This function invokes the HID function SetAutoExposureStereo to enable the Auto
Exposure in the Camera. Exposure value is set to 1, to enable Auto Exposure.