Package net.imglib2.img.cell
Class CellImg<T extends NativeType<T>,A extends DataAccess>
- 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:
java.lang.Iterable<T>,Dimensions,EuclideanSpace,Img<T>,NativeImg<T,A>,Interval,IterableInterval<T>,IterableRealInterval<T>,RandomAccessible<T>,RandomAccessibleInterval<T>,RealInterval,Typed<T>
public class CellImg<T extends NativeType<T>,A extends DataAccess> 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 Modifier and Type Field Description private CellImgFactory<T>factory-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CellImg<T,A>copy()ImgFactory<T>factory()Get aImgFactorythat createsImgs of the same kind as this one.-
Methods inherited from class net.imglib2.img.cell.AbstractCellImg
copyDataTo, cursor, getCellGrid, getCells, iterationOrder, localizingCursor, localizingSpliterator, randomAccess, spliterator, update
-
Methods inherited from class net.imglib2.img.AbstractNativeImg
createLinkedType, getType, setLinkedType
-
Methods inherited from class net.imglib2.img.AbstractImg
dimension, dimensions, 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
dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.Interval
dimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMin
-
Methods inherited from interface net.imglib2.IterableRealInterval
firstElement, iterator, parallelStream, stream
-
Methods inherited from interface net.imglib2.RandomAccessible
getAt, getAt, getAt, randomAccess
-
Methods inherited from interface net.imglib2.RandomAccessibleInterval
size
-
Methods inherited from interface net.imglib2.RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMin
-
-
-
-
Field Detail
-
factory
private final CellImgFactory<T extends NativeType<T>> factory
-
-
Method Detail
-
factory
public ImgFactory<T> factory()
Description copied from interface:ImgGet 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.
-
-