encoder
Class Significance

java.lang.Object
  extended by encoder.Significance

public class Significance
extends java.lang.Object

Significance Class provides methods to find significantP, significant D and significant L in Frame data and also it finds number of childs for given node.

Author:
shankar

Method Summary
 int getChilds(Node node, int spatialLevel, int temporalLevel, int[] childX, int[] childY, int[] childZ, int imageWidth, int imageHeight, int numberOfFrames)
          Finds the number of childs corresponding to the given node
 int getSignificantD(double[][][] waveletFrame, Node node, int spatialLevel, int temporalLevel, int threshold, int[] childX, int[] childY, int[] childZ, int imageWidth, int imageHeight, int numberOfFrames)
          getSignificantD method finds Significant D in a node of wavelet frame
 int getSignificantL(double[][][] waveletFrame, Node node, int spatialLevel, int temporalLevel, int threshold, int imageWidth, int imageHeight, int numberOfFrames)
          getSignificantL method finds Significant L in a node of wavelet frame
 int getSignificantP(double[][][] waveletFrame, Node node, int threshold)
          getSignificantP method finds Significant P in a node of wavelet frame
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSignificantP

public int getSignificantP(double[][][] waveletFrame,
                           Node node,
                           int threshold)
getSignificantP method finds Significant P in a node of wavelet frame

Parameters:
waveletFrame - double array
node - of Node type
threshold - of the coefficient
Returns:
significance of the node

getSignificantD

public int getSignificantD(double[][][] waveletFrame,
                           Node node,
                           int spatialLevel,
                           int temporalLevel,
                           int threshold,
                           int[] childX,
                           int[] childY,
                           int[] childZ,
                           int imageWidth,
                           int imageHeight,
                           int numberOfFrames)
getSignificantD method finds Significant D in a node of wavelet frame

Parameters:
waveletFrame -
node -
spatialLevel -
temporalLevel -
threshold -
childX -
childY -
childZ -
imageWidth -
imageHeight -
numberOfFrames -
Returns:
significance

getSignificantL

public int getSignificantL(double[][][] waveletFrame,
                           Node node,
                           int spatialLevel,
                           int temporalLevel,
                           int threshold,
                           int imageWidth,
                           int imageHeight,
                           int numberOfFrames)
getSignificantL method finds Significant L in a node of wavelet frame

Parameters:
waveletFrame -
node -
spatialLevel -
temporalLevel -
threshold -
imageWidth -
imageHeight -
numberOfFrames -
Returns:
significance

getChilds

public int getChilds(Node node,
                     int spatialLevel,
                     int temporalLevel,
                     int[] childX,
                     int[] childY,
                     int[] childZ,
                     int imageWidth,
                     int imageHeight,
                     int numberOfFrames)
Finds the number of childs corresponding to the given node

Parameters:
node -
spatialLevel -
temporalLevel -
childX -
childY -
childZ -
imageWidth -
imageHeight -
numberOfFrames -
Returns:
number of childs for given node