|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Provides morphological operations for binary segmentation images. More...
#include <mitkMorphologicalOperations.h>
Public Types | |
| enum | StructuralElementType { Ball , Ball_Axial , Ball_Sagittal , Ball_Coronal , Cross , Cross_Axial , Cross_Sagittal , Cross_Coronal } |
| Defines the type and orientation of the structuring element. More... | |
Static Public Member Functions | |
| static void | Closing (mitk::Image::Pointer &image, int factor, StructuralElementType structuralElement) |
| Performs a morphological closing on a 2D, 3D, or 3D+t segmentation image. More... | |
| static void | Erode (mitk::Image::Pointer &image, int factor, StructuralElementType structuralElement) |
| Performs a morphological erosion on a 2D, 3D, or 3D+t segmentation image. More... | |
| static void | Dilate (mitk::Image::Pointer &image, int factor, StructuralElementType structuralElement) |
| Performs a morphological dilation on a 2D, 3D, or 3D+t segmentation image. More... | |
| static void | Opening (mitk::Image::Pointer &image, int factor, StructuralElementType structuralElement) |
| Performs a morphological opening on a 2D, 3D, or 3D+t segmentation image. More... | |
| static void | FillHoles (mitk::Image::Pointer &image) |
| Fills holes in a binary 2D, 3D, or 3D+t segmentation image. More... | |
Provides morphological operations for binary segmentation images.
Supports closing, opening, erosion, dilation, and hole filling on 2D, 3D, or 3D+t segmentation images. Structuring elements can be ball- or cross-shaped and can be restricted to specific orientations (axial, sagittal, coronal).
Definition at line 33 of file mitkMorphologicalOperations.h.
Defines the type and orientation of the structuring element.
Values are bitmask-combinable. For example, Ball = Ball_Axial | Ball_Sagittal | Ball_Coronal.
Definition at line 41 of file mitkMorphologicalOperations.h.
|
static |
Performs a morphological closing on a 2D, 3D, or 3D+t segmentation image.
| [in,out] | image | The segmentation image to process (modified in-place). |
| [in] | factor | The radius/size of the structuring element. |
| [in] | structuralElement | The type and orientation of the structuring element. |
|
static |
Performs a morphological dilation on a 2D, 3D, or 3D+t segmentation image.
| [in,out] | image | The segmentation image to process (modified in-place). |
| [in] | factor | The radius/size of the structuring element. |
| [in] | structuralElement | The type and orientation of the structuring element. |
|
static |
Performs a morphological erosion on a 2D, 3D, or 3D+t segmentation image.
| [in,out] | image | The segmentation image to process (modified in-place). |
| [in] | factor | The radius/size of the structuring element. |
| [in] | structuralElement | The type and orientation of the structuring element. |
|
static |
Fills holes in a binary 2D, 3D, or 3D+t segmentation image.
| [in,out] | image | The segmentation image to process (modified in-place). |
|
static |
Performs a morphological opening on a 2D, 3D, or 3D+t segmentation image.
| [in,out] | image | The segmentation image to process (modified in-place). |
| [in] | factor | The radius/size of the structuring element. |
| [in] | structuralElement | The type and orientation of the structuring element. |