]> Creatis software - clitk.git/commitdiff
MSVC++ was complaining of shadowed default parameters.
authorsrit <srit>
Fri, 4 Mar 2011 23:55:00 +0000 (23:55 +0000)
committersrit <srit>
Fri, 4 Mar 2011 23:55:00 +0000 (23:55 +0000)
itk/clitkSegmentationUtils.txx

index 9b226b25bac46543891b8652fff5d12e52eaf872..42ddc4759867b1231016ca847ade9c65d403068b 100644 (file)
@@ -831,8 +831,8 @@ namespace clitk {
   Binarize(const ImageType * input, 
            typename ImageType::PixelType lower, 
            typename ImageType::PixelType upper, 
-           typename ImageType::PixelType BG=0,
-           typename ImageType::PixelType FG=1
+           typename ImageType::PixelType BG,
+           typename ImageType::PixelType FG) 
   {
     typedef itk::BinaryThresholdImageFilter<ImageType, ImageType> BinaryThresholdFilterType;
     typename BinaryThresholdFilterType::Pointer binarizeFilter = BinaryThresholdFilterType::New();