File Exchange

image thumbnail


version 1.0.0 (1.24 KB) by Prasobhkumar P. P.
This function helps you to draw automatically a scale bar in your image.


Updated 21 Aug 2020

View License

This function will draw automatically a scale bar in your image. The parameters required are the pixel size of the camera, real length to be shown, magnification used (if not used, set as 1). The option for interpolated images also provided. Calculate the interpolationRatio = length(original)/length(interpolated). If interpolation is not used set it as 1. Please give your feedback.

Cite As

Prasobhkumar P. P. (2021). scaleBar (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!