First time here? Check out the FAQ!
answered 2012-09-09 17:07:36 -0600
I would recommend you use the Chamfer Distance Transformation for that. There is an example of the chamfer method in the samples folder.