Documentation of 'boofcv.abst.feature.disparity.StereoDisparitySparse' Java class
StereoDisparitySparse
boofcv.abst.feature.disparity

Interface StereoDisparitySparse<Image extends ImageGray>

  • All Known Implementing Classes:
    WrapDisparitySparseSadRect


    public interface StereoDisparitySparse<Image extends ImageGray>

    Computes the disparity between two rectified images at specified points only.

    NOTE: Unlike for dense images, the returned disparity is the actual disparity. No need to add minDisparity to the returned value.

    See Also:
    StereoDisparity
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      int getBorderX()
      Border around the image's x-axis which is not processed.
      int getBorderY()
      Border around the image's y-axis which is not processed.
      double getDisparity()
      The found disparity at the selected point
      java.lang.Class<Image> getInputType()
      Type of input images it can process
      int getMaxDisparity()
      The maximum disparity which will be checked for.
      int getMinDisparity()
      The minimum disparity which will be checked for.
      boolean process(int x, int y)
      Calculates the disparity at the specified point.
      void setImages(Image imageLeft, Image imageRight)
      Sets the input images that are to be processed.
    • Method Detail

      • setImages

        void setImages(Image imageLeft,
                       Image imageRight)
        Sets the input images that are to be processed.
        Parameters:
        imageLeft - Input left rectified image.
        imageRight - Input right rectified image.
      • process

        boolean process(int x,
                        int y)
        Calculates the disparity at the specified point. Returns true if a valid correspondence was found between the two images.
        Parameters:
        x - center of region x-axis
        y - center of region y-axis
        Returns:
        true if a correspondence was found
      • getDisparity

        double getDisparity()
        The found disparity at the selected point
        Returns:
        disparity.
      • getBorderX

        int getBorderX()
        Border around the image's x-axis which is not processed.
        Returns:
        border x-axis
      • getBorderY

        int getBorderY()
        Border around the image's y-axis which is not processed.
        Returns:
        border y-axis
      • getMinDisparity

        int getMinDisparity()
        The minimum disparity which will be checked for.
        Returns:
        Minimum disparity.
      • getMaxDisparity

        int getMaxDisparity()
        The maximum disparity which will be checked for.
        Returns:
        Maximum disparity.
      • getInputType

        java.lang.Class<Image> getInputType()
        Type of input images it can process
        Returns:
        Input image type

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.