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 Exchange에서 Downloads에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by