Static Public Member Functions | |
| static void | Main () |
| The main entry point for the application. | |
| static void | doTask () |
| Perform a scripted task. | |
| static void | TestPrecisionRecall () |
| SCRIPTED TASK: Perform precision/recall calculations. Uses trial descriptions in "trials.txt". | |
| static void | ExtractAllXMLs () |
| SCRIPTED TASK: Build all XML subset files. | |
| static void | testCode () |
| CODE FOR PAT - EXAMPLE OF EXTERNAL BRISC USAGE. | |
Static Private Member Functions | |
| static void | createMainXMLFile () |
| SCRIPTED TASK: Builds a main XML input file with primary, annotation, Haralick and Gabor data. | |
| static void | testHaralickPrecisionRecall () |
| SCRIPTED TASK: Run Haralick precision/recall calculations. | |
| static void | testCoOccurrence () |
| SCRIPTED TASK: Do some tests to make sure co-occurrence is working right. | |
| static int | extractNodules (int numberOfPhysicians, int minSize, int maxSize) |
| SCRIPTED TASK: Extract info for nodules that meet the given criteria into a new XML file. | |
| static void | printDataToText () |
| SCRIPTED TASK: Print some needed data to a text file for analysis in Excel. | |
| static void | calcDescriptors (int descChoice) |
| SCRIPTED TASK: Calculate the descriptors for all nodules. | |
| static void | calcMarkovStats () |
| SCRIPTED TASK: Finds the mean/standard deviation of the Markov paramerter for all images. | |
| static void | calcGaborStats () |
| SCRIPTED TASK: Finds the mean/standard deviation of the Gabor response images for all images. | |
| static void | calcAllActualSizes () |
| SCRIPTED TASK: Generates all actual nodule sizes and saves to primary XML. | |
| static void BRISC::GUI::Program::calcDescriptors | ( | int | descChoice | ) | [inline, static, private] |
SCRIPTED TASK: Calculate the descriptors for all nodules.
| descChoice | Determines which descriptor to use: (1) Haralick (2) Gabor (3) Markov |
| static void BRISC::GUI::Program::createMainXMLFile | ( | ) | [inline, static, private] |
SCRIPTED TASK: Builds a main XML input file with primary, annotation, Haralick and Gabor data.
This task merges all of the XML data except for point data into a single XML file. This makes it easier to load for other tasks.
| static int BRISC::GUI::Program::extractNodules | ( | int | numberOfPhysicians, | |
| int | minSize, | |||
| int | maxSize | |||
| ) | [inline, static, private] |
SCRIPTED TASK: Extract info for nodules that meet the given criteria into a new XML file.
| numberOfPhysicians | Number of physicians that must agree on the Texture rating | |
| minSize | Minimum nodule size (square pixels) | |
| maxSize | Maximum nodule size (square pixels) |
| static void BRISC::GUI::Program::testHaralickPrecisionRecall | ( | ) | [inline, static, private] |
SCRIPTED TASK: Run Haralick precision/recall calculations.
Runs calculations for all 2047 different combinations of feature vectors, all three similarity measures, and five distances (1, 2, 3, 5 and 10). This will yield 30,705 unique trials and precision/recall pairs. The procedure stores all parameter and result data in a text file ("haralick-results.txt") as they are calculated. Obviously, this takes an enormous amount of time, but luckily it does not all need to run at once. Quitting the program with end task will not corrupt the data file. If the program is interupted, simply restart it and it will read the file to find out where it left off the last time and resume at that point.
1.4.7