AREA IN SQ.CM

hi, i know only the number of pixels in the region. help me with sample code how to calculate area of the region in square centimeter. pls help

 Accepted Answer

Chandra Kurniawan
Chandra Kurniawan on 9 Jan 2012

1 vote

Hi,
First, you must know about actual size of your picture in cm.
For example your picture has 1000 pixel of height x 600 pixel of width. You should measure 1000 pixel = ? cm and 600 pixel = ? cm
See this example

9 Comments

dhanalakshmi
dhanalakshmi on 10 Jan 2012
HI ,
pls tell me how to get the picture area in cm2..?
or it is a assumption value..
Chandra Kurniawan
Chandra Kurniawan on 10 Jan 2012
Hi,
some time ago, my friend asked the same thing.
He wanted to measure the height of water in an aquarium.
He should measure the height and length of the aquarium in units of cm.
You should do the same thing.
Chandra Kurniawan
Chandra Kurniawan on 10 Jan 2012
Or blindly, we can assume the object area as I demonstrated on this link.
http://www.mathworks.com/matlabcentral/answers/24894-calculating-area-of-a-shape-in-an-image
I assume the image area is 100 cm2
dhanalakshmi
dhanalakshmi on 24 Jan 2012
hi,
i understood what you said. buut i have a problem i could not see the example i dont know y.?
pls help me
Image Analyst
Image Analyst on 24 Jan 2012
Why, when you've already marked the question as solved? Is it solved or not? If not, why did you accept that answer?
Chandra Kurniawan
Chandra Kurniawan on 24 Jan 2012
Hi, sorry
I have removed the answer.
Please check this :
http://www.mediafire.com/?q37ndbbiprlzcu8
dhanalakshmi
dhanalakshmi on 16 Mar 2012
Hi,
In this website i could download things ,the downloaded thing was oly pictures and java scripts. i cannot view the example how to calculate the area.pls help me.
dhanalakshmi
dhanalakshmi on 21 Mar 2012
hi,
please help me
i need it immediately
if yo can please send that example to my mail id dhanucm90@gmail.com
Walter Roberson
Walter Roberson on 21 Mar 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 10 Jan 2012

0 votes

You cannot do this by using only information contained in the image, for the same basic reasons I discussed over here

Categories

Community Treasure Hunt

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

Start Hunting!