Borrar filtros
Borrar filtros

Removing non text regions

1 visualización (últimos 30 días)
Vijay
Vijay el 6 de Abr. de 2013
This is my sample image http://tinypic.com/r/t8knki/6
After applying pixel range removal using ismember function
removing non text regions is the task for me in this image..i have removed the larger regions using a pixel range condition and ismember functions still some regions exist which have to be eliminated using a condition where
AREA = Number of connected pixels in the object
WIDTH & LENGTH = length and width of the bounding box on the object (regionprops-boundingbox)
Condition
{AREA/(WIDTH*LENGTH)} <= .2222 OR >.95 AND
min(WIDTH/LENGTH,LENGTH/WIDTH) <=.2
if this is satisfied then i have to remove the object considering it a non text region
Thanks in advance..

Respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by