view --dem-blend: support data/DEM in diff resolutions#1102
Merged
yuankailiu merged 1 commit intoinsarlab:mainfrom Oct 6, 2023
Merged
view --dem-blend: support data/DEM in diff resolutions#1102yuankailiu merged 1 commit intoinsarlab:mainfrom
view --dem-blend: support data/DEM in diff resolutions#1102yuankailiu merged 1 commit intoinsarlab:mainfrom
Conversation
…e fly + utils.plot.prep_blend_image(): add resampling on the fly using skimage.transform.resize() to support different resolutions between data and DEM while using the view.py --dem-blend option + utils.plot.prep_blend_image(): change the default base_color from 0.9 to 0.7, for a slightly darker DEM background + cli.view.cmd_line_parse(): ignore --cbar-ext option if --dem-blend is specified as well. + .github/ISSUE_TEMPLATE/bug_report.md: add insar processor/product info
view --dem-blend: support data/DEM in diff reso by resampling on th…view --dem-blend: support data/DEM in diff resolutions
yuankailiu
approved these changes
Oct 6, 2023
Contributor
yuankailiu
left a comment
There was a problem hiding this comment.
Thank you @yunjunz, this is great.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of proposed changes
This PR supports input data and DEM files in different resolution for
view --dem-blend(#1089), by resampling the lower resolution one into higher resolution on the fly usingskimage.transform.resize()utils.plot.prep_blend_image(): add resampling on the fly using skimage.transform.resize() to support different resolutions between data and DEM while using the view.py --dem-blend optionutils.plot.prep_blend_image(): change the default base_color from 0.9 to 0.7, for a slightly darker DEM backgroundcli.view.cmd_line_parse(): ignore --cbar-ext option if --dem-blend is specified as well..github/ISSUE_TEMPLATE/bug_report.md: add insar processor/product infoReminders