Structure to hold parameters. More...
Public Member Functions | |
tool_params () | |
void | read_from_file (const vcl_string &path) |
Parse named text file to read in data. | |
tool_params () | |
void | read_from_file (const vcl_string &path) |
Parse named text file to read in data. | |
Public Attributes | |
vcl_string | model_path |
Path to which to save the model. | |
unsigned | res_level |
Resolution level at which to build model. | |
unsigned | pt_index |
Index of point to use to train model. | |
vcl_auto_ptr < mfpf_point_finder_builder > | patch_builder |
Object to build patch model. | |
vcl_string | image_dir |
Image directory. | |
vcl_string | points_dir |
Points directory. | |
vcl_vector< vcl_string > | image_names |
List of image filenames. | |
vcl_vector< vcl_string > | points_names |
List of points filenames. |
Structure to hold parameters.
Definition at line 48 of file mfpf_build_finder.cxx.
tool_params::tool_params | ( | ) |
Definition at line 82 of file mfpf_build_finder.cxx.
tool_params::tool_params | ( | ) |
void tool_params::read_from_file | ( | const vcl_string & | path | ) |
Parse named text file to read in data.
Throws a upf_exception_parse_error if fails
void tool_params::read_from_file | ( | const vcl_string & | path | ) |
Parse named text file to read in data.
Throws a upf_exception_parse_error if fails
Definition at line 88 of file mfpf_build_finder.cxx.
vcl_string tool_params::image_dir |
Image directory.
Definition at line 63 of file mfpf_build_finder.cxx.
vcl_vector< vcl_string > tool_params::image_names |
List of image filenames.
Definition at line 69 of file mfpf_build_finder.cxx.
vcl_string tool_params::model_path |
Path to which to save the model.
Definition at line 51 of file mfpf_build_finder.cxx.
vcl_auto_ptr<mfpf_point_finder_builder> tool_params::patch_builder |
Object to build patch model.
Definition at line 60 of file mfpf_build_finder.cxx.
vcl_string tool_params::points_dir |
Points directory.
Definition at line 66 of file mfpf_build_finder.cxx.
vcl_vector< vcl_string > tool_params::points_names |
List of points filenames.
Definition at line 72 of file mfpf_build_finder.cxx.
unsigned tool_params::pt_index |
Index of point to use to train model.
Definition at line 57 of file mfpf_build_finder.cxx.
unsigned tool_params::res_level |
Resolution level at which to build model.
Definition at line 54 of file mfpf_build_finder.cxx.