How to measure area of a rectangle from an image?

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?

1 Comment

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.

Sign in to comment.

Answers (1)

see the links:
https://in.mathworks.com/matlabcentral/answers/12032-how-to-get-areas-of-specified-objects-in-an-image

Asked:

on 19 Jul 2016

Commented:

on 19 Jul 2016

Community Treasure Hunt

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

Start Hunting!