public class CODParameters
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
blockHeight
Block height (exponent of 2).
|
int |
blockWidth
Block width (exponent of 2).
|
boolean |
bypass
Style of code-block coding passes.
|
boolean |
causal |
boolean |
erterm |
int |
multiComponentTransform
Multiple component transformation.
|
int |
numLayers
Number of layers that the final codestream contains.
|
int[] |
precinctHeights
Same as resolutionPrecinctWidths but for precinct heights.
|
int[] |
precinctWidths
Precinct width in the transformed domain for each and resolution level.
|
int |
progressionOrder
Progression order used to save the file.
|
boolean |
reset |
boolean |
restart |
boolean |
segmark |
boolean |
useEPH |
boolean |
useSOP
Use of start and end of packet headers.
|
int |
WTLevels
DWT levels to applied.
|
int |
WTType
Discrete wavelet transform applied.
|
Constructor and Description |
---|
CODParameters()
Constructor.
|
CODParameters(CODParameters parameters)
Deep copy constructor.
|
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 WTType
Valid values are:
public boolean bypass
MQDecoder
.
Further information, see ISO/IEC 15444-1 section A.6.1 (table A-19).public boolean reset
public boolean restart
public boolean causal
public boolean erterm
public boolean segmark
public int blockHeight
Values greater than 2.
public int blockWidth
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
public CODParameters()
public CODParameters(CODParameters parameters)
parameters
- an object of this class.public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
public void list(java.io.PrintStream out)
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)