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

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

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
      Overrides:
      configure in class DisparitySparseRectifiedScoreBM_S32<In extends ImageGray<In>>
      Parameters:
      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>>
      Parameters:
      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)