From a9ed6e12f88c58c51aae8194f0de24e8f467494a Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 3 Feb 2012 07:57:12 +0100 Subject: [PATCH] Correct bug to compute 2NotIn1 --- itk/clitkLabelImageOverlapMeasureFilter.txx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.47.1