Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Widget for controlling the ToFCompositeFilter (located in module ToFProcessing) More...
#include <QmitkToFCompositeFilterWidget.h>
Public Member Functions | |
QmitkToFCompositeFilterWidget (QWidget *p=0, Qt::WindowFlags f1=0) | |
virtual | ~QmitkToFCompositeFilterWidget () |
virtual void | CreateQtPartControl (QWidget *parent) |
virtual void | CreateConnections () |
void | SetToFCompositeFilter (mitk::ToFCompositeFilter *toFCompositeFilter) |
Sets the ToFCompositeFilter used by this widget. More... | |
mitk::ToFCompositeFilter * | GetToFCompositeFilter () |
Returns the ToFCompositeFilter used by this widget. More... | |
void | UpdateFilterParameter () |
update parameters of ToFCompositeFilter according to current GUI setting More... | |
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 More... | |
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 More... | |
void | SetStandardParametersThresholdFilter (int min, int max) |
set the standard parameters for the threshold filter to the combo boxes in the GUI More... | |
void | SetStandardParameterTemporalAveraging (int nImages) |
set the standard value for the number of images to be averaged to the combo box in the GUI More... | |
void | SetDataStorage (mitk::DataStorage::Pointer dataStorage) |
Static Public Attributes | |
static const std::string | VIEW_ID |
Protected Slots | |
void | OnShowAdvancedOptionsCheckboxChecked (bool checked) |
OnShowAdvancedOptionsCheckboxChecked Show/hide advanced options. More... | |
void | OnTemporalMedianFilterCheckBoxChecked (bool checked) |
slot en-/disabling temporal median filter in internal ToFCompositeFilter More... | |
void | OnAverageFilterCheckBoxChecked (bool checked) |
slot en-/disabling average filter in internal ToFCompositeFilter More... | |
void | OnThresholdFilterCheckBoxChecked (bool checked) |
slot en-/disabling threshold filter in internal ToFCompositeFilter More... | |
void | OnMaskSegmentationCheckBoxChecked (bool checked) |
slot en-/disabling the mask segmentation in internal ToFCompositeFilter More... | |
void | OnMedianFilterCheckBoxChecked (bool checked) |
slot en-/disabling median filter in internal ToFCompositeFilter More... | |
void | OnBilateralFilterCheckBoxChecked (bool checked) |
slot en-/disabling bilateral filter in internal ToFCompositeFilter More... | |
void | OnSpanChanged (int lower, int upper) |
slot updating threshold spin boxes according to slider position More... | |
void | OnResetThresholdFilterRangeSlider () |
slot resetting threshold range slider to default values (min: 1, max: 7000) More... | |
void | OnTemporalMedianFilterNumOfFramesSpinBoxValueChanged (int value) |
slot updating the parameter "number of frames" of the temporal median filter in the ToFCompositeFilter More... | |
void | OnBilateralFilterDomainSigmaSpinBoxValueChanged (double value) |
slot updating the parameter "domain sigma" of the bilateral filter in the ToFCompositeFilter More... | |
void | OnBilateralFilterRangeSigmaSpinBoxValueChanged (double value) |
slot updating the paramter "range sigma" of the bilateral filter in the ToFCompositeFilter More... | |
void | OnBilateralFilterKernelRadiusSpinBoxValueChanged (int value) |
slot updating the paramter "kernel radius" of the bilateral filter in the ToFCompositeFilter More... | |
void | OnThresholdFilterMinValueChanged (int value) |
slot updating the paramter "minimal threshold" of the threshold filter in the ToFCompositeFilter More... | |
void | OnThresholdFilterMaxValueChanged (int value) |
slot updating the paramter "maximal threshold" of the threshold filter in the ToFCompositeFilter More... | |
Protected Attributes | |
Ui::QmitkToFCompositeFilterWidgetControls * | m_Controls |
member holding the UI elements of this widget More... | |
mitk::ToFCompositeFilter::Pointer | m_ToFCompositeFilter |
member holding the internally used ToFCompositeFilter More... | |
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 34 of file QmitkToFCompositeFilterWidget.h.
QmitkToFCompositeFilterWidget::QmitkToFCompositeFilterWidget | ( | QWidget * | p = 0 , |
Qt::WindowFlags | f1 = 0 |
||
) |
Definition at line 26 of file QmitkToFCompositeFilterWidget.cpp.
References CreateQtPartControl(), m_Controls, and m_ToFCompositeFilter.
|
virtual |
Definition at line 34 of file QmitkToFCompositeFilterWidget.cpp.
|
virtual |
Definition at line 58 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls, OnAverageFilterCheckBoxChecked(), OnBilateralFilterCheckBoxChecked(), OnBilateralFilterDomainSigmaSpinBoxValueChanged(), OnBilateralFilterKernelRadiusSpinBoxValueChanged(), OnBilateralFilterRangeSigmaSpinBoxValueChanged(), OnMaskSegmentationCheckBoxChecked(), OnMedianFilterCheckBoxChecked(), OnResetThresholdFilterRangeSlider(), OnShowAdvancedOptionsCheckboxChecked(), OnSpanChanged(), OnTemporalMedianFilterCheckBoxChecked(), OnTemporalMedianFilterNumOfFramesSpinBoxValueChanged(), OnThresholdFilterCheckBoxChecked(), OnThresholdFilterMaxValueChanged(), and OnThresholdFilterMinValueChanged().
Referenced by CreateQtPartControl().
|
virtual |
Definition at line 38 of file QmitkToFCompositeFilterWidget.cpp.
References CreateConnections(), m_Controls, max(), min(), and OnShowAdvancedOptionsCheckboxChecked().
Referenced by QmitkToFCompositeFilterWidget().
mitk::ToFCompositeFilter * QmitkToFCompositeFilterWidget::GetToFCompositeFilter | ( | ) |
Returns the ToFCompositeFilter used by this widget.
Definition at line 90 of file QmitkToFCompositeFilterWidget.cpp.
References m_ToFCompositeFilter, and mitk::ToFCompositeFilter::New().
|
protectedslot |
slot en-/disabling average filter in internal ToFCompositeFilter
Definition at line 154 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls, and m_ToFCompositeFilter.
Referenced by CreateConnections(), and UpdateFilterParameter().
|
protectedslot |
slot en-/disabling bilateral filter in internal ToFCompositeFilter
Definition at line 211 of file QmitkToFCompositeFilterWidget.cpp.
References m_ToFCompositeFilter.
Referenced by CreateConnections(), and UpdateFilterParameter().
|
protectedslot |
slot updating the parameter "domain sigma" of the bilateral filter in the ToFCompositeFilter
Definition at line 221 of file QmitkToFCompositeFilterWidget.cpp.
Referenced by CreateConnections().
|
protectedslot |
slot updating the paramter "kernel radius" of the bilateral filter in the ToFCompositeFilter
Definition at line 231 of file QmitkToFCompositeFilterWidget.cpp.
Referenced by CreateConnections().
|
protectedslot |
slot updating the paramter "range sigma" of the bilateral filter in the ToFCompositeFilter
Definition at line 226 of file QmitkToFCompositeFilterWidget.cpp.
Referenced by CreateConnections().
|
protectedslot |
slot en-/disabling the mask segmentation in internal ToFCompositeFilter
Definition at line 192 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls, and m_ToFCompositeFilter.
Referenced by CreateConnections().
|
protectedslot |
slot en-/disabling median filter in internal ToFCompositeFilter
Definition at line 206 of file QmitkToFCompositeFilterWidget.cpp.
References m_ToFCompositeFilter.
Referenced by CreateConnections(), and UpdateFilterParameter().
|
protectedslot |
slot resetting threshold range slider to default values (min: 1, max: 7000)
Definition at line 273 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
Referenced by CreateConnections().
|
protectedslot |
OnShowAdvancedOptionsCheckboxChecked Show/hide advanced options.
checked | show/hide |
Definition at line 165 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
Referenced by CreateConnections(), and CreateQtPartControl().
|
protectedslot |
slot updating threshold spin boxes according to slider position
Definition at line 264 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
Referenced by CreateConnections().
|
protectedslot |
slot en-/disabling temporal median filter in internal ToFCompositeFilter
Definition at line 143 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls, and m_ToFCompositeFilter.
Referenced by CreateConnections(), and UpdateFilterParameter().
|
protectedslot |
slot updating the parameter "number of frames" of the temporal median filter in the ToFCompositeFilter
Definition at line 216 of file QmitkToFCompositeFilterWidget.cpp.
References m_ToFCompositeFilter.
Referenced by CreateConnections().
|
protectedslot |
slot en-/disabling threshold filter in internal ToFCompositeFilter
Definition at line 187 of file QmitkToFCompositeFilterWidget.cpp.
References m_ToFCompositeFilter.
Referenced by CreateConnections(), and UpdateFilterParameter().
|
protectedslot |
slot updating the paramter "maximal threshold" of the threshold filter in the ToFCompositeFilter
Definition at line 242 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
Referenced by CreateConnections().
|
protectedslot |
slot updating the paramter "minimal threshold" of the threshold filter in the ToFCompositeFilter
Definition at line 236 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
Referenced by CreateConnections().
void QmitkToFCompositeFilterWidget::SetDataStorage | ( | mitk::DataStorage::Pointer | dataStorage | ) |
Definition at line 99 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls, mitk::BoolProperty::New(), mitk::NodePredicateAnd::New(), mitk::NodePredicateDataType::New(), and mitk::NodePredicateProperty::New().
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 125 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
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 132 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
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 138 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
void QmitkToFCompositeFilterWidget::SetToFCompositeFilter | ( | mitk::ToFCompositeFilter * | toFCompositeFilter | ) |
Sets the ToFCompositeFilter used by this widget.
tofCompositeFilter | pointer to the internally used ToFCompositeFilter |
Definition at line 85 of file QmitkToFCompositeFilterWidget.cpp.
References m_ToFCompositeFilter.
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 115 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls.
void QmitkToFCompositeFilterWidget::UpdateFilterParameter | ( | ) |
update parameters of ToFCompositeFilter according to current GUI setting
Definition at line 106 of file QmitkToFCompositeFilterWidget.cpp.
References m_Controls, OnAverageFilterCheckBoxChecked(), OnBilateralFilterCheckBoxChecked(), OnMedianFilterCheckBoxChecked(), OnTemporalMedianFilterCheckBoxChecked(), and OnThresholdFilterCheckBoxChecked().
|
protected |
member holding the UI elements of this widget
Definition at line 157 of file QmitkToFCompositeFilterWidget.h.
Referenced by CreateConnections(), CreateQtPartControl(), OnAverageFilterCheckBoxChecked(), OnMaskSegmentationCheckBoxChecked(), OnResetThresholdFilterRangeSlider(), OnShowAdvancedOptionsCheckboxChecked(), OnSpanChanged(), OnTemporalMedianFilterCheckBoxChecked(), OnThresholdFilterMaxValueChanged(), OnThresholdFilterMinValueChanged(), QmitkToFCompositeFilterWidget(), SetDataStorage(), SetStandardParametersBilateralFilter(), SetStandardParametersThresholdFilter(), SetStandardParameterTemporalAveraging(), SetWidgetConfiguration(), and UpdateFilterParameter().
|
protected |
member holding the internally used ToFCompositeFilter
Definition at line 159 of file QmitkToFCompositeFilterWidget.h.
Referenced by GetToFCompositeFilter(), OnAverageFilterCheckBoxChecked(), OnBilateralFilterCheckBoxChecked(), OnMaskSegmentationCheckBoxChecked(), OnMedianFilterCheckBoxChecked(), OnTemporalMedianFilterCheckBoxChecked(), OnTemporalMedianFilterNumOfFramesSpinBoxValueChanged(), OnThresholdFilterCheckBoxChecked(), QmitkToFCompositeFilterWidget(), and SetToFCompositeFilter().
|
static |
Definition at line 41 of file QmitkToFCompositeFilterWidget.h.