public interface Plane
Planes are X,Y slices of pixel data from a parent image, and potentially
include a ColorTable if that parent uses indexed
color.
This interface guarantees that a Plane will have a ColorTable, and the pixel data of a Plane can ultimately be converted to a byte[].
ColorTable| Modifier and Type | Method and Description |
|---|---|
net.imglib2.Interval |
getBounds() |
byte[] |
getBytes()
Gets this plane's standardized pixel data.
|
net.imglib2.display.ColorTable |
getColorTable()
Gets this plane's ColorTable.
|
ImageMetadata |
getImageMetadata()
Gets the
ImageMetadata associated with this plane. |
default long[] |
getLengths() |
default long[] |
getMax() |
default long[] |
getMin() |
Plane |
populate(ImageMetadata meta,
net.imglib2.Interval bounds)
Populates this planes offsets, dimensions and Metadata.
|
Plane |
populate(Plane p)
Populates this plane by copying the fields of the provided plane
|
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 |
setImageMetadata(ImageMetadata meta)
Sets the ImageMetadata representation of the underlying image.
|
void setColorTable(net.imglib2.display.ColorTable lut)
lut - - a ColorTable implementation.net.imglib2.display.ColorTable getColorTable()
byte[] getBytes()
ImageMetadata getImageMetadata()
ImageMetadata associated with this plane. The
ImageMetadata returned by this method can then be used to answer questions
about this plane.default long[] getMin()
default long[] getMax()
default long[] getLengths()
net.imglib2.Interval getBounds()
Plane populate(ImageMetadata meta, net.imglib2.Interval bounds)
meta - - ImageMetadata to associate with this Planebounds - bounds of the planar axes.Plane populate(Plane p)
p - - A Plane to copyvoid setImageMetadata(ImageMetadata meta)
meta - - an initialized ImageMetadata instance.void setBounds(net.imglib2.Interval bounds)
Copyright © 2011–2026 SCIFIO. All rights reserved.