T - the native data type used to store this plane's pixel information.public interface DataPlane<T> extends Plane
Plane interface. Adds the concept of a native
underlying data representation.Plane| Modifier and Type | Method and Description |
|---|---|
T |
getData()
Gets this plane's type-specific pixel data.
|
DataPlane<T> |
populate(DataPlane<T> plane)
Populate this plane by copying the provided plane.
|
DataPlane<T> |
populate(ImageMetadata meta,
T data,
net.imglib2.Interval bounds)
As
populate(Object, Interval), but also sets the ImageMetadata of
the source from which this Plane was read. |
DataPlane<T> |
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 |
setData(T data)
Sets the native pixel data for this plane.
|
getBounds, getBytes, getColorTable, getImageMetadata, getLengths, getMax, getMin, populate, populate, setBounds, setColorTable, setImageMetadatavoid setData(T data)
Plane.getColorTable()
returns null, then this is the pixel data. Otherwise, this data should be
used as an index into the associated ColorTable.data - - an object matching the native data type of this plane.T getData()
DataPlane<T> populate(DataPlane<T> plane)
plane - the plane to copyDataPlane<T> populate(T data, net.imglib2.Interval bounds)
data - Pixel information for the region of this plane.bounds - bounds of the planar axes.DataPlane<T> populate(ImageMetadata meta, T data, net.imglib2.Interval bounds)
populate(Object, Interval), but also sets the ImageMetadata of
the source from which this Plane was read.meta - ImageMetadata of the source associated with this Planedata - Pixel information for the region of this plane.bounds - bounds of the planar axes.Copyright © 2011–2026 SCIFIO. All rights reserved.