Documentation of 'boofcv.alg.sfm.StereoProcessingBase' Java class
StereoProcessingBase
boofcv.alg.sfm

Class StereoProcessingBase<T extends ImageGray>

  • Direct Known Subclasses:
    StereoSparse3D


    public class StereoProcessingBase<T extends ImageGray>
    extends java.lang.Object
    Base class that configures stereo processing. Created distortion for converting image from its input image into an undistorted rectified image ready for stereo processing.
    • Constructor Summary

      Constructors 
      Constructor and Description
      StereoProcessingBase(java.lang.Class<T> imageType)
      Declares internal data structures
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void computeHomo3D(double x, double y, Point3D_F64 pointLeft)
      Given a coordinate of a point in the left rectified frame, compute the point's 3D coordinate in the camera's reference frame in homogeneous coordinates.
      T getImageLeftRect()
      Rectified left image
      T getImageRightRect()
      Rectified right image
      org.ejml.data.DenseMatrix64F getRect1() 
      org.ejml.data.DenseMatrix64F getRect2() 
      org.ejml.data.DenseMatrix64F getRectK()
      Intrinsic camera calibration matrix for both cameras after rectification
      void initialize()
      Initializes stereo processing.
      void setCalibration(StereoParameters stereoParam)
      Specifies stereo parameters
      void setImages(T leftImage, T rightImage)
      Sets the input images.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StereoProcessingBase

        public StereoProcessingBase(java.lang.Class<T> imageType)
        Declares internal data structures
        Parameters:
        imageType - Input image type
    • Method Detail

      • setCalibration

        public void setCalibration(StereoParameters stereoParam)
        Specifies stereo parameters
        Parameters:
        stereoParam - stereo parameters
      • computeHomo3D

        public void computeHomo3D(double x,
                                  double y,
                                  Point3D_F64 pointLeft)
        Given a coordinate of a point in the left rectified frame, compute the point's 3D coordinate in the camera's reference frame in homogeneous coordinates. To convert the coordinate into normal 3D, divide each element by the disparity.
        Parameters:
        x - x-coordinate of pixel in rectified left image
        y - y-coordinate of pixel in rectified left image
        pointLeft - Storage for 3D coordinate of point in homogeneous coordinates. w = disparity
      • setImages

        public void setImages(T leftImage,
                              T rightImage)
        Sets the input images. Processing is delayed until initialize() has been called.
        Parameters:
        leftImage - Left image
        rightImage - Right image
      • initialize

        public void initialize()
        Initializes stereo processing.
      • getImageLeftRect

        public T getImageLeftRect()
        Rectified left image
      • getImageRightRect

        public T getImageRightRect()
        Rectified right image
      • getRectK

        public org.ejml.data.DenseMatrix64F getRectK()
        Intrinsic camera calibration matrix for both cameras after rectification
        Returns:
        camera calibration matrix
      • getRect1

        public org.ejml.data.DenseMatrix64F getRect1()
      • getRect2

        public org.ejml.data.DenseMatrix64F getRect2()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.