Page MenuHomePhabricator

Statics Bundle - Histogram not working
Closed, ResolvedPublic

Description

The histogram in the Statistics bundle is not working. It is either completly black or completly white.

Additionally it messes up the mbi@dkfz logo (seems like it is deactivating the antialiasing)

Event Timeline

the messed up logo might be somehow connected with T8188

Problem does NOT appear under Linux

The problem is most probably inside the widget!
In QmitImageStatisticsView.cpp line 642
"m_Controls->m_HistogramWidget->UpdateItemModelFromHistogram();"

the histogram, which is apparently calculated correctly, should be plotted here. Further investigation should stat at that position.

Could possibly be a bug in VTK, ITK or QT as well ..

Merging "applicazion modules" component with "ExtApp plugins"

Resetting all bugs without active assignee flag to "CONFIRMED". Change status to IN_PROGRESS if you are working on it.

Basti, do you still work on that one? We need it in a working condition very soon!

I am not working on that one atm.
But really needs to be done, since Histogram is a must-have.

The Histogram of the Imagestatistics was not working, because the VTK cmake flag VTK_USE_QVTK_QTOPENGL was on ON. It forced the vtkQtChartArea class to use QT OpenGL rendering, which conflicted with the normal OpenGL rendering in the vtkRenderWindow.

Since we dont require VTK_USE_QVTK_QTOPENGL anywhere, we are preliminary turning it off, and are looking for other side effects.

[926e33]: Merge branch 'bug-8320-HistogramNotWorking'

Merged commits:

2011-08-17 15:54:51 Diana Wald [565627]
Set VTK_USE_QVTK_QTOPENGL off by default

[70ab20]: Merge branch 'bug-8320-DoNotUseOPENGLinVTK'

Merged commits:

2011-08-24 14:42:41 Diana Wald [0de75b]
Set DVTK_USE_QVTK_QTOPENGL:BOOL=OFF under ${vtk_QT_ARGS} to make it work