T - - The underlying data type used by this PlaneP - - A recursive reference to this concrete classpublic abstract class AbstractPlane<T,P extends DataPlane<T>> extends Object implements DataPlane<T>
Plane implementations in SCIFIO.| Constructor and Description |
|---|
AbstractPlane() |
AbstractPlane(ImageMetadata meta,
net.imglib2.Interval bounds) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
blankPlane(net.imglib2.Interval bounds) |
net.imglib2.Interval |
getBounds() |
net.imglib2.display.ColorTable |
getColorTable()
Gets this plane's ColorTable.
|
T |
getData()
Gets this plane's type-specific pixel data.
|
ImageMetadata |
getImageMetadata()
Gets the
ImageMetadata associated with this plane. |
P |
populate(DataPlane<T> plane)
Populate this plane by copying the provided plane.
|
P |
populate(ImageMetadata meta,
net.imglib2.Interval bounds)
Populates this planes offsets, dimensions and Metadata.
|
P |
populate(ImageMetadata meta,
T data,
net.imglib2.Interval bounds)
As
DataPlane.populate(Object, Interval), but also sets the ImageMetadata of
the source from which this Plane was read. |
P |
populate(Plane p)
Populates this plane by copying the fields of the provided plane
|
P |
populate(T data,
net.imglib2.Interval bounds)
Populate this plane using the specified lengths and offsets, with the
provided data representation of the pixels in that region.
|
void |
setBounds(net.imglib2.Interval bounds)
Sets this plane's bounds relative to the underlying image.
|
void |
setColorTable(net.imglib2.display.ColorTable lut)
Sets the ColorTable for this plane.
|
void |
setData(T data)
Sets the native pixel data for this plane.
|
void |
setImageMetadata(ImageMetadata meta)
Sets the ImageMetadata representation of the underlying image.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBytes, getLengths, getMax, getMinpublic AbstractPlane()
public AbstractPlane(ImageMetadata meta, net.imglib2.Interval bounds)
public void setData(T data)
DataPlanePlane.getColorTable()
returns null, then this is the pixel data. Otherwise, this data should be
used as an index into the associated ColorTable.public T getData()
DataPlanepublic void setColorTable(net.imglib2.display.ColorTable lut)
PlanesetColorTable in interface Planelut - - a ColorTable implementation.public net.imglib2.display.ColorTable getColorTable()
PlanegetColorTable in interface Planepublic ImageMetadata getImageMetadata()
PlaneImageMetadata associated with this plane. The
ImageMetadata returned by this method can then be used to answer questions
about this plane.getImageMetadata in interface Planepublic P populate(Plane p)
Planepublic P populate(DataPlane<T> plane)
DataPlanepublic P populate(ImageMetadata meta, net.imglib2.Interval bounds)
Planepublic P populate(T data, net.imglib2.Interval bounds)
DataPlanepublic P populate(ImageMetadata meta, T data, net.imglib2.Interval bounds)
DataPlaneDataPlane.populate(Object, Interval), but also sets the ImageMetadata of
the source from which this Plane was read.public void setImageMetadata(ImageMetadata meta)
PlanesetImageMetadata in interface Planemeta - - an initialized ImageMetadata instance.public net.imglib2.Interval getBounds()
public void setBounds(net.imglib2.Interval bounds)
Planeprotected abstract T blankPlane(net.imglib2.Interval bounds)
Copyright © 2011–2026 SCIFIO. All rights reserved.