23 #ifndef LIBSEGMENTATION_SEGMENTATION_MODEL_HH 24 #define LIBSEGMENTATION_SEGMENTATION_MODEL_HH 35 class MahalanobisDistance;
37 template<
typename T>
class NormalPDF;
54 void load(
const std::string &filename);
59 void save(
const std::string &filename);
64 std::vector<NormalPDF<T>*>
pdfs_;
68 #endif //LIBSEGMENTATION_SEGMENTATION_MODEL_HH void save(const std::string &filename)
loads model from hdf5-file
~SegmentationModel()
A segmentation model ist just a list of Normal PDFs and the parameters that where used for sampling...
std::vector< NormalPDF< T > * > pdfs_
void appendPdf(NormalPDF< T > *pdf)
void load(const std::string &filename)
saves model as hdf5-file
Encapsulates a normal pdf.
T sampling_dist_um_
sampling distance in um