How can i find co-ordinates (x,y) of white lines in the image?
Ältere Kommentare anzeigen
I have image with black background and white lines. How to find co-ordinates (x,y) of white lines on that image?
2 Kommentare
William
am 30 Nov. 2015
how is the data representing black and white. 0's and 1's?. What format is the image in?
LAKSHMANAN ADAIKKAPPAN
am 30 Nov. 2015
Antworten (2)
Thorsten
am 30 Nov. 2015
[y, x] = ind2sub(size(I), find(I > 0));
Walter Roberson
am 30 Nov. 2015
0 Stimmen
You will have difficulty finding the location of the lines. JPG images cannot handle sharp edges, so although the data may look like it is just white and black, you will find that it has a number of other values as well, similar to as if the image had been anti-aliased. JPG is a poor format for image analysis.
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!