i want a matlab code for segmenting cursive alphabets using horizontal and vertical projection

回答(1 个)

To project, you can use this
verticalProjection = sum(theImage, 2);
horizontalProjection = sum(theImage, 1);
You can use mean instead of sum if you want.

类别

帮助中心File Exchange 中查找有关 Language Support 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by