If e.g. the same image is loaded three times to the data manager, more than one data node (in this case 1st and 3rd) gets its imageForLevelWindow property set true from the auto top most functionality. However, the imageForLevelWindow property is to be true only for one data node at a time.
Description
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | norajitr | T19150 Levelwindow: Image for Levelwindow seems not to be selected correctly | ||
Wontfix | norajitr | T19436 Auto top most image for Level Window Slider fails for identical images. |
Event Timeline
Comment Actions
Reason for the bug is within mitk::LevelWindowManager::SetLevelWindowProperty, where node selection according to the handed-over levelWindowProperty is made using NodePredicateProperty. If all loaded images are identical, the node predicate property simply delivers the first node with regard to the otherwise identical level window properties of the identical nodes.
Comment Actions
The issue is resolved using an explicit pointer-based comparison of the level window property.
Comment Actions
User norajitr has pushed new remote branch:
bug-19436-AutoTopMostFailForIdenticalImages
Comment Actions
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.