set lowerThresholdSlider.ChangeResolution 1
connect lowerThresholdSlider.Widget sliderLayout.Widget2
new Slider upperThresholdSlider
set upperThresholdSlider.Title "UpperThreshold"
set upperThresholdSlider.Max 500
set lowerThresholdSlider.ChangeResolution 1
connect lowerThresholdSlider.Widget sliderLayout.Widget2
new Slider upperThresholdSlider
set upperThresholdSlider.Title "UpperThreshold"
set upperThresholdSlider.Max 500