Hello Dears, i want matlab code for completing the thin border of the number plate to apply imfill function
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2017-8-26
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 个评论
Image Analyst
2017-8-27
编辑:Image Analyst
2017-8-27
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!