13 #ifndef mitkMorphologicalOperations_h 14 #define mitkMorphologicalOperations_h 53 template <
class TStructuringElement>
54 static TStructuringElement CreateStructuringElement(
StructuralElementType structuralElementFlag,
int factor);
59 template <
typename TPixel,
unsigned int VDimension>
60 static void itkClosing(itk::Image<TPixel, VDimension> *sourceImage,
65 template <
typename TPixel,
unsigned int VDimension>
66 static void itkErode(itk::Image<TPixel, VDimension> *sourceImage,
71 template <
typename TPixel,
unsigned int VDimension>
72 static void itkDilate(itk::Image<TPixel, VDimension> *sourceImage,
77 template <
typename TPixel,
unsigned int VDimension>
78 static void itkOpening(itk::Image<TPixel, VDimension> *sourceImage,
83 template <
typename TPixel,
unsigned int VDimension>
84 static void itkFillHoles(itk::Image<TPixel, VDimension> *sourceImage,
mitk::Image::Pointer &resultImage);
Encapsulates several morphological operations that can be performed on segmentations.
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
mitk::Image::Pointer image