Class StereoParameters

  • All Implemented Interfaces:
    java.io.Serializable

    public class StereoParameters
    extends java.lang.Object
    implements java.io.Serializable

    Calibration parameters for a stereo camera pair. Includes intrinsic and extrinsic. The baseline between the two cameras is specified as a rigid body Se3_F64 transform from the right to left camera.

    NOTE: When generated during camera calibration, the distance units found in 'rightToLeft' will be in the units that the calibration target size was specified in.

    See Also:
    Serialized Form
    • Field Detail

      • rightToLeft

        public georegression.struct.se.Se3_F64 rightToLeft
        transform from left camera to right camera
    • Method Detail

      • getRightToLeft

        public georegression.struct.se.Se3_F64 getRightToLeft()
      • setRightToLeft

        public void setRightToLeft​(georegression.struct.se.Se3_F64 rightToLeft)
      • getBaseline

        public double getBaseline()
        Returns the distance between the optical center of each camera
      • isRectified

        public boolean isRectified​(double tol)
        Checks to see if the parameters define a rectified stereo pair
        Parameters:
        tol - Numeric tolerance. Try 1e-7
        Returns:
        if true then it's rectified
      • set

        public void set​(StereoParameters src)
        Makes 'this' identical to 'src'.
        Parameters:
        src - The set of parameters that is to be copied.
      • print

        public void print()