http://www.mathworks.com/matlabcentral/newsreader/view_thread/276332
MATLAB Central Newsreader  Image
Feed for thread: Image
enus
©19942015 by MathWorks, Inc.
webmaster@mathworks.com
MATLAB Central Newsreader
http://blogs.law.harvard.edu/tech/rss
60
MathWorks
http://www.mathworks.com/images/membrane_icon.gif

Sat, 13 Mar 2010 05:17:08 +0000
Image
http://www.mathworks.com/matlabcentral/newsreader/view_thread/276332#725999
kk KKsingh
I applied it on the signal now i want to apply on the image<br>
<br>
Suppose i have taken a image <br>
<br>
Having x on x, and t on y.....<br>
<br>
So i it will be a matrix. Now i want to decimate that image by 10%.........after decimation i want to apply FFT by putting zeros in place of decimation get the spectrum.. I want to apply it on rows as I am decimation X direction not y direction..So how should i do it any starting steps will be good for me

Sat, 13 Mar 2010 12:24:07 +0000
Re: Image
http://www.mathworks.com/matlabcentral/newsreader/view_thread/276332#726054
Sadik
Hi,<br>
<br>
You can start like this:<br>
<br>
decimateBy = round(size(A,1)/10);<br>
A(1:decimateBy:end,:) = 0;<br>
<br>
Then you can do fft and so on.<br>
<br>
Best.<br>
<br>
<br>
"kk KKsingh" <akikumar1983@gmail.com> wrote in message <hnf74k$mv5$1@fred.mathworks.com>...<br>
> I applied it on the signal now i want to apply on the image<br>
> <br>
> Suppose i have taken a image <br>
> <br>
> Having x on x, and t on y.....<br>
> <br>
> So i it will be a matrix. Now i want to decimate that image by 10%.........after decimation i want to apply FFT by putting zeros in place of decimation get the spectrum.. I want to apply it on rows as I am decimation X direction not y direction..So how should i do it any starting steps will be good for me