Provides the interface between statismo and the dataset type the application uses. More...
Classes | |
class | ConditionalModelBuilder |
Creates a StatisticalModel conditioned on some external data. More... | |
class | CrossValidationFold |
Holds training and test data used for Crossvalidation. More... | |
class | DataManager |
Manages Training and Test Data for building Statistical Models and provides functionality for Crossvalidation. More... | |
class | DataManagerWithSurrogates |
Manages Training and Test Data for building Statistical Models and provides functionality for Crossvalidation. Manages data together with surrogate information. The surrogate variables are provided through a vector (see DataManager), and can contain both continuous or categorical data. The surrogate data is provided through files. One file for each dataset, and one file describing the types of surrogates. This file is also an ascii file with space or EOL separated values. Those values are either 0 or 1, standing for respectively categorical or continuous variable. This class does not support any missing data, so each dataset must come with a surrogate data file, all of which must contain the same number of entries as the type-file. More... | |
class | Domain |
class | NotImplementedException |
Used to indicate that a method has not yet been implemented. More... | |
class | StatisticalModelException |
Generic Exception class for the statismo Library. More... | |
class | HDF5Utils |
Utility methods to read and store common types to a HDF5 File. More... | |
class | SumKernel |
class | ProductKernel |
class | ScaledKernel |
class | UncorrelatedMatrixValuedKernel |
class | TemperingFunction |
class | SpatiallyVaryingKernel |
class | ScalarValuedKernel |
class | MatrixValuedKernel |
struct | EigenfunctionComputationResult |
class | LowRankGPModelBuilder |
class | ModelBuilder |
Common base class for all the model builder classes. More... | |
class | ModelInfo |
stores meta information about the model, such as e.g. the name (uri) of the datasets used to build the models, or specific parameters of the modelBuilders. More... | |
class | BuilderInfo |
Holds information about the data and the parameters used by a specific modelbuilder. More... | |
class | Nystrom |
class | PCAModelBuilder |
Creates StatisticalModel using Principal Component Analysis. More... | |
class | PosteriorModelBuilder |
Given a statistical model (prior) and a set of point constraints (likelihood), generate a new PCA model (posterior). More... | |
class | RandSVD |
class | ReducedVarianceModelBuilder |
Builds a new model which retains only the specified total variance. More... | |
class | StatisticalModel |
A Point/Value pair that is used to specify a value at a given point. More... | |
class | TrivialVectorialRepresenter |
A trivial representer, that does no representation at all, but works directly with vectorial data. More... | |
class | vtkNDPixel |
Helper class that represents a vtkPixel or arbitrary type and dimension In vtk a pixel is just of type T*. The statismo library relies on a proper copy semantics, and hence requires such a wrapper. More... | |
class | vtkPoint |
Helper class that represents a vtkPoint. In vtk a point is just of type T*. The statismo library relies on a proper copy semantics, and hence requires such a wrapper.. More... | |
class | vtkStandardMeshRepresenter |
A representer for vtkPolyData, which stores the represnter data in the standard mesh format defined for statismo. More... | |
Typedefs | |
typedef float | ScalarType |
the type that is used for all vector and matrices throughout the library. | |
typedef GenericEigenType < ScalarType >::MatrixType | MatrixType |
typedef GenericEigenType < double >::MatrixType | MatrixTypeDoublePrecision |
typedef GenericEigenType < ScalarType >::DiagMatrixType | DiagMatrixType |
typedef GenericEigenType < ScalarType >::VectorType | VectorType |
typedef GenericEigenType < double >::VectorType | VectorTypeDoublePrecision |
typedef GenericEigenType < ScalarType >::RowVectorType | RowVectorType |
Variables | |
const double | PI = 3.14159265358979323846 |
const std::string | STATISMO_VERSION = "0.10.1" |
Provides the interface between statismo and the dataset type the application uses.
Representer class for vtkStructuredPoints of arbitrary scalar type and PixelDimension.
This file is part of the statismo library.
Author: Marcel Luethi (marce) Thomas Gerig ( l.lu ethi@ unib as.chthoma) s.ge rig@u niba s.ch
Copyright (c) 2011 University of Basel All rights reserved.
Statismo is licensed under the BSD licence (3 clause) license
This file is part of the statismo library.
Author: Marcel Luethi (marce) l.lu ethi@ unib as.ch
Copyright (c) 2011 University of Basel All rights reserved.
Statismo is licensed under the BSD licence (3 clause) license
A Representer is a type that provides the connection between the statismo library and the application. It distinguishes three different representations of the data, and provides methods for conversion between those representations:
In the following the methods and types that have to be implemented to write a new Representer for your application are given.
The pixel values used for the shape model are stored in the vtkPointData object of the vtkStructuredPoints. They can be either scalars (cf. sp->GetPointData()->GetScalars()) or vectors (cf. sp->GetPointData()->GetVectors()).
If you supply vtkStructuredPoints images with several arrays (e.g. scalars, vectors, tensors etc.), you need to ensure that the array relevant to the shape model is the first array, i.e. the one returned by sp->GetPointData()->GetArray(0).