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

#include <mitkCollectionDilatation.h>

Public Types

typedef unsigned char BinaryType
 
typedef itk::Image< BinaryType, 3 > BinaryImage
 

Public Member Functions

 CollectionDilation ()
 
 ~CollectionDilation ()
 

Static Public Member Functions

static void DilateBinaryByName (DataCollection *dataCollection, std::string name, unsigned int xy=5, unsigned int z=0, std::string suffix="DILATE")
 DilateBinaryByName - Dilate all occurances of a modality within a mitk::DataCollection. More...
 
static void ErodeBinaryByName (DataCollection *dataCollection, std::string name, unsigned int xy=5, unsigned int z=0, std::string suffix="ERODE")
 ErodeBinaryByName - Erode all occurances of a modality within a mitk::DataCollection. More...
 

Detailed Description

Definition at line 27 of file mitkCollectionDilatation.h.

Member Typedef Documentation

typedef unsigned char mitk::CollectionDilation::BinaryType

Definition at line 30 of file mitkCollectionDilatation.h.

Constructor & Destructor Documentation

mitk::CollectionDilation::CollectionDilation ( )
inline

Definition at line 33 of file mitkCollectionDilatation.h.

mitk::CollectionDilation::~CollectionDilation ( )
inline

Definition at line 34 of file mitkCollectionDilatation.h.

Member Function Documentation

void mitk::CollectionDilation::DilateBinaryByName ( mitk::DataCollection dataCollection,
std::string  name,
unsigned int  xy = 5,
unsigned int  z = 0,
std::string  suffix = "DILATE" 
)
static

DilateBinaryByName - Dilate all occurances of a modality within a mitk::DataCollection.

Parameters
dataCollection
name- name of modality
xy- dilatation in xy direction
z- dilatation in z direction
suffix- suffix that is appended to newly created image

Definition at line 27 of file mitkCollectionDilatation.cpp.

References mitk::DataCollection::AddData(), mitk::CastToItkImage(), mitk::DataCollection::GetData(), mitk::BaseData::GetGeometry(), mitk::DataCollection::GetMitkImage(), mitk::GrabItkImageMemory(), MITK_ERROR, mitk::New(), and mitk::DataCollection::Size().

Referenced by mitk::TumorInvasionClassification::PrepareResponseSamples(), and mitk::TumorInvasionClassification::SelectTrainingSamples().

void mitk::CollectionDilation::ErodeBinaryByName ( mitk::DataCollection dataCollection,
std::string  name,
unsigned int  xy = 5,
unsigned int  z = 0,
std::string  suffix = "ERODE" 
)
static

ErodeBinaryByName - Erode all occurances of a modality within a mitk::DataCollection.

Parameters
dataCollection
name- name of modality
xy- erosion in xy direction
z- erosion in z direction
suffix- suffix that is appended to newly created image

Definition at line 76 of file mitkCollectionDilatation.cpp.

References mitk::DataCollection::AddData(), mitk::CastToItkImage(), mitk::DataCollection::GetData(), mitk::BaseData::GetGeometry(), mitk::DataCollection::GetMitkImage(), mitk::GrabItkImageMemory(), MITK_ERROR, mitk::New(), and mitk::DataCollection::Size().

Referenced by mitk::TumorInvasionClassification::SelectTrainingSamples().


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