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)
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)
Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | None | T3067 Extend ImageStatistics with line profile widget | ||
Resolved | None | T8320 Statics Bundle - Histogram not working |
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 ..
Resetting all bugs without active assignee flag to "CONFIRMED". Change status to IN_PROGRESS if you are working on it.
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'
2011-08-17 15:54:51 Diana Wald [565627]
Set VTK_USE_QVTK_QTOPENGL off by default
[70ab20]: Merge branch 'bug-8320-DoNotUseOPENGLinVTK'
2011-08-24 14:42:41 Diana Wald [0de75b]
Set DVTK_USE_QVTK_QTOPENGL:BOOL=OFF under ${vtk_QT_ARGS} to make it work