Introduction - If you have any usage issues, please Google them yourself
distance from the algorithm will be two very good value for the image transform the gray level for the follow-up watershed algorithm used to prepare. And attached a detailed description and code examples.
Packet : 37724072distancetransform(vc).rar filelist
DistanceTransform\DistanceTransform.cpp
DistanceTransform\距离变换.doc
DistanceTransform