Page MenuHomePhabricator

Statistics / Histogram tool for segmentations
Closed, ResolvedPublic

Description

The segmentation module should have a nice display for grayvalue statistics, most of all including a qwt histogram of grayvalues.

Event Timeline

This will be implemented as a separate module which displays statistics about the currently selected image (or image region, masked image, etc.). See wiki specification page for details.

My last comment must have landed somewhere else.. there already is a piece of code that creates a "show statistics" context menu for segmentations (QmitkSegmentationView.cpp, in QmitkSegmentationView::ImageStatistics(bool) ). Mathias and I agreed that this should be used to bring up the view described in the specification page.

The existing module "ImageStatistics " (currently closed source) already provides many of the features requested here. Based on a discussion with Klaus, this module will be extended with histogram widget, curve profile widget and further masking options, and will then be ported to open source MITK.

[SVN revision 20035]
ENH (#2674): Added new class for calculating statistics and histogram of masked images

[SVN revision 20036]
ENH (#2674): New version of QmitkImageStatistics which includes the new QmitkVtkHistogramWidget and reduced some of the previous existant functions for the sake of a simple GUI.

The functions currently disabled (in particular, multi-image statistics and reporting of min/max indices) should be re-integrated / re-enabled in future versions of this tool. Possibly, an expert mode would offer an extended GUI with features such as multi-image statistics.

[SVN revision 20037]
COMP (#2674): Added missing typename declarations

[SVN revision 20038]
COMP (#2674): Changed include file name to case-sensitive

[SVN revision 20145]
FIX (#2674): Corrected recognition of mask images

[SVN revision 20147]
FIX (#2674): Display name of mask, not name of class for mask images

[SVN revision 20208]
ENH (#2674): Made histogram widget and statistics bundle GUI more compact

[SVN revision 20211]
COMP (#2674): use case-sensitive include file name

[SVN revision 20299]
ENH (#2674): Use new icon for image statistics view

[SVN revision 20307]
FIX (#2674): Correct PlanarFigure conversion from 2D world to 3D world coordinates in ImageStatistics (used to be 2D index coordinates); extended error handling

[SVN revision 20321]
ENH (#2674): Statistics and histogram are automatically updated when Image, Image Mask or PlanarFigure change (added listeners)

[SVN revision 20329]
ENH (#2674): Proper clean-up of GUI when no dataset is selected or statistics cannot be computed

[SVN revision 20331]
ENH (#2674): Made GUI more contact by moving buttons around

[SVN revision 20381]
ENH (#2674): Added progress bar update; improved handling of statistics updates and memory clean-up

[SVN revision 20385]
FIX (#2674): Avoid crash at application shutdown by disabling unused internal event connections

Basic features working. Future extensions will be document in different bugs.

Closing bug.