analysis
Class GrayLevelFeatureExtractor

java.lang.Object
  extended by analysis.GrayLevelFeatureExtractor

public class GrayLevelFeatureExtractor
extends java.lang.Object

Extracts a high-dimensional feature array from a bitmap using a gray level co-occurrence matrix. Derived from work in "Steganalysis Using High-Dimensional Features Dervice from Co-occurrence Matrix..." (Xuan 2006)

Author:
Jonathan L Dautrich Jr.

Field Summary
private  double[][] avg
           
private  Bitmap bitmap
           
static int D
           
private  int diagCount
           
private  int[][] down
           
private  int[][] downLeft
           
private  int[][] downRight
           
private  boolean extracted
           
private  double[] features
           
private  double[][] normalized
           
private  int[][] right
           
 
Constructor Summary
GrayLevelFeatureExtractor(Bitmap bitmap, int diagCount)
           
 
Method Summary
private  void buildNormalizedMatrix()
           
 double[] extract()
           
private  void extractFeatureVector()
           
private  void extractFeatureVector2()
           
 double[][] getMatrix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bitmap

private Bitmap bitmap

D

public static final int D
See Also:
Constant Field Values

extracted

private boolean extracted

diagCount

private final int diagCount

right

private int[][] right

downRight

private int[][] downRight

down

private int[][] down

downLeft

private int[][] downLeft

avg

private double[][] avg

normalized

private double[][] normalized

features

private double[] features
Constructor Detail

GrayLevelFeatureExtractor

public GrayLevelFeatureExtractor(Bitmap bitmap,
                                 int diagCount)
Method Detail

extract

public double[] extract()

buildNormalizedMatrix

private void buildNormalizedMatrix()

extractFeatureVector

private void extractFeatureVector()

extractFeatureVector2

private void extractFeatureVector2()

getMatrix

public double[][] getMatrix()