vertical projection of character image

2 views (last 30 days)
Arul
Arul on 8 Mar 2015
Answered: Image Analyst on 8 Mar 2015
Hi. I am using matlab for the first time. Am in need of vertical projection spliting of character image. plz help me out regarding matlab code in a detail manner. thank you..

Answers (1)

Image Analyst
Image Analyst on 8 Mar 2015
% Project (sum) image vertically to get the horizontal profile.
horizontalProfile = sum(grayImage, 1);
% Project (sum) image horizontally to get the vertical profile.
verticalProfile = sum(grayImage, 2);

Community Treasure Hunt

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

Start Hunting!