diff --git a/Code/BasicFilters/otbCountImageFilter.txx b/Code/BasicFilters/otbCountImageFilter.txx index cb9363f91120af4e764f574cf03420a8e60be58d..016674514e274dcf4546fb6d5428ec1f62058677 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;