From 61ef5d3beb7f1ee1bd8544941b6e78540a551d4a Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org>
Date: Mon, 11 Jun 2012 10:29:03 +0200
Subject: [PATCH] ENH:log median filter computation

---
 Applications/DisparityMap/otbBlockMatching.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Applications/DisparityMap/otbBlockMatching.cxx b/Applications/DisparityMap/otbBlockMatching.cxx
index 91ced02325..8435d010cf 100644
--- a/Applications/DisparityMap/otbBlockMatching.cxx
+++ b/Applications/DisparityMap/otbBlockMatching.cxx
@@ -677,6 +677,7 @@ private:
 
     if (IsParameterEnabled("bm.medianfilter.radius") && IsParameterEnabled("bm.medianfilter.incoherence"))
       {
+      GetLogger()->Info("Applies a median filter to smooth the disparity map" + '\n');
       if (minhdisp < maxhdisp)
         {
         m_HMedianFilter->SetInput(hdispImage);
-- 
GitLab