set threshold.UpperThreshold 5000
set threshold.InsideValue 255
set threshold.OutsideValue 0
connect reader.Out threshold.In
new Viewer2D viewer2DImageSegmented
set threshold.UpperThreshold 5000
set threshold.InsideValue 255
set threshold.OutsideValue 0
connect reader.Out threshold.In
new Viewer2D viewer2DImageSegmented