Image Measurement Utility

Loads an image file (bmp) and finds the distance between points selected by the user (using ginput).

You are now following this Submission

% Estimate lengths on an image by point-click.
% [lengths] = image_measure;
%
% This function prompts the user to select an image file to open, then
% opens and plots the image. The program waits for the user to resize the
% image if desired. The user then:
% 1.) left-clicks on the endpoints of a known dimension in the image to
% establish a reference length and then
% 2.) types the length of the reference in a dialog box,
% 3.) clicks on as many pairs of points as desired in the image to measure
% their separation distance relative to the reference.
%

Cite As

Matt Allen (2026). Image Measurement Utility (https://www.mathworks.com/matlabcentral/fileexchange/24279-image-measurement-utility), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Jann5s/measuretool

Categories

Find more on Read, Write, and Modify Image in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0