CADI.Common.LogicalTarget.JPEG2000.Parameters
Class JPKParameters

java.lang.Object
  extended by CADI.Common.LogicalTarget.JPEG2000.Parameters.JPKParameters

public class JPKParameters
extends java.lang.Object

This class storages the JPK parameters used in the JPK Headers.

Version:
1.0 2008/11/27
Author:
Group on Interactive Coding of Images (GICI)

Field Summary
 int[] bitPlaneEncodingSA
          Performs the shape adaptive version for the JPEG2000 bit plane encoder scheme.
 int DPCMRestartIndex
           
 boolean[] LSComponents
          Specification of the image component to apply the level shift.
 int[] LSSubsValues
          Substracted values of each image component.
 int LSType
          Shift type to apply.
 int QDynamicRange
          Dynamic Range value used to calculate the stepSize
 int[] RBitplanesScaling
          Contain the scaling factor values for bitpalnesshift roi and for each component
 float[] RMMultValues
          Value used to modificate the range of each component using a multiplication.
 int[] RroisParameters
          Roi values used to each Roi.
 int RroiType
          Roi type to be applied to the image.
 int[] waveletSA
          Shape adaptive discrete wavelet transform to be applied for each component.
 int WSL
          Discrete wavelet transform type to be applied in the spectral domain.
 int WST
          Discrete wavelet transform levels to be applied in the spectral domain.
 int WT3D
          Kind of 3D Discrete wavelet transform to be applied.
 
Constructor Summary
JPKParameters()
          Constructor.
JPKParameters(JPKParameters parameters)
          Deep copy constructor.
 
Method Summary
 void list(java.io.PrintStream out)
          Prints this JPK parameters' fields to the specified output stream.
 void reset()
          Sets the attributes to its initial values.
 java.lang.String toString()
          (non-Javadoc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LSType

public int LSType
Shift type to apply.

Valid values are:


LSComponents

public boolean[] LSComponents
Specification of the image component to apply the level shift.

If true the level shift will be applied, otherwise false.


LSSubsValues

public int[] LSSubsValues
Substracted values of each image component.

If LSType == 4 then this variable cannot be null, otherwise it can be null in setParameters function


RMMultValues

public float[] RMMultValues
Value used to modificate the range of each component using a multiplication.

Only values greater than 0 allowed.


QDynamicRange

public int QDynamicRange
Dynamic Range value used to calculate the stepSize


waveletSA

public int[] waveletSA
Shape adaptive discrete wavelet transform to be applied for each component.

Valid values are:


bitPlaneEncodingSA

public int[] bitPlaneEncodingSA
Performs the shape adaptive version for the JPEG2000 bit plane encoder scheme.

Valid values are:


RroiType

public int RroiType
Roi type to be applied to the image.

Valid values are:


RroisParameters

public int[] RroisParameters
Roi values used to each Roi. The first dimension indicates the specific Roi, and the second one can be a sequence number which define the parameters for this Roi.

Valid values are:


RBitplanesScaling

public int[] RBitplanesScaling
Contain the scaling factor values for bitpalnesshift roi and for each component


WT3D

public int WT3D
Kind of 3D Discrete wavelet transform to be applied.

Valid values are:


WSL

public int WSL
Discrete wavelet transform type to be applied in the spectral domain.


WST

public int WST
Discrete wavelet transform levels to be applied in the spectral domain.


DPCMRestartIndex

public int DPCMRestartIndex
Constructor Detail

JPKParameters

public JPKParameters()
Constructor.


JPKParameters

public JPKParameters(JPKParameters parameters)
Deep copy constructor.

Parameters:
parameters - an object of this class.
Method Detail

reset

public void reset()
Sets the attributes to its initial values.


toString

public java.lang.String toString()
(non-Javadoc)

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

list

public void list(java.io.PrintStream out)
Prints this JPK parameters' fields to the specified output stream. This method is useful for debugging.

Parameters:
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)