PySpin.CoordinateDependentParams¶
- class CoordinateDependentParams¶
Container for 3D scan calibration parameters used in stereo processing.
The Scan3DParameters class provides access to camera calibration parameters required for stereo image processing, including computing 3D point clouds from disparity images. This is the primary API for working with stereo camera parameters.
Key Parameters: Baseline: Physical distance between the two cameras (in meters)
Focal Length: Focal length in pixels
Principal Point (U, V): Optical center of the camera
Coordinate Scale/Offset: Transform disparity values to world coordinates
Coordinate Selector: Select coordinate axis (X/Y/Z or CoordinateA/B/C)
Invalid Data: Identify and handle invalid pixels in disparity images
Coordinate-Dependent Parameters: Some parameters (CoordinateOffset, CoordinateScale, InvalidDataFlag, InvalidDataValue, AxisMin, AxisMax) vary per coordinate axis. Set the CoordinateSelector before accessing these parameters to specify which coordinate axis (A/B/C) you want to configure.
Common Usage Pattern:
See: ImageUtilityStereo for stereo processing functions
StereoCameraParameters for legacy API (deprecated)
ToStereoCameraParameters() for backward compatibility conversion
FromStereoCameraParameters() for legacy parameter import
This class replaces the deprecated StereoCameraParameters struct. Use ToStereoCameraParameters() and FromStereoCameraParameters() for migration and backward compatibility.
For cameras with coordinate selector support, coordinate-dependent parameters are stored per axis. Always set CoordinateSelector before accessing these parameters to ensure you’re working with the correct axis. Structure containing all coordinate-dependent parameters for a single axis. This structure groups together all parameters that vary per coordinate (A, B, C). Use with GetCoordinateParams() and SetCoordinateParams() for efficient batch operations.
- property axisMax¶
- property axisMin¶
- property coordinateOffset¶
- property coordinateScale¶
- property invalidDataFlag¶
- property invalidDataValue¶