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.
引用格式
Prasobhkumar P. P. (2024). scaleBar (https://www.mathworks.com/matlabcentral/fileexchange/79400-scalebar), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2020a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |