Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Image

Subject: Image

From: kk KKsingh

Date: 13 Mar, 2010 05:17:08

Message: 1 of 2

I applied it on the signal now i want to apply on the image

Suppose i have taken a image

Having x on x, and t on y.....

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

Subject: Image

From: Sadik

Date: 13 Mar, 2010 12:24:07

Message: 2 of 2

Hi,

You can start like this:

decimateBy = round(size(A,1)/10);
A(1:decimateBy:end,:) = 0;

Then you can do fft and so on.

Best.


"kk KKsingh" <akikumar1983@gmail.com> wrote in message <hnf74k$mv5$1@fred.mathworks.com>...
> I applied it on the signal now i want to apply on the image
>
> Suppose i have taken a image
>
> Having x on x, and t on y.....
>
> 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

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us