Info
This question is closed. Reopen it to edit or answer.
How do I process scanned images to work with my current code??
1 view (last 30 days)
Show older comments
Hello there! I'm developing a code in MATLAB that automates the process of calculating the defaulters in a class on a certain parameter(say 75%). My code currently works for computer generated images of attendance sheets but wont work for scanned images as it was intended to.(Both are attached below) Can someone please take a look at the code attached below and guide me in the right direction as I'm freaking out.
2 Comments
Image Analyst
on 17 Apr 2014
Which m-file is the main one? Where does it fail? Are you able to find the boxes inside the grid lines? Or does it do that okay but can't distinguish between a 0 and a 1. Are all your o's guaranteed to be closed? For the 0's and 1's I'd take the convex hull of each and look at the area. If the 0 is rather narrow, then for those "in between areas" you might need to look at other featured, like the Euler number.
Answers (1)
Image Analyst
on 22 Apr 2014
Clinton, you can start with this MAGIC framework: http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component
Or you can learn how to build your own custom GUI: http://blogs.mathworks.com/videos/category/gui-or-guide/
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!