geek wrote@ZeRaW, Mathematica as usual. matching takes 0.8s, the rest is I/O. what about you?
@raja, glad you joined in! try matching the shared pixel borders as bags (multisets), ignoring their order.
as3 not that fast, it is more of an optimized depth first search. Had to work on optimizing the overlap comparision [byte comparision]. the only cool thing is that it is an AIR app so can be deployed on mac/pc and you can browse to data folder or select save image when it is done.
I hate that I do not know mathematica :@