Comments on: Skeletonization http://en.nicoptere.net/?p=381 giving something back to the Flash community Sun, 08 Feb 2015 13:47:19 +0000 hourly 1 http://wordpress.org/?v=3.8.1 By: with fire I walk « HIDIHO! http://en.nicoptere.net/?p=381&cpage=1#comment-3637 Thu, 21 Oct 2010 14:40:10 +0000 http://en.nicoptere.net/?p=381#comment-3637 [...] Flash plugin is required to view this object. (click to restart) and for instance, using a skeletonization can provide the distance map of an image [...]

]]>
By: noxss http://en.nicoptere.net/?p=381&cpage=1#comment-1486 Tue, 25 May 2010 17:27:52 +0000 http://en.nicoptere.net/?p=381#comment-1486 Cool, maybe it can be used for path finding…:-)

]]>
By: dVyper http://en.nicoptere.net/?p=381&cpage=1#comment-405 Mon, 03 Aug 2009 10:37:04 +0000 http://en.nicoptere.net/?p=381#comment-405 Amazing…

]]>
By: Cay http://en.nicoptere.net/?p=381&cpage=1#comment-395 Sat, 01 Aug 2009 02:56:30 +0000 http://en.nicoptere.net/?p=381#comment-395 Fun algo! :)
I tried to make it on my own, and got the exact same result as yours after some weird conditional adjustments I didn’t fully understood… plus the results weren’t like the ones in the explanation page… after a while of struggling with the booleans I found out that we had to reverse all the “color Booleans”… I mean instead of getPixel()==0 , it should be getPixel()>0 (it was quite confusing otherwise, because “on” was zero ^^)… then you have to adjusts a bit the conditionals (according to the explanation) and the result is flaweless :D
I was also a bit confused with the dot notation in the last 2 conditionals, but its a multiplication to see if any of those pixels is off, so in your case I think it should be:
if( ( !p2 || !p4 || !p8 ) || Ap2 != 1 )

You can see the result here (fla is next to it):
http://www.ventdaval.com/upload/archivos/hilditch.html

Cheers!

]]>