Hello Dears, i want matlab code for completing the thin border of the number plate to apply imfill function

2 visualizaciones (últimos 30 días)
i want matlab code for completing the thin border of the number plate to apply imfill function to fill the number plate area. the image is attached.

Respuesta aceptada

Image Analyst
Image Analyst el 26 de Ag. de 2017
That might not be necessary to do OCR on the inside. Did you see this: http://www.mathworks.com/help/vision/ref/ocr.html#bt548t1-2_1
  2 comentarios
Image Analyst
Image Analyst el 27 de Ag. de 2017
Editada: Image Analyst el 27 de Ag. de 2017
Label the binary image with bwlabel(). Get endpoints with bwmorph(). For every endpoint, if there is another endpoint within a certain distance that does not have the same label, use imline() to connect it to the closest other endpoint. Use bwconvhull() to fill in and get the convex hull of all blobs.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by