Commit 0e8f15fd authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent 45b133cf
Pipeline #4113 failed with stage
in 2 minutes and 17 seconds
......@@ -662,7 +662,7 @@ def classify_image(image, train_spectra, train_labels, classif_alg, in_nodataVal
if not return_distance:
return cmap
if classif_alg == ['MinDist', 'kNN_MinDist']:
if classif_alg in ['MinDist', 'kNN_MinDist']:
dist = clf.euclidian_distance
elif classif_alg in ['SAM', 'kNN_SAM']:
dist = clf.angles_deg
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment