Structure to hold parameters. More...
Public Member Functions | |
void | read_from_file (const vcl_string &path) |
Parse named text file to read in data. | |
void | read_from_file (const vcl_string &path) |
Parse named text file to read in data. | |
void | read_from_file (const vcl_string &path) |
Parse named text file to read in data. | |
void | read_from_file (const vcl_string &path) |
Parse named text file to read in data. | |
Public Attributes | |
vcl_auto_ptr< msm_aligner > | aligner |
Aligner for shape model. | |
vcl_auto_ptr< msm_param_limiter > | limiter |
Object to apply limits to parameters. | |
unsigned | max_modes |
Maximum number of shape modes. | |
double | var_prop |
Proportion of shape variation to explain. | |
vcl_string | image_dir |
Directory containing images. | |
vcl_string | points_dir |
Directory containing points. | |
vcl_string | shape_model_path |
File to save shape model to. | |
vcl_vector< vcl_string > | image_names |
List of image names. | |
vcl_vector< vcl_string > | points_names |
List of points file names. | |
vcl_string | curves_path |
double | n_sds |
Number of SDs to vary mode by. | |
unsigned | n_per_mode |
Current number of shapes per mode. | |
bool | make_movie |
When true, generate 2*n_per_mode frames of a movie for each mode. | |
bool | overlap_shapes |
When true, overlap all the shapes to highlight changes. | |
double | width |
Approximate width of region to display shape. | |
vcl_string | subspace_mode_path |
Optional path to text file containing a mode matrix. | |
vcl_string | subspace_var_path |
Optional path to text files containing a variance vector. | |
vcl_string | base_name |
Base name for output. | |
vcl_string | output_dir |
Directory to save eps files. | |
vcl_string | line_colour |
Line colour. | |
vcl_string | point_colour |
Point colour. | |
double | point_radius |
Radius of points to display (if <0, then don't draw points). | |
double | line_width |
Line width. | |
vcl_string | output_path |
File to save parameters to. | |
vcl_string | out_points_dir |
Directory to save best fit points. | |
int | display_width |
Approximate width of region to display shape. | |
vcl_string | mean_colour |
Structure to hold parameters.
Definition at line 58 of file msm_build_shape_model.cxx.
void tool_params::read_from_file | ( | const vcl_string & | path | ) |
Parse named text file to read in data.
Throws a mbl_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 mbl_exception_parse_error if fails
Definition at line 94 of file msm_build_shape_model.cxx.
void tool_params::read_from_file | ( | const vcl_string & | path | ) |
Parse named text file to read in data.
Throws a mbl_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 mbl_exception_parse_error if fails
vcl_auto_ptr< msm_aligner > tool_params::aligner |
Aligner for shape model.
Definition at line 61 of file msm_build_shape_model.cxx.
vcl_string tool_params::base_name |
Base name for output.
Definition at line 117 of file msm_draw_shape_modes.cxx.
vcl_string tool_params::curves_path |
Definition at line 90 of file msm_draw_shape_modes.cxx.
Approximate width of region to display shape.
Definition at line 79 of file msm_plot_aligned_shapes.cxx.
vcl_string tool_params::image_dir |
Directory containing images.
Definition at line 73 of file msm_build_shape_model.cxx.
vcl_vector< vcl_string > tool_params::image_names |
List of image names.
Definition at line 82 of file msm_build_shape_model.cxx.
vcl_auto_ptr<msm_param_limiter> tool_params::limiter |
Object to apply limits to parameters.
Definition at line 64 of file msm_build_shape_model.cxx.
vcl_string tool_params::line_colour |
double tool_params::line_width |
Line width.
Definition at line 132 of file msm_draw_shape_modes.cxx.
When true, generate 2*n_per_mode frames of a movie for each mode.
Definition at line 102 of file msm_draw_shape_modes.cxx.
unsigned tool_params::max_modes |
Maximum number of shape modes.
Definition at line 67 of file msm_build_shape_model.cxx.
vcl_string tool_params::mean_colour |
Definition at line 83 of file msm_plot_aligned_shapes.cxx.
unsigned tool_params::n_per_mode |
Current number of shapes per mode.
Definition at line 99 of file msm_draw_shape_modes.cxx.
double tool_params::n_sds |
Number of SDs to vary mode by.
Definition at line 96 of file msm_draw_shape_modes.cxx.
vcl_string tool_params::out_points_dir |
Directory to save best fit points.
Definition at line 73 of file msm_get_shape_params.cxx.
vcl_string tool_params::output_dir |
Directory to save eps files.
Definition at line 120 of file msm_draw_shape_modes.cxx.
vcl_string tool_params::output_path |
File to save parameters to.
File to save EPS file to.
Definition at line 64 of file msm_get_shape_params.cxx.
When true, overlap all the shapes to highlight changes.
Definition at line 105 of file msm_draw_shape_modes.cxx.
vcl_string tool_params::point_colour |
Point colour.
Definition at line 126 of file msm_draw_shape_modes.cxx.
double tool_params::point_radius |
Radius of points to display (if <0, then don't draw points).
Definition at line 129 of file msm_draw_shape_modes.cxx.
vcl_string tool_params::points_dir |
Directory containing points.
Definition at line 76 of file msm_build_shape_model.cxx.
vcl_vector< vcl_string > tool_params::points_names |
List of points file names.
Definition at line 85 of file msm_build_shape_model.cxx.
vcl_string tool_params::shape_model_path |
File to save shape model to.
File containing the shape model.
Path to shape model.
Definition at line 79 of file msm_build_shape_model.cxx.
vcl_string tool_params::subspace_mode_path |
Optional path to text file containing a mode matrix.
Definition at line 111 of file msm_draw_shape_modes.cxx.
vcl_string tool_params::subspace_var_path |
Optional path to text files containing a variance vector.
Definition at line 114 of file msm_draw_shape_modes.cxx.
double tool_params::var_prop |
Proportion of shape variation to explain.
Definition at line 70 of file msm_build_shape_model.cxx.
double tool_params::width |
Approximate width of region to display shape.
Definition at line 108 of file msm_draw_shape_modes.cxx.