Skip to content
GitLab
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
ae80022b
Commit
ae80022b
authored
Apr 16, 2021
by
Daniel Scheffler
Browse files
Improved documentation.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
60494034
Changes
1
Hide whitespace changes
Inline
Side-by-side
arosics/CoReg.py
View file @
ae80022b
...
...
@@ -955,7 +955,7 @@ class COREG(object):
match_fullGeoArr
=
self
.
ref
if
self
.
grid2use
==
'ref'
else
self
.
shift
other_fullGeoArr
=
self
.
shift
if
self
.
grid2use
==
'ref'
else
self
.
ref
# matchWin
per
subset-read
einlesen
-> self.matchWin.data
#
read
matchWin
via
subset-read -> self.matchWin.data
rS
,
rE
,
cS
,
cE
=
GEO
.
get_GeoArrayPosition_from_boxImYX
(
self
.
matchBox
.
boxImYX
)
assert
np
.
array_equal
(
np
.
abs
(
np
.
array
([
rS
,
rE
,
cS
,
cE
])),
np
.
array
([
rS
,
rE
,
cS
,
cE
]))
and
\
rE
<=
match_fullGeoArr
.
rows
and
cE
<=
match_fullGeoArr
.
cols
,
\
...
...
@@ -966,7 +966,7 @@ class COREG(object):
nodata
=
copy
(
match_fullGeoArr
.
nodata
))
self
.
matchWin
.
imID
=
match_fullGeoArr
.
imID
# otherWin
per
subset-read
einlesen
#
read
otherWin
via
subset-read
rS
,
rE
,
cS
,
cE
=
GEO
.
get_GeoArrayPosition_from_boxImYX
(
self
.
otherBox
.
boxImYX
)
assert
np
.
array_equal
(
np
.
abs
(
np
.
array
([
rS
,
rE
,
cS
,
cE
])),
np
.
array
([
rS
,
rE
,
cS
,
cE
]))
and
\
rE
<=
other_fullGeoArr
.
rows
and
cE
<=
other_fullGeoArr
.
cols
,
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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