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
古いコメントを表示
採用された回答
その他の回答 (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;
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
