Class SparseIntegralGradientKernel<T extends boofcv.struct.image.ImageGray<T>>

  • All Implemented Interfaces:
    boofcv.struct.sparse.SparseImageGradient<T,​boofcv.struct.sparse.GradientValue_F64>, boofcv.struct.sparse.SparseImageOperator<T>

    public class SparseIntegralGradientKernel<T extends boofcv.struct.image.ImageGray<T>>
    extends java.lang.Object
    implements boofcv.struct.sparse.SparseImageGradient<T,​boofcv.struct.sparse.GradientValue_F64>
    Computes the gradient from an integral image. Does not check for border conditions.
    • Method Detail

      • isInBounds

        public boolean isInBounds​(int x,
                                  int y)
        Specified by:
        isInBounds in interface boofcv.struct.sparse.SparseImageOperator<T extends boofcv.struct.image.ImageGray<T>>
      • setImage

        public void setImage​(T integralImage)
        Specified by:
        setImage in interface boofcv.struct.sparse.SparseImageOperator<T extends boofcv.struct.image.ImageGray<T>>
      • compute

        public boofcv.struct.sparse.GradientValue_F64 compute​(int x,
                                                              int y)
        Specified by:
        compute in interface boofcv.struct.sparse.SparseImageGradient<T extends boofcv.struct.image.ImageGray<T>,​boofcv.struct.sparse.GradientValue_F64>
      • getGradientType

        public java.lang.Class<boofcv.struct.sparse.GradientValue_F64> getGradientType()
        Specified by:
        getGradientType in interface boofcv.struct.sparse.SparseImageGradient<T extends boofcv.struct.image.ImageGray<T>,​boofcv.struct.sparse.GradientValue_F64>