I need help conjuring an implementation for these algorithms:
Grayscale image erosion using flat circular structuring elements
Signed Euclidean distance transformation
Here is some research:
These techniques perform the bulk of heavy lifting for “Layer Effects” (i.e. Photoshop Layer Styles). I need help with efficient implementations of these algorithms. Any information is welcome, including pointers to other references, help understanding which of these papers is appropriate, some implementation guidance for the techniques in the papers.