OSSIM (inside DiapOTB)

Currently, several actions are initiated to remove Ossim plugin from OTB. The following issue (orfeotoolbox/otb#1506 (closed)) describes these developments.

DiapOTB uses Ossim across some OTB classes and also directly Ossim objects.

Inside OTB, the main dependencies at Ossim used by DiapOTB are :

  • DEMHandler (See 9c4036d2)
  • OssimSarSensorModel and other sensors such as ossimCosmoSkymedModel or ossimSentinel1Model
  • SarSensorModelAdapter

These classes handle projection and metadata for SAR Sensor.

Besides, some ossim functions/objects are directly included into DiapOTB code. These functions/objects are :

  • For keywordlist
  • For time conversion with ossimTimeUtilities (ModifiedJulianDay, Duration)
  • For specific DEM hander : ossimGeoidEgm96
  • For coordinates conversion (ie. Gpt <-> Ecef)

ossim function/objects are included for the followings files :

  • app/otbSARFineMetadata.cxx : Legacy (deleted soon)

    • ossimplugins::time::ModifiedJulianDate, ossimplugins::time::Duration, ossimplugins::time::seconds, ossimplugins::time::toModifiedJulianDate :
      • Aim: Use to handle dates and make estimations (inspired of ossimplugins::ossimSarSensorModel)
      • Solution: Can be replaced by std::get_time (I think) into DiapOTB or maybe generic into OTB ?
  • app/otbSARMetadataCorrection.cxx :

    • ossimplugins::time::ModifiedJulianDate, ossimplugins::time::Duration, ossimplugins::time::seconds, ossimplugins::time::toModifiedJulianDate :
      • Aim: Use to handle dates and make estimations (inspired of ossimplugins::ossimSarSensorModel)
      • Solution: Can be replaced by std::get_time (I think) into DiapOTB or maybe generic into OTB ?
  • include/otbSARDEMProjectionImageFilter.h/txx :

    • ossimGeoidEgm96 :
      • Aim: to specify a egm96 geoid as input (improve performance for that case)
      • Solution: See into GDAL ? (depends on DEMHandler chgts)
    • ossimFilename :
      • Get Geoid file for ossimGeoidEgm96 constructor
      • Solution: See into GDAL ? (depends on DEMHandler chgts)
    • ossimGpt :
      • Aim : Use as input for offsetFromEllipsoid function from ossimGeoidEgm96
      • Solution: See into GDAL ? (depends on DEMHandler chgts)
  • include/otbSARDerampImageFilter.h/txx :

    • ossimplugins::time::ModifiedJulianDate, ossimplugins::time::Duration, ossimplugins::time::seconds, ossimplugins::time::toModifiedJulianDate :
      • Aim: Use to handle dates and make estimations/comparisons (inspired of ossimplugins::ossimSarSensorModel)
      • Solution: Can be replaced by std::get_time (I think) into DiapOTB or maybe generic into OTB ?
  • include/otbSARDopplerCentroidFreqImageFilter.h/txx :

    • ossimplugins::time::ModifiedJulianDate, ossimplugins::time::Duration, ossimplugins::time::seconds, ossimplugins::time::toModifiedJulianDate :
      • Aim: Use to handle dates and make estimations/comparisons (inspired of ossimplugins::ossimSarSensorModel)
      • Solution: Can be replaced by std::get_time (I think) into DiapOTB or maybe generic into OTB ?
  • include/otbSARGroupedByOrthoImageFilter.h/txx : Legacy (deleted soon)

    • ossimGeoidEgm96 :
      • Aim: to specify a egm96 geoid as input (improve performance for that case)
      • Solution: See into GDAL ? (depends on DEMHandler chgts)
    • ossimGpt :
      • Aim : Use as input for offsetFromEllipsoid function from ossimGeoidEgm96
      • Solution: See into GDAL ? (depends of DEMHandler chgts)
    • ossimFilename :
      • Get Geoid file for ossimGeoidEgm96 constructor
      • Solution: See into GDAL ? (depends on DEMHandler chgts)
    • Constructors ossimGpt and ossimEcefPoint :
      • Aim : Convert Ecef point to Gpt
      • Solution : Create into otb ::SarSensorModelAdapter a function CartesianToWorld (just like WorldToCartesian)
Edited by Gaëlle USSEGLIO
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information