segment the characters in the image

 Respuesta aceptada

KSSV
KSSV el 22 de Feb. de 2018
I = imread('BW1.bmp') ;
I = ~I ;
s = sum(I,2) ;
idx = find(s) ;
idx gives you the rows which have the characters.

Más respuestas (1)

michael scheinfeild
michael scheinfeild el 22 de Feb. de 2018

0 votos

try use properties and take bounding boxes the seperete by witdh , maybe you need also erosion/dilation to separate https://www.mathworks.com/help/images/ref/regionprops.html

Etiquetas

Preguntada:

el 22 de Feb. de 2018

Editada:

el 28 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by