Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkImageMaskingWidget Class Reference

Widget for masking an image with a binary image or surface mask. More...

#include <QmitkImageMaskingWidget.h>

Inheritance diagram for QmitkImageMaskingWidget:
Collaboration diagram for QmitkImageMaskingWidget:

Signals

void NewResultsReady (const QList< mitk::DataNode::Pointer > &nodes)
 Emitted after a masking result node was added to the data storage. More...
 

Public Member Functions

 QmitkImageMaskingWidget (mitk::DataStorage *dataStorage, QWidget *parent=nullptr)
 Constructs the widget with GUI elements and signal/slot connections. More...
 
 ~QmitkImageMaskingWidget () override
 Destructor. More...
 

Detailed Description

Widget for masking an image with a binary image or surface mask.

Applies a mask to an image using either a binary image mask or a surface. The input image and binary image mask must be of the same size. When masking with a surface, a binary image is first generated from the surface and then used for masking. The user can select the masking value (minimum of image, custom value, etc.) for pixels outside the mask region.

See also
QmitkBooleanOperationsWidget

Definition at line 45 of file QmitkImageMaskingWidget.h.

Constructor & Destructor Documentation

◆ QmitkImageMaskingWidget()

QmitkImageMaskingWidget::QmitkImageMaskingWidget ( mitk::DataStorage *  dataStorage,
QWidget *  parent = nullptr 
)
explicit

Constructs the widget with GUI elements and signal/slot connections.

Parameters
[in]dataStoragePointer to the data storage for node selection.
[in]parentOptional parent widget.

◆ ~QmitkImageMaskingWidget()

QmitkImageMaskingWidget::~QmitkImageMaskingWidget ( )
override

Destructor.

Member Function Documentation

◆ NewResultsReady

void QmitkImageMaskingWidget::NewResultsReady ( const QList< mitk::DataNode::Pointer > &  nodes)
signal

Emitted after a masking result node was added to the data storage.


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