From: srit Date: Fri, 4 Mar 2011 23:55:00 +0000 (+0000) Subject: MSVC++ was complaining of shadowed default parameters. X-Git-Tag: v1.2.0~196 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=88b91aa3b3d43bb047dc2fe9637e4361405b3d38;p=clitk.git MSVC++ was complaining of shadowed default parameters. --- diff --git a/itk/clitkSegmentationUtils.txx b/itk/clitkSegmentationUtils.txx index 9b226b2..42ddc47 100644 --- a/itk/clitkSegmentationUtils.txx +++ b/itk/clitkSegmentationUtils.txx @@ -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 BinaryThresholdFilterType; typename BinaryThresholdFilterType::Pointer binarizeFilter = BinaryThresholdFilterType::New();