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 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by