필터 지우기
필터 지우기

Graph Extraction from Handwritten Character.??

조회 수: 2 (최근 30일)
Mohammad Bhat
Mohammad Bhat 2017년 6월 27일
댓글: Walter Roberson 2017년 6월 27일
Hi,
I have extracted important nodes from handwritten character. After that I have to connect those nodes by "Neighbouhood analysis." How can I do that? Any ideas or any suggestions??
The image is attached below.
  댓글 수: 2
Image Analyst
Image Analyst 2017년 6월 27일
편집: Image Analyst 2017년 6월 27일
Not sure what that means. It sounds like you got that phrase from some paper. If so, doesn't the paper describe how to do it?
You could threshold and then call imclose() and then bwmorph(BW, 'skel', inf).
Mohammad Bhat
Mohammad Bhat 2017년 6월 27일
No sir, I got important points from character , these points are choosen such that inherent structure of the character image is preserved....After getting these points I have to join them such that underlying graph is formed. How can I do that..?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 6월 27일
wb = im2bw( imread('untitled.jpg') );
bw = ~wb;
se = strel('disk',4);
joined = imclose(bw, se);
thin = bwmorph(joined, 'thin', inf);
imshow(thin)
  댓글 수: 2
Mohammad Bhat
Mohammad Bhat 2017년 6월 27일
Nothing, other than white dot in a black backgrond
Walter Roberson
Walter Roberson 2017년 6월 27일
The above is the output. You can see that all of the neighbours are joined together, and that the result is one continuous outline for the character, together with a dot for the black spot to the left in the original (you did not say to filter that out.) The nodes have been connected using neighborhood analysis -- imclose() is morphological neighborhood processing that does dilation and then erosion.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by