Optimize coordinate transformations in SARSensorModel
- Oct 06, 2021
-
-
Cédric Traizet authored
PERF: use the same transform objects for all coordinate transformation of the same type in otb::SarSensorModel
-
transformation between geographical coordinates and ECEF coordinates takes a lot of time in SarSensorModel computations. In the current implementation, a transform object is created for each transformation, this is very inefficient. Instead, the same transformation object can be created at class construction and used in each transformation.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i
on latest changes and commitPERF: use the same transform objects for all coordinate transformation of the same type in otb::SarSensorModel