From 599c36544831ae29ea4d15d552c6d25a98b2e0a2 Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Wed, 28 Jan 2009 11:35:06 +0100
Subject: [PATCH] ENH : CountImageFilter

---
 Code/BasicFilters/otbCountImageFilter.txx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Code/BasicFilters/otbCountImageFilter.txx b/Code/BasicFilters/otbCountImageFilter.txx
index cb9363f911..016674514e 100644
--- a/Code/BasicFilters/otbCountImageFilter.txx
+++ b/Code/BasicFilters/otbCountImageFilter.txx
@@ -79,9 +79,7 @@ CountImageFilter<TInputImage, TDetector, TCount, TOutputImage >
     while(!itInput.IsAtEnd() && !itOutput.IsAtEnd())
       {
 	IndexType index = itInput.GetIndex();
-	//std::cout <<"Index "<< index <<std::endl;
-	float value = 0.;//m_CountImageFunction->EvaluateAtIndex(index); 
-	itOutput.Set(value);
+	itOutput.Set(m_CountImageFunction->EvaluateAtIndex(index));
 	
 	++itInput;
 	++itOutput;
-- 
GitLab