I have a grey image which I have converted into matrix form, but below the image there is a scale bar. The scale bar is surrounded by white background and scale bar is black. I am wondering if there is a way to code something to go through my matrix of the whole image until it detects the first black pixel (the first black pixel on the scale bar)
MATLAB: Finding length of scale bar from matrix form of image
imageimage processingmatriciesmatrixpixelpixel sizescale bar
Best Answer