Fall 2010 Slide 1
Design Process Develop Test GUI Ensure I/O Functions Convert PowerImage to Bitmap Input Segmentation Method Convert PowerImage to and from segmentation implementation image type Colorize Image Display and save output
Current Test GUI
In Progress Add ability to vary parameters and run batch segmentations Develop file data library to manage and record output Test implementation under variety of conditions Integrate implementation into project Ensure appropriate output Update as needed
FileData Object Meant to simplify process of writing output for variety of segmentation methods Parameter data is supplied as a vector, so supports any number of parameters Supports different display types to make reading easy Manages file I/O to reduce required code and effort
FileData Organization string filename; vector <string> param_names; vector <double> param_values; vector <double> value_steps; vector <string> output_names; vector <string> output_values; fstream out_file; bool good; bool display_output; displayType display_type;
FileData Procedures Opens file specified by filename Can be changed after instantiation “good” tells whether file is able to written to Access functions to write data to file Automatically writes header Allows several methods for writing Can supply all data directly Data can be provided in stages using set() Program can automatically step values and write output Supports custom supplied output, which can be toggled on and off
DisplayType Supports different methods of writing output Currently supported: LONG SHORT New display types can be easily added (display types are enumerated to ensure consistency) By default, displayType is LONG LONG: SHORT: Original Filename NewFile1: Parm1: Value1 Parm2: Value2 etc. ------------- Output1: Value1 Output2: Value2 NewFile2: Parm1: Value1, Parm2: Value2, etc. Output1: Value1, Output2: Value2, etc. Output1: Value1, Output2: Value, etc.
Summary Test GUI finished and working, including I/O and segmentation Still needs parameter variety Need to finish and implement FileData object