Class ImageBorder<T extends ImageBase<T>>

Direct Known Subclasses:
ImageBorder_F32, ImageBorder_F64, ImageBorder_IL_F32, ImageBorder_IL_F64, ImageBorder_IL_S32, ImageBorder_IL_S64, ImageBorder_S32, ImageBorder_S64

public abstract class ImageBorder<T extends ImageBase<T>> extends Object
A wrapper around a normal image that returns a numeric value if a pixel is requested that is outside of the image boundary. The additional sanity checks can significantly slow down algorithms and should only be used when needed.
  • Field Details

  • Constructor Details

    • ImageBorder

      protected ImageBorder(T image)
    • ImageBorder

      protected ImageBorder()
  • Method Details

    • setImage

      public void setImage(T image)
    • getImage

      public T getImage()
    • getGeneral

      public abstract void getGeneral(int x, int y, double[] pixel)
    • setGeneral

      public abstract void setGeneral(int x, int y, double[] pixel)
    • copy

      public abstract ImageBorder<T> copy()