radmedres / clmedview

An attempt to create a cross-platform medical image viewer specialized in drawing "regions of interests".
GNU General Public License v3.0
3 stars 2 forks source link

FEATURE CHANGE: Load mask lut if max of serie is less then 255 #27

Closed radmedres closed 9 years ago

radmedres commented 9 years ago

When loading an overlay or a image, which is actually a mask, the window width and level are calculated. If the mask contains only a value 1, the ww and level are set to 0. This is incorrect behavour. Therefore it should be like if the max value is less then 255, the lut choosen should be the mask lut.

This behavour is implemented.