Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitk::MorphologicalOperations Class Reference

Encapsulates several morphological operations that can be performed on segmentations. More...

#include <mitkMorphologicalOperations.h>

Public Types

enum  StructuralElementType {
  Ball, Ball_Axial, Ball_Sagittal, Ball_Coronal,
  Cross, Cross_Axial, Cross_Sagittal, Cross_Coronal
}
 

Static Public Member Functions

static void Closing (mitk::Image::Pointer &image, int factor, StructuralElementType structuralElement)
 Perform morphological operation on 2D, 3D or 3D+t segmentation. More...
 
static void Erode (mitk::Image::Pointer &image, int factor, StructuralElementType structuralElement)
 Perform morphological operation on 2D, 3D or 3D+t segmentation. More...
 
static void Dilate (mitk::Image::Pointer &image, int factor, StructuralElementType structuralElement)
 Perform morphological operation on 2D, 3D or 3D+t segmentation. More...
 
static void Opening (mitk::Image::Pointer &image, int factor, StructuralElementType structuralElement)
 Perform morphological operation on 2D, 3D or 3D+t segmentation. More...
 
static void FillHoles (mitk::Image::Pointer &image)
 Perform morphological operation on 2D, 3D or 3D+t segmentation. More...
 

Detailed Description

Encapsulates several morphological operations that can be performed on segmentations.

Definition at line 23 of file mitkMorphologicalOperations.h.

Member Enumeration Documentation

◆ StructuralElementType

Enumerator
Ball 
Ball_Axial 
Ball_Sagittal 
Ball_Coronal 
Cross 
Cross_Axial 
Cross_Sagittal 
Cross_Coronal 

Definition at line 26 of file mitkMorphologicalOperations.h.

Member Function Documentation

◆ Closing()

static void mitk::MorphologicalOperations::Closing ( mitk::Image::Pointer image,
int  factor,
StructuralElementType  structuralElement 
)
static

Perform morphological operation on 2D, 3D or 3D+t segmentation.

◆ Dilate()

static void mitk::MorphologicalOperations::Dilate ( mitk::Image::Pointer image,
int  factor,
StructuralElementType  structuralElement 
)
static

Perform morphological operation on 2D, 3D or 3D+t segmentation.

◆ Erode()

static void mitk::MorphologicalOperations::Erode ( mitk::Image::Pointer image,
int  factor,
StructuralElementType  structuralElement 
)
static

Perform morphological operation on 2D, 3D or 3D+t segmentation.

◆ FillHoles()

static void mitk::MorphologicalOperations::FillHoles ( mitk::Image::Pointer image)
static

Perform morphological operation on 2D, 3D or 3D+t segmentation.

◆ Opening()

static void mitk::MorphologicalOperations::Opening ( mitk::Image::Pointer image,
int  factor,
StructuralElementType  structuralElement 
)
static

Perform morphological operation on 2D, 3D or 3D+t segmentation.


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