Page MenuHomePhabricator

Extension of Texture Analysis Parameter
Closed, ResolvedPublic

Description

In this branch the following statistical coefficients will be implemented
for the masked and umasked case:

  1. Entropy
  2. Uniformity
  3. UPP
  4. MPP

For the masked Image the class mitkExtendedLabelStatisticsImageFilter will be extended.
The coefficients Entropy,Uniformity,UPP will be calculated in ComputeEntropyUniformityAndUPP(). This coefficients depends on the calculated histogram.
MPP will be calculated togehter with the Kurtosis and Skewness in the method ComputeSkewnessKurtosisAndMPP()

For the unmasked case the class mitkExtendedStatisticsImageFilter will be extended.
The coefficients Entropy,Uniformity,UPP will be calculated in ComputeEntropyUniformityAndUPP().
MPP will be calculated togehter with the Kurtosis and Skewness in the method ComputeSkewnessKurtosisAndMPP().

Thorugh the calculation for the hisotgram in the mitkExtendedStatisticsImageFilter it is no longer necessary to calculate this in the mitkImageStatisticsCalculator.

On top of that the MitkImageStatisticsTestDriver will be extended for the four new coefficients. The Method will be called:
masked case: TestofEntropyUniformityAndUppForMaskedImages
unmasked case: TestofEntropyUniformityAndUppForUnmaskedImages

And
masked case:TestofEntropyUniformityAndUppForMaskedImages
unmasked case:TestofEntropyUniformityAndUppForUnmaskedImages

Event Timeline

User muellert has pushed new remote branch:

bug-19018-extension-of-Texture-Analysis-Parameter

User engelm has pushed new remote branch:

bug-19018-extension-of-Texture-Analysis-Parameter-rebased

User engelm has pushed new remote branch:

bug-19018-extension-of-textureanalysis-updated-again

Same as 18255: Is this also integrated into the Statistics view? :)

Yes:) . We first implement the skewness and kurtosis.
And Entropy,Uniformity,UPP and MPP afterwards.
Thanks a lot
Thorge

Hi Stefan,
i have integrated the Texture Analysis feature to the Workbench and it works.
Bug branch 18255 is automatically in the Workbench too!

I have also introduce a new bool flag in the ImageStatisticsCalcualtor.
Because MITK uses the whole Image for the min and max of the Histogram and
we need only for the segmented image. it looks not so nice but i havent got a different solution for this problem.

Thorge

Thank you, Thorge. So far, I found two issues:

(1) The "Copy to Clipboard" Button doesn't include the new measurements

(2) In some places you compare two double values (like old value vs. new value) by using the == operator, which will work way less than it seems on the first glance due to rounding errors. Please replace these comparisons with something like:

std::abs(value1 - value2) < mitk::eps

Both issues have been implemented:)

Is there anything to do for this ticket?

User kolbch has pushed new remote branch:

bug-19018-FixCompilerErrors

[b145eb]: Merge branch 'bug-19018-FixCompilerErrors'

Merged commits:

2015-11-01 16:13:06 Christoph Kolb [efa586]
COMP: added missing this, include and removed unnecessary typename

Integration into master completed.