scaleBar

This function helps you to draw automatically a scale bar in your image.

You are now following this Submission

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. (2026). scaleBar (https://www.mathworks.com/matlabcentral/fileexchange/79400-scalebar), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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