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

 採用された回答

Chandra Kurniawan
Chandra Kurniawan 2012 年 1 月 9 日

1 投票

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 件のコメント

dhanalakshmi
dhanalakshmi 2012 年 1 月 10 日
HI ,
pls tell me how to get the picture area in cm2..?
or it is a assumption value..
Chandra Kurniawan
Chandra Kurniawan 2012 年 1 月 10 日
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 2012 年 1 月 10 日
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 2012 年 1 月 24 日
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 2012 年 1 月 24 日
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 2012 年 1 月 24 日
Hi, sorry
I have removed the answer.
Please check this :
http://www.mediafire.com/?q37ndbbiprlzcu8
dhanalakshmi
dhanalakshmi 2012 年 3 月 16 日
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 2012 年 3 月 21 日
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 2012 年 3 月 21 日
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

サインインしてコメントする。

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 1 月 10 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by