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"
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"
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