Using ImageJ to automatically set scale by detecting a scale bar in the photo

imagej

#1

Is it possible to use an ImageJ macro to detect a scale bar in an image and automatically set the scale to that predetermined scale?


#2

Good day,

you may have a look at this post:
http://forum.image.sc/t/corrosion-thickness-measurement/8310/19?u=herbie
(Requires black scale-bars on white ground, etc.)

If you’re not happy with this approach, then please post a typical image in PNG- or TIF-format that shows a relevant scale bar.

Regards

Herbie