From: David Sarrut Date: Fri, 3 Feb 2012 06:57:12 +0000 (+0100) Subject: Correct bug to compute 2NotIn1 X-Git-Tag: v1.4.0~251 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a9ed6e12f88c58c51aae8194f0de24e8f467494a;p=clitk.git Correct bug to compute 2NotIn1 --- diff --git a/itk/clitkLabelImageOverlapMeasureFilter.txx b/itk/clitkLabelImageOverlapMeasureFilter.txx index 9a422a4..0375709 100644 --- a/itk/clitkLabelImageOverlapMeasureFilter.txx +++ b/itk/clitkLabelImageOverlapMeasureFilter.txx @@ -99,10 +99,12 @@ GenerateData() clitk::AndNot(image_1NotIn2, input2, GetBackgroundValue()); ImagePointer image_2NotIn1 = clitk::Clone(input2); - clitk::AndNot(image_1NotIn2, input1, GetBackgroundValue()); + clitk::AndNot(image_2NotIn1, input1, GetBackgroundValue()); //writeImage(image_union, "union.mha"); //writeImage(image_intersection, "intersection.mha"); + //writeImage(image_1NotIn2, "image_1NotIn2.mha"); + //writeImage(image_2NotIn1, "image_2NotIn1.mha"); // Compute size typedef itk::LabelStatisticsImageFilter StatFilterType;