public class CellImg<T extends NativeType<T>,A> extends AbstractCellImg<T,A,Cell<A>,ListImg<Cell<A>>>
AbstractCellImg.CellImgSampler<C>
cells, grid
entitiesPerPixel, linkedType, numEntities
dimension, max, n, numPixels
Constructor and Description |
---|
CellImg(CellImgFactory<T> factory,
CellGrid grid,
ListImg<Cell<A>> imgOfCells,
Fraction entitiesPerPixel) |
Modifier and Type | Method and Description |
---|---|
CellImg<T,A> |
copy() |
ImgFactory<T> |
factory()
Get a
ImgFactory that creates Img s of the same kind as
this one. |
copyDataTo, cursor, getCellGrid, getCells, iterationOrder, localizingCursor, randomAccess, update
createLinkedType, setLinkedType
dimension, dimensions, firstElement, iterator, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
randomAccess
firstElement, size
forEach, iterator, spliterator
realMax, realMax, realMax, realMin, realMin, realMin
dimension, dimensions
numDimensions
public ImgFactory<T> factory()
Img
ImgFactory
that creates Img
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.Copyright © 2009–2017 ImgLib2. All rights reserved.