Class SparseScoreRectifiedCensus.Census<In extends ImageGray<In>,Out extends ImageGray<Out>>

Direct Known Subclasses:
SparseScoreRectifiedCensus.S32, SparseScoreRectifiedCensus.S64, SparseScoreRectifiedCensus.U8
Enclosing interface:

public abstract static class SparseScoreRectifiedCensus.Census<In extends ImageGray<In>,Out extends ImageGray<Out>> extends DisparitySparseRectifiedScoreBM_S32<In>
Applies a census transform to the input image and creates a new transformed image patch for later processing
  • Constructor Details

  • Method Details

    • configure

      public void configure(int disparityMin, int disparityRange)
      Description copied from class: DisparitySparseRectifiedScoreBM
      Configures the disparity search
      configure in class DisparitySparseRectifiedScoreBM_S32<In extends ImageGray<In>>
      disparityMin - Minimum disparity that it will check. Must be ≥ 0 and < disparityMax
      disparityRange - Number of possible disparity values estimated. The max possible disparity is min+range-1.
    • scoreDisparity

      protected void scoreDisparity(int disparityRange, boolean leftToRight)
      Description copied from class: DisparitySparseRectifiedScoreBM
      Scores the disparity using image patches.
      Specified by:
      scoreDisparity in class DisparitySparseRectifiedScoreBM<int[],In extends ImageGray<In>>
      disparityRange - The local range for disparity
      leftToRight - If true then the disparity is being from in left to right direction (the typical)
    • scoreCensus

      protected abstract void scoreCensus(int disparityRange, boolean leftToRight)