BRISC::Core::GlobalCoOccurrence Class Reference

Provides methods for calculating Haralick features on LIDCNodule objects. More...

List of all members.

Public Member Functions

CombineCoOccurrence PerformCoOccurrence (int[,] mOriginal, int nNoValueIndicate, int numDistance)
 Calculate all co-occurrence matrices.
ArrayList getCoOccurrenceHeader (int[,] mOriginal, int nNoValueIndicate)
 Get a list of unique values in the matrix (these will become the labels for the rows and columns of the co-occurrence matrix).

Static Public Member Functions

static void PerformHaralick (LIDCNodule nodule)
 Calculates Haralick co-occurrence features for a nodule (saves the data in the structure).

Static Public Attributes

static string[] featureNames
 List of "official" Haralick feature names.

Private Member Functions

double[,] getCoOccurrence (int[,] mOriginal, ArrayList arrHeader, int direction, int distance)
 Calculate one co-occurrence matrix and normalize it.

Static Private Attributes

static int numDirs = 4
 Number of directions: (0, 45, 90, 135 degrees).
static int numDists = 4
 Number of distances: (1, 2, 3 and 4).
static int numFeats = featureNames.Length
 Number of Haralick features.


Detailed Description

Provides methods for calculating Haralick features on LIDCNodule objects.

This class contains all the "heavy-lifting" for co-occurrence and Haralick feature calculation. To calculate the Haralick features for a nodule, you need the primary information about it (series, slice, nodule ID, etc) and the segmented DICOM image. Then, create an LIDCNodule object for the nodule and call PerformHaralick() on that nodule. This will fill the Haralick data member with all of the feature information.


Member Function Documentation

double [,] BRISC::Core::GlobalCoOccurrence::getCoOccurrence ( intmOriginal  [,],
ArrayList  arrHeader,
int  direction,
int  distance 
) [inline, private]

Calculate one co-occurrence matrix and normalize it.

Parameters:
mOriginal Original two-dimensional matrix
arrHeader List of unique matrix values
direction Direction (1=0,2=45,3=90,4=135 degrees)
distance Displacement
Returns:
Normalized co-occurrence matrix

ArrayList BRISC::Core::GlobalCoOccurrence::getCoOccurrenceHeader ( intmOriginal  [,],
int  nNoValueIndicate 
) [inline]

Get a list of unique values in the matrix (these will become the labels for the rows and columns of the co-occurrence matrix).

Parameters:
mOriginal Original two-dimensional matrix
nNoValueIndicate Background signal value
Returns:
ArrayList of unique ints

CombineCoOccurrence BRISC::Core::GlobalCoOccurrence::PerformCoOccurrence ( int  mOriginal[,],
int  nNoValueIndicate,
int  numDistance 
) [inline]

Calculate all co-occurrence matrices.

Parameters:
mOriginal Original two-dimensional matrix
nNoValueIndicate Background signal value
numDistance Number of displacements to use
Returns:
CombineCoOccurrence structure with all matrices

static void BRISC::Core::GlobalCoOccurrence::PerformHaralick ( LIDCNodule  nodule  )  [inline, static]

Calculates Haralick co-occurrence features for a nodule (saves the data in the structure).

Parameters:
nodule Nodule of interest


The documentation for this class was generated from the following file:
Generated on Wed Aug 16 17:13:32 2006 by  doxygen 1.4.7