Page MenuHomePhabricator

MitkCLGlobalImageFeatures miscalculates DifferenceVariance texture feature
Closed, WontfixPublic

Description

When run, the output of this feature is always 0. I found a typo in file "Modules/Classification/CLUtilities/include/itkEnhancedHistogramToTextureFeaturesFilter.hxx", line 257:

sumVariance += (i-diffAverage)*(i-diffAverage) * frequency;

should be corrected to

diffVariance += (i-diffAverage)*(i-diffAverage) * frequency;

Turns out the DifferenceVariance value was never calculated in the first place (and sumVariance is also wrong, as the diffVariance calculation was added to it instead).

Event Timeline

kislinsk removed goetzm as the assignee of this task.
kislinsk triaged this task as Normal priority.
kislinsk added a project: Restricted Project.
kislinsk added a subscriber: goetzm.
kislinsk claimed this task.
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs

kislinsk removed kislinsk as the assignee of this task.May 26 2020, 12:05 PM
kislinsk removed a subscriber: kislinsk.