|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Widget providing morphological operations on segmentation labels. More...
#include <QmitkMorphologicalOperationsWidget.h>


Public Slots | |
| void | OnClosingButtonClicked () |
| Performs morphological closing on the selected label. More... | |
| void | OnOpeningButtonClicked () |
| Performs morphological opening on the selected label. More... | |
| void | OnDilatationButtonClicked () |
| Performs morphological dilation on the selected label. More... | |
| void | OnErosionButtonClicked () |
| Performs morphological erosion on the selected label. More... | |
| void | OnFillHolesButtonClicked () |
| Fills holes in the selected label. More... | |
| void | OnSelectionChanged (QmitkAbstractNodeSelectionWidget::NodeList nodes) |
| Called when the segmentation selection changes. More... | |
| void | OnRadioButtonsClicked () |
| Called when the structural element radio buttons are clicked. More... | |
Public Member Functions | |
| QmitkMorphologicalOperationsWidget (mitk::DataStorage *dataStorage, QWidget *parent=nullptr) | |
| Constructs the widget with GUI elements and signal/slot connections. More... | |
| ~QmitkMorphologicalOperationsWidget () override | |
| Destructor. More... | |
Protected Types | |
| using | MorphFunctionType = void(mitk::Image::Pointer &image, int factor, mitk::MorphologicalOperations::StructuralElementType structuralElement) |
Protected Member Functions | |
| void | ConfigureButtons () |
| void | Processing (std::function< MorphFunctionType > morphFunction, const std::string &opsName) const |
Widget providing morphological operations on segmentation labels.
Offers buttons for closing, opening, dilation, erosion, and fill-holes operations. The user can select a segmentation and label, choose the structural element type (ball or cross) and its radius, then apply the operation.
Definition at line 46 of file QmitkMorphologicalOperationsWidget.h.
|
protected |
Definition at line 79 of file QmitkMorphologicalOperationsWidget.h.
|
explicit |
Constructs the widget with GUI elements and signal/slot connections.
| [in] | dataStorage | Pointer to the data storage for node selection. |
| [in] | parent | Optional parent widget. |
|
override |
Destructor.
|
protected |
|
slot |
Performs morphological closing on the selected label.
|
slot |
Performs morphological dilation on the selected label.
|
slot |
Performs morphological erosion on the selected label.
|
slot |
Fills holes in the selected label.
|
slot |
Performs morphological opening on the selected label.
|
slot |
Called when the structural element radio buttons are clicked.
|
slot |
Called when the segmentation selection changes.
|
protected |