Page MenuHomePhabricator

No descriptor for images that are not binary
Closed, ResolvedPublic

Description

In QmitkNodeDescriptorManager there is no descriptor for nodes that are Images but not binary.

solution:
add a new descriptor with predicates "isImage" and "isNotBinary"
descriptor name could be "NoneBinaryImage"

Event Timeline

Michi, is this how QmitkNodeDescriptorManager was meant to be enhanced?

I think this change would overwrite the icons for all "normal" images, as every image that is not binary is now already displayed as image (and not as image mask).

50% right.
the NoneBinaryImage descriptor will be used for all images that have a property "binary"=false. if this property is *not* set at all, the standard image descriptor will be used.
dont forget that predicates will evaluate to false if a property is not set at all

As this bug blocks another MITK 3M3 bug would you please fix it?

[SVN revision 26029]
ENH (#4872): adding new NodeDescriptor "NoneBinaryImage"