how to find the height and width of an alphabet/letter
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
praveen rai
il 27 Mag 2019
Commentato: praveen rai
il 27 Mag 2019
i have a letter in which I want to find the height and width of this letter
any algorithm or code can suggest by anyone
0 Commenti
Risposta accettata
Image Analyst
il 27 Mag 2019
Try
binaryImage = grayImage < 128;
props = regionprops(binaryImage, 'BoundingBox');
width = props.BoundingBox(3);
height = props.BoundingBox(4);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Segmentation and Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!