Functions and classes for controlling stereo-specific parameters. More...
Classes | |
struct | StreamTransmitFlags |
class | StereoParameters |
Class for handling parameters of the S3D camera. More... | |
Functions | |
bool | PrintCameraCalibrationParams (INodeMap &nodeMap) |
Prints the camera calibration parameters. | |
bool | PrintSGBM_params (CameraPtr pCam) |
Retrieves the camera SGBM related parameters. | |
bool | GetScan3dCoordinateScale (INodeMap &nodeMap, float &scaleFactor) |
Retrieves the disparity scale factor (the factor to multiply to get from integer value to sub-pixel (floating point) disparity). | |
bool | GetScan3dCoordinateOffset (INodeMap &nodeMap, float &coordinateOffset) |
Retrieves the coordinateOffset parameter. | |
bool | GetScan3dInvalidDataFlag (INodeMap &nodeMap, bool &scan3dInvalidDataFlag) |
Retrieves the scan3dInvalidDataFlag parameter. | |
bool | GetScan3dInvalidDataValue (INodeMap &nodeMap, float &scan3dInvalidDataValue) |
Retrieves the scan3dInvalidDataValue parameter. | |
bool | GetScan3dFocalLength (INodeMap &nodeMap, float &focalLength) |
Retrieves the focal length of the reference camera. | |
bool | GetScan3dPrincipalPoint (INodeMap &nodeMap, float &principalPointV, float &principalPointU) |
Retrieves the image center coordinates of the reference camera in pixels. | |
bool | GetScan3dBaseLine (INodeMap &nodeMap, float &baseline) |
Retrieves the baseline distance between the stereo cameras in meters. | |
bool | SetSGBM_params (CameraPtr pCam, StereoParameters &camParameters) |
Sets up the Semi-Global Block Matching algorithm parameters. | |
bool | PrintCameraCalibrationParams (CameraPtr pCam) |
Prints the camera calibration parameters. | |
bool | GetScan3dFocalLength (CameraPtr pCam, float &focalLength) |
Retrieves the focal length of the reference camera. | |
bool | GetScan3dPrincipalPoint (CameraPtr pCam, float &principalPointV, float &principalPointU) |
Retrieves the image center coordinates of the reference camera in pixels. | |
bool | GetScan3dBaseLine (CameraPtr pCam, float &baseline) |
Retrieves the baseline distance between the stereo cameras in meters. | |
Functions and classes for controlling stereo-specific parameters.
bool GetScan3dBaseLine | ( | CameraPtr | pCam, |
float & | baseline | ||
) |
Retrieves the baseline distance between the stereo cameras in meters.
pCam | Reference to the camera. |
baseline | Variable to store the baseline distance. |
bool GetScan3dBaseLine | ( | INodeMap & | nodeMap, |
float & | baseline | ||
) |
Retrieves the baseline distance between the stereo cameras in meters.
baseline | Variable to store the baseline distance. |
bool GetScan3dCoordinateOffset | ( | INodeMap & | nodeMap, |
float & | coordinateOffset | ||
) |
Retrieves the coordinateOffset parameter.
nodeMap | the node map to read the coordinateOffset parameter value from. |
coordinateOffset | Variable to store the min disparity parameter. |
bool GetScan3dCoordinateScale | ( | INodeMap & | nodeMap, |
float & | scaleFactor | ||
) |
Retrieves the disparity scale factor (the factor to multiply to get from integer value to sub-pixel (floating point) disparity).
nodeMap | the node map to read the scaleFactor parameter value from. |
scaleFactor | Variable to store the scale factor for the disparity. |
bool GetScan3dFocalLength | ( | CameraPtr | pCam, |
float & | focalLength | ||
) |
Retrieves the focal length of the reference camera.
pCam | Reference to the camera. |
focalLength | Variable to store the focal length. |
bool GetScan3dFocalLength | ( | INodeMap & | nodeMap, |
float & | focalLength | ||
) |
Retrieves the focal length of the reference camera.
focalLength | Variable to store the focal length. |
bool GetScan3dInvalidDataFlag | ( | INodeMap & | nodeMap, |
bool & | scan3dInvalidDataFlag | ||
) |
Retrieves the scan3dInvalidDataFlag parameter.
nodeMap | the node map to read the invalidDataFlag parameter value from. |
scan3dInvalidDataFlag | Variable to store the invalidDataFlag parameter. |
bool GetScan3dInvalidDataValue | ( | INodeMap & | nodeMap, |
float & | scan3dInvalidDataValue | ||
) |
Retrieves the scan3dInvalidDataValue parameter.
scan3dInvalidDataValue | Variable to store the scan3dInvalidDataValue parameter. |
bool GetScan3dPrincipalPoint | ( | CameraPtr | pCam, |
float & | principalPointV, | ||
float & | principalPointU | ||
) |
Retrieves the image center coordinates of the reference camera in pixels.
pCam | Reference to the camera. |
principalPointV | Variable to store the row center (cy) of the camera image. |
principalPointU | Variable to store the column center (cx) of the camera image. |
bool GetScan3dPrincipalPoint | ( | INodeMap & | nodeMap, |
float & | principalPointV, | ||
float & | principalPointU | ||
) |
Retrieves the image center coordinates of the reference camera in pixels.
principalPointV | Variable to store the row center (cy) of the camera image. |
principalPointU | Variable to store the column center (cx) of the camera image. |
bool PrintCameraCalibrationParams | ( | CameraPtr | pCam | ) |
Prints the camera calibration parameters.
pCam | Reference to the camera. |
bool PrintCameraCalibrationParams | ( | INodeMap & | nodeMap | ) |
Prints the camera calibration parameters.
bool PrintSGBM_params | ( | CameraPtr | pCam | ) |
Retrieves the camera SGBM related parameters.
pCam | Reference to the camera. |
bool SetSGBM_params | ( | CameraPtr | pCam, |
StereoParameters & | camParameters | ||
) |
Sets up the Semi-Global Block Matching algorithm parameters.
camParameters | Pointer to the camera parameters. |
pCam | Reference to the camera. |
camParameters | Pointer to the camera parameters. |