From: sanjay on
Hi all,
I am considering image which contains text. How to find centroid for each line using matlab. Pls send me the code.

Thanks

From: us on
"sanjay " <sanjaymn75(a)yahoo.com> wrote in message <hmgk5h$fg4$1(a)fred.mathworks.com>...
> Hi all,
> I am considering image which contains text. How to find centroid for each line using matlab. Pls send me the code.
>
> Thanks
>

a hint:

help regionprops; % <- requres the image proc tbx

us
From: Smith Kumar on
"sanjay " <sanjaymn75(a)yahoo.com> wrote in message <hmgk5h$fg4$1(a)fred.mathworks.com>...
> Hi all,
> I am considering image which contains text. How to find centroid for each line using matlab. Pls send me the code.
>
> Thanks
>

Hi Sanjay,

There are several ways to determine the centrod in matlab.

The following links should help:
http://blogs.mathworks.com/steve/2007/08/31/intensity-weighted-centroids/
http://www.mathworks.com/matlabcentral/fileexchange/5457-centroid-calculation-function

Cheers,
 | 
Pages: 1
Prev: Rename activex controls
Next: audio steganography