public final class ComponentMappingBox extends JP2Box
JP2Box.BoxType| Constructor and Description |
|---|
ComponentMappingBox(RandomAccessIO in,
int boxStart)
Construct a ComponentMappingBox from an input image.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCMP(int channel) |
short |
getMTYP(int channel)
Return the channel type.
|
int |
getNChannels() |
short |
getPCOL(int channel)
Return the palette index for the channel.
|
String |
toString()
Return a suitable String representation of the class instance.
|
getTypeString, getTypeStringpublic ComponentMappingBox(RandomAccessIO in, int boxStart) throws IOException, ColorSpaceException
in - RandomAccessIO jp2 imageboxStart - offset to the start of the box in the imageIOException, - ColorSpaceExceptionIOExceptionColorSpaceExceptionCopyright © 2015. All rights reserved.