Static Public Member Functions | |
| static void | PerformGaborFilter (LIDCNodule nodule) |
| Performs a Gabor filter on the given nodule and saves the histogram of the response images (for each orientation and frequency) to the appropriate LIDCNodule fields. | |
| static double[][,] | ApplyFilter (int[,] I) |
| Applies a bank of Gabor filters to the given image. | |
Static Public Attributes | |
| static int | histBins = 8 |
| Number of bins in the response histograms. | |
| static double | histMaxVal = 600 |
| Maximum value for the response histogram. Everything above this will be binned into the top bin. | |
| static double | histMinVal = 0 |
| Minimum value for the response histogram. Everything below this value will be binned into the bottom bin. | |
Static Private Member Functions | |
| static double[,] | buildFilter (int Sx, int Sy, double sigma, double gamma, double lamda, double theta) |
| Builds a Gabor filter. | |
| static double[,] | convolve (int[,] I, double[,] filter) |
| Convolves an image with the given filter. | |
Gabor filtering is an operation in which an NxN matrix (the Gabor filter) is applied (convolved) to a given image. The filter is defined in BuildFilter. The filter has two parameters which vary -- orientation (angle) and scale (frequency).
| static double [][,] BRISC::Core::GaborFilter::ApplyFilter | ( | int | I[,] | ) | [inline, static] |
Applies a bank of Gabor filters to the given image.
| I | Input image |
| static double [,] BRISC::Core::GaborFilter::buildFilter | ( | int | Sx, | |
| int | Sy, | |||
| double | sigma, | |||
| double | gamma, | |||
| double | lamda, | |||
| double | theta | |||
| ) | [inline, static, private] |
Builds a Gabor filter.
| Sx | width | |
| Sy | height | |
| sigma | Width of Gaussian | |
| gamma | Spatial aspect ratio. Should be .5 | |
| lamda | Wavelength | |
| theta | Orientaiton of filter |
| static double [,] BRISC::Core::GaborFilter::convolve | ( | int | I[,], | |
| double | filter[,] | |||
| ) | [inline, static, private] |
Convolves an image with the given filter.
| I | Source image to convole | |
| filter | Filter to apply to source |
| static void BRISC::Core::GaborFilter::PerformGaborFilter | ( | LIDCNodule | nodule | ) | [inline, static] |
Performs a Gabor filter on the given nodule and saves the histogram of the response images (for each orientation and frequency) to the appropriate LIDCNodule fields.
| nodule | LIDCNodule to run the Gabor filter on |
double BRISC::Core::GaborFilter::histMaxVal = 600 [static] |
Maximum value for the response histogram. Everything above this will be binned into the top bin.
Currently set to about three standard deviations above the mean for our dataset.
1.4.7