Page MenuHomePhabricator

Image statistics view does not work
Closed, ResolvedPublic

Description

No image can be selected

Event Timeline

Can you explain how to reproduce this? We tried it on a fresh Superbuild of the latest master today and it worked as expected.
@kalali @kahl

I just tested it with a random 3D image. The view simply doesn't do anything. Maybe linux specific?

This is related to T23885. The methods Visible(), Hidden(), Activated() and Deactivated() are never entered, which causes m_Visible to always be false and successively a never entered SelectionChanged method.

hentsch added a project: Restricted Project.Jan 5 2018, 8:47 AM

I tried it now with the current master using Ubuntu 16.04.
I am able to load a test DICOM image, calculate and visualize the image statistics and step into the four mentioned methods.

However, currently, when using MITK on windows, I get the error mentioned in T24011

I'm not sure if this is in any way related to this problem but I thought it might be worth mentioning.

Apparently it depends on the activated plugins if the problem occurs. I tested a new superbuild with enabled measurement plugin (no additional plugins) and everything worked fine. As soon as org_mitk_gui_qt_diffusionimaging_tractography was enabled, the problem occurred again, even if no view included in tthe tractography plugin was activated.

The issue is caused by "set(Plugin-ActivationPolicy "eager")", independent of the plugin in which the line occurs. It works fine for the planar figure plugin, maybe because this plugin does not use Qt/contains no views?

kislinsk triaged this task as Normal priority.Jan 18 2018, 12:50 PM

The new image statistics view has been added by @hentsch. It can be opened with the statistics+star icon. It uses QmitkImageStatisticsReloadedView which does not contain any m_visible variable anymore.
@neher Could you recheck your problem?

floca claimed this task.
floca added a subscriber: floca.

Should not be a problem any mor in the new plugin.