GiciTransform
Class DPCMSpectralDecorrelator

java.lang.Object
  extended by GiciTransform.DPCMSpectralDecorrelator

public class DPCMSpectralDecorrelator
extends java.lang.Object

This class receives an image and transposes it if required.Typically it is used in the following way:
constructor(receiveing the image to be transposed)
setParameters
run

Version:
1.0
Author:
Group on Interactive Coding of Images (GICI)

Field Summary
(package private)  float[][][] imageSamples
          Definition in Coder
 
Constructor Summary
DPCMSpectralDecorrelator(float[][][] imageSamples)
          Constructor that receives the original image samples.
 
Method Summary
 float[][][] forwardDifferentialReference(int referenceIndex)
           
 float[][][] forwardDPCM()
          Performs the forward DPCM
 float[][][] forwardDPCM(int restartIndex)
           
 float[][][] inverseDifferentialReference(int referenceIndex)
           
 float[][][] inverseDPCM()
          Performs the inverse DPCM
 float[][][] inverseDPCM(int restartIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imageSamples

float[][][] imageSamples
Definition in Coder

Constructor Detail

DPCMSpectralDecorrelator

public DPCMSpectralDecorrelator(float[][][] imageSamples)
Constructor that receives the original image samples.

Parameters:
imageSamples - definition in Coder
Method Detail

forwardDPCM

public float[][][] forwardDPCM()
                        throws ErrorException
Performs the forward DPCM

Returns:
the image with the DPCM coefficients in the spectral domain
Throws:
ErrorException - when parameters are not set

inverseDPCM

public float[][][] inverseDPCM()
                        throws ErrorException
Performs the inverse DPCM

Returns:
the image with the recovered DPCM coefficients in the spectral domain
Throws:
ErrorException - when parameters are not set

forwardDPCM

public float[][][] forwardDPCM(int restartIndex)
                        throws ErrorException
Throws:
ErrorException

inverseDPCM

public float[][][] inverseDPCM(int restartIndex)
                        throws ErrorException
Throws:
ErrorException

forwardDifferentialReference

public float[][][] forwardDifferentialReference(int referenceIndex)
                                         throws ErrorException
Throws:
ErrorException

inverseDifferentialReference

public float[][][] inverseDifferentialReference(int referenceIndex)
                                         throws ErrorException
Throws:
ErrorException


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)