public class SCIFIOImgPlus<T> extends net.imagej.ImgPlus<T> implements org.scijava.Disposable
ImgPlus that adds
getColorTable(int, int) API for specifying both the plane and image
index.
Also provides direct access to the Metadata object associated with
the underlying dataset.
| Modifier and Type | Field and Description |
|---|---|
static String |
GLOBAL_META |
static String |
IMAGE_META |
| Constructor and Description |
|---|
SCIFIOImgPlus(net.imglib2.img.Img<T> img) |
SCIFIOImgPlus(net.imglib2.img.Img<T> img,
net.imagej.ImgPlusMetadata metadata) |
SCIFIOImgPlus(net.imglib2.img.Img<T> img,
String name) |
SCIFIOImgPlus(net.imglib2.img.Img<T> img,
String name,
net.imagej.axis.AxisType[] axes) |
SCIFIOImgPlus(net.imglib2.img.Img<T> img,
String name,
net.imagej.axis.AxisType[] axes,
double[] cal) |
SCIFIOImgPlus(net.imagej.ImgPlus<T> imgPlus) |
| Modifier and Type | Method and Description |
|---|---|
SCIFIOImgPlus<T> |
copy() |
void |
dispose() |
net.imglib2.display.ColorTable |
getColorTable(int planeIndex) |
net.imglib2.display.ColorTable |
getColorTable(int imageIndex,
int planeIndex) |
ImageMetadata |
getImageMetadata() |
Metadata |
getMetadata() |
void |
setImageMetadata(ImageMetadata imageMeta)
Sets the
ImageMetadata object for this ImgPlus. |
void |
setMetadata(Metadata meta)
Sets the
Metadata object for this ImgPlus. |
cursor, dimension, dimensions, factory, firstElement, getChannelMaximum, getChannelMinimum, getColorTableCount, getCompositeChannelCount, getImg, getName, getProperties, getSource, getValidBits, imgFactory, initializeColorTables, iterationOrder, iterator, localizingCursor, max, max, max, min, min, min, randomAccess, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, setChannelMaximum, setChannelMinimum, setColorTable, setCompositeChannelCount, setName, setSource, setValidBits, size, wrap, wrap, wrapRAI, wrapToImgaverageScaleaxes, axis, numDimensions, setAxisclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitviewgetAt, getAt, getAtlocalizingSpliterator, spliteratorgetType, parallelStream, streammaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionsaverageScaledimensionIndexaxes, axis, setAxispublic static final String GLOBAL_META
public static final String IMAGE_META
public SCIFIOImgPlus(net.imglib2.img.Img<T> img)
public SCIFIOImgPlus(net.imglib2.img.Img<T> img, String name)
public SCIFIOImgPlus(net.imglib2.img.Img<T> img, String name, net.imagej.axis.AxisType[] axes)
public SCIFIOImgPlus(net.imglib2.img.Img<T> img, net.imagej.ImgPlusMetadata metadata)
public SCIFIOImgPlus(net.imglib2.img.Img<T> img, String name, net.imagej.axis.AxisType[] axes, double[] cal)
public SCIFIOImgPlus(net.imagej.ImgPlus<T> imgPlus)
public Metadata getMetadata()
Metadata object attached to this ImgPlus.public ImageMetadata getImageMetadata()
ImageMetadata object attached to this ImgPlus.public void setImageMetadata(ImageMetadata imageMeta)
ImageMetadata object for this ImgPlus.public net.imglib2.display.ColorTable getColorTable(int planeIndex)
getColorTable in interface net.imagej.ImageMetadatagetColorTable in class net.imagej.ImgPlus<T>public net.imglib2.display.ColorTable getColorTable(int imageIndex, int planeIndex)
imageIndex - - Image index to look up the color tableplaneIndex - - Plane index of the desired color tablepublic SCIFIOImgPlus<T> copy()
copy in interface net.imglib2.img.Img<T>copy in class net.imagej.ImgPlus<T>public void dispose()
dispose in interface org.scijava.DisposableCopyright © 2011–2026 SCIFIO. All rights reserved.