]> Creatis software - clitk.git/commitdiff
Change default (bug): CCLSelection is off by default (we do not consider a single...
authordsarrut <david.sarrut@gmail.com>
Tue, 12 Jul 2011 06:11:14 +0000 (08:11 +0200)
committerdsarrut <david.sarrut@gmail.com>
Tue, 12 Jul 2011 06:11:14 +0000 (08:11 +0200)
itk/clitkSliceBySliceRelativePositionFilter.txx

index 76b0fec9cb35281aa8b8860a1f30313c1902013a..f2452d872ad2258528c20301f0515f606648e323 100644 (file)
@@ -37,7 +37,7 @@ SliceBySliceRelativePositionFilter():
   this->VerboseStepFlagOff();
   this->WriteStepFlagOff();
   this->SetCombineWithOrFlag(false);
-  CCLSelectionFlagOn();
+  CCLSelectionFlagOff();
   SetCCLSelectionDimension(0);
   SetCCLSelectionDirection(1);
   CCLSelectionIgnoreSingleCCLFlagOff();
@@ -222,7 +222,7 @@ GenerateOutputInformation()
                                                                    true);
           }
         }
-      }
+      } // end GetCCLSelectionFlag = true
 
       // Relative position
       typedef clitk::AddRelativePositionConstraintToLabelImageFilter<SliceType> RelPosFilterType;