Shapeworks Studio
2.1
Shape analysis software suite
|
This class provides a command line tool to run the Particle Shape Modeling. It runs the optimization as well as Procrustes Registration if the option is in the project parameter file. For now, the tool only uses the PSMEntropyModelFilter for the optimization. More...
#include <itkPSMCommandLineClass.h>
Public Types | |
typedef PSMCommandLineClass | Self |
typedef DataObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef itk::Image< float, VDimension > | ImageType |
typedef PSMEntropyModelFilter< typename PSMCommandLineClass::ImageType > | EntropyModelFilterType |
typedef PSMProcrustesRegistration< VDimension > | ProcrustesRegistrationType |
typedef PSMProjectReader | ProjectReaderType |
typedef PSMProject | ProjectType |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (PSMCommandLineClass, DataObject) | |
void | ReadProjectFile (const char *fn) |
void | ReadDistanceTransforms (std::string input_path_prefix) |
void | ReadCuttingPlanes () |
void | ReadModelPointFiles () |
void | SetPSMFilterParameters () |
void | WriteOutputs (std::string output_path) |
void | Run (const char *fname, std::string input_path_prefix, std::string output_path) |
PSMCommandLineClass () | |
itkGetObjectMacro (PSMFilter, EntropyModelFilterType) | |
itkGetMacro (ReportInterval, unsigned int) | |
itkSetMacro (ReportInterval, unsigned int) | |
Protected Member Functions | |
void | IterateCallback (itk::Object *, const itk::EventObject &) |
This class provides a command line tool to run the Particle Shape Modeling. It runs the optimization as well as Procrustes Registration if the option is in the project parameter file. For now, the tool only uses the PSMEntropyModelFilter for the optimization.
Definition at line 47 of file itkPSMCommandLineClass.h.
typedef PSMEntropyModelFilter<typename PSMCommandLineClass::ImageType> itk::PSMCommandLineClass< VDimension >::EntropyModelFilterType |
PSM model optimization filter typedef
Definition at line 67 of file itkPSMCommandLineClass.h.
typedef itk::Image<float, VDimension> itk::PSMCommandLineClass< VDimension >::ImageType |
Input distance transforms image typedef
Definition at line 63 of file itkPSMCommandLineClass.h.
typedef PSMProcrustesRegistration<VDimension> itk::PSMCommandLineClass< VDimension >::ProcrustesRegistrationType |
Procrustes Registration typedef
Definition at line 70 of file itkPSMCommandLineClass.h.
typedef PSMProjectReader itk::PSMCommandLineClass< VDimension >::ProjectReaderType |
Project Reader typedef
Definition at line 73 of file itkPSMCommandLineClass.h.
typedef PSMProject itk::PSMCommandLineClass< VDimension >::ProjectType |
Project typedef
Definition at line 76 of file itkPSMCommandLineClass.h.
typedef PSMCommandLineClass itk::PSMCommandLineClass< VDimension >::Self |
Standard class typedefs.
Definition at line 51 of file itkPSMCommandLineClass.h.
itk::PSMCommandLineClass< VDimension >::PSMCommandLineClass | ( | ) |
Constructor and destructor
Definition at line 33 of file itkPSMCommandLineClass.hxx.
|
protected |
Callback to run Procrustes Registration on the shapes at the interval specified in the project parameter file or by default.
Definition at line 47 of file itkPSMCommandLineClass.hxx.
itk::PSMCommandLineClass< VDimension >::itkGetMacro | ( | ReportInterval | , |
unsigned | int | ||
) |
Get/Set the number of optimization iterations between reporting of the optimized values.
itk::PSMCommandLineClass< VDimension >::itkGetObjectMacro | ( | PSMFilter | , |
EntropyModelFilterType | |||
) |
Returns the particle system used in the shape model computation.
itk::PSMCommandLineClass< VDimension >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::PSMCommandLineClass< VDimension >::itkTypeMacro | ( | PSMCommandLineClass< VDimension > | , |
DataObject | |||
) |
Run-time type information (and related methods).
void itk::PSMCommandLineClass< VDimension >::ReadCuttingPlanes | ( | ) |
Reads any cutting plane data from the domain fields in the project file and loads this information into the PSM Filter.
Definition at line 138 of file itkPSMCommandLineClass.hxx.
void itk::PSMCommandLineClass< VDimension >::ReadDistanceTransforms | ( | std::string | input_path_prefix | ) |
Read the distance transforms that are provided as inputs to the optimzation filter.
Definition at line 98 of file itkPSMCommandLineClass.hxx.
void itk::PSMCommandLineClass< VDimension >::ReadModelPointFiles | ( | ) |
Read the input point files, if any.
Definition at line 200 of file itkPSMCommandLineClass.hxx.
void itk::PSMCommandLineClass< VDimension >::ReadProjectFile | ( | const char * | fn | ) |
Parse the project file and store in the m_Project member variable.
Definition at line 274 of file itkPSMCommandLineClass.hxx.
void itk::PSMCommandLineClass< VDimension >::Run | ( | const char * | fname, |
std::string | input_path_prefix, | ||
std::string | output_path | ||
) |
Run the steps of the optimization process
Definition at line 404 of file itkPSMCommandLineClass.hxx.
void itk::PSMCommandLineClass< VDimension >::SetPSMFilterParameters | ( | ) |
Sets the optimization parameters. Assumes that the parameter file has been parsed.
Definition at line 287 of file itkPSMCommandLineClass.hxx.
void itk::PSMCommandLineClass< VDimension >::WriteOutputs | ( | std::string | output_path | ) |
Write out the optimized point sets to user specified files
Definition at line 366 of file itkPSMCommandLineClass.hxx.