Azzera filtri
Azzera filtri

how to calculate area of objects in certain region of an image.

1 visualizzazione (ultimi 30 giorni)
Hi i have an grayscale image which has objects all over the image. I want to know the area of the objects in certain regions of the image. I have divided the image in four quadrants using hline and vline and applied in polygon to define each rectangle region. but now i want to calculate the total area of objects residing in each rectangle. but regionprops() doesn't seem to cut it. I'm at a loss about how to do so.
  2 Commenti
Walter Roberson
Walter Roberson il 4 Giu 2017
How do you want to calculate for objects that cross a quadrant boundary?
KSSV
KSSV il 5 Giu 2017
Attach an image so that people can help you around. Simply a question might not give an idea.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by