From 93d89c6c14cd5fc2e22f9ea37bcd6aeb55324abd Mon Sep 17 00:00:00 2001 From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org> Date: Mon, 22 Apr 2013 15:56:42 +0200 Subject: [PATCH] ENH: spectral sentivity values are read by ReflectanceToSurfaceReflectanceFilter --- Applications/Radiometry/otbOpticalCalibration.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Applications/Radiometry/otbOpticalCalibration.cxx b/Applications/Radiometry/otbOpticalCalibration.cxx index 3f86ac0f9f..c604cdf513 100644 --- a/Applications/Radiometry/otbOpticalCalibration.cxx +++ b/Applications/Radiometry/otbOpticalCalibration.cxx @@ -273,10 +273,6 @@ private: { m_ReflectanceToSurfaceReflectanceFilter->SetFilterFunctionValuesFileName(GetParameterString("rsr")); } - else - { - m_ReflectanceToSurfaceReflectanceFilter->SetFilterFunctionCoef(lImageMetadataInterface->GetSpectralSensitivity()); - } // Aeronet file if (IsParameterEnabled("atmo.aeronet")) @@ -297,7 +293,7 @@ private: AtmosphericRadiativeTerms::Pointer atmoTerms = m_ReflectanceToSurfaceReflectanceFilter->GetAtmosphericRadiativeTerms(); oss << std::endl << std::endl << atmoTerms; - //GetLogger()->Info("Atmospheric correction parameters : " + oss.str()); + GetLogger()->Debug("Atmospheric correction parameters : " + oss.str()); //Compute adjacency effect // m_SurfaceAdjacencyEffect6SCorrectionSchemeFilter -- GitLab