Functions
contrib/mul/msm/msm_ref_shape_instance.cxx File Reference

Representation of an instance of a shape model in ref frame. More...

#include "msm_ref_shape_instance.h"
#include <vsl/vsl_indent.h>
#include <vsl/vsl_binary_io.h>
#include <vnl/io/vnl_io_vector.h>
#include <vnl/algo/vnl_cholesky.h>
#include <vnl/algo/vnl_svd.h>
#include <vcl_cstdlib.h>
#include <vcl_iostream.h>
#include <vcl_cassert.h>
#include <msm/msm_ref_shape_model.h>
#include <msm/msm_no_limiter.h>
#include <mbl/mbl_matxvec.h>
#include <mbl/mbl_matrix_products.h>

Go to the source code of this file.

Functions

void msm_calc_WP (const vnl_matrix< double > &P, const vnl_vector< double > &wts, unsigned n_modes, vnl_matrix< double > &WP)
void msm_calc_WP (const vnl_matrix< double > &P, const vcl_vector< msm_wt_mat_2d > &wt_mat, unsigned n_modes, vnl_matrix< double > &WP)
void msm_solve_sym_eqn (const vnl_matrix< double > &M, const vnl_vector< double > &rhs, vnl_vector< double > &b)
void msm_solve_for_b (const vnl_matrix< double > &P, const vnl_vector< double > &var, const vnl_vector< double > &wts, const vnl_vector< double > &dx, unsigned n_modes, vnl_vector< double > &b, bool use_prior)
void msm_solve_for_b (const vnl_matrix< double > &P, const vnl_vector< double > &var, const vcl_vector< msm_wt_mat_2d > &wt_mat, const vnl_vector< double > &dx, unsigned n_modes, vnl_vector< double > &b, bool use_prior)
void vsl_b_write (vsl_b_ostream &bfs, const msm_ref_shape_instance &b)
 Binary file stream output operator for class reference.
void vsl_b_read (vsl_b_istream &bfs, msm_ref_shape_instance &b)
 Binary file stream input operator for class reference.
vcl_ostream & operator<< (vcl_ostream &os, const msm_ref_shape_instance &b)
 Stream output operator for class reference.
void vsl_print_summary (vcl_ostream &os, const msm_ref_shape_instance &b)
 Stream output operator for class reference.

Detailed Description

Representation of an instance of a shape model in ref frame.

Author:
Tim Cootes

Definition in file msm_ref_shape_instance.cxx.


Function Documentation

void msm_calc_WP ( const vnl_matrix< double > &  P,
const vnl_vector< double > &  wts,
unsigned  n_modes,
vnl_matrix< double > &  WP 
)

Definition at line 130 of file msm_ref_shape_instance.cxx.

void msm_calc_WP ( const vnl_matrix< double > &  P,
const vcl_vector< msm_wt_mat_2d > &  wt_mat,
unsigned  n_modes,
vnl_matrix< double > &  WP 
)

Definition at line 158 of file msm_ref_shape_instance.cxx.

void msm_solve_for_b ( const vnl_matrix< double > &  P,
const vnl_vector< double > &  var,
const vnl_vector< double > &  wts,
const vnl_vector< double > &  dx,
unsigned  n_modes,
vnl_vector< double > &  b,
bool  use_prior 
)

Definition at line 209 of file msm_ref_shape_instance.cxx.

void msm_solve_for_b ( const vnl_matrix< double > &  P,
const vnl_vector< double > &  var,
const vcl_vector< msm_wt_mat_2d > &  wt_mat,
const vnl_vector< double > &  dx,
unsigned  n_modes,
vnl_vector< double > &  b,
bool  use_prior 
)

Definition at line 234 of file msm_ref_shape_instance.cxx.

void msm_solve_sym_eqn ( const vnl_matrix< double > &  M,
const vnl_vector< double > &  rhs,
vnl_vector< double > &  b 
)

Definition at line 189 of file msm_ref_shape_instance.cxx.

vcl_ostream& operator<< ( vcl_ostream &  os,
const msm_ref_shape_instance b 
)

Stream output operator for class reference.

Definition at line 406 of file msm_ref_shape_instance.cxx.

void vsl_b_read ( vsl_b_istream bfs,
msm_ref_shape_instance b 
)

Binary file stream input operator for class reference.

Definition at line 397 of file msm_ref_shape_instance.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const msm_ref_shape_instance b 
)

Binary file stream output operator for class reference.

Definition at line 388 of file msm_ref_shape_instance.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const msm_ref_shape_instance b 
)

Stream output operator for class reference.

Definition at line 416 of file msm_ref_shape_instance.cxx.