|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Common.LogicalTarget.JPEG2000.Parameters.CODParameters
public class CODParameters
This class storages the coding style default (COD) and the coding style component (COC). Further and detailed information, see ISO/IEC 15444-1 section A.6.1 and section A.6.2, respectively.
| Field Summary | |
|---|---|
int[] |
blockHeights
Block height (exponent of 2) for each image component. |
int[] |
blockWidths
Block width (exponent of 2) for each image component. |
boolean[] |
MQCFlags
Style of code-block coding passes. |
int |
multiComponentTransform
Multiple component transformation. |
int |
numLayers
Number of bytes that the final codestream contains (it could vary a little for the LCTargetNumBytes). |
int[][] |
precinctHeights
Same as resolutionPrecinctWidths but for precinct heights. |
int[][] |
precinctWidths
Precinct width in the transformed domain for each component and resolution level. |
int |
progressionOrder
Progression order used to save the file. |
boolean |
useEPH
|
boolean |
useSOP
Use of start and end of packet headers. |
int[] |
WTLevels
DWT levels to apply for each component. |
int[] |
WTTypes
Discrete wavelet transform to be applied for each component. |
| Constructor Summary | |
|---|---|
CODParameters()
Constructor. |
|
CODParameters(CODParameters parameters)
Deep copy constructor. |
|
| Method Summary | |
|---|---|
void |
list(java.io.PrintStream out)
Prints this COD 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 progressionOrder
Valid values are:
public int numLayers
Only positive values allowed.
public int multiComponentTransform
Valid values are:
public int[] WTLevels
Negative values not allowed.
public int[] WTTypes
Valid values are:
public boolean[] MQCFlags
MQDecoder (see source code)
Further information, see ISO/IEC 15444-1 section A.6.1 (table A-19).
public int[] blockHeights
Values greater than 2.
public int[] blockWidths
Values greater than 2.
public int[][] precinctWidths
Values equal or greater than BlockWidth.
public int[][] precinctHeights
Values equal or greater than blockHeight.
public boolean useSOP
In both cases true indicates that the marker is used.
public boolean useEPH
| Constructor Detail |
|---|
public CODParameters()
public CODParameters(CODParameters parameters)
parameters - an object of this class.| 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 | ||||||||