diff --git a/Testing/Code/Radiometry/CMakeLists.txt b/Testing/Code/Radiometry/CMakeLists.txt index 8c498afa414d44ebfb0ee0558c35daad931dda9f..1d0641deb4a1bd17210aa2c821e095562367d009 100755 --- a/Testing/Code/Radiometry/CMakeLists.txt +++ b/Testing/Code/Radiometry/CMakeLists.txt @@ -415,13 +415,13 @@ ADD_TEST(raTuSurfaceAdjencyEffect6SCorrectionSchemeFilter ${RADIOMETRY_TESTS} --compare-image ${EPSILON} ${BASELINE}/raTvSurfaceAdjencyEffect6SCorrectionSchemeFilter.tif ${TEMP}/raTvSurfaceAdjencyEffect6SCorrectionSchemeFilter.tif otbSurfaceAdjencyEffect6SCorrectionSchemeFilter - ${BASELINE}/raTvRomania_Corrected.tif + ${BASELINE}/raTvRomania_Correction.tif ${TEMP}/raTvSurfaceAdjencyEffect6SCorrectionSchemeFilter.tif 1 # Radius; 0.020 # pixel spacing in kilometers ${INPUTDATA}/testRomania.txt # atmo param; ${INPUTDATA}/RADIO_WAVELENGHT_SPECTRAL_BAND_SPOT4_1_B3.txt # wavelenghts, channel 3 - ${INPUTDATA}/RADIO_WAV ELENGHT_SPECTRAL_BAND_SPOT4_1_B2.txt # wavelenghts, channel 2 + ${INPUTDATA}/RADIO_WAVELENGHT_SPECTRAL_BAND_SPOT4_1_B2.txt # wavelenghts, channel 2 ${INPUTDATA}/RADIO_WAVELENGHT_SPECTRAL_BAND_SPOT4_1_B1.txt # wavelenghts, channel 1 ${INPUTDATA}/RADIO_WAVELENGHT_SPECTRAL_BAND_SPOT4_1_MIR.txt # wavelenghts, channel 4 ) diff --git a/Testing/Code/Radiometry/otbSurfaceAdjencyEffect6SCorrectionSchemeFilter.cxx b/Testing/Code/Radiometry/otbSurfaceAdjencyEffect6SCorrectionSchemeFilter.cxx index 846bc7694c92ce526f57f20b8293fc643057a6c8..5e140b8c6bfa2040a035967d29257919c933e3c0 100644 --- a/Testing/Code/Radiometry/otbSurfaceAdjencyEffect6SCorrectionSchemeFilter.cxx +++ b/Testing/Code/Radiometry/otbSurfaceAdjencyEffect6SCorrectionSchemeFilter.cxx @@ -74,6 +74,7 @@ int otbSurfaceAdjencyEffect6SCorrectionSchemeFilter(int argc, char * argv[]) for(unsigned int i=0; i<nbChannel; i++) { wavelenghFiles.push_back( argv[i+6] ); + std::cout<<argv[i+6]<<std::endl; } ValueType val = 0.0025; @@ -121,17 +122,17 @@ int otbSurfaceAdjencyEffect6SCorrectionSchemeFilter(int argc, char * argv[]) param->SetAerosolOptical(static_cast<double>(aerosolOptical)); - std::cout<<"SetSolarZenithalAngle"<<param->GetSolarZenithalAngle()<<std::endl; - std::cout<<"SetSolarAzimutalAngle"<<param->GetSolarAzimutalAngle()<<std::endl; - std::cout<<"SetViewingZenithalAngle"<<param->GetViewingZenithalAngle()<<std::endl; - std::cout<<"SetViewingAzimutalAngle"<<param->GetViewingAzimutalAngle()<<std::endl; - std::cout<<"SetMonth"<<param->GetMonth()<<std::endl; - std::cout<<"SetDay"<<param->GetDay()<<std::endl; - std::cout<<"SetAtmosphericPressure"<<param->GetAtmosphericPressure()<<std::endl; - std::cout<<"SetWaterVaporAmount"<<param->GetWaterVaporAmount()<<std::endl; - std::cout<<"SetOzoneAmount"<< param->GetOzoneAmount()<<std::endl; - std::cout<<"SetAerosolModel"<<param->GetAerosolModel()<<std::endl; - std::cout<<"SetAerosolOptical"<<param->GetAerosolOptical()<<std::endl; + std::cout<<"SetSolarZenithalAngle: "<<param->GetSolarZenithalAngle()<<std::endl; + std::cout<<"SetSolarAzimutalAngle: "<<param->GetSolarAzimutalAngle()<<std::endl; + std::cout<<"SetViewingZenithalAngle: "<<param->GetViewingZenithalAngle()<<std::endl; + std::cout<<"SetViewingAzimutalAngle: "<<param->GetViewingAzimutalAngle()<<std::endl; + std::cout<<"SetMonth: "<<param->GetMonth()<<std::endl; + std::cout<<"SetDay: "<<param->GetDay()<<std::endl; + std::cout<<"SetAtmosphericPressure: "<<param->GetAtmosphericPressure()<<std::endl; + std::cout<<"SetWaterVaporAmount: "<<param->GetWaterVaporAmount()<<std::endl; + std::cout<<"SetOzoneAmount: "<< param->GetOzoneAmount()<<std::endl; + std::cout<<"SetAerosolModel: "<<param->GetAerosolModel()<<std::endl; + std::cout<<"SetAerosolOptical: "<<param->GetAerosolOptical()<<std::endl; ValuesVectorType vect; for(unsigned int j=0; j<nbChannel; j++)