How to calculate the area of an input image?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Mara Pereira
il 21 Giu 2020
Commentato: Image Analyst
il 28 Giu 2020
How can I calculate the area of an input image with .jpg extension? If someone could explain please, it´s for a school project. And its suposed to be done using a scanner.
2 Commenti
KSSV
il 21 Giu 2020
What you have in image? How you can calculate the area of image? You want to find the dimensions of an image?
Risposta accettata
Image Analyst
il 21 Giu 2020
- Use imsplit() to get the red, green, and blue channel.
- The leaf will be dark in the blue channel. Threshold the blue channel to get a mask = blueChannel < 200.
- Call bwarea() on the resulting mask.
1 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Convert Image Type 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!