vertical edge of the character

2 ビュー (過去 30 日間)
esser maalaoui
esser maalaoui 2013 年 1 月 18 日
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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by