How to do horizontal and vertical splitting in an image..?

4 visualizzazioni (ultimi 30 giorni)
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/.
  1. Split the signature image with horizontal line passing through its geometric center to get top and bottom part of signature.
  2. Then, find geometric center for top and bottom part.
  3. Divide the top part with vertical line passing through its geometric center to get left and right part.
  4. 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.

Risposte (1)

Image Analyst
Image Analyst il 14 Apr 2013
Finding the center on a binary image is no problem:
[rows, columns] = find(binaryImage);
meanX = mean(columns);
meanY = mean(rows);

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by