feat: add ability to create map tiles from SICD images #58
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change adds the ability to create map tiles from SAR images with complex pixel values. The changes to the
GDALTileFactory
include updates to convert the 2-band phase/amplitude SICD imagery into an 8-bit per pixel single band imagery meant for human review. This is similar to the dynamic range adjustment normalization applied to electro-optical imagery but it differs in that multiple bands are being combined and normalized to produce a single output image. The calculations increate_orthophoto_tile
were also updated to provide a better elevation estimations and more consistent mapping of image pyramid level to map tile resolution. These changes will improve the map tiles generated for all sensor types but the effect was particularly noticeable on the test SAR imagery.Unit tests have been updated to cover both SICD and SIDD imagery (SIDD already worked but was untested). Manual integration tests were completed to ensure that the results rendered properly in a tile server visualized by a STAC browser. (see images below)
Manual Test Example 1: A SICD image available from AWS's open data program overlaid on a map.
Manual Test Example 2: EO image tiles showing no regression from changes made to support SICD.
Checklist
Before you submit a pull request, please make sure you have the following:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.