Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkSurfaceBasedInterpolationController.h>
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) |
Surface * | GetContoursAsSurface () |
void | SetActiveLabel (int activeLabel) |
mitk::Image * | GetImage () |
double | EstimatePortionOfNeededMemory () |
Static Public Member Functions | |
static SurfaceBasedInterpolationController * | GetInstance () |
Protected Member Functions | |
SurfaceBasedInterpolationController () | |
~SurfaceBasedInterpolationController () | |
void | Initialize () |
Definition at line 35 of file mitkSurfaceBasedInterpolationController.h.
|
protected |
Definition at line 39 of file mitkSurfaceBasedInterpolationController.cpp.
References Initialize().
|
protected |
Definition at line 45 of file mitkSurfaceBasedInterpolationController.cpp.
void mitk::SurfaceBasedInterpolationController::AddNewContour | ( | ContourModel::Pointer | newContour, |
RestorePlanePositionOperation * | op | ||
) |
Adds a new extracted contour to the list
Definition at line 80 of file mitkSurfaceBasedInterpolationController.cpp.
References mitk::RestorePlanePositionOperation::GetDirectionVector(), mitk::RestorePlanePositionOperation::GetHeight(), mitk::RestorePlanePositionOperation::GetPos(), mitk::RestorePlanePositionOperation::GetSpacing(), mitk::RestorePlanePositionOperation::GetTransform(), mitk::RestorePlanePositionOperation::GetWidth(), mitk::New(), and mitk::OpRESTOREPLANEPOSITION.
Pointer mitk::SurfaceBasedInterpolationController::Clone | ( | ) | const |
double mitk::SurfaceBasedInterpolationController::EstimatePortionOfNeededMemory | ( | ) |
Estimates the memory that is needed to build up the equation system for the interpolation.
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.
|
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.
|
protected |
Definition at line 58 of file mitkSurfaceBasedInterpolationController.cpp.
References mitk::Surface::New(), and mitk::CreateDistanceImageFromSurfaceFilter::New().
Referenced by SurfaceBasedInterpolationController().
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
activeLabel | The 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.