it.geosolutions.imageio.plugins.jp2k.box
Class PaletteBoxMetadataNode
java.lang.Object
javax.imageio.metadata.IIOMetadataNode
it.geosolutions.imageio.plugins.jp2k.box.BaseJP2KBoxMetadataNode
it.geosolutions.imageio.plugins.jp2k.box.PaletteBoxMetadataNode
- All Implemented Interfaces:
- Element, Node, NodeList
public class PaletteBoxMetadataNode
- extends BaseJP2KBoxMetadataNode
This class is designed to represent a palette box for JPEG 2000 JP2 file
format. A palette box has a length, and a fixed type of "pclr". Its content
contains the number of palette entry, the number of color components, the bit
depths of the output components, the LUT. Currently, only 8-bit color index
is supported.
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Methods inherited from class javax.imageio.metadata.IIOMetadataNode |
appendChild, cloneNode, compareDocumentPosition, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getTagName, getTextContent, getUserData, getUserObject, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData, setUserObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaletteBoxMetadataNode
public PaletteBoxMetadataNode(PaletteBox box)
getNumEntries
public String getNumEntries()
getNumComp
public String getNumComp()
- Return the number of color components.
getBitDepths
public String getBitDepths(int index)
- Return the bit depths for all the color components.
getRawLUT
public byte[][] getRawLUT()
- Return the Raw LUT.
Copyright © 2006–2014 GeoSolutions. All rights reserved.