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.