Package net.imglib2.img.cell
Class CellImg<T extends NativeType<T>,A>
java.lang.Object
net.imglib2.img.AbstractImg<T>
net.imglib2.img.AbstractNativeImg<T,A>
net.imglib2.img.cell.AbstractCellImg<T,A,Cell<A>,ListImg<Cell<A>>>
net.imglib2.img.cell.CellImg<T,A>
- All Implemented Interfaces:
Iterable<T>
,Dimensions
,EuclideanSpace
,Img<T>
,NativeImg<T,
,A> Interval
,IterableInterval<T>
,IterableRealInterval<T>
,RandomAccessible<T>
,RandomAccessibleInterval<T>
,RealInterval
public class CellImg<T extends NativeType<T>,A>
extends AbstractCellImg<T,A,Cell<A>,ListImg<Cell<A>>>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.imglib2.img.cell.AbstractCellImg
AbstractCellImg.CellImgSampler<C>
-
Field Summary
Fields inherited from class net.imglib2.img.cell.AbstractCellImg
cells, grid
Fields inherited from class net.imglib2.img.AbstractNativeImg
entitiesPerPixel, linkedType, numEntities
Fields inherited from class net.imglib2.img.AbstractImg
dimension, max, n, numPixels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
factory()
Get aImgFactory
that createsImg
s of the same kind as this one.Methods inherited from class net.imglib2.img.cell.AbstractCellImg
copyDataTo, cursor, getCellGrid, getCells, iterationOrder, localizingCursor, randomAccess, update
Methods inherited from class net.imglib2.img.AbstractNativeImg
createLinkedType, setLinkedType
Methods inherited from class net.imglib2.img.AbstractImg
dimension, dimensions, firstElement, iterator, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.IterableRealInterval
firstElement, size
Methods inherited from interface net.imglib2.RandomAccessible
randomAccess
-
Constructor Details
-
CellImg
-
-
Method Details
-
factory
Description copied from interface:Img
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
-