How to measure area of a rectangle from an image?
5 views (last 30 days)
Show older comments
Suppose, I have this image and I want to measure the area of the table surrounded by a red line. This table is rectangular but not looking as a rectangle. Here we can't take pixel values uniform how can we measure the area of this table?
![](/matlabcentral/answers/uploaded_files/56315/table.jpg)
1 Comment
Walter Roberson
on 19 Jul 2016
You cannot measure the real-world area of anything from an image unless you have an item of known length in the image and also information about the lens settings (preferably information about the lens distortion characteristics as well.)
To use a different key phrase : you need to calibrate.
Answers (1)
KSSV
on 19 Jul 2016
see the links:
https://in.mathworks.com/matlabcentral/answers/12032-how-to-get-areas-of-specified-objects-in-an-image
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!