What does the number 50micro m on the bottom right of the attached image mean?

1 view (last 30 days)
Hello,
I was wondering what exactly the number on the bottom right of this image mean and how could I change it to 25 or 100 for instance?
Thank you.

Accepted Answer

David Young
David Young on 31 Jan 2019
It's a scale bar. It means that the distance between its ends in the image corresponds to a distance of (that is, 0.05 mm) in the real world. An object long in the scene would have the same length as the scale bar in the image.
How you can change it depends on how it was generated. Was the image made with MATLAB? If so, please give details of the code that was used.
  7 Comments
David Young
David Young on 1 Feb 2019
Sorry Penny but I don't really understand that question. You can certainly change the size of the image using, for example imresize, and the scale bar will still be correct because it will change with the rest of the image.
If what you want to is make the scale bar bigger or smaller relative to the image (e.g. you want to make it 25 or 100 microns long), then the best way to do that would be to go back to whatever originally made the image and created the scale bar. If you can't do that, you could use MATLAB to do change the scale bar - it would involve detecting and removing the old scale bar, perhaps using imfill, and then drawing a new scale bar at the size required, perhaps using insertText for the number (assuming you have the Image Processing toolbox and the Computer Vision System toolbox.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!