How to do horizontal and vertical splitting in an image..?
Show older comments
I am working on features extraction for signature verification. Currently,I have done several processes until finding the gravity center point for that signature. What I need to do now is split the signature image into horizontal and vertical splitting consecutively as shown here http://postimg.org/image/o0uawhech/.
- Split the signature image with horizontal line passing through its geometric center to get top and bottom part of signature.
- Then, find geometric center for top and bottom part.
- Divide the top part with vertical line passing through its geometric center to get left and right part.
- Find the geometric centers for left and right parts of top part correspondingly.
p/s: Similarly, the bottom part is split using same method to obtain ten feature points.
Answers (1)
Image Analyst
on 14 Apr 2013
Have you looked at how others have done it here: http://iris.usc.edu/Vision-Notes/bibliography/contentschar.html#OCR,%20Document%20Analysis%20and%20Character%20Recognition%20Systems
Finding the center on a binary image is no problem:
[rows, columns] = find(binaryImage);
meanX = mean(columns);
meanY = mean(rows);
Categories
Find more on Image Processing and Computer Vision 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!