Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkPartialVolumeAnalysisClusteringCalculator.h>
Classes | |
class | ClusterResultType |
struct | HelperStructClusteringResults |
struct | HelperStructPerformClusteringRetval |
struct | HelperStructPerformRGBClusteringRetval |
struct | HelperStructRGBChannels |
class | HistType |
class | ParamsType |
Public Types | |
typedef vnl_vector< double > | VecType |
typedef mitk::Image::HistogramType | MitkHistType |
Protected Member Functions | |
PartialVolumeAnalysisClusteringCalculator () | |
virtual | ~PartialVolumeAnalysisClusteringCalculator () |
Protected Attributes | |
unsigned int | m_MaxIt |
unsigned int | m_StepsNumIntegration |
Definition at line 36 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
Definition at line 41 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
typedef vnl_vector<double> mitk::PartialVolumeAnalysisClusteringCalculator::VecType |
Definition at line 40 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
|
protected |
Definition at line 33 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
|
protectedvirtual |
Definition at line 39 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
mitk::Image::Pointer mitk::PartialVolumeAnalysisClusteringCalculator::CaculateAngularErrorImage | ( | mitk::Image::Pointer | comp1, |
mitk::Image::Pointer | comp2, | ||
mitk::Image::Pointer | probImg | ||
) | const |
Definition at line 693 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::New(), and mitk::Image::New().
PartialVolumeAnalysisClusteringCalculator::ClusterResultType mitk::PartialVolumeAnalysisClusteringCalculator::CalculateCurves | ( | ParamsType | params, |
VecType | xVals | ||
) | const |
Definition at line 193 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::combiVals, m_StepsNumIntegration, mitk::PartialVolumeAnalysisClusteringCalculator::ParamsType::means, mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::mixedVals, mitk::PartialVolumeAnalysisClusteringCalculator::ParamsType::ps, PVA_PI, mitk::PartialVolumeAnalysisClusteringCalculator::ParamsType::sigmas, and mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::vals.
Referenced by Cluster(), and PerformClustering().
Pointer mitk::PartialVolumeAnalysisClusteringCalculator::Clone | ( | ) | const |
PartialVolumeAnalysisClusteringCalculator::ParamsType * mitk::PartialVolumeAnalysisClusteringCalculator::Cluster | ( | const HistType | h, |
ParamsType * | initialGuess | ||
) | const |
Definition at line 61 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References CalculateCurves(), mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::combiVals, mitk::PartialVolumeAnalysisClusteringCalculator::HistType::hVals, m_MaxIt, mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::mixedVals, mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::vals, and mitk::PartialVolumeAnalysisClusteringCalculator::HistType::xVals.
Referenced by PerformClustering().
|
inline |
Definition at line 477 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
|
inline |
Definition at line 483 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
|
inline |
Definition at line 489 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
PartialVolumeAnalysisClusteringCalculator::ParamsType * mitk::PartialVolumeAnalysisClusteringCalculator::InitialGuess | ( | HistType | h | ) | const |
Definition at line 44 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::PartialVolumeAnalysisClusteringCalculator::HistType::xVals.
void mitk::PartialVolumeAnalysisClusteringCalculator::InternalGenerateProbabilityImage | ( | const itk::Image< TPixel, VImageDimension > * | image, |
const HelperStructClusteringResults | clusterResults, | ||
mitk::Image::Pointer | outImage1, | ||
mitk::Image::Pointer | outImage2 | ||
) | const |
Definition at line 497 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructClusteringResults::interestingHist, MITK_ERROR, mitk::New(), mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructClusteringResults::p_interesting, and mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructClusteringResults::totalHist.
Referenced by PerformClustering().
void mitk::PartialVolumeAnalysisClusteringCalculator::InternalGenerateQuantileImage | ( | const itk::Image< TPixel, VImageDimension > * | image, |
double * | q, | ||
mitk::Image::Pointer | outImage1, | ||
mitk::Image::Pointer | outImage2 | ||
) | const |
Definition at line 918 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::New().
Referenced by PerformQuantiles().
void mitk::PartialVolumeAnalysisClusteringCalculator::InternalGenerateRGB | ( | HelperStructRGBChannels * | rgb, |
mitk::Image::Pointer | retval | ||
) | const |
void mitk::PartialVolumeAnalysisClusteringCalculator::InternalQuantify | ( | const itk::Image< TPixel, VImageDimension > * | image, |
mitk::Image::Pointer | clusteredImage, | ||
double * | retval, | ||
mitk::Image::Pointer | mask | ||
) | const |
Definition at line 617 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::New().
Referenced by PerformQuantification().
mitk::PartialVolumeAnalysisClusteringCalculator::mitkClassMacroItkParent | ( | PartialVolumeAnalysisClusteringCalculator | , |
itk::Object | |||
) |
void mitk::PartialVolumeAnalysisClusteringCalculator::Normalize | ( | ParamsType | params, |
ClusterResultType * | curves | ||
) | const |
Definition at line 163 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::combiVals, mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::mixedVals, mitk::PartialVolumeAnalysisClusteringCalculator::ParamsType::ps, and mitk::PartialVolumeAnalysisClusteringCalculator::ClusterResultType::vals.
Referenced by PerformClustering().
PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval * mitk::PartialVolumeAnalysisClusteringCalculator::PerformClustering | ( | mitk::Image::ConstPointer | image, |
const MitkHistType * | histogram, | ||
int | classIdent, | ||
HelperStructPerformClusteringRetval * | precResult = nullptr |
||
) | const |
Definition at line 376 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References AccessFixedDimensionByItk_3, CalculateCurves(), Cluster(), mitk::PartialVolumeAnalysisClusteringCalculator::ParamsType::Initialize(), mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructClusteringResults::interestingHist, InternalGenerateProbabilityImage(), max(), min(), mitk::New(), mitk::Image::New(), Normalize(), mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructClusteringResults::p_interesting, mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::params, mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::result, and mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructClusteringResults::totalHist.
Referenced by PerformRGBClustering().
double * mitk::PartialVolumeAnalysisClusteringCalculator::PerformQuantification | ( | mitk::Image::ConstPointer | image, |
mitk::Image::Pointer | clusteredImage, | ||
mitk::Image::Pointer | mask = nullptr |
||
) | const |
Definition at line 599 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References AccessFixedDimensionByItk_3, and InternalQuantify().
PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval * mitk::PartialVolumeAnalysisClusteringCalculator::PerformQuantiles | ( | mitk::Image::ConstPointer | image, |
const MitkHistType * | histogram, | ||
double | p1, | ||
double | p2 | ||
) | const |
Definition at line 887 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References AccessFixedDimensionByItk_3, InternalGenerateQuantileImage(), and mitk::Image::New().
Referenced by PerformRGBQuantiles().
PartialVolumeAnalysisClusteringCalculator::HelperStructPerformRGBClusteringRetval * mitk::PartialVolumeAnalysisClusteringCalculator::PerformRGBClustering | ( | mitk::Image::ConstPointer | image, |
const MitkHistType * | histogram | ||
) | const |
Definition at line 242 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::clusteredImage, mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::hist, mitk::Image::New(), mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::params, PerformClustering(), and mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::result.
PartialVolumeAnalysisClusteringCalculator::HelperStructPerformRGBClusteringRetval * mitk::PartialVolumeAnalysisClusteringCalculator::PerformRGBQuantiles | ( | mitk::Image::ConstPointer | image, |
const MitkHistType * | histogram, | ||
double | p1, | ||
double | p2 | ||
) | const |
Definition at line 840 of file mitkPartialVolumeAnalysisClusteringCalculator.cpp.
References mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::clusteredImage, mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::hist, mitk::Image::New(), mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::params, PerformQuantiles(), and mitk::PartialVolumeAnalysisClusteringCalculator::HelperStructPerformClusteringRetval::result.
|
inline |
Definition at line 480 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
|
inline |
Definition at line 486 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
|
protected |
Definition at line 498 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
Referenced by Cluster().
|
protected |
Definition at line 499 of file mitkPartialVolumeAnalysisClusteringCalculator.h.
Referenced by CalculateCurves().