Class ConfigDisparityBM

java.lang.Object
boofcv.factory.disparity.ConfigDisparityBM
All Implemented Interfaces:
Configuration, Serializable
Direct Known Subclasses:
ConfigDisparityBMBest5

public class ConfigDisparityBM
extends Object
implements Configuration
Configuration for the basic block matching stereo algorithm that employs a greedy winner takes all strategy.
See Also:
DisparityBlockMatch, Serialized Form
  • Field Details

    • disparityMin

      public int disparityMin
      Minimum disparity that it will check. Must be ≥ 0 and < maxDisparity
    • disparityRange

      public int disparityRange
      Number of disparity values considered. Must be > 0
    • regionRadiusX

      public int regionRadiusX
      Radius of the rectangular region along x-axis.
    • regionRadiusY

      public int regionRadiusY
      Radius of the rectangular region along y-axis.
    • maxPerPixelError

      public double maxPerPixelError
      Maximum allowed error in a region per pixel. Only used by "error" based measures, e.g. NCC does not use this value. Set to < 0 to disable.
    • validateRtoL

      public int validateRtoL
      Tolerance for how difference the left to right associated values can be. Try 1. Disable with -1
    • texture

      public double texture
      Tolerance for how similar optimal region is to other region. Closer to zero is more tolerant. Try 0.15 unless NCC then 0.005. Disable with a value ≤ 0
    • subpixel

      public boolean subpixel
      If subpixel should be used to find disparity or not. If on then output disparity image needs to me GrayF32. If false then GrayU8.
    • errorType

      public DisparityError errorType
      How the error is computed for each block
    • configCensus

      public ConfigDisparityError.Census configCensus
      Used if error type is Census
    • configNCC

      public ConfigDisparityError.NCC configNCC
      Used if error type is NCC
    • border

      public BorderType border
      Specifies how the image border is handled. In general you want to avoid an approach which would bias the error to prefer a region with lots of pixels outside the image border.
  • Constructor Details

    • ConfigDisparityBM

      public ConfigDisparityBM()
  • Method Details