13 #ifndef QmitkToFCompositeFilterWidget_h
14 #define QmitkToFCompositeFilterWidget_h
16 #include <MitkToFUIExports.h>
17 #include "ui_QmitkToFCompositeFilterWidgetControls.h"
43 virtual void CreateQtPartControl(QWidget *parent);
45 virtual void CreateConnections();
60 void UpdateFilterParameter();
64 void SetWidgetConfiguration(
bool threshold,
bool mask,
bool tempMedian,
bool tempAverage,
bool median,
bool bilateral );
71 void SetStandardParametersBilateralFilter(
double domainSigma,
double rangeSigma,
int kernelRadius=0);
77 void SetStandardParametersThresholdFilter(
int min,
int max);
81 void SetStandardParameterTemporalAveraging(
int nImages);
92 void OnShowAdvancedOptionsCheckboxChecked(
bool checked);
96 void OnTemporalMedianFilterCheckBoxChecked(
bool checked);
100 void OnAverageFilterCheckBoxChecked(
bool checked);
104 void OnThresholdFilterCheckBoxChecked(
bool checked);
108 void OnMaskSegmentationCheckBoxChecked(
bool checked);
112 void OnMedianFilterCheckBoxChecked(
bool checked);
116 void OnBilateralFilterCheckBoxChecked(
bool checked);
121 void OnSpanChanged(
int lower,
int upper);
125 void OnResetThresholdFilterRangeSlider();
129 void OnTemporalMedianFilterNumOfFramesSpinBoxValueChanged(
int value);
133 void OnBilateralFilterDomainSigmaSpinBoxValueChanged(
double value);
137 void OnBilateralFilterRangeSigmaSpinBoxValueChanged(
double value);
141 void OnBilateralFilterKernelRadiusSpinBoxValueChanged(
int value);
145 void OnThresholdFilterMinValueChanged(
int value);
149 void OnThresholdFilterMaxValueChanged(
int value);
162 void SetBilateralFilterParameter();
166 void SetThresholdFilterParameter();