@Nowosad, would these same parameters work for tuning compactness? And if so, would you be able to provide some guidance on how to choose the range of values to test? Adjusting the formula from your 2021 paper to be in terms of supercells parameters I believe the distance equation should be
$$D= \sqrt{(\frac{d_\text{spectral}}{\text{compactness}})^2 +(\frac{d_\text{spatial}}{\text{step}})^2} $$
(though I'm unsure if step should be converted from cell to map units).
From this equation I can see that if the same spectral data were run through the SLIC algorithm but it was measured in different units, the compactness parameter would need to change to get an equivalent result. From doing some reading and looking at the equation I know that larger values will emphasize space and be closer to k means clustering of coordinates whereas smaller values will emphasize spectral characteristics more, and that compactness depends on the range of input cell values and selected distance measure. That being said, given the range of data and selected distance measure (euclidean in my case), I'm unsure how to know what a small value for compactness is, what a large value is, and what a value that provides approximately equal weight would be. Do you have any guidance on that?
Originally posted by @ailich in #21 (comment)
@Nowosad, would these same parameters work for tuning
compactness? And if so, would you be able to provide some guidance on how to choose the range of values to test? Adjusting the formula from your 2021 paper to be in terms of supercells parameters I believe the distance equation should be(though I'm unsure if
stepshould be converted from cell to map units).From this equation I can see that if the same spectral data were run through the SLIC algorithm but it was measured in different units, the
compactnessparameter would need to change to get an equivalent result. From doing some reading and looking at the equation I know that larger values will emphasize space and be closer to k means clustering of coordinates whereas smaller values will emphasize spectral characteristics more, and thatcompactnessdepends on the range of input cell values and selected distance measure. That being said, given the range of data and selected distance measure (euclidean in my case), I'm unsure how to know what a small value forcompactnessis, what a large value is, and what a value that provides approximately equal weight would be. Do you have any guidance on that?Originally posted by @ailich in #21 (comment)