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
geomultisens
gms_preprocessing
Commits
73d0f99c
Commit
73d0f99c
authored
Jun 11, 2019
by
Daniel Scheffler
Browse files
Fix.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
addd2f94
Pipeline
#4122
failed with stage
in 2 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/algorithms/classification.py
View file @
73d0f99c
...
...
@@ -422,7 +422,7 @@ class kNN_SAM_Classifier(SAM_Classifier):
def
label_unclassified_pixels
(
self
,
label_unclassified
,
threshold
):
# type: (int, Union[str, int, float]) -> GeoArray
cmap_labelled0
=
self
.
_label_unclassified_pixels
(
self
.
cmap
[:,
:,
0
]
,
label_unclassified
,
threshold
,
self
.
angles_deg
[:,
:,
0
]
self
.
cmap
.
get_subset
(
zslice
=
slice
(
None
,
1
))
,
label_unclassified
,
threshold
,
self
.
angles_deg
[:,
:,
0
]
)
cmap
=
self
.
cmap
cmap
[
cmap_labelled0
==
label_unclassified
]
=
label_unclassified
...
...
Write
Preview
Supports
Markdown
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