vertical edge of the character

10 views (last 30 days)
esser maalaoui
esser maalaoui on 18 Jan 2013
our object is to detect the the vertical edge of character presented in image for exemple a image of any word contain for exemple the text 'laiMin', i need to compute the length of horizontal bar of character 'I' and 'i' and 'M' and to obtain here sum.
i know the method but i can't applicate with matlab.
methode is: detection with spatial filter masks are based on the directional prewit filter
a=[1 1 1 1 1 1 1;0 0 0 0 0 0 0;-1 -1 -1 -1 -1 -1 -1]
and
b=[ -1 -1 -1 -1 -1 -1 -1;0 0 0 0 0 0 0;1 1 1 1 1 1 1]
please help me

Answers (0)

Community Treasure Hunt

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

Start Hunting!