iRoCS Toolbox  1.1.0
Public Member Functions | Data Fields
segmentation::SegmentationModel< T > Class Template Reference

#include <SegmentationModel.hh>

Collaboration diagram for segmentation::SegmentationModel< T >:

Public Member Functions

 ~SegmentationModel ()
 A segmentation model ist just a list of Normal PDFs and the parameters that where used for sampling. More...
 
void appendPdf (NormalPDF< T > *pdf)
 
void clear ()
 
void load (const std::string &filename)
 saves model as hdf5-file More...
 
void save (const std::string &filename)
 loads model from hdf5-file More...
 
size_t size ()
 

Data Fields

int num_samples_
 
std::vector< NormalPDF< T > * > pdfs_
 
sampling_dist_um_
 sampling distance in um More...
 

Detailed Description

template<typename T>
class segmentation::SegmentationModel< T >

Definition at line 39 of file SegmentationModel.hh.

Constructor & Destructor Documentation

◆ ~SegmentationModel()

template<typename T >
segmentation::SegmentationModel< T >::~SegmentationModel ( )

A segmentation model ist just a list of Normal PDFs and the parameters that where used for sampling.

Definition at line 43 of file SegmentationModel-inl.hh.

Member Function Documentation

◆ appendPdf()

template<typename T >
void segmentation::SegmentationModel< T >::appendPdf ( NormalPDF< T > *  pdf)

Definition at line 38 of file SegmentationModel-inl.hh.

◆ clear()

template<typename T >
void segmentation::SegmentationModel< T >::clear ( )

Definition at line 49 of file SegmentationModel-inl.hh.

◆ size()

template<typename T >
size_t segmentation::SegmentationModel< T >::size ( )

Definition at line 54 of file SegmentationModel-inl.hh.

◆ load()

template<typename T >
void segmentation::SegmentationModel< T >::load ( const std::string &  filename)

saves model as hdf5-file

Parameters
filenamefile path where to save model

Definition at line 59 of file SegmentationModel-inl.hh.

◆ save()

template<typename T >
void segmentation::SegmentationModel< T >::save ( const std::string &  filename)

loads model from hdf5-file

Parameters
filenamepath wher to save model

Definition at line 82 of file SegmentationModel-inl.hh.

Field Documentation

◆ sampling_dist_um_

template<typename T >
T segmentation::SegmentationModel< T >::sampling_dist_um_

sampling distance in um

Definition at line 62 of file SegmentationModel.hh.

◆ num_samples_

template<typename T >
int segmentation::SegmentationModel< T >::num_samples_

Definition at line 63 of file SegmentationModel.hh.

◆ pdfs_

template<typename T >
std::vector<NormalPDF<T>*> segmentation::SegmentationModel< T >::pdfs_

Definition at line 64 of file SegmentationModel.hh.


The documentation for this class was generated from the following files: