public class CalculateRelevantComponents
extends java.lang.Object
Usage example:
constructor
run
[getMethods]
Modifier and Type | Field and Description |
---|---|
private CBDParameters |
cbdParameters
Definition in
CBDParameters . |
private int[][] |
comps
Is the range of components which are needed after the multiple component
transformation has been applied.
|
private boolean |
isNoCompliantMCT
Indicates whether the multiple component transformation is signalled
by means of either CBD, MCT, MCC, and MCO parameters or the JPK
parameters.
|
private JPKParameters |
jpkParameters
Definition in
JPKParameters . |
private java.util.HashMap<java.lang.Integer,MCCParameters> |
mccParametersList
Definition in
MCCParameters . |
private MCOParameters |
mcoParameters
Definition in
MCOParameters . |
private java.util.HashMap<java.lang.Integer,MCTParameters> |
mctParametersList
Definition in
MCTParameters . |
private int |
multiComponentTransformType
Definition in
CODParameters.multiComponentTransform . |
private int[][] |
relevantComps
Is a bi-dimensional array with then required range of components.
|
private int |
zSize
Definition in
SIZParameters.zSize |
Constructor and Description |
---|
CalculateRelevantComponents(int multiComponentTransformType,
int zSize,
CBDParameters cbdParameters,
java.util.HashMap<java.lang.Integer,MCTParameters> mctParametersList,
java.util.HashMap<java.lang.Integer,MCCParameters> mccParametersList,
MCOParameters mcoParameters,
int[][] comps)
Constructor.
|
CalculateRelevantComponents(JPKParameters jpkParameters,
int zSize,
int[][] comps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int[][] |
getRelevantComponents()
Returns the
relevantComps attribute. |
private int[][] |
getRelevantComponentsColorTransform(int[][] compsRanges)
This method calculates which components are needed to invert a multiple
component transformation when a color transform has been applied.
|
private int[][] |
getRelevantComponentsDWT(int[][] compsRanges,
int DWTType,
int DWTLevels)
This method computes which components are needed to decompress a range
image components which have been DWT spectrally transformed.
|
void |
list(java.io.PrintStream out)
Prints this CalculateRelevantComponents out to the specified output
stream.
|
int[][] |
run() |
java.lang.String |
toString() |
private int multiComponentTransformType
CODParameters.multiComponentTransform
.private CBDParameters cbdParameters
CBDParameters
.private java.util.HashMap<java.lang.Integer,MCTParameters> mctParametersList
MCTParameters
.private java.util.HashMap<java.lang.Integer,MCCParameters> mccParametersList
MCCParameters
.private MCOParameters mcoParameters
MCOParameters
.private JPKParameters jpkParameters
JPKParameters
.private int zSize
SIZParameters.zSize
private int[][] comps
The first index is an array index, from 0 to the maximum number of ranges. And the second index indicates: 0 stands for the first component of the range, and 1 stands for the last component of the range (both are included).
This attribute is the same as ViewWindowField.comps
.
private int[][] relevantComps
comps
attribute.private boolean isNoCompliantMCT
public CalculateRelevantComponents(int multiComponentTransformType, int zSize, CBDParameters cbdParameters, java.util.HashMap<java.lang.Integer,MCTParameters> mctParametersList, java.util.HashMap<java.lang.Integer,MCCParameters> mccParametersList, MCOParameters mcoParameters, int[][] comps)
multiComponentTransformType
- definition in multiComponentTransformType
.cbdParameters
- definition in cbdParameters
.mctParametersList
- definition in mctParametersList
.mccParametersList
- definition in mccParametersList
.mcoParameters
- definition in mcoParameters
.comps
- definition in comps
.public CalculateRelevantComponents(JPKParameters jpkParameters, int zSize, int[][] comps)
jpkParameters
- definition in jpkParameters
.comps
- definition in comps
.public int[][] run() throws ErrorException
relevantComps
attribute.ErrorException
public int[][] getRelevantComponents()
relevantComps
attribute.relevantComps
attribute.public java.lang.String toString()
toString
in class java.lang.Object
public void list(java.io.PrintStream out)
out
- an output stream.private int[][] getRelevantComponentsDWT(int[][] compsRanges, int DWTType, int DWTLevels)
compsRanges
- the range of components to be decompressed. The first
index is an array index of the ranges. An the second index
indicates: 0 is the first component of the range, and 1 is the
last component of the range.compsRanges
input
parameter.private int[][] getRelevantComponentsColorTransform(int[][] compsRanges)
compsRanges
- definition in comps
.compsRanges
input
parameter.
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)