Page MenuHomePhabricator

Segmentation through interpolation of PlanarFigures
Closed, ResolvedPublic

Description

There should be a InterpolationController that offers the possibility to create binary segmentations by interpolating a set of closed PlanarFigures.

Internally, the already existing class CreateDistanceImageFromSurfaceFilter can be used to create the actual interpolation.

Event Timeline

New remote branch pushed: bug-15439-planarfigure-interpolation-segmentation

I have added a new class PlanarFigureSegmentationController taht is given a number of closed PlanarFigures, creates surfaces from them and uses a CreateDistanceImageFromSurfaceFilter internally to create a interpolation of the figures.

This interpolation is created in form of a "distance-image" that is transformed into a binary image.

The whole class works similar to the SurfaceInterpolationController that is already used in MITK.

Furthermore, the changes made in this branch also fix the false interpolation on rotated MRI images (T13992) as well as a memory-leak that is described in T14442 .

The branch already contains the changes made in T13091 and should integrate into MITK master quite well.

As this branch fixed T13992 it should be considered to take it into the upcoming release. Andreas, can you check that?

This bug could not be fixed for release 2013-06. Setting target milestone to next release

[7b1ff3]: Merge branch 'bug-15439-planarfigure-interpolation-segmentation'

Merged commits:

2013-06-25 14:01:55 Markus Engel [296b75]
removed duplicate definition of typedef


2013-06-20 13:14:42 Markus Engel [0d599d]
setting reference image to m_InterpolateSurfaceFilter and use ImageToSurfaceFilter instead of MarchingCubes


2013-06-20 16:28:16 Markus Engel [df7518]
commented code that uses deprecated ITK methods


2013-06-20 14:36:34 Markus Engel [3fff8c]
Merge branch 'bug-13091-wrong-3d-interpolation-result' into personal/engelm/correct-interpolation-on-rotated-images

Conflicts:
Modules/Segmentation/Algorithms/mitkCreateDistanceImageFromSurfaceFilter.cpp
Modules/Segmentation/Algorithms/mitkCreateDistanceImageFromSurfaceFilter.h


2013-06-20 14:30:40 Markus Engel [af4386]
removed commented code and unnecessary includes


2013-06-20 13:21:45 Markus Engel [5dd630]
corrected handling of rotated images in the interpolation


2013-06-20 13:21:03 Markus Engel [db69a4]
added possibility to PlanarFigureMapper to draw the figure dashed


2013-06-20 13:20:43 Markus Engel [8519c6]
added new module PlanarFigureSegmentation and PlanarFigureSegmentationController

OK, thanks for the merge!

I think this bug can be closed then...