Interface Img<T>
- All Superinterfaces:
Dimensions, EuclideanSpace, Interval, Iterable<T>, IterableInterval<T>, IterableRealInterval<T>, RandomAccessible<T>, RandomAccessibleInterval<T>, RealInterval, Typed<T>
- 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
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.-
Method Summary
Modifier and TypeMethodDescriptioncopy()factory()Get aImgFactorythat createsImgs of the same kind as this one.Methods inherited from interface Dimensions
dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPointMethods inherited from interface EuclideanSpace
numDimensionsMethods inherited from interface Interval
dimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinMethods inherited from interface IterableInterval
localizingSpliterator, spliteratorMethods inherited from interface IterableRealInterval
firstElement, getType, iterator, parallelStream, streamMethods inherited from interface RandomAccessible
getAt, getAt, getAt, randomAccess, randomAccessMethods inherited from interface RandomAccessibleInterval
cursor, iterationOrder, localizingCursor, sizeMethods inherited from interface RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMin
-
Method Details
-
factory
ImgFactory<T> factory()Get aImgFactorythat createsImgs 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
-