Package net.imglib2.img
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
An
Img
is a RandomAccessibleInterval
that has its min at
0n and its max positive. Img
s store pixels and
thus are the basis for conventional image processing.- Author:
- Stephan Saalfeld, Stephan Preibisch
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
factory()
Get aImgFactory
that createsImg
s of the same kind as this one.Methods inherited from interface net.imglib2.Dimensions
dimension, dimensions
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface net.imglib2.IterableInterval
cursor, localizingCursor
Methods inherited from interface net.imglib2.IterableRealInterval
firstElement, iterationOrder, size
Methods inherited from interface net.imglib2.RandomAccessible
randomAccess, randomAccess
-
Method Details
-
factory
ImgFactory<T> factory()Get aImgFactory
that createsImg
s 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
- Returns:
- - A copy of the current
Img
instance, all pixels are duplicated
-