Interface Img<T>

All Superinterfaces:
Dimensions, EuclideanSpace, Interval, Iterable<T>, IterableInterval<T>, IterableRealInterval<T>, RandomAccessible<T>, RandomAccessibleInterval<T>, RealInterval
All Known Subinterfaces:
NativeImg<T,A>
All Known Implementing Classes:
AbstractCellImg, AbstractImg, AbstractListImg, AbstractLongListImg, AbstractNativeImg, ARGBScreenImage, ArrayImg, ArrayImgAWTScreenImage, ByteAWTScreenImage, CellImg, DiscreteFrequencyDistribution, DoubleAWTScreenImage, FloatAWTScreenImage, Histogram1d, HistogramNd, ImgView, IntAWTScreenImage, LazyCellImg, LazyCellImg.LazyCells, ListImg, NtreeImg, PlanarImg, ShortAWTScreenImage, UnsignedByteAWTScreenImage, UnsignedIntAWTScreenImage, UnsignedShortAWTScreenImage

public interface Img<T> extends RandomAccessibleInterval<T>, IterableInterval<T>
An Img is a RandomAccessibleInterval that has its min at 0n and its max positive. Imgs store pixels and thus are the basis for conventional image processing.
Author:
Stephan Saalfeld, Stephan Preibisch
  • Method Details

    • factory

      ImgFactory<T> factory()
      Get a ImgFactory that creates Imgs of the same kind as this one. This is useful to create Imgs for temporary storage in generic methods where the specific Img type is unknown. Note, that the factory can be used even if all references to this Img have been invalidated.
      Returns:
      a factory for Imgs of the same kind as this one.
    • copy

      Img<T> copy()
      Returns:
      - A copy of the current Img instance, all pixels are duplicated