Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
arosics
Commits
488f9d27
Commit
488f9d27
authored
May 17, 2021
by
Daniel Scheffler
Browse files
The tie point grid now also includes the last x any y grid points (bugfix).
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
9eb435f1
Pipeline
#23028
passed with stages
in 16 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
arosics/Tie_Point_Grid.py
View file @
488f9d27
...
...
@@ -228,8 +228,8 @@ class Tie_Point_Grid(object):
if
not
self
.
q
:
print
(
'Initializing tie points grid...'
)
Xarr
,
Yarr
=
np
.
meshgrid
(
np
.
arange
(
0
,
self
.
shift
.
shape
[
1
],
grid_res
),
np
.
arange
(
0
,
self
.
shift
.
shape
[
0
],
grid_res
))
Xarr
,
Yarr
=
np
.
meshgrid
(
np
.
arange
(
0
,
self
.
shift
.
shape
[
1
]
+
grid_res
,
grid_res
),
np
.
arange
(
0
,
self
.
shift
.
shape
[
0
]
+
grid_res
,
grid_res
))
mapXarr
=
np
.
full_like
(
Xarr
,
self
.
shift
.
gt
[
0
],
dtype
=
np
.
float64
)
+
Xarr
*
self
.
shift
.
gt
[
1
]
mapYarr
=
np
.
full_like
(
Yarr
,
self
.
shift
.
gt
[
3
],
dtype
=
np
.
float64
)
-
Yarr
*
abs
(
self
.
shift
.
gt
[
5
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment