Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Implementation of the operation Ultimate Erosion

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.