Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::SurfaceBasedInterpolationController Class Reference

#include <mitkSurfaceBasedInterpolationController.h>

Inheritance diagram for mitk::SurfaceBasedInterpolationController:
Collaboration diagram for mitk::SurfaceBasedInterpolationController:

Public Member Functions

 mitkClassMacroItkParent (SurfaceBasedInterpolationController, itk::Object) static Pointer New()
 
Pointer Clone () const
 
void AddNewContour (ContourModel::Pointer newContour, RestorePlanePositionOperation *op)
 
void Interpolate ()
 
mitk::Surface::Pointer GetInterpolationResult ()
 
void SetMinSpacing (double minSpacing)
 
void SetMaxSpacing (double maxSpacing)
 
void SetDistanceImageVolume (unsigned int value)
 
void SetWorkingImage (Image *workingImage)
 
SurfaceGetContoursAsSurface ()
 
void SetActiveLabel (int activeLabel)
 
mitk::ImageGetImage ()
 
double EstimatePortionOfNeededMemory ()
 

Static Public Member Functions

static SurfaceBasedInterpolationControllerGetInstance ()
 

Protected Member Functions

 SurfaceBasedInterpolationController ()
 
 ~SurfaceBasedInterpolationController ()
 
void Initialize ()
 

Detailed Description

Definition at line 35 of file mitkSurfaceBasedInterpolationController.h.

Constructor & Destructor Documentation

mitk::SurfaceBasedInterpolationController::SurfaceBasedInterpolationController ( )
protected

Definition at line 39 of file mitkSurfaceBasedInterpolationController.cpp.

References Initialize().

mitk::SurfaceBasedInterpolationController::~SurfaceBasedInterpolationController ( )
protected

Definition at line 45 of file mitkSurfaceBasedInterpolationController.cpp.

Member Function Documentation

Pointer mitk::SurfaceBasedInterpolationController::Clone ( ) const
double mitk::SurfaceBasedInterpolationController::EstimatePortionOfNeededMemory ( )

Estimates the memory that is needed to build up the equation system for the interpolation.

Returns
The percentage of the real memory which will be used by the interpolation calculation

Definition at line 237 of file mitkSurfaceBasedInterpolationController.cpp.

References mitk::MemoryUtilities::GetTotalSizeOfPhysicalRam().

mitk::Surface * mitk::SurfaceBasedInterpolationController::GetContoursAsSurface ( )

Retrieves the input contours as a mitk::Surface

Definition at line 207 of file mitkSurfaceBasedInterpolationController.cpp.

mitk::Image * mitk::SurfaceBasedInterpolationController::GetImage ( void  )

Definition at line 232 of file mitkSurfaceBasedInterpolationController.cpp.

mitk::SurfaceBasedInterpolationController * mitk::SurfaceBasedInterpolationController::GetInstance ( )
static

Definition at line 68 of file mitkSurfaceBasedInterpolationController.cpp.

mitk::Surface::Pointer mitk::SurfaceBasedInterpolationController::GetInterpolationResult ( )

Retrieves a surface mesh resulting from the interpolation of the given extracted contours.

Definition at line 202 of file mitkSurfaceBasedInterpolationController.cpp.

void mitk::SurfaceBasedInterpolationController::Initialize ( )
protected
void mitk::SurfaceBasedInterpolationController::Interpolate ( )

Launches the interpolation method. A surface mesh is generated out of the given extracted contours.

Definition at line 130 of file mitkSurfaceBasedInterpolationController.cpp.

References mitk::ContourModelToSurfaceFilter::New(), mitk::New(), mitk::ComputeContourSetNormalsFilter::New(), mitk::ImageToSurfaceFilter::New(), and mitk::ReduceContourSetFilter::New().

mitk::SurfaceBasedInterpolationController::mitkClassMacroItkParent ( SurfaceBasedInterpolationController  ,
itk::Object   
)
void mitk::SurfaceBasedInterpolationController::SetActiveLabel ( int  activeLabel)

Sets the current list of contour points which is used for the surface interpolation

Parameters
activeLabelThe active label in the current working image

Definition at line 251 of file mitkSurfaceBasedInterpolationController.cpp.

void mitk::SurfaceBasedInterpolationController::SetDistanceImageVolume ( unsigned int  value)

Sets the volume i.e. the number of pixels that the distance image should have By evaluation we found out that 50.000 pixel delivers a good result

Definition at line 222 of file mitkSurfaceBasedInterpolationController.cpp.

void mitk::SurfaceBasedInterpolationController::SetMaxSpacing ( double  maxSpacing)

Sets the minimum spacing of the current selected segmentation This is needed since the contour points we reduced before, are used to interpolate the surface

Definition at line 217 of file mitkSurfaceBasedInterpolationController.cpp.

void mitk::SurfaceBasedInterpolationController::SetMinSpacing ( double  minSpacing)

Sets the minimum spacing of the current selected segmentation This is needed since the contour points we reduced before, are used to interpolate the surface

Definition at line 212 of file mitkSurfaceBasedInterpolationController.cpp.

void mitk::SurfaceBasedInterpolationController::SetWorkingImage ( Image workingImage)

Sets the working image used by the interpolation method. This is needed because the calculation of the normals needs to now wheather a normal points toward the inside of a segmentation or not

Definition at line 227 of file mitkSurfaceBasedInterpolationController.cpp.


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