How to calculate the curvature of a boundaries in binary images?
Afficher commentaires plus anciens
Dear all,
I have a binary image that contains one shape as I show below:

I want to represent the curvature using color coding of the boundariessimilar to image I got from the video in this link http://en.wikipedia.org/wiki/Curvature

Does anyone knows how to do that?
Any help or suggestion will be appreciated.
Meshoo
Réponse acceptée
Plus de réponses (3)
Preetham Manjunatha
le 2 Août 2021
Modifié(e) : Preetham Manjunatha
le 4 Août 2021
2 votes
Here this function measures the curvature and other shape properties. In addition, it displays the curvature.

Here is the T-section with sharp corners:

linda cummings cummingslinda14@gmail.com
le 9 Sep 2016
0 votes
Very nice. Have you worked in gray image the this code ? Have you tried?
Linda Cummings
cummingslinda14 at gmail.com
sana3 sal
le 18 Juin 2018
0 votes
Hello Mr @Image Analyst, I am wondering how to read the curvature? or how to analyse it?

3 commentaires
cyril grandjean
le 9 Avr 2020
Hello @Image Analyst
among the results generated by the script which of the results represents the average curvature or a score of general curvature for all the shape? if not generated did you know how to get it?
thank you in advance
Image Analyst
le 9 Avr 2020
cyril grandjean
le 10 Avr 2020
Hello I read the code well but I was not sure that I understood correctly. So the coefficient provided in this code corresponds to the overall curvature of my form or a trend is that right?
thank you in advance
Catégories
En savoir plus sur Graphics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!








