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
Show older comments
Accepted Answer
More Answers (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;
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!