Clear Filters
Clear Filters

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

1 view (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 4 Jun 2017
How do you want to calculate for objects that cross a quadrant boundary?
KSSV
KSSV on 5 Jun 2017
Attach an image so that people can help you around. Simply a question might not give an idea.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!