Reading the code for medial_axis, that looks like a very different algorithm. MATLAB's docs reference the following paper section: Lam, L., Seong-Whan Lee, and Ching Y. Suen, "Thinning Methodologies-A Comprehensive Survey," IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol 14, No. 9, September 1992, page 879, bottom of first column through top of second column Another open source implementation of this algorithm that I'm aware of is Octave's, which is here: http://sourceforge.net/p/octave/image/ci/default/tree/inst/bwmorph.m#l499 same impl strategy as my version. On Wednesday, January 6, 2016 at 6:14:56 AM UTC-5, stefanv wrote:
Hi Joe
I have developed an efficient Python implementation of the algorithm used by MATLAB's bwmorph('thin', ...). I believe this differs from the skeletonization algorithm provided by skimage and could be useful for
On Tue, Jan 5, 2016 at 9:20 AM, Joe Futrelle <joefu...@gmail.com <javascript:>> wrote: people
porting MATLAB code.
Have you also had a look at medial_axis? If it is different from both, then it may be useful, especially if there is a clearly specified paper on its implementation.
Stéfan