i was given a an image with black lines on white background . what i need to do is, to find the coordinates of the edges at the intersection of black lines..can u plz suggest a way to start with....plzz
Ältere Kommentare anzeigen
Akzeptierte Antwort
Weitere Antworten (1)
As a start, the following will separate the image into a binary image H of horizontal lines and V of vertical lines.
A=double(rgb2gray(imread('sid.png'))<10);
e=ones(1,7);
H=conv2(A,e,'same')>3;
V=conv2(A,e.','same')>3;
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
