Hi,
I was looking for a function in python which can shrink the labels. It is kind of like erosion but of each labelled region. Lets say I have two touching labels, 1 and 2 of two circles. Now I want to shrink both labels/erode pixels so that they do not touch each other by d number of pixels.
In skimage I have a expand_labels function, what I want to do is the opposite, maybe someone wrote it in python and I can just use it than write it from scratch?
@jni @VolkerH