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 ?
- ossimplugins::time::ModifiedJulianDate, ossimplugins::time::Duration, ossimplugins::time::seconds, ossimplugins::time::toModifiedJulianDate :
-
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 ?
- ossimplugins::time::ModifiedJulianDate, ossimplugins::time::Duration, ossimplugins::time::seconds, ossimplugins::time::toModifiedJulianDate :
-
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)
- ossimGeoidEgm96 :
-
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 ?
- ossimplugins::time::ModifiedJulianDate, ossimplugins::time::Duration, ossimplugins::time::seconds, ossimplugins::time::toModifiedJulianDate :
-
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 ?
- ossimplugins::time::ModifiedJulianDate, ossimplugins::time::Duration, ossimplugins::time::seconds, ossimplugins::time::toModifiedJulianDate :
-
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)
- ossimGeoidEgm96 :