vertical edge of the character

조회 수: 1 (최근 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