Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NORMLIM_sigma0
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
s1-tiling
NORMLIM_sigma0
Commits
3d892f9c
Commit
3d892f9c
authored
1 year ago
by
Luc Hermitte
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Trace performances benchmarks
parent
61c396fb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4
Resolve "Migrate code to OTB 8.x"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/otbSARDEMProjectionImageFilter2.hxx
+15
-1
15 additions, 1 deletion
include/otbSARDEMProjectionImageFilter2.hxx
with
15 additions
and
1 deletion
include/otbSARDEMProjectionImageFilter2.hxx
+
15
−
1
View file @
3d892f9c
...
...
@@ -333,7 +333,21 @@ SARDEMProjectionImageFilter2< TImageIn, TImageOut >
double
h
;
// Elevation from earth geoid
#if OTB_VERSION_MAJOR >= 8
// h = demHandler.GetGeoidHeight(demLatLonPoint);
// TODO: GetGeoidHeight has very bad performances (*): GDAL
// isn't meant to be used for one coordinate at the time.
// Instead: have a multi-pass algorithm
// 1. get in a SINGLE call the geoid height for all points in
// the buffer
// 2. Compute the rest
//
// (*)
// - 96.3% of execution time spent in ThreadedGenerateData
// - 61.3% in GetGeoidHeight
// - 31.3% GDALRasterBand::RasterIO
// - 11.7% in mutex loc+unlock
// - 29.2% OCRCoordinateTransform
// - 20.2% in get_pid
//
h
=
GetGeoidHeight
(
demHandlerTLS
,
demLatLonPoint
);
#else
if
(
m_geoidEmg96
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment