Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::CostFunctionBase< TPixel, VImageDimension > Class Template Reference

#include <mitkCostFunctionBase.h>

Public Types

typedef itk::ImageRegion< 3 > RegionType
 
typedef itk::Image< TPixel, VImageDimension > ImageType
 

Public Member Functions

void SetImage (itk::Image< TPixel, VImageDimension > *)
 
void SetRegion (std::pair< RegionType, int >)
 
int CalculateCost ()
 Checks if the functions RegionIsFullEnough, SidesAreNotTooLong and COMLiesWithinParcel all return value 1. More...
 
int MaximalValue ()
 Calculates the maximal possible value of the cost function. More...
 

Detailed Description

template<typename TPixel, unsigned int VImageDimension>
class mitk::CostFunctionBase< TPixel, VImageDimension >

Definition at line 34 of file mitkCostFunctionBase.h.

Member Typedef Documentation

template<typename TPixel, unsigned int VImageDimension>
typedef itk::Image< TPixel, VImageDimension > mitk::CostFunctionBase< TPixel, VImageDimension >::ImageType

Definition at line 38 of file mitkCostFunctionBase.h.

template<typename TPixel, unsigned int VImageDimension>
typedef itk::ImageRegion<3> mitk::CostFunctionBase< TPixel, VImageDimension >::RegionType

Definition at line 37 of file mitkCostFunctionBase.h.

Member Function Documentation

template<typename TPixel , unsigned int VImageDimension>
int mitk::CostFunctionBase< TPixel, VImageDimension >::CalculateCost ( )

Checks if the functions RegionIsFullEnough, SidesAreNotTooLong and COMLiesWithinParcel all return value 1.

Definition at line 107 of file mitkCostFunctionBase.cpp.

Referenced by mitk::RandomParcellationGenerator< TPixel, VImageDimension >::ParcelGrowthOverFaces().

template<typename TPixel , unsigned int VImageDimension>
int mitk::CostFunctionBase< TPixel, VImageDimension >::MaximalValue ( )

Calculates the maximal possible value of the cost function.

Definition at line 171 of file mitkCostFunctionBase.cpp.

Referenced by mitk::RandomParcellationGenerator< TPixel, VImageDimension >::ParcelGrowthOverFaces().

template<typename TPixel , unsigned int VImageDimension>
void mitk::CostFunctionBase< TPixel, VImageDimension >::SetImage ( itk::Image< TPixel, VImageDimension > *  image)
template<typename TPixel , unsigned int VImageDimension>
void mitk::CostFunctionBase< TPixel, VImageDimension >::SetRegion ( std::pair< RegionType, int >  regionPair)

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