diff --git a/include/otbSARCompensatedComplexImageFilter.txx b/include/otbSARCompensatedComplexImageFilter.txx index eb2044449b074aeb930c2cb9e2b6ef5796044f8f..6e6ce1cb844e269951b0d849fc7b1902647eba45 100644 --- a/include/otbSARCompensatedComplexImageFilter.txx +++ b/include/otbSARCompensatedComplexImageFilter.txx @@ -29,8 +29,6 @@ #include "itkNumericTraitsPointPixel.h" #include "itkContinuousIndex.h" -#include "ossim/ossimSarSensorModel.h" - #include <cmath> #include <algorithm> diff --git a/include/otbSARESDOffsetsImageFilter.h b/include/otbSARESDOffsetsImageFilter.h index 17b095003bcea617465d141f166c256a292d1312..fcd00efe470f3e581422266ea57fc28d45f4d98b 100644 --- a/include/otbSARESDOffsetsImageFilter.h +++ b/include/otbSARESDOffsetsImageFilter.h @@ -29,25 +29,7 @@ #include "itkImageScanlineIterator.h" #include "otbImageKeywordlist.h" -#include "otbSarSensorModelAdapter.h" -#if defined(__GNUC__) || defined(__clang__) -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wunused-parameter" -# pragma GCC diagnostic ignored "-Woverloaded-virtual" -# pragma GCC diagnostic ignored "-Wshadow" -# include "ossim/ossimTimeUtilities.h" - -# pragma GCC diagnostic pop - -#else -# include "ossim/ossimTimeUtilities.h" -#endif - -#if defined(USE_BOOST_TIME) -# include <boost/date_time/posix_time/posix_time.hpp> -#include <ostream> -#endif namespace otb { @@ -102,50 +84,6 @@ public: typedef itk::ImageScanlineConstIterator< ImageType > InputIterator; typedef itk::ImageScanlineIterator< ImageType > OutputIterator; -#if defined(USE_BOOST_TIME) - typedef boost::posix_time::ptime TimeType; - typedef boost::posix_time::precise_duration DurationType; -#else - typedef ossimplugins::time::ModifiedJulianDate TimeType; - typedef ossimplugins::time::Duration DurationType; -#endif - - // Struture declaration - struct FMRateRecordType - { - TimeType azimuthFMRateTime; - double coef0FMRate; - double coef1FMRate; - double coef2FMRate; - double tau0FMRate; - friend std::ostream & operator<<(std::ostream & os, const FMRateRecordType & v) - { - return os << "{ azimuthFMRateTime: " << v.azimuthFMRateTime - << ", coefficient 0: " << v.coef0FMRate - << ", coefficient 1: " << v.coef1FMRate - << ",coefficient 2: " << v.coef2FMRate - << ",slant range time (tau 0): " << v.tau0FMRate - << "}"; -} -}; - - struct DCFRecordType - { - TimeType azimuthDCFTime; - double coef0DCF; - double coef1DCF; - double coef2DCF; - double tau0DCF; - friend std::ostream & operator<<(std::ostream & os, const DCFRecordType & v) - { - return os << "{ azimuthDCFTime: " << v.azimuthDCFTime - << ", coefficient 0: " << v.coef0DCF - << ", coefficient 1: " << v.coef1DCF - << ",coefficient 2: " << v.coef2DCF - << ",slant range time (tau 0): " << v.tau0DCF - << "}"; -} -}; // Setter itkSetMacro(PhaseDiffMean, float); diff --git a/include/otbSARESDOffsetsImageFilter.txx b/include/otbSARESDOffsetsImageFilter.txx index 2cfdd78c5c0240cbd566bbfc0977afe3b179d5ec..cb16b7a81ba02c4d131653b04097208a58e4d364 100644 --- a/include/otbSARESDOffsetsImageFilter.txx +++ b/include/otbSARESDOffsetsImageFilter.txx @@ -28,19 +28,9 @@ #include "itkProgressReporter.h" #include "itkNumericTraitsPointPixel.h" -#include "otbSarSensorModelAdapter.h" - #include <cmath> #include <algorithm> -#if defined(USE_BOOST_TIME) -using boost::posix_time::microseconds; -using boost::posix_time::seconds; -#else -using ossimplugins::time::microseconds; -using ossimplugins::time::seconds; -#endif - namespace otb { /** diff --git a/include/otbSARInterferogramImageFilter.txx b/include/otbSARInterferogramImageFilter.txx index 67b9691c6ea84b679630bb4ba9867ef659f3af67..3d54165ef94341260b8d86ae29fefe65e0a327c7 100644 --- a/include/otbSARInterferogramImageFilter.txx +++ b/include/otbSARInterferogramImageFilter.txx @@ -29,8 +29,6 @@ #include "itkNumericTraitsPointPixel.h" #include "itkContinuousIndex.h" -#include "ossim/ossimSarSensorModel.h" - #include <cmath> #include <algorithm> diff --git a/include/otbSARTopographicPhaseImageFilter.txx b/include/otbSARTopographicPhaseImageFilter.txx index e6f2838273a4a33b763758f9a9afd642e9498164..f8ab22615c3c3ea4791234fec9575b5a37cb26ea 100644 --- a/include/otbSARTopographicPhaseImageFilter.txx +++ b/include/otbSARTopographicPhaseImageFilter.txx @@ -28,8 +28,6 @@ #include "itkProgressReporter.h" #include "itkNumericTraitsPointPixel.h" -#include "ossim/ossimSarSensorModel.h" - #include <cmath> #include <algorithm> diff --git a/include/otbSARUpdateMetadataImageFilter.h b/include/otbSARUpdateMetadataImageFilter.h index 1784d496d7641209e94f3b33fe51a8bb7564aa0f..9786a23c4c45ced26b850385eece7c3fd74e2175 100644 --- a/include/otbSARUpdateMetadataImageFilter.h +++ b/include/otbSARUpdateMetadataImageFilter.h @@ -29,25 +29,6 @@ #include "itkImageScanlineIterator.h" #include "otbImageKeywordlist.h" -#include "otbSarSensorModelAdapter.h" - -#if defined(__GNUC__) || defined(__clang__) -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wunused-parameter" -# pragma GCC diagnostic ignored "-Woverloaded-virtual" -# pragma GCC diagnostic ignored "-Wshadow" -# include "ossim/ossimTimeUtilities.h" - -# pragma GCC diagnostic pop - -#else -# include "ossim/ossimTimeUtilities.h" -#endif - -#if defined(USE_BOOST_TIME) -# include <boost/date_time/posix_time/posix_time.hpp> -#include <ostream> -#endif namespace otb {