You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running e.g. a Nuth&Kaab coregistration on a DEM with gaps on the edges, some artifacts appear after the coreg.apply step (see figure below).
After a lot of debugging, I figured out that this is caused by this line and the following. I really don't understand why the indexes need to be interpolated. If the indexes are set to NaN, it works just fine, but with the fillnodata and constant value filling on the edges, indexes can be interpolated to the position of a valid neighbor pixel, which is not what we want.
This is also somewhat related to #197, where the reason for these lines was discussed.
* Remove unused imports
* Include a one-liner function for DEM coregistration
* Split coreg into horizontal/vertical coreg. Update stats and plots
* Minor comment edit
* Fix issue with edge artifacts brought up in #314
* Add an experimatal function to slightly extrapolate DEM prior to applying transformation
* Load DEMs only in area of overlap using new geoutils functionalities.
* Linting and mypy
* Upgrade pre-commit
* Improve docstring. Make output file optional.
* Add a 5 NMAD filter to the filtering option.
When running e.g. a Nuth&Kaab coregistration on a DEM with gaps on the edges, some artifacts appear after the coreg.apply step (see figure below).
After a lot of debugging, I figured out that this is caused by this line and the following. I really don't understand why the indexes need to be interpolated. If the indexes are set to NaN, it works just fine, but with the fillnodata and constant value filling on the edges, indexes can be interpolated to the position of a valid neighbor pixel, which is not what we want.
This is also somewhat related to #197, where the reason for these lines was discussed.
I will fix this as part of PR #267.
The text was updated successfully, but these errors were encountered: