public class BMPMetadata extends IIOMetadata implements Cloneable, BMPConstants
Modifier and Type | Field and Description |
---|---|
int |
alphaMask |
short |
bitsPerPixel |
int |
blue |
int |
blueMask |
double |
blueX |
double |
blueY |
double |
blueZ |
String |
bmpVersion |
int |
colorsImportant |
int |
colorSpace |
int |
colorsUsed |
List |
comments |
int |
compression |
int |
gammaBlue |
int |
gammaGreen |
int |
gammaRed |
int |
green |
int |
greenMask |
double |
greenX |
double |
greenY |
double |
greenZ |
int |
height |
int |
imageSize |
int |
intent |
static String |
nativeMetadataFormatName |
byte[] |
palette |
int |
paletteSize |
int |
red |
int |
redMask |
double |
redX |
double |
redY |
double |
redZ |
int |
width |
int |
xPixelsPerMeter |
int |
yPixelsPerMeter |
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported
BI_BITFIELDS, BI_JPEG, BI_PNG, BI_RGB, BI_RLE4, BI_RLE8, compressionTypeNames, LCS_CALIBRATED_RGB, LCS_sRGB, LCS_WINDOWS_COLOR_SPACE, PROFILE_EMBEDDED, PROFILE_LINKED, VERSION_2, VERSION_3, VERSION_3_NT, VERSION_4, VERSION_5
Constructor and Description |
---|
BMPMetadata() |
BMPMetadata(IIOMetadata metadata) |
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
public static final String nativeMetadataFormatName
public String bmpVersion
public int width
public int height
public short bitsPerPixel
public int compression
public int imageSize
public int xPixelsPerMeter
public int yPixelsPerMeter
public int colorsUsed
public int colorsImportant
public int redMask
public int greenMask
public int blueMask
public int alphaMask
public int colorSpace
public double redX
public double redY
public double redZ
public double greenX
public double greenY
public double greenZ
public double blueX
public double blueY
public double blueZ
public int gammaRed
public int gammaGreen
public int gammaBlue
public int intent
public byte[] palette
public int paletteSize
public int red
public int green
public int blue
public List comments
public BMPMetadata()
public BMPMetadata(IIOMetadata metadata) throws IIOInvalidTreeException
IIOInvalidTreeException
public boolean isReadOnly()
isReadOnly
in class IIOMetadata
public Node getAsTree(String formatName)
getAsTree
in class IIOMetadata
private Node getNativeTree()
protected IIOMetadataNode getStandardChromaNode()
getStandardChromaNode
in class IIOMetadata
protected IIOMetadataNode getStandardCompressionNode()
getStandardCompressionNode
in class IIOMetadata
protected IIOMetadataNode getStandardDataNode()
getStandardDataNode
in class IIOMetadata
protected IIOMetadataNode getStandardDimensionNode()
getStandardDimensionNode
in class IIOMetadata
protected IIOMetadataNode getStandardDocumentNode()
getStandardDocumentNode
in class IIOMetadata
protected IIOMetadataNode getStandardTextNode()
getStandardTextNode
in class IIOMetadata
protected IIOMetadataNode getStandardTransparencyNode()
getStandardTransparencyNode
in class IIOMetadata
private void fatal(Node node, String reason) throws IIOInvalidTreeException
IIOInvalidTreeException
private int getIntAttribute(Node node, String name, int defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeException
private double getDoubleAttribute(Node node, String name, double defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeException
private int getIntAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeException
private double getDoubleAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeException
private String getAttribute(Node node, String name, String defaultValue, boolean required) throws IIOInvalidTreeException
IIOInvalidTreeException
private String getAttribute(Node node, String name) throws IIOInvalidTreeException
IIOInvalidTreeException
void initialize(ColorModel cm, SampleModel sm, ImageWriteParam param)
public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
mergeTree
in class IIOMetadata
IIOInvalidTreeException
private void mergeNativeTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeException
private void mergeStandardTree(Node root) throws IIOInvalidTreeException
IIOInvalidTreeException
public void reset()
reset
in class IIOMetadata
private String countBits(int num)
private void addXYZPoints(IIOMetadataNode root, String name, double x, double y, double z)
private IIOMetadataNode addChildNode(IIOMetadataNode root, String name, Object object)
Copyright © 2016 Open Microscopy Environment