Widget for controlling the ToFCompositeFilter (located in module ToFProcessing)
More...
#include <QmitkToFCompositeFilterWidget.h>
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::QmitkToFCompositeFilterWidget |
( |
QWidget * |
p = nullptr , |
|
|
Qt::WindowFlags |
f1 = nullptr |
|
) |
| |
◆ ~QmitkToFCompositeFilterWidget()
QmitkToFCompositeFilterWidget::~QmitkToFCompositeFilterWidget |
( |
| ) |
|
|
override |
◆ CreateConnections()
virtual void QmitkToFCompositeFilterWidget::CreateConnections |
( |
| ) |
|
|
virtual |
◆ CreateQtPartControl()
virtual void QmitkToFCompositeFilterWidget::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
virtual |
◆ GetToFCompositeFilter()
Returns the ToFCompositeFilter used by this widget.
- Returns
- tofCompositeFilter pointer to the internally used ToFCompositeFilter
◆ OnAverageFilterCheckBoxChecked
void QmitkToFCompositeFilterWidget::OnAverageFilterCheckBoxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
slot en-/disabling average filter in internal ToFCompositeFilter
◆ OnBilateralFilterCheckBoxChecked
void QmitkToFCompositeFilterWidget::OnBilateralFilterCheckBoxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
slot en-/disabling bilateral filter in internal ToFCompositeFilter
◆ OnBilateralFilterDomainSigmaSpinBoxValueChanged
void QmitkToFCompositeFilterWidget::OnBilateralFilterDomainSigmaSpinBoxValueChanged |
( |
double |
value | ) |
|
|
protectedslot |
slot updating the parameter "domain sigma" of the bilateral filter in the ToFCompositeFilter
◆ OnBilateralFilterKernelRadiusSpinBoxValueChanged
void QmitkToFCompositeFilterWidget::OnBilateralFilterKernelRadiusSpinBoxValueChanged |
( |
int |
value | ) |
|
|
protectedslot |
slot updating the paramter "kernel radius" of the bilateral filter in the ToFCompositeFilter
◆ OnBilateralFilterRangeSigmaSpinBoxValueChanged
void QmitkToFCompositeFilterWidget::OnBilateralFilterRangeSigmaSpinBoxValueChanged |
( |
double |
value | ) |
|
|
protectedslot |
slot updating the paramter "range sigma" of the bilateral filter in the ToFCompositeFilter
◆ OnMaskSegmentationCheckBoxChecked
void QmitkToFCompositeFilterWidget::OnMaskSegmentationCheckBoxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
slot en-/disabling the mask segmentation in internal ToFCompositeFilter
◆ OnMedianFilterCheckBoxChecked
void QmitkToFCompositeFilterWidget::OnMedianFilterCheckBoxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
slot en-/disabling median filter in internal ToFCompositeFilter
◆ OnResetThresholdFilterRangeSlider
void QmitkToFCompositeFilterWidget::OnResetThresholdFilterRangeSlider |
( |
| ) |
|
|
protectedslot |
slot resetting threshold range slider to default values (min: 1, max: 7000)
◆ OnShowAdvancedOptionsCheckboxChecked
void QmitkToFCompositeFilterWidget::OnShowAdvancedOptionsCheckboxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
OnShowAdvancedOptionsCheckboxChecked Show/hide advanced options.
- Parameters
-
◆ OnSpanChanged
void QmitkToFCompositeFilterWidget::OnSpanChanged |
( |
int |
lower, |
|
|
int |
upper |
|
) |
| |
|
protectedslot |
slot updating threshold spin boxes according to slider position
◆ OnTemporalMedianFilterCheckBoxChecked
void QmitkToFCompositeFilterWidget::OnTemporalMedianFilterCheckBoxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
slot en-/disabling temporal median filter in internal ToFCompositeFilter
◆ OnTemporalMedianFilterNumOfFramesSpinBoxValueChanged
void QmitkToFCompositeFilterWidget::OnTemporalMedianFilterNumOfFramesSpinBoxValueChanged |
( |
int |
value | ) |
|
|
protectedslot |
slot updating the parameter "number of frames" of the temporal median filter in the ToFCompositeFilter
◆ OnThresholdFilterCheckBoxChecked
void QmitkToFCompositeFilterWidget::OnThresholdFilterCheckBoxChecked |
( |
bool |
checked | ) |
|
|
protectedslot |
slot en-/disabling threshold filter in internal ToFCompositeFilter
◆ OnThresholdFilterMaxValueChanged
void QmitkToFCompositeFilterWidget::OnThresholdFilterMaxValueChanged |
( |
int |
value | ) |
|
|
protectedslot |
slot updating the paramter "maximal threshold" of the threshold filter in the ToFCompositeFilter
◆ OnThresholdFilterMinValueChanged
void QmitkToFCompositeFilterWidget::OnThresholdFilterMinValueChanged |
( |
int |
value | ) |
|
|
protectedslot |
slot updating the paramter "minimal threshold" of the threshold filter in the ToFCompositeFilter
◆ SetDataStorage()
◆ SetStandardParametersBilateralFilter()
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
- Parameters
-
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 |
◆ SetStandardParametersThresholdFilter()
void QmitkToFCompositeFilterWidget::SetStandardParametersThresholdFilter |
( |
int |
min, |
|
|
int |
max |
|
) |
| |
set the standard parameters for the threshold filter to the combo boxes in the GUI
- Parameters
-
min | lower threshold of the threshold filter |
max | upper threshold of the threshold filter |
◆ SetStandardParameterTemporalAveraging()
void QmitkToFCompositeFilterWidget::SetStandardParameterTemporalAveraging |
( |
int |
nImages | ) |
|
set the standard value for the number of images to be averaged to the combo box in the GUI
◆ SetToFCompositeFilter()
Sets the ToFCompositeFilter used by this widget.
- Parameters
-
toFCompositeFilter | pointer to the internally used ToFCompositeFilter |
◆ SetWidgetConfiguration()
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
◆ UpdateFilterParameter()
void QmitkToFCompositeFilterWidget::UpdateFilterParameter |
( |
| ) |
|
update parameters of ToFCompositeFilter according to current GUI setting
◆ m_Controls
Ui::QmitkToFCompositeFilterWidgetControls* QmitkToFCompositeFilterWidget::m_Controls |
|
protected |
◆ m_ToFCompositeFilter
◆ VIEW_ID
const std::string QmitkToFCompositeFilterWidget::VIEW_ID |
|
static |
The documentation for this class was generated from the following file: