File Exchange Pick of the Week

Interactively measure features in images 3

Posted by Brett Shoelson,

Brett's Pick this week is "Image Measurement Utility", by Jan Neggers.

Those of you who have followed my Picks over the years (or ever downloaded one of my own File Exchange submissions, or read my guest posts on Steve's image processing blog) know that I am passionate about image processing using MATLAB. I often get to help customers automate the extraction of information from multiple images; when the images are amenable, MATLAB is an excellent platform for creating such automation routines.

Often, though, the features in an image series are difficult to detect automatically and reliably, and automating analyses is quite difficult. In such cases, we need to use manual tools to get the information we need. The Image Processing Toolbox has resources (like imdistline) that facilitate some of those measurements, but it's generally left to the user to do things like scale the measurements, or calculate angles.

Enter "Image Measurement Utility."

Jan's tool allows you to drag to define a calibration line, which you can propagate through a series of images. Then, you can readily measure (in real units): distances between points, or between a point and a line; angles; circle radii; or distances along smoothed or piecewise-linear paths. (You can also measure the mean pixel intensity underneath a manually drawn path. This functionality was added by Jan at the request of a user.)

I really like the fact that Jan provided his measurement tool in "standard form" (that is, as a collection of MATLAB files callable from the MATLAB Command Line), and as an app as well. His documentation is also quite good, and describes all the things you can do with the tool. And, I think it's great that Jan was responsive to the users of the tool, and amenable to improving it based upon the feedback he received.

Very handy untility, Jan! I'm sure I'll have lots of opportunities to use it.

As always, I welcome your thoughts and comments. Or leave feedback for Jan here.


Get the MATLAB code

Published with MATLAB® R2013a

3 CommentsOldest to Newest

Brett,
For the image measurement app from Jan, I am confused a little. Is the Image Processing Toolbox needed? I don’t have it but would like to measure some image entities.

Thanks!
Steve

@Steve,

In short:
you don’t need the Image Processing Toolbox

Longer:
The tool was build with the IP Toolbox in mind, but at some point I added workarounds. So now the tool works fine without the toolbox but with the toolbox I would expect a nicer experience.

These postings are the author's and don't necessarily represent the opinions of MathWorks.