Class BlockRowScoreNcc<T extends ImageBase<T>>

java.lang.Object
boofcv.alg.disparity.block.BlockRowScoreNcc<T>

public class BlockRowScoreNcc<T extends ImageBase<T>> extends Object
Score using NCC. Takes advantage for the forumla for NCC error which can be computed by applying block filters to the image. NCC = ((1/N)*[sum( L(x)*R(x+d) ) - u_l(x)*u_r(x+d) )/ (sigma_L(x) * sigma_R(x+d))
  • Constructor Details

    • BlockRowScoreNcc

      public BlockRowScoreNcc(int radiusX, int radiusY, ImageType<T> imageType)
  • Method Details

    • setBorder

      public void setBorder(ImageBorder<T> border)
    • computeStatistics

      public void computeStatistics(T left, T right)