Adds Scalebar to Matrix (Image)
Version 1.0.0 (1.42 KB) by
PabiG
Easy code, Can be rewritten as desired
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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |