Um... You're not talking of something like the find edges macro of the
postprocess feature of megapov?
http://megapov.inetart.net/demo/pp_find_edges.png
i have to confess i never tried it so i can't tell anything about
usage/speed/flexibility though.
Just a tip ;-)
Regards Roman