Greetings.
I want to implement the operation Ultimate Erosion. So I need to use the distance transform and find the regional maxima.
My specific issues here are:
In the case of OpenCV distance transform, what parameter values to use for 'distanceType' and 'maskSize'?.
How to find the regional maxima in an image?, Is there any OpenCV routine for this task?
I would also like to know if my approach to calculate the Ultimate Erosion operation is the most efficient or is there a more efficient method to implement this operation?
Thanks in advance for any help and/or suggestions.