필터 지우기
필터 지우기

Region merging and localization in Binary Image

조회 수: 4 (최근 30일)
akpojotor princewill
akpojotor princewill 2017년 8월 1일
댓글: Walter Roberson 2017년 9월 29일
Take a look at the attached image. it has been processed up till this stage. But its a little difficult and complex algorithm trying to extract the relevant area (number plate region) using the following steps. 1. label connected components 2. Find centroid of each region 2. if centroid of region along x-direction (horizontal direction)are equalto or less than 10 pixels along the x-direction (horizontal direction), MERGE. 3. Boundbox of region larger than threshold T
Any other approach of localizing the number region of the image above would be appreciated.

채택된 답변

Image Analyst
Image Analyst 2017년 8월 1일
  댓글 수: 3
akpojotor princewill
akpojotor princewill 2017년 8월 24일
Thank you Image analyst for the link. Though it took a while i was able to extract information I needed from it to tune my algorithm. However, am facing a challenge achieving my intended result.
The summary of the algorithm is to input a binary image with license plate text characters.
1. Identify and label connected components (as expected, this includes other invalid connected components)
2. compute aspect ratio from bounding box of connected components
3. filter components that does not meet criteria based on text character aspect ratio.
4. fill bounding box with valid aspect with white pixels
5. morphological dilate the image in order to get text character region connected, forming a larger component.
6. identify and label the image with new connected component
7. compute aspect ratio of bounding boxes and filter components that do not meet license plate aspect ratio criteria.
Attached is the input binary image and a snippet of what i have done and where am finding difficult. Your contributions and suggestions are highly appreciated. thank you
Image Analyst
Image Analyst 2017년 8월 24일
You can ask regionprops to get the bounding box, though it won't be tilted. You can use propfilt() to filter out blobs not meeting criteria, or do it "manually" like I do in my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by