Documentation of 'boofcv.alg.feature.disparity.impl.StereoDisparityWtoNaive' Java class
StereoDisparityWtoNaive
boofcv.alg.feature.disparity.impl

Class StereoDisparityWtoNaive<I extends ImageGray>



  • public class StereoDisparityWtoNaive<I extends ImageGray>
    extends java.lang.Object
    Very basic algorithm for testing stereo disparity algorithms for correctness and employs a "winner takes all" strategy for selecting the solution. No optimization is done to improve performance and minimize cache misses. The advantage is that it can take in any image type.
    • Constructor Summary

      Constructors 
      Constructor and Description
      StereoDisparityWtoNaive(int minDisparity, int maxDisparity, int radiusWidth, int radiusHeight)
      Configure parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void process(I left, I right, GrayF32 imageDisparity)
      Computes the disparity for two stereo images along the image's right axis.
      • Methods inherited from class java.lang.Object

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

      • StereoDisparityWtoNaive

        public StereoDisparityWtoNaive(int minDisparity,
                                       int maxDisparity,
                                       int radiusWidth,
                                       int radiusHeight)
        Configure parameters
        Parameters:
        minDisparity - Minimum disparity it will consider in pixels.
        maxDisparity - Maximum allowed disparity in pixels.
        radiusWidth - Radius of the region along x-axis.
        radiusHeight - Radius of the region along y-axis.
    • Method Detail

      • process

        public void process(I left,
                            I right,
                            GrayF32 imageDisparity)
        Computes the disparity for two stereo images along the image's right axis. Both image must be rectified.
        Parameters:
        left - Left camera image.
        right - Right camera image.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.