]> Creatis software - clitk.git/commitdiff
Correct bug to compute 2NotIn1
authorDavid Sarrut <david.sarrut@gmail.com>
Fri, 3 Feb 2012 06:57:12 +0000 (07:57 +0100)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Thu, 31 Jan 2013 13:59:12 +0000 (14:59 +0100)
itk/clitkLabelImageOverlapMeasureFilter.txx

index 9a422a40793cef337a3aa8e1f017ebab215f5293..037570916b0346be55ed56ff47cf1988485db821 100644 (file)
@@ -99,10 +99,12 @@ GenerateData()
   clitk::AndNot<ImageType>(image_1NotIn2, input2, GetBackgroundValue());
   
   ImagePointer image_2NotIn1 = clitk::Clone<ImageType>(input2);
-  clitk::AndNot<ImageType>(image_1NotIn2, input1, GetBackgroundValue());
+  clitk::AndNot<ImageType>(image_2NotIn1, input1, GetBackgroundValue());
 
   //writeImage<ImageType>(image_union, "union.mha");
   //writeImage<ImageType>(image_intersection, "intersection.mha");
+  //writeImage<ImageType>(image_1NotIn2, "image_1NotIn2.mha");
+  //writeImage<ImageType>(image_2NotIn1, "image_2NotIn1.mha");
   
   // Compute size
   typedef itk::LabelStatisticsImageFilter<ImageType, ImageType> StatFilterType;