File Exchange

image thumbnail

area measuring

version (11.7 KB) by Yonathan Nativ
measuring areas surface and path length in an image (map)


Updated 21 Dec 2006

No License

a gui which allow measuring an areas size and a paths length on an image (map).

You can calibrate the image scale.

You place points using left mouse button and remove points & areas with right mouse button.

You have three different methods of measuring the area surface:
1. Monte-Carlo.
2. Triangulation (my method which works really cool but isn't optimal).
3. MATLABs way (which works the best).

Cite As

Yonathan Nativ (2021). area measuring (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (12)

Weiqi Chen


you are a player!


Thank you
it was very helpful


Simplicity and capability has made it a helpful tool! works well.


simple, stratightforward, and ingenious

Yonathan Nativ

hi alvin,
the area unit is pixels^2
you have an option to calibrate what is the pixel size.

select the option of "Scale Calibration" and click on two points in your image. In the box enter the distance these two points represent (in what ever units you like).

now the calculations will be done in you're units (you can verify this by measuring a distance you know on the image or an area you know).


alvin lee

Could someone tell me what is the unit for the calculated area (for example, mm2, cm2, m2,...)? Thank you.

Mark Heeren

Great program, only in Matlab R2008b the text in the buttons have the same color as the background of the buttons and therefor the text is not visible. Which is a minor thing and can be edit in the GUI.


If you want to use this program on .mat files, load the matlab file into the workspace and plot it. Then use the command
"print('-djpeg','YourFileName.jpg')" to export it to a JPG
(Tip from Matt Daggett,

Asael Degany


Danila Churaev


Juan Antonio

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Jann5s/measuretool

Community Treasure Hunt

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

Start Hunting!