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.

채택된 답변

Image Analyst
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
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 CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by