calculation of an area in irregular shape within an image

Hi Everyone,
I need some help with a problem I am dealing with now. The problem can be summarized as follows:
· I have images that I have divided into pixels with known dimensions (width x height) . An image is about (1024X943) "965632 pixels" in total. · The problem is that I need to calculate the area of a part of the image (irregular shape). So how can I draw an irregular shape (maybe using imfreehand tool) and determine the number of pixels inside it?
Thanks a lot in advance, Mariam

Categorie

Scopri di più su Christmas / Winter in Centro assistenza e File Exchange

Richiesto:

il 27 Lug 2016

Risposto:

il 27 Lug 2016

Community Treasure Hunt

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

Start Hunting!

Translated by