Class StereoSparse3D<T extends boofcv.struct.image.ImageGray<T>>

    • Constructor Detail

      • StereoSparse3D

        public StereoSparse3D​(boofcv.abst.feature.disparity.StereoDisparitySparse<T> disparity,
                              java.lang.Class<T> imageType)
        Configures and declares internal data
        Parameters:
        imageType - Input image type
    • Method Detail

      • setCalibration

        public void setCalibration​(boofcv.struct.calib.StereoParameters stereoParam)
        Description copied from class: StereoProcessingBase
        Specifies stereo parameters
        Overrides:
        setCalibration in class StereoProcessingBase<T extends boofcv.struct.image.ImageGray<T>>
        Parameters:
        stereoParam - stereo parameters
      • process

        public boolean process​(double x,
                               double y)
        Takes in pixel coordinates from the left camera in the original image coordinate system
        Specified by:
        process in interface ImagePixelTo3D
        Parameters:
        x - x-coordinate of the pixel
        y - y-coordinate of the pixel
        Returns:
        true if successful
      • getX

        public double getX()
        Description copied from interface: ImagePixelTo3D
        Found x-coordinate of point in camera coordinate system.
        Specified by:
        getX in interface ImagePixelTo3D
        Returns:
        x-coordinate
      • getY

        public double getY()
        Description copied from interface: ImagePixelTo3D
        Found y-coordinate of point in camera coordinate system.
        Specified by:
        getY in interface ImagePixelTo3D
        Returns:
        y-coordinate
      • getZ

        public double getZ()
        Description copied from interface: ImagePixelTo3D
        Found z-coordinate of point in camera coordinate system.
        Specified by:
        getZ in interface ImagePixelTo3D
        Returns:
        z-coordinate
      • getW

        public double getW()
        Description copied from interface: ImagePixelTo3D
        Found w-coordinate of point in camera coordinate system. If a point is at infinity then this value will be zero.
        Specified by:
        getW in interface ImagePixelTo3D
        Returns:
        w-coordinate