Effacer les filtres
Effacer les filtres

Region merging and localization in Binary Image

4 vues (au cours des 30 derniers jours)
akpojotor princewill
akpojotor princewill le 1 Août 2017
Commenté : Walter Roberson le 29 Sep 2017
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.

Réponse acceptée

Image Analyst
Image Analyst le 1 Août 2017
  3 commentaires
akpojotor princewill
akpojotor princewill le 24 Août 2017
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 le 24 Août 2017
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by