Adds Scalebar to Matrix (Image)

Version 1.0.0 (1.42 KB) by PabiG
Easy code, Can be rewritten as desired
46 Downloads
Updated 2 Aug 2021

View License

Adds Scalebar to Matrix:
Imputs:
image = grayscale or rgb image (double)
mum_per_pix = ratio µm/pixel
scalebarlength_mum =scalebar length in µm
height = scale bar height in µm
Color = rgb triplet ,e.g. [1 0 0] --> red
OUTPUT is rgb matrix (n*m*3) with scalebar on lower right

Cite As

PabiG (2024). Adds Scalebar to Matrix (Image) (https://www.mathworks.com/matlabcentral/fileexchange/96957-adds-scalebar-to-matrix-image), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0