Skip to content

Add radio map solver for terrain specified by a heightmap - #25

Open
Jklein64 wants to merge 11 commits into
NVlabs:mainfrom
Jklein64:dem-solver-1.1.0
Open

Add radio map solver for terrain specified by a heightmap#25
Jklein64 wants to merge 11 commits into
NVlabs:mainfrom
Jklein64:dem-solver-1.1.0

Conversation

@Jklein64

@Jklein64 Jklein64 commented Jul 6, 2025

Copy link
Copy Markdown

Adds a new subclass of RadioMap called DemRadioMap, which is used to compute Radio Maps on Digital Elevation Models (DEMs, aka heightmaps). While some of this functionality could be mimicked with MeshRadioMap, we found it convenient to have a Radio Map class and helper functions that abstract away the resampling, triangulation, and rearrangement into a grid.

This PR also adds a test case, modifies the visualization methods (render and preview) to support DemRadioMap objects, and updates Radio Map documentation.

Jklein64 added 11 commits June 19, 2025 18:35
Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
There is a color issue with the preview where it is darker than
expected, but this isn't solved by changing tone mapping or gamma
correction parameters in pythreejs.

Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
Signed-off-by: Jason Klein <jklein.64@verizon.net>
@Jklein64

Jklein64 commented Jul 6, 2025

Copy link
Copy Markdown
Author

Here is a render of an example scene consisting of a gaussian bump with an offset measurement surface specified by a DEM:

image

And this is how it compares to running the same scene through a MeshRadioMap and manually re-weighting and reshaping the triangulated cells to form a grid:

image

This is the same scene and reshaping method used in the test.

See this notebook for the visualization code.

@faycalaa

faycalaa commented Jul 9, 2025

Copy link
Copy Markdown
Collaborator

Hi @Jklein64 ,

Thank you for your contribution! We will review it carefully and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants