Page MenuHomePhabricator

Binary image is still rendered red if binary property is set to false
Closed, ResolvedPublic

Description

example image

Event Timeline

Valid bug. Easy to fix. Just go to mitk::ImageVtkMapper2D::ApplyColor and fix the if-conditions according to the "binary"-property.

This bug could not be fixed for release 2013-06. Setting target milestone to next release

this bug will be fixed together with 14386

Current release is finished. Reseting target milestone...

User kilgus has pushed new remote branch:

bug-14698-BinaryImagePropertiesFix

I pushed a solution. The hovering and the selected color property should only be applied for binary images. Added a check for binary. Please see my code for the trivial core change request.

Is it documented in the properties Doxygen page that these properties only apply to binary images?

The property names are:
binaryimage.hoveringcolor
binaryimage.selectedcolor

I think that is self descriptive :).

My branch is ready to merge. Waiting for green dashboard ...

[c9f922]: Merge branch 'bug-14698-BinaryImagePropertiesFix'

Merged commits:

2014-09-24 15:33:15 Thomas Kilgus [0c33aa]
The hovering and the selected color property should only be applied for binary images. Added a check for binary.