Page MenuHomePhabricator

SegmentationInterpolationTest fails
Closed, ResolvedPublic

Description

SegmentationInterpolationTest failes for the second slice. It seems that the reslice plane is not updated correctly as the slice bounds stay the same. We've already checked QmitkSlicesInterpolator and here it works fine. So in mitkWorkbench everything is updated as expected.

Event Timeline

Reason was a bug in the SegmentationInterpolationController which occurred during the ITK4 migration. This bug is fixed but the test has to be adapted.

The test is rather antiquated and should be replaced by a new one:

  • using cppunit
  • not making direct image access but using the accessors

User petersej has pushed new remote branch:

bug-15041-SegmentationInterpolationTest

Moved test code to bug-19275, because interpolation is fixed there. Test still not working, because some pixels are different wrt. saved test image

Interpolation works on current master, merged master into topic branch