Class SparseScaleSample_F64<T extends ImageGray<T>>

All Implemented Interfaces:
SparseImageOperator<T>, SparseImageSample_F64<T>
Direct Known Subclasses:
SparseIntegralSample_F32, SparseIntegralSample_I32

public abstract class SparseScaleSample_F64<T extends ImageGray<T>>
extends Object
implements SparseImageSample_F64<T>
Samples the image using a kernel which can be rescaled
  • Field Summary

    Modifier and Type Field Description
    protected T input  
    protected int x0  
    protected int x1  
    protected int y0  
    protected int y1  
  • Constructor Summary

    Constructor Description
  • Method Summary

    Modifier and Type Method Description
    boolean isInBounds​(int x, int y)
    Checks to see if the entire sample region is contained inside the image or not.
    void setImage​(T input)
    Specifies the image being processed.
    abstract void setWidth​(double width)
    Width of the sampled region in pixels

    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.SparseImageSample_F64

  • Field Details

    • input

      protected T extends ImageGray<T> input
    • x0

      protected int x0
    • y0

      protected int y0
    • x1

      protected int x1
    • y1

      protected int y1
  • Constructor Details

    • SparseScaleSample_F64

      public SparseScaleSample_F64()
  • Method Details

    • setWidth

      public abstract void setWidth​(double width)
      Width of the sampled region in pixels
      width - pixels
    • setImage

      public void setImage​(T input)
      Description copied from interface: SparseImageOperator
      Specifies the image being processed.
      Specified by:
      setImage in interface SparseImageOperator<T extends ImageGray<T>>
      input - Image being processed
    • isInBounds

      public boolean isInBounds​(int x, int y)
      Description copied from interface: SparseImageOperator
      Checks to see if the entire sample region is contained inside the image or not. Depending on the implementation it might be able to handle out of bounds pixels or not.
      Specified by:
      isInBounds in interface SparseImageOperator<T extends ImageGray<T>>