how to segment form?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
lamghari
am 27 Nov. 2014
Kommentiert: lamghari
am 29 Nov. 2014
I have a form table that contains characters. how to extract these characters?
4 Kommentare
Akzeptierte Antwort
Image Analyst
am 28 Nov. 2014
First I'd sum the image vertically and horizontally and look for the rows and columns where the grid lines are. Then call imcrop.
[rows, columns, numberOfColorChannels) = size(grayImage);
horizontalProfile = sum(grayImage, 1);
verticalProfile = sum(grayImage, 2);
binaryHoriz = horizontalProfile < someNumber;
and so on. Give it a try.
3 Kommentare
Image Analyst
am 29 Nov. 2014
Plot the profiles and you'll be able to tell what the number is. It might be like half the max value or something.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!