Public Member Functions | Public Attributes
tool_params Struct Reference

Structure to hold parameters. More...

List of all members.

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_aligneraligner
 Aligner for shape model.
vcl_auto_ptr< msm_param_limiterlimiter
 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

Detailed Description

Structure to hold parameters.

Definition at line 58 of file msm_build_shape_model.cxx.


Member Function Documentation

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


Member Data Documentation

Aligner for shape model.

Definition at line 61 of file msm_build_shape_model.cxx.

Base name for output.

Definition at line 117 of file msm_draw_shape_modes.cxx.

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.

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.

Object to apply limits to parameters.

Definition at line 64 of file msm_build_shape_model.cxx.

Line colour.

Colour to draw curves.

Definition at line 123 of file msm_draw_shape_modes.cxx.

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.

Maximum number of shape modes.

Definition at line 67 of file msm_build_shape_model.cxx.

Definition at line 83 of file msm_plot_aligned_shapes.cxx.

Current number of shapes per mode.

Definition at line 99 of file msm_draw_shape_modes.cxx.

Number of SDs to vary mode by.

Definition at line 96 of file msm_draw_shape_modes.cxx.

Directory to save best fit points.

Definition at line 73 of file msm_get_shape_params.cxx.

Directory to save eps files.

Definition at line 120 of file msm_draw_shape_modes.cxx.

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.

Point colour.

Definition at line 126 of file msm_draw_shape_modes.cxx.

Radius of points to display (if <0, then don't draw points).

Definition at line 129 of file msm_draw_shape_modes.cxx.

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.

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.

Optional path to text file containing a mode matrix.

Definition at line 111 of file msm_draw_shape_modes.cxx.

Optional path to text files containing a variance vector.

Definition at line 114 of file msm_draw_shape_modes.cxx.

Proportion of shape variation to explain.

Definition at line 70 of file msm_build_shape_model.cxx.

Approximate width of region to display shape.

Definition at line 108 of file msm_draw_shape_modes.cxx.


The documentation for this struct was generated from the following files: