I'm trying to use this method for creating superpixels. The documentation says that the parameter compacteness "balances color proximity and space proximity. Higher values give more weight to space proximity, making superpixel shapes more square/cubic". It can be found in this link:
https://scikit-image.org/docs/stable/api/skimage.segmentation.html#skimage.segmentation.slic
However, I'm not sure how to assign the same weight to both, color and space proximity. Is it a matter of just assigning 1 to compactness?
Best regards.