public interface ImageMetadata
NOTE: This class is slated for redesign in spring 2016. Use at your own risk! If you need future stability, use ImgLib2 and/or ImageJ 1.x classes.
Modifier and Type | Method and Description |
---|---|
double |
getChannelMaximum(int c)
Gets the maximum actual pixel value for the given channel.
|
double |
getChannelMinimum(int c)
Gets the minimum actual pixel value for the given channel.
|
ColorTable |
getColorTable(int no)
Gets the color table at the given position.
|
int |
getColorTableCount()
Gets the number of available
ColorTable s. |
int |
getCompositeChannelCount()
Gets the number of channels intended to be displayed together.
|
Map<String,Object> |
getProperties()
Gets a table of key/value pairs associated with the image.
|
int |
getValidBits()
Gets the number of valid bits (if applicable to this
Img ). |
void |
initializeColorTables(int count)
Sets the number of available color tables to the given value.
|
void |
setChannelMaximum(int c,
double max)
Sets the maximum actual pixel value for the given channel.
|
void |
setChannelMinimum(int c,
double min)
Sets the minimum actual pixel value for the given channel.
|
void |
setColorTable(ColorTable colorTable,
int no)
Sets the color table at the given position.
|
void |
setCompositeChannelCount(int count)
Sets the number of channels intended to be displayed together.
|
void |
setValidBits(int bits)
Sets the number of valid bits.
|
int getValidBits()
Img
).void setValidBits(int bits)
double getChannelMinimum(int c)
void setChannelMinimum(int c, double min)
double getChannelMaximum(int c)
void setChannelMaximum(int c, double max)
int getCompositeChannelCount()
void setCompositeChannelCount(int count)
ColorTable getColorTable(int no)
void setColorTable(ColorTable colorTable, int no)
colorTable
- The color table to store.no
- The position of the color table, typically (but not necessarily)
a 1D dimensional planar index rasterized from an N-dimensional
planar position array.void initializeColorTables(int count)
int getColorTableCount()
ColorTable
s. For Img
s, this
number typically matches the total number of planes.Copyright © 2014–2022 ImageJ. All rights reserved.