X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkSegmentationUtils.txx;h=6171030d9109807f0c2d2a9cf80782087c7c8279;hb=260f7d2505096b3234faf09209ff227f5eeddafd;hp=24ca5194853595a1ac2b815aeeee60533f5412e1;hpb=9bbc85952f563dc766b73a864a5ccc0da5a6a654;p=clitk.git diff --git a/itk/clitkSegmentationUtils.txx b/itk/clitkSegmentationUtils.txx index 24ca519..6171030 100644 --- a/itk/clitkSegmentationUtils.txx +++ b/itk/clitkSegmentationUtils.txx @@ -1371,6 +1371,7 @@ namespace clitk { iter2.GoToBegin(); double dmin = 100000.0; typename ImageType::IndexType indexmin; + indexmin.Fill(0); while (!iter1.IsAtEnd()) { if (iter1.Get() != BG) { double d = iter2.Get();