Graph Extraction from Handwritten Character.??
    6 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
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 Commenti
  Image Analyst
      
      
 il 27 Giu 2017
				
      Modificato: Image Analyst
      
      
 il 27 Giu 2017
  
			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).
Risposte (1)
  Walter Roberson
      
      
 il 27 Giu 2017
        wb = im2bw( imread('untitled.jpg') );
bw = ~wb;
se = strel('disk',4);
joined = imclose(bw, se);
thin = bwmorph(joined, 'thin', inf);
imshow(thin)
2 Commenti
  Walter Roberson
      
      
 il 27 Giu 2017
				
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.
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!