MITK-IGT
IGT Extension of MITK
|
Widget for controlling the ToFCompositeFilter (located in module ToFProcessing) More...
#include <QmitkToFCompositeFilterWidget.h>
Public Member Functions | |
QmitkToFCompositeFilterWidget (QWidget *p=nullptr, Qt::WindowFlags f1={}) | |
~QmitkToFCompositeFilterWidget () override | |
virtual void | CreateQtPartControl (QWidget *parent) |
virtual void | CreateConnections () |
void | SetToFCompositeFilter (mitk::ToFCompositeFilter *toFCompositeFilter) |
Sets the ToFCompositeFilter used by this widget. | |
mitk::ToFCompositeFilter * | GetToFCompositeFilter () |
Returns the ToFCompositeFilter used by this widget. | |
void | UpdateFilterParameter () |
update parameters of ToFCompositeFilter according to current GUI setting | |
void | SetWidgetConfiguration (bool threshold, bool mask, bool tempMedian, bool tempAverage, bool median, bool bilateral) |
set the configuration of the widget specifying which filter is enabled on start | |
void | SetStandardParametersBilateralFilter (double domainSigma, double rangeSigma, int kernelRadius=0) |
sets the standard parameters used for the bilateral filter to the ComboBoxes used in the GUI | |
void | SetStandardParametersThresholdFilter (int min, int max) |
set the standard parameters for the threshold filter to the combo boxes in the GUI | |
void | SetStandardParameterTemporalAveraging (int nImages) |
set the standard value for the number of images to be averaged to the combo box in the GUI | |
void | SetDataStorage (mitk::DataStorage::Pointer dataStorage) |
Static Public Attributes | |
static const std::string | VIEW_ID = "org.mitk.views.qmitktofcompositefilterwidget" |
Protected Slots | |
void | OnShowAdvancedOptionsCheckboxChecked (bool checked) |
OnShowAdvancedOptionsCheckboxChecked Show/hide advanced options. | |
void | OnTemporalMedianFilterCheckBoxChecked (bool checked) |
slot en-/disabling temporal median filter in internal ToFCompositeFilter | |
void | OnAverageFilterCheckBoxChecked (bool checked) |
slot en-/disabling average filter in internal ToFCompositeFilter | |
void | OnThresholdFilterCheckBoxChecked (bool checked) |
slot en-/disabling threshold filter in internal ToFCompositeFilter | |
void | OnMaskSegmentationCheckBoxChecked (bool checked) |
slot en-/disabling the mask segmentation in internal ToFCompositeFilter | |
void | OnMedianFilterCheckBoxChecked (bool checked) |
slot en-/disabling median filter in internal ToFCompositeFilter | |
void | OnBilateralFilterCheckBoxChecked (bool checked) |
slot en-/disabling bilateral filter in internal ToFCompositeFilter | |
void | OnSpanChanged (int lower, int upper) |
slot updating threshold spin boxes according to slider position | |
void | OnResetThresholdFilterRangeSlider () |
slot resetting threshold range slider to default values (min: 1, max: 7000) | |
void | OnTemporalMedianFilterNumOfFramesSpinBoxValueChanged (int value) |
slot updating the parameter "number of frames" of the temporal median filter in the ToFCompositeFilter | |
void | OnBilateralFilterDomainSigmaSpinBoxValueChanged (double value) |
slot updating the parameter "domain sigma" of the bilateral filter in the ToFCompositeFilter | |
void | OnBilateralFilterRangeSigmaSpinBoxValueChanged (double value) |
slot updating the paramter "range sigma" of the bilateral filter in the ToFCompositeFilter | |
void | OnBilateralFilterKernelRadiusSpinBoxValueChanged (int value) |
slot updating the paramter "kernel radius" of the bilateral filter in the ToFCompositeFilter | |
void | OnThresholdFilterMinValueChanged (int value) |
slot updating the paramter "minimal threshold" of the threshold filter in the ToFCompositeFilter | |
void | OnThresholdFilterMaxValueChanged (int value) |
slot updating the paramter "maximal threshold" of the threshold filter in the ToFCompositeFilter | |
Protected Attributes | |
Ui::QmitkToFCompositeFilterWidgetControls * | m_Controls |
member holding the UI elements of this widget | |
mitk::ToFCompositeFilter::Pointer | m_ToFCompositeFilter |
member holding the internally used ToFCompositeFilter | |
Widget for controlling the ToFCompositeFilter (located in module ToFProcessing)
The widget allows to enable/disable the filters internally used in the ToFCompositeFilter and to set the individual filter parameters using GUI elements
Definition at line 30 of file QmitkToFCompositeFilterWidget.h.
QmitkToFCompositeFilterWidget::QmitkToFCompositeFilterWidget | ( | QWidget * | p = nullptr, |
Qt::WindowFlags | f1 = {} ) |
Definition at line 22 of file QmitkToFCompositeFilterWidget.cpp.
|
override |
Definition at line 30 of file QmitkToFCompositeFilterWidget.cpp.
|
virtual |
Definition at line 54 of file QmitkToFCompositeFilterWidget.cpp.
|
virtual |
Definition at line 34 of file QmitkToFCompositeFilterWidget.cpp.
mitk::ToFCompositeFilter * QmitkToFCompositeFilterWidget::GetToFCompositeFilter | ( | ) |
Returns the ToFCompositeFilter used by this widget.
Definition at line 86 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot en-/disabling average filter in internal ToFCompositeFilter
Definition at line 150 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot en-/disabling bilateral filter in internal ToFCompositeFilter
Definition at line 207 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot updating the parameter "domain sigma" of the bilateral filter in the ToFCompositeFilter
Definition at line 217 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot updating the paramter "kernel radius" of the bilateral filter in the ToFCompositeFilter
Definition at line 227 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot updating the paramter "range sigma" of the bilateral filter in the ToFCompositeFilter
Definition at line 222 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot en-/disabling the mask segmentation in internal ToFCompositeFilter
Definition at line 188 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot en-/disabling median filter in internal ToFCompositeFilter
Definition at line 202 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot resetting threshold range slider to default values (min: 1, max: 7000)
Definition at line 269 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
OnShowAdvancedOptionsCheckboxChecked Show/hide advanced options.
checked | show/hide |
Definition at line 161 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot updating threshold spin boxes according to slider position
Definition at line 260 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot en-/disabling temporal median filter in internal ToFCompositeFilter
Definition at line 139 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot updating the parameter "number of frames" of the temporal median filter in the ToFCompositeFilter
Definition at line 212 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot en-/disabling threshold filter in internal ToFCompositeFilter
Definition at line 183 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot updating the paramter "maximal threshold" of the threshold filter in the ToFCompositeFilter
Definition at line 238 of file QmitkToFCompositeFilterWidget.cpp.
|
protectedslot |
slot updating the paramter "minimal threshold" of the threshold filter in the ToFCompositeFilter
Definition at line 232 of file QmitkToFCompositeFilterWidget.cpp.
void QmitkToFCompositeFilterWidget::SetDataStorage | ( | mitk::DataStorage::Pointer | dataStorage | ) |
Definition at line 95 of file QmitkToFCompositeFilterWidget.cpp.
void QmitkToFCompositeFilterWidget::SetStandardParametersBilateralFilter | ( | double | domainSigma, |
double | rangeSigma, | ||
int | kernelRadius = 0 ) |
sets the standard parameters used for the bilateral filter to the ComboBoxes used in the GUI
domainSigma | Parameter controlling the smoothing effect of the bilateral filter. Default value: 2 |
rangeSigma | Parameter controlling the edge preserving effect of the bilateral filter. Default value: 60 |
kernelRadius | radius of the filter mask of the bilateral filter |
Definition at line 121 of file QmitkToFCompositeFilterWidget.cpp.
void QmitkToFCompositeFilterWidget::SetStandardParametersThresholdFilter | ( | int | min, |
int | max ) |
set the standard parameters for the threshold filter to the combo boxes in the GUI
min | lower threshold of the threshold filter |
max | upper threshold of the threshold filter |
Definition at line 128 of file QmitkToFCompositeFilterWidget.cpp.
void QmitkToFCompositeFilterWidget::SetStandardParameterTemporalAveraging | ( | int | nImages | ) |
set the standard value for the number of images to be averaged to the combo box in the GUI
Definition at line 134 of file QmitkToFCompositeFilterWidget.cpp.
void QmitkToFCompositeFilterWidget::SetToFCompositeFilter | ( | mitk::ToFCompositeFilter * | toFCompositeFilter | ) |
Sets the ToFCompositeFilter used by this widget.
toFCompositeFilter | pointer to the internally used ToFCompositeFilter |
Definition at line 81 of file QmitkToFCompositeFilterWidget.cpp.
void QmitkToFCompositeFilterWidget::SetWidgetConfiguration | ( | bool | threshold, |
bool | mask, | ||
bool | tempMedian, | ||
bool | tempAverage, | ||
bool | median, | ||
bool | bilateral ) |
set the configuration of the widget specifying which filter is enabled on start
Definition at line 111 of file QmitkToFCompositeFilterWidget.cpp.
void QmitkToFCompositeFilterWidget::UpdateFilterParameter | ( | ) |
update parameters of ToFCompositeFilter according to current GUI setting
Definition at line 102 of file QmitkToFCompositeFilterWidget.cpp.
|
protected |
member holding the UI elements of this widget
Definition at line 153 of file QmitkToFCompositeFilterWidget.h.
|
protected |
member holding the internally used ToFCompositeFilter
Definition at line 155 of file QmitkToFCompositeFilterWidget.h.
|
static |
Definition at line 37 of file QmitkToFCompositeFilterWidget.h.