How to extract the plate area only from black background
Mostrar comentarios más antiguos
Hi, i want to know how to crop the plate area only from the image shown below my code takes the RGB image & outputs this image, so i need only a way to extract the numbers area only here is the output picture

thanks in advance
Respuesta aceptada
Más respuestas (2)
Image Analyst
el 3 de Ag. de 2012
2 votos
You could pass the image into regionprops() and ask for area and eccentricity. The plate will have a lower eccentricity than the lines, and probably but not necessarily a larger area than any/most/all of the lines. But I can't tell that that rectangular blob with a bunch of holes in it in the lower left is not also another license plate. At least for this one particular image, you could get rid of that based on area or FilledArea.
Thomas
el 3 de Ag. de 2012
1 voto
The following thread might be helpful
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!