HomePhabricator
Diffusion MITK 5127b2231ad3

Fix ImageToContourFilter for arbitrary contour values

Description

Fix ImageToContourFilter for arbitrary contour values

The filter did not produce uniform results for different contour values.

The values of the mask that is created for the input image are now
always set to 0 and 1 independent of the contour value, which results
in uniform behavior of the contour extration filter.

Details

Provenance
kislinskAuthored on Mar 3 2023, 12:17 PM
kislinskPushed on Mar 3 2023, 12:18 PM
Differential Revision
Restricted Differential Revision
Parents
rMITK098a48f8c263: Fix ImageToContourFilterTest
Branches
Unknown
Tags
Unknown
Tasks
T29473: mitkImageToContourFilterTest and mitkSurfaceInterpolationControllerTest fail with new segmentation interpolation