Segmentation of scanned pages on text and image blocks
Show older comments
I need to write the code. Can someone write me what steps should I do? If someone has an example, put it, I would be grateful. Attached is the pictures of how it should look. Thanks
Accepted Answer
More Answers (1)
Image Analyst
on 12 Jan 2018
0 votes
Well how much do you know already? If you know nothing about how to write MATLAB code, see these links:
If you already know how to program well, but just aren't familiar with the specific Image Processing functions that need to be called, then tell us that.
5 Comments
Zyx
on 12 Jan 2018
Image Analyst
on 12 Jan 2018
Are you supposed to write this app yourself, or get someone else to write it for you? Just how much of the complete app do you plan on doing yourself?
Zyx
on 12 Jan 2018
Image Analyst
on 12 Jan 2018
Edited: Image Analyst
on 12 Jan 2018
Assuming the images are all color, I'd scan the image and look for where the values of the red, green, and blue channels are more than a few gray levels apart. Then I'd threshold that and fill the blob with imfill.
Then I'd use those color images regions to mask them out (turn to white) in your original image. Then I'd make sure the image is gray scale and call imerode() and then threshold and fill. This should get the text regions. Then combine the text region mask with the color images mask to get the overall mask. See if you can program that up. I'll check back and look at your code later today.
Zyx
on 12 Jan 2018
Categories
Find more on Display Image in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!