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!