Commit 73d0f99c authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files
parent addd2f94
Pipeline #4122 failed with stage
in 2 minutes and 10 seconds
......@@ -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
......
Markdown is supported
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