Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkLRDensityEstimation.h>
Public Types | |
typedef vigra::MultiArray< 2, double > | MatrixType |
Public Member Functions | |
void | SetCollection (DataCollection::Pointer data) |
DataCollection::Pointer | GetCollection () |
void | SetTestMask (std::string name) |
std::string | GetTestMask () |
void | SetTrainMask (std::string name) |
std::string | GetTrainMask () |
void | SetWeightName (std::string name) |
std::string | GetWeightName () |
void | Update () |
void | WeightsForAll (mitk::DataCollection::Pointer train, mitk::DataCollection::Pointer test) |
void | SetModalities (std::vector< std::string > modalities) |
std::vector< std::string > | GetModalities () |
void | Predict () |
Definition at line 29 of file mitkLRDensityEstimation.h.
typedef vigra::MultiArray<2, double> mitk::LRDensityEstimation::MatrixType |
Definition at line 32 of file mitkLRDensityEstimation.h.
mitk::DataCollection::Pointer mitk::LRDensityEstimation::GetCollection | ( | ) |
Definition at line 39 of file mitkLRDensityEstimation.cpp.
std::vector< std::string > mitk::LRDensityEstimation::GetModalities | ( | ) |
Definition at line 218 of file mitkLRDensityEstimation.cpp.
std::string mitk::LRDensityEstimation::GetTestMask | ( | ) |
Definition at line 51 of file mitkLRDensityEstimation.cpp.
std::string mitk::LRDensityEstimation::GetTrainMask | ( | ) |
Definition at line 63 of file mitkLRDensityEstimation.cpp.
std::string mitk::LRDensityEstimation::GetWeightName | ( | ) |
Definition at line 75 of file mitkLRDensityEstimation.cpp.
void mitk::LRDensityEstimation::Predict | ( | ) |
Ensuring that weighting image is present in data set.
Create iterators for iterating over images
Definition at line 375 of file mitkLRDensityEstimation.cpp.
References EnsureDataImageInCollection(), mitk::DataCollectionSingleImageIterator< TDataType, ImageDimension >::GetImage(), mitk::DataCollectionSingleImageIterator< TDataType, ImageDimension >::IsAtEnd(), and mitk::GeneralizedLinearModel::Predict().
void mitk::LRDensityEstimation::SetCollection | ( | DataCollection::Pointer | data | ) |
Definition at line 33 of file mitkLRDensityEstimation.cpp.
Referenced by main().
void mitk::LRDensityEstimation::SetModalities | ( | std::vector< std::string > | modalities | ) |
Definition at line 212 of file mitkLRDensityEstimation.cpp.
Referenced by main().
void mitk::LRDensityEstimation::SetTestMask | ( | std::string | name | ) |
Definition at line 45 of file mitkLRDensityEstimation.cpp.
Referenced by main().
void mitk::LRDensityEstimation::SetTrainMask | ( | std::string | name | ) |
Definition at line 57 of file mitkLRDensityEstimation.cpp.
Referenced by main().
void mitk::LRDensityEstimation::SetWeightName | ( | std::string | name | ) |
Definition at line 69 of file mitkLRDensityEstimation.cpp.
Referenced by main().
void mitk::LRDensityEstimation::Update | ( | ) |
Ensuring that weighting image is present in data set.
Create iterators for iterating over images
Definition at line 81 of file mitkLRDensityEstimation.cpp.
References EnsureDataImageInCollection(), mitk::GeneralizedLinearModel::ExpMu(), mitk::DataCollectionSingleImageIterator< TDataType, ImageDimension >::GetImage(), and mitk::DataCollectionSingleImageIterator< TDataType, ImageDimension >::IsAtEnd().
Referenced by main().
void mitk::LRDensityEstimation::WeightsForAll | ( | mitk::DataCollection::Pointer | train, |
mitk::DataCollection::Pointer | test | ||
) |
Ensuring that weighting image is present in data set.
Create iterators for iterating over images
Definition at line 276 of file mitkLRDensityEstimation.cpp.
References EnsureDataImageInCollection(), mitk::GeneralizedLinearModel::ExpMu(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetVoxel(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::IsAtEnd(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::SetVoxel(), and mitk::DataCollectionImageIterator< TDataType, ImageDimension >::ToBegin().