Measure image features with subpixel accuracy by snapping to detected edges, eliminating manual point-placement errors in quality control and metrology workflows.
Manual measurements on images are limited by the precision of hand-placed points. This app solves that problem by automatically detecting and snapping to edges near your measurement, delivering more accurate results for quality-control engineers and metrology professionals.
The app supports four measurement types -- caliper distance (uicaliper), perpendicular T-square distance (uitsquare), three-point angle (uifitangle), and circle fit (uifitcircle) -- each with configurable snap sensitivity and pixel-to-world-unit calibration. Draw multiple measurements on an image and export results to the MATLAB workspace.
Requires MATLAB® R2026b or newer.
Also requires the following MathWorks products:
- Visual Inspection Toolbox™
Open EdgeSnappingMeasurementApp.m in App Designer or see the guided walkthrough on the documentation page.
| File | Description |
|---|---|
EdgeSnappingMeasurementApp.m |
The App Designer app for edge-snapping measurement |
EdgeSnappingMeasurementApp.xml |
App component layout data |
The license is available in the license.txt file in this GitHub repository.
Copyright 2026 The MathWorks, Inc.
