TER.TERdecoder.BPEDecoder
Class DecodeAvailable

java.lang.Object
  extended by TER.TERdecoder.BPEDecoder.DecodeAvailable

public class DecodeAvailable
extends java.lang.Object


Field Summary
(package private)  int[][] bitDepthAC
           
(package private)  int[][] bitDepthDC
           
(package private)  int[][] blocksPerSegment
           
(package private)  int[][] BP
           
(package private)  int[] completionMode
           
(package private)  float[][] customWeight
           
(package private)  int[] customWtFlag
           
(package private)  int[][] entropyAC
           
(package private)  int[][][][] gaggleSize
           
(package private)  int[][] gaggleSizeAC
           
(package private)  int[][] gaggleSizeDC
           
(package private)  float[] gammaValue
           
(package private)  byte[][][][][] packet
           
(package private)  boolean parametersSet
          To know if parameters are set.
(package private)  float[][][] recoveredImage
           
(package private)  int[] resolutionLevels
           
(package private)  int[] WTLevels
           
(package private)  int[] WTType
           
(package private)  int xOriginalSize
           
(package private)  int yOriginalSize
           
(package private)  int zSize
           
 
Constructor Summary
DecodeAvailable(byte[][][][][] packet)
           
 
Method Summary
private  int getGagglesPerSegment(int channel, int segment, int gaggleSize)
           
 float[][][] run()
           
private  void setBP()
           
 void setGaggleSize()
           
 void setParameters(int zSize, int yOriginalSize, int xOriginalSize, int[] imageExtensionType, int[] WTType, int[] WTLevels, int[] resolutionLevels, int[] customWtFlag, float[][] customWeight, int[][] blocksPerSegment, int[][] gaggleSizeDC, int[][] gaggleSizeAC, int[][] entropyAC, int[][] bitDepthDC, int[][] bitDepthAC, int[] completionMode, float[] gammaValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recoveredImage

float[][][] recoveredImage

parametersSet

boolean parametersSet
To know if parameters are set.

True indicates that they are set otherwise false.


zSize

int zSize

yOriginalSize

int yOriginalSize

xOriginalSize

int xOriginalSize

WTType

int[] WTType

WTLevels

int[] WTLevels

resolutionLevels

int[] resolutionLevels

customWtFlag

int[] customWtFlag

customWeight

float[][] customWeight

BP

int[][] BP

blocksPerSegment

int[][] blocksPerSegment

gaggleSize

int[][][][] gaggleSize

gaggleSizeAC

int[][] gaggleSizeAC

gaggleSizeDC

int[][] gaggleSizeDC

entropyAC

int[][] entropyAC

bitDepthDC

int[][] bitDepthDC

bitDepthAC

int[][] bitDepthAC

packet

byte[][][][][] packet

completionMode

int[] completionMode

gammaValue

float[] gammaValue
Constructor Detail

DecodeAvailable

public DecodeAvailable(byte[][][][][] packet)
Method Detail

setParameters

public void setParameters(int zSize,
                          int yOriginalSize,
                          int xOriginalSize,
                          int[] imageExtensionType,
                          int[] WTType,
                          int[] WTLevels,
                          int[] resolutionLevels,
                          int[] customWtFlag,
                          float[][] customWeight,
                          int[][] blocksPerSegment,
                          int[][] gaggleSizeDC,
                          int[][] gaggleSizeAC,
                          int[][] entropyAC,
                          int[][] bitDepthDC,
                          int[][] bitDepthAC,
                          int[] completionMode,
                          float[] gammaValue)

run

public float[][][] run()
                throws java.lang.Exception
Throws:
java.lang.Exception

setGaggleSize

public void setGaggleSize()

getGagglesPerSegment

private int getGagglesPerSegment(int channel,
                                 int segment,
                                 int gaggleSize)

setBP

private void setBP()


TER - Copyright (C) 2006
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) - UAB (Spain)