Class SparseIntegralGradient_NoBorder<T extends boofcv.struct.image.ImageGray<T>,​G extends boofcv.struct.sparse.GradientValue>

  • All Implemented Interfaces:
    boofcv.struct.sparse.SparseImageGradient<T,​G>, boofcv.struct.sparse.SparseImageOperator<T>
    Direct Known Subclasses:
    SparseIntegralGradient_NoBorder_F32, SparseIntegralGradient_NoBorder_I32, SparseIntegralHaar_NoBorder_F32, SparseIntegralHaar_NoBorder_I32

    public abstract class SparseIntegralGradient_NoBorder<T extends boofcv.struct.image.ImageGray<T>,​G extends boofcv.struct.sparse.GradientValue>
    extends boofcv.struct.sparse.SparseScaleGradient<T,​G>
    Computes the gradient from an integral image. Does not check for border conditions. Much faster than generalized algorithms that can handle image borders, but is unsafe and bounds must be checked before use.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int r  
      protected int w  
      • Fields inherited from class boofcv.struct.sparse.SparseScaleGradient

        input, x0, x1, y0, y1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setWidth​(double width)  
      • Methods inherited from class boofcv.struct.sparse.SparseScaleGradient

        isInBounds, setImage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface boofcv.struct.sparse.SparseImageGradient

        compute, getGradientType
    • Field Detail

      • r

        protected int r
      • w

        protected int w
    • Constructor Detail

      • SparseIntegralGradient_NoBorder

        public SparseIntegralGradient_NoBorder()
    • Method Detail

      • setWidth

        public void setWidth​(double width)
        Specified by:
        setWidth in class boofcv.struct.sparse.SparseScaleGradient<T extends boofcv.struct.image.ImageGray<T>,​G extends boofcv.struct.sparse.GradientValue>