Hello Dears, i want matlab code for completing the thin border of the number plate to apply imfill function
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ayaz Wazir
le 26 Août 2017
Modifié(e) : Image Analyst
le 27 Août 2017
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.

0 commentaires
Réponse acceptée
Image Analyst
le 26 Août 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 commentaires
Image Analyst
le 27 Août 2017
Modifié(e) : Image Analyst
le 27 Août 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!