Skip to content
Snippets Groups Projects
Commit 3fe76968 authored by Niklas Bohn's avatar Niklas Bohn
Browse files

Merge branch 'bugfix/Issue#96' into 'master'

Added keyword 'start_label' to SLIC segmentation to avoid index error in LUT interpolation.

See merge request !107
parents 4273785c 70411626
Branches
Tags
1 merge request!107Added keyword 'start_label' to SLIC segmentation to avoid index error in LUT interpolation.
......@@ -32,7 +32,7 @@ Feature overview
.. _SICOR: https://git.gfz-potsdam.de/EnMAP/sicor/
.. _GeoMultiSens: http://www.geomultisens.de/
.. _GeoMultiSens: http://www.geomultisens.gfz-potsdam.de
.. _EnMAP: https://www.enmap.org
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
......@@ -70,7 +70,8 @@ def SLIC_segmentation(data_rad_all, n_pca, segs):
multichannel=True,
enforce_connectivity=True,
min_size_factor=0.5,
max_size_factor=3)
max_size_factor=3,
start_label=0)
lbl = np.unique(labels)
segs = len(lbl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment