39 #ifndef ITKMODELBUILDER_H_
40 #define ITKMODELBUILDER_H_
42 #include <itkObject.h>
43 #include <itkObjectFactory.h>
45 #include "itkDataManager.h"
46 #include "itkStatisticalModel.h"
48 #include "PCAModelBuilder.h"
49 #include "statismoITKConfig.h"
57 template <
class Representer>
62 typedef Object Superclass;
63 typedef SmartPointer<Self> Pointer;
64 typedef SmartPointer<const Self> ConstPointer;
72 typedef typename DataManagerType::DataItemListType DataItemListType;
84 typename boost::result_of<F()>::type callstatismoImpl(F f)
const {
88 itkExceptionMacro(<< s.what());
94 typename StatisticalModel<Representer>::Pointer BuildNewModel(DataItemListType DataItemList,
float noiseVariance,
bool computeScores =
true) {
97 model_itk->SetstatismoImplObj(model_statismo);
ITK Wrapper for the statismo::PCAModelBuilder class.
Definition: itkPCAModelBuilder.h:58
static PCAModelBuilder * Create()
Definition: PCAModelBuilder.h:73
Generic Exception class for the statismo Library.
Definition: Exceptions.h:68
StatisticalModelType * BuildNewModel(const DataItemListType &samples, double noiseVariance, bool computeScores=true) const
Definition: PCAModelBuilder.hxx:60
Creates StatisticalModel using Principal Component Analysis.
Definition: PCAModelBuilder.h:60
A Point/Value pair that is used to specify a value at a given point.
Definition: StatisticalModel.h:100
ITK Wrapper for the statismo::StatisticalModel class.
Definition: itkStatisticalModel.h:62