Classical image segmentaion problem

1 view (last 30 days)
Lora
Lora on 30 Jan 2015
Commented: Lora on 1 Feb 2015
hi I am trying to extract the fields in the image for example the whole field against first anme and so on. Now i have achieved partial results from vertical and horizontal edge detection but i want to explore any new algorithm or ideas hints etc. Attached is my image any suggestions are more than welcome guys. See attached image

Accepted Answer

Image Analyst
Image Analyst on 30 Jan 2015
This is an obvious case for a template . No edge detection needed. You have a form! Take advantage of that fact! Just have a master image that is perfectly aligned with the rows and columns of the image. Then determine the box coordinates for all the fields on that perfect master form. Now, for a "test" form, use imregister() to align it to the master one, then simply use the known coordinates of the fields to extract the sub-images. There are examples for aligning images in the help for imregister.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!