From: dsarrut Date: Wed, 25 May 2011 06:04:21 +0000 (+0200) Subject: remove comments X-Git-Tag: v1.3.0~338^2~17 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4e3f0a4b3b15c54dd8c1cda766178c8f123b6951;p=clitk.git remove comments --- diff --git a/itk/clitkSegmentationUtils.txx b/itk/clitkSegmentationUtils.txx index 36594aa..f7b897e 100644 --- a/itk/clitkSegmentationUtils.txx +++ b/itk/clitkSegmentationUtils.txx @@ -511,7 +511,6 @@ namespace clitk { typename ImageType::PointType dummy; centroids.push_back(dummy); // label 0 -> no centroid, use dummy point for BG //DS FIXME (not useful ! to change ..) - DD(labelMap->GetNumberOfLabelObjects()); for(uint i=0; iGetNumberOfLabelObjects(); i++) { int label = labelMap->GetLabels()[i]; centroids.push_back(labelMap->GetLabelObject(label)->GetCentroid()); @@ -1061,21 +1060,17 @@ namespace clitk { typedef typename itk::Image SliceType; std::vector slices; clitk::ExtractSlices(input, d, slices); - DD(slices.size()); // Labelize and keep the main one std::vector o; for(uint i=0; i(slices[i], BG, false, 1)); o[i] = clitk::KeepLabels(o[i], BG, FG, 1, 1, true); } // Join slices - DD("join"); typename ImageType::Pointer output; output = clitk::JoinSlices(o, input, d); - DD("return"); return output; } //--------------------------------------------------------------------