Calculating area of a shape in an image

11 ビュー (過去 30 日間)
Ahmed
Ahmed 2011 年 12 月 29 日
How to calculate the actual area (in Cm^2) for an irregular shape in an image?? Please help me.

回答 (2 件)

Image Analyst
Image Analyst 2011 年 12 月 29 日
You need to know the size of your image's total field of view, or an object of known size in the image, so that you can calculate a pixels/cm calibration factor. Then calculate area in pixels as usual (bwlabel, regionprops) and multiply by the square of the calibration factor.

Image Analyst
Image Analyst 2012 年 1 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by