Page MenuHomePhabricator

new threshold tool does not work for float images with values < 1
Closed, ResolvedPublic

Event Timeline

Thresholding tool is working with single threshold value (mitkBinaryThresholTool). The issue with the tool that uses two thresholds (mitkBinaryThresholdULTool) is due to casting the slider values to int. A solution would be to use the same appraoch as BinaryThresholdTool for its slider.

New remote branch pushed: bug-15876-threshold-tool-with-float-images

[0c119d]: Merge branch 'bug-15876-ThresholdTool-fix-for-float-images'

Merged commits:

2013-10-18 11:50:18 Tobias Schroeder [d509a3]
Merge branch 'bug-15876-threshold-tool-with-float-images' into bug-15876-ThresholdTool-fix-for-float-images

Conflicts:
Modules/Segmentation/Interactions/mitkBinaryThresholdULTool.cpp


2013-10-18 09:38:34 Tobias Schroeder [df7224]
Fix compile error on MacOS.


2013-09-04 17:46:47 Tobias Schroeder [22d754]
Fix for 4D images.


2013-09-04 16:33:28 Tobias Schroeder [18a0a0]
Fixed Thresholding for float images.

There were some casts to integer for the slider values. So in case of an
image with values < 1.0 this led to wrong results. Also for thresholding
by itk filter the pixel type was set to int.