title: Character extraction - dots are recognized separately from the character
body: <p>I'm doing character recognition for a regional language. While extracting  the image, the dots are being separately identified as characters.</p>
  
  <pre><code>%% Plot Bounding Box
  for n=1:size(propied,1)
  rectangle('Position',propied(n).BoundingBox,'EdgeColor','g','LineWidth',2)
  end
  hold off
  
  %% Characters being Extracted
  figure
   for n=1:Ne
   [r,c] = find(L==n);
   n1=imagen(min(r):max(r),min(c):max(c));
   imshow(~n1);
   end
  </code></pre>
  
  <p>Original code: <a href="http://www.mathworks.com/matlabcentral/fileexchange/22922-image-segmentation-extraction" rel="nofollow noreferrer">http://www.mathworks.com/matlabcentral/fileexchange/22922-image-segmentation-extraction</a></p>