circularity of a connected component
Greetings.
I wanted to know if it was possible to know whether a given connected component has an outer shape (relatively) circular or elliptical. Is there any function to do that? o How to calculate the circularity or roundness?.
Thanks in advance for any help and / or suggestions