public class SCIFIOCellImg<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.DataAccess> extends net.imglib2.cache.img.CachedCellImg<T,A> implements org.scijava.Disposable
CachedCellImg implementation backed by a SCIFIO Reader.net.imglib2.img.cell.LazyCellImg.Get<T>, net.imglib2.img.cell.LazyCellImg.LazyCells<T extends net.imglib2.img.cell.Cell<?>>net.imglib2.img.cell.AbstractCellImg.CellImgSampler<C>cells, gridentitiesPerPixel, linkedType, numEntitiesdimension, max, n, numPixels| Constructor and Description |
|---|
SCIFIOCellImg(SCIFIOCellImgFactory<T> factory,
net.imglib2.img.cell.CellGrid grid,
net.imglib2.util.Fraction entitiesPerPixel,
net.imglib2.cache.Cache<Long,net.imglib2.img.cell.Cell<A>> cache,
A accessType,
net.imglib2.cache.IoSync iosync) |
| Modifier and Type | Method and Description |
|---|---|
SCIFIOCellImg<T,A> |
copy() |
void |
dispose() |
SCIFIOCellImgFactory<T> |
factory() |
net.imglib2.display.ColorTable |
getColorTable(int imageIndex,
int planeIndex)
Returns the ColorTable of the specified image and plane index.
|
Reader |
reader() |
void |
setLoader(SCIFIOArrayLoader<?> loader) |
getAccessType, getCachecopyDataTo, cursor, getCellGrid, getCells, iterationOrder, localizingCursor, localizingSpliterator, randomAccess, spliterator, updatecreateLinkedType, getType, setLinkedTypedimension, dimensions, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsize, viewgetAt, getAt, getAt, randomAccessfirstElement, iterator, parallelStream, streamdimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionspublic SCIFIOCellImg(SCIFIOCellImgFactory<T> factory, net.imglib2.img.cell.CellGrid grid, net.imglib2.util.Fraction entitiesPerPixel, net.imglib2.cache.Cache<Long,net.imglib2.img.cell.Cell<A>> cache, A accessType, net.imglib2.cache.IoSync iosync)
public net.imglib2.display.ColorTable getColorTable(int imageIndex, int planeIndex) throws FormatException, IOException
NB: opens the underlying image.
FormatExceptionIOExceptionpublic SCIFIOCellImgFactory<T> factory()
factory in interface net.imglib2.img.Img<T extends net.imglib2.type.NativeType<T>>factory in class net.imglib2.cache.img.CachedCellImg<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.DataAccess>public Reader reader()
public void setLoader(SCIFIOArrayLoader<?> loader)
public SCIFIOCellImg<T,A> copy()
copy in interface net.imglib2.img.Img<T extends net.imglib2.type.NativeType<T>>copy in class net.imglib2.img.cell.LazyCellImg<T extends net.imglib2.type.NativeType<T>,A extends net.imglib2.img.basictypeaccess.DataAccess>public void dispose()
dispose in interface org.scijava.DisposableCopyright © 2011–2026 SCIFIO. All rights reserved.