horizontal projection

10 Ansichten (letzte 30 Tage)
Rym MDAINI
Rym MDAINI am 4 Jun. 2011
Hello I want to extract text from images of natural scenes, such as writing is often at the center of the image, I move: 1) binarized image, to distinguish the bottom of the form (writing) and thus determine the color of writing: black or white. 2) from the center of the image (xmin + length (image) / 2, ymin + hauteir (image) / 2) and a window size thickness of the line of writing (which may be the estimate by horizontal projection of black pixels or white depending on the color used for writing into the window in question) 3) while there transitions between black and white pixels smaller than or equal to the thickness of the line of writing, moving in 4 directions (up, down, left, right) to enlarge the bounding rectangle of writing. What do you think? My problem I come not to implement the 2nd & 3rd stages!

Antworten (1)

Image Analyst
Image Analyst am 4 Jun. 2011
I don't understand any of your steps, like how are you going to binarize the image, why do you expect the writing to all be at the center of the image, what the heck step 3 means, etc. But since this is a forum on MATLAB programming, not algorithm development, I can't get into helping you with your algorithm, unless it's first reduced to MATLAB source code.

Community Treasure Hunt

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

Start Hunting!

Translated by