I have just seen today the beta release of ITK 5 and was happy to see that SLIC was included in the future release. I have not tested yet but looking at the code, it misses something for an application I have long waited to try. I see there are two distance functions that are rather fixed. However, I was interested in having the choice on the pixel distance to test several ones.
However the two distance functions are not virtual. Do you think there would be a way to include an optional way to have other distances in the filter (and if possible external ones) ? I am keen in trying to implement that but would like to have your input on it first.