Spinnaker SDK C++
4.2.0.83
 
 

 
Loading...
Searching...
No Matches
SpinStereoHelper.cpp File Reference

Namespaces

namespace  SpinStereo
 

Macros

#define ComponentEnabledAsBool
 
#define LOG_VERBOSE_INCOMPLETE_IMAGES
 

Functions

bool ConfigureGVCPHeartbeat (CameraPtr pCam, bool doEnable)
 Configures the GVCP heartbeat setting.
 
bool ResetGVCPHeartbeat (CameraPtr pCam)
 
bool DisableGVCPHeartbeat (CameraPtr pCam)
 Disables the GVCP heartbeat.
 
bool SetStreamBufferHandlingMode (CameraPtr pCam)
 
bool ConfigureStereoProcessing (CameraPtr pCam, StereoParameters &stereoParameters)
 
bool ConfigureAcquisition (CameraPtr pCam, StreamTransmitFlags &streamTransmitFlags)
 
bool GetScan3dCoordinateScale (CameraPtr pCam, float &scaleFactor)
 Retrieves the disparity scale factor (the factor to multiply to get from integer value to sub-pixel (floating point) disparity).
 
bool ConfigureCameraStreams (CameraPtr pCam, StreamTransmitFlags &streamTransmitFlags)
 Configures the camera streams.
 
bool SetSGBM_params (CameraPtr pCam, StereoParameters &camParameters)
 Sets up the Semi-Global Block Matching algorithm parameters.
 
bool ValidateImageList (const StreamTransmitFlags &streamTransmitFlags, ImageList &imageList)
 
bool GetScan3dCoordinateOffset (CameraPtr pCam, float &coordinateOffset)
 Retrieves the coordinateOffset parameter.
 
bool GetScan3dInvalidDataFlag (CameraPtr pCam, bool &scan3dInvalidDataFlag)
 Retrieves the scan3dInvalidDataFlag parameter.
 
bool GetScan3dInvalidDataValue (CameraPtr pCam, float &scan3dInvalidDataValue)
 Retrieves the scan3dInvalidDataValue parameter.
 
bool GetTotalDisparity (CameraPtr pCam, int64_t &totalDisparity)
 Retrieves the number of disparities parameter.
 
bool GetSmallPenalty (CameraPtr pCam, int64_t &smallPenalty)
 Retrieves the small penalty parameter.
 
bool GetLargePenalty (CameraPtr pCam, int64_t &largePenalty)
 Retrieves the large penalty parameter.
 
bool GetUniquenessRatio (CameraPtr pCam, int64_t &uniquenessRatio)
 Retrieves the SGBM Uniqueness Ratio parameter.
 
bool PrintCameraCalibrationParams (CameraPtr pCam)
 Prints the camera calibration parameters.
 
bool PrintSGBM_params (CameraPtr pCam)
 Retrieves the camera SGBM related 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.
 
bool PrintDeviceInfo (CameraPtr pCam)
 Prints device information using a specific node map.
 

Variables

const unsigned int printEveryNFrames = 50
 
unsigned int imageGroupCounter = 0
 

Macro Definition Documentation

◆ ComponentEnabledAsBool

#define ComponentEnabledAsBool

◆ LOG_VERBOSE_INCOMPLETE_IMAGES

#define LOG_VERBOSE_INCOMPLETE_IMAGES

Variable Documentation

◆ imageGroupCounter

unsigned int imageGroupCounter = 0

◆ printEveryNFrames

const unsigned int printEveryNFrames = 50