Page MenuHomePhabricator | MITK

Image statistics view does not work
Open, NormalPublic


No image can be selected

Event Timeline

neher created this task.Dec 18 2017, 3:24 PM

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

neher added a comment.Jan 3 2018, 1:30 PM

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

neher added a comment.Jan 3 2018, 2:30 PM

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.

hettich added a subscriber: hettich.Jan 3 2018, 3:13 PM
hentsch added a project: Restricted Project.Jan 5 2018, 8:47 AM
kalali added a comment.Jan 5 2018, 5:38 PM

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.

neher added a comment.Jan 8 2018, 2:45 PM

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.

neher added a comment.Jan 9 2018, 11:49 AM

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
kalali added a subscriber: hentsch.Mar 1 2019, 9:38 AM

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?