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. Imgs store pixels and
thus are the basis for conventional image processing.- Author:
- Stephan Saalfeld, Stephan Preibisch
-
Method Summary
Modifier and TypeMethodDescriptioncopy()factory()Get aImgFactorythat createsImgs of the same kind as this one.Methods inherited from interface net.imglib2.Dimensions
dimension, dimensionsMethods inherited from interface net.imglib2.EuclideanSpace
numDimensionsMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface net.imglib2.IterableInterval
cursor, localizingCursorMethods inherited from interface net.imglib2.IterableRealInterval
firstElement, iterationOrder, sizeMethods inherited from interface net.imglib2.RandomAccessible
randomAccess, randomAccess
-
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
- Returns:
- - A copy of the current
Imginstance, all pixels are duplicated
-