colorspace.boxes
Class ImageHeaderBox
java.lang.Object
|
+--colorspace.boxes.JP2Box
|
+--colorspace.boxes.ImageHeaderBox
- public final class ImageHeaderBox
- extends JP2Box
This class models the Image Header box contained in a JP2
image. It is a stub class here since for colormapping the
knowlege of the existance of the box in the image is sufficient.
Field Summary |
(package private) short |
bpc
|
(package private) short |
c
|
(package private) long |
height
|
(package private) boolean |
ipr
|
(package private) int |
nc
|
(package private) boolean |
unk
|
(package private) long |
width
|
Method Summary |
(package private) void |
readBox()
Analyze the box content. |
java.lang.String |
toString()
Return a suitable String representation of the class instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
height
long height
width
long width
nc
int nc
bpc
short bpc
c
short c
unk
boolean unk
ipr
boolean ipr
ImageHeaderBox
public ImageHeaderBox(RandomAccessIO in,
int boxStart)
throws java.io.IOException,
ColorSpaceException
- Construct an ImageHeaderBox from an input image.
- Parameters:
in
- RandomAccessIO jp2 imageboxStart
- offset to the start of the box in the image
- Throws:
IOException,
- ColorSpaceException
java.io.IOException
ColorSpaceException
toString
public java.lang.String toString()
- Return a suitable String representation of the class instance.
- Overrides:
toString
in class java.lang.Object
readBox
void readBox()
throws java.io.IOException
- Analyze the box content.
java.io.IOException