Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches
Stereo Control

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 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.
 

Detailed Description

Functions and classes for controlling stereo-specific parameters.

Function Documentation

◆ GetScan3dBaseLine() [1/2]

bool GetScan3dBaseLine ( CameraPtr  pCam,
float &  baseline 
)

Retrieves the baseline distance between the stereo cameras in meters.

Parameters
baselineVariable to store the baseline distance.
Returns
True if successful, false otherwise.

◆ GetScan3dBaseLine() [2/2]

bool GetScan3dBaseLine ( INodeMap &  nodeMap,
float &  baseline 
)

Retrieves the baseline distance between the stereo cameras in meters.

Parameters
baselineVariable to store the baseline distance.
Returns
True if successful, false otherwise.

◆ GetScan3dFocalLength() [1/2]

bool GetScan3dFocalLength ( CameraPtr  pCam,
float &  focalLength 
)

Retrieves the focal length of the reference camera.

Parameters
focalLengthVariable to store the focal length.
Returns
True if successful, false otherwise.

◆ GetScan3dFocalLength() [2/2]

bool GetScan3dFocalLength ( INodeMap &  nodeMap,
float &  focalLength 
)

Retrieves the focal length of the reference camera.

Parameters
focalLengthVariable to store the focal length.
Returns
True if successful, false otherwise.

◆ GetScan3dPrincipalPoint() [1/2]

bool GetScan3dPrincipalPoint ( CameraPtr  pCam,
float &  principalPointV,
float &  principalPointU 
)

Retrieves the image center coordinates of the reference camera in pixels.

Parameters
principalPointVVariable to store the row center (cy) of the camera image.
principalPointUVariable to store the column center (cx) of the camera image.
Returns
True if successful, false otherwise.

◆ GetScan3dPrincipalPoint() [2/2]

bool GetScan3dPrincipalPoint ( INodeMap &  nodeMap,
float &  principalPointV,
float &  principalPointU 
)

Retrieves the image center coordinates of the reference camera in pixels.

Parameters
principalPointVVariable to store the row center (cy) of the camera image.
principalPointUVariable to store the column center (cx) of the camera image.
Returns
True if successful, false otherwise.

◆ PrintCameraCalibrationParams() [1/2]

bool PrintCameraCalibrationParams ( CameraPtr  pCam)

Prints the camera calibration parameters.

Returns
True if successful, false otherwise.

◆ PrintCameraCalibrationParams() [2/2]

bool PrintCameraCalibrationParams ( INodeMap &  nodeMap)

Prints the camera calibration parameters.

Returns
True if successful, false otherwise.

◆ PrintSGBM_params()

bool PrintSGBM_params ( CameraPtr  pCam)

Retrieves the camera SGBM related parameters.

Returns
True if successful, false otherwise.

◆ SetSGBM_params()

bool SetSGBM_params ( CameraPtr  pCam,
StereoParameters camParameters 
)

Sets up the Semi-Global Block Matching algorithm parameters.

Parameters
camParametersPointer to the camera parameters.
Returns
True if successful, false otherwise.