public class ShortImagePlus<T extends Type<T>> extends ImagePlusContainer<T,ShortArray>
ImagePlusContainer
for short-stored data.
Johannes SchindelinModifier and Type | Field and Description |
---|---|
protected ij.ImagePlus |
imp |
channels, depth, factory, frames, height, width
mirror, slices
linkedType
entitiesPerPixel, numEntities
dim, id, numDimensions, numPixels
Constructor and Description |
---|
ShortImagePlus(ImagePlusContainerFactory factory,
int[] dim,
int entitiesPerPixel)
Standard constructor as called by default factories.
|
ShortImagePlus(ij.ImagePlus imp,
ImagePlusContainerFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ij.ImagePlus |
getImagePlus() |
void |
setPlane(int no,
ShortArray plane)
This has to be overwritten, otherwise two different instances exist (one in the imageplus, one in the mirror)
|
createCursor, createLocalizableByDimCursor, createLocalizableByDimCursor, createLocalizableCursor, createLocalizablePlaneCursor, getChannels, getDepth, getFactory, getFrames, getHeight, getWidth, reduceDimensions, reduceDimensions
compareStorageContainerCompatibility, getIndex, getPlane, getSlices, update
setLinkedType
getNumEntities, getNumEntities, getNumEntitiesPerPixel
compareStorageContainerDimensions, getDimension, getDimensions, getDimensions, getId, getNumDimensions, getNumPixels, getNumPixels, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNumEntities, getNumEntitiesPerPixel
compareStorageContainerDimensions, getDimension, getDimensions, getDimensions, getId, getNumDimensions, getNumPixels
public ShortImagePlus(ImagePlusContainerFactory factory, int[] dim, int entitiesPerPixel)
ImagePlus
default order
x,y,c,z,t. That is, from two dimensions, it will create an x,y image,
from three dimensions, an x,y,c image, and from four dimensions, an
x,y,c,z image.factory
- dim
- entitiesPerPixel
- public ShortImagePlus(ij.ImagePlus imp, ImagePlusContainerFactory factory)
public void setPlane(int no, ShortArray plane)
setPlane
in interface PlanarAccess<ShortArray>
setPlane
in class PlanarContainer<T extends Type<T>,ShortArray>
public void close()
public ij.ImagePlus getImagePlus() throws ImgLibException
getImagePlus
in class ImagePlusContainer<T extends Type<T>,ShortArray>
ImgLibException
Copyright © 2015–2021 Fiji. All rights reserved.