|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Common.LogicalTarget.JPEG2000.Parameters.SIZParameters
public class SIZParameters
This class storages the image and tile size parameters (SIZ). Further and detailed information, see ISO/IEC 15444-1 section A.5.1
| Field Summary | |
|---|---|
int[] |
precision
Number of bits per sample used for each component. |
int |
Rsiz
Denotes capabilities that a decoder needs to properly decode the codestream NOTE: It would be better defined if it is considered like a enumeration. |
boolean[] |
signed
Indicates whether components are signed (positive and negative values) or not. |
int |
XOsize
Horizontal offset. |
int[] |
XRsiz
Horitzontal separation of sample of ith component with respect to the reference grid. |
int |
xSize
Image width. |
int |
XTOsize
Horizontal offset Tile Horitzontal offset from the origin of the reference grid to the left side of the first tile |
int |
XTsize
Horizontal tile size. |
int |
YOsize
Vertical offset. |
int[] |
YRsiz
Vertical separation of sample of ith component with respect to the reference grid. |
int |
ySize
Image height. |
int |
YTOsize
Vertical offset Tile Vertical offset from the origin of the reference grid to the top side of the first tile |
int |
YTsize
Vertical tile size. |
int |
zSize
Number of image components. |
| Constructor Summary | |
|---|---|
SIZParameters()
Constructor. |
|
SIZParameters(SIZParameters parameters)
Deep copy constructor. |
|
| Method Summary | |
|---|---|
void |
list(java.io.PrintStream out)
Prints this SIZ parameters' fields to the specified output stream. |
void |
reset()
Sets the attributes to its initial values. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int Rsiz
NOTE: It would be better defined if it is considered like a enumeration. Therefore, the attribute name could be 'capabilities' as is defined in the standard, and it would contain only the required capabilities. It would avoid to used masks to extract capabilities.
public int xSize
Negative values are not allowed for this field.
public int ySize
Negative values are not allowed for this field.
public int XOsize
Horitzontal offset from origin of the reference grid to the left side of the image area
public int YOsize
Vertical offset from origin of the reference grid to the left side of the image area
public int XTsize
Width of one reference tile with respect ot the reference grid.
public int YTsize
Height of one reference tile with respect ot the reference grid.
public int XTOsize
Horitzontal offset from the origin of the reference grid to the left side of the first tile
public int YTOsize
Vertical offset from the origin of the reference grid to the top side of the first tile
public int zSize
Negative values are not allowed for this field.
public int[] precision
Only positive values allowed.
public boolean[] signed
True if signed, false otherwise.
public int[] XRsiz
Only positive values shorter than 255 are allowed.
public int[] YRsiz
Only positive values shorter than 255 are allowed.
| Constructor Detail |
|---|
public SIZParameters()
public SIZParameters(SIZParameters parameters)
parameters - | Method Detail |
|---|
public void reset()
public java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||