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

how to find magnitude of image of size 256x384

Asked by ganesh s on 21 Sep 2011

please tell me how to find and plot the magnitude of the image & how to quantize the output after finding it's magnitude

3 Comments

Image Analyst on 21 Sep 2011

I've been doing imaging over 30 years and I have no idea what this means.

ganesh s on 21 Sep 2011

sir, i have taken the color image of size 256x384. then i have converted it in to gray image (using rgb2gray).then i have find it's Fourier transform.then i need to find the magnitude of the image(because after finding FFT of image we get the complex values)for the image quantization.
I know how to find the magnitude of image(using abs command)but i don't know how to do image quantization on the basis of magnitude values of image (because it's contain exponential values ) & i want to know how to quantize the gray image

Image Analyst on 23 Sep 2011

I still have no idea what you said. The gray scale image is already quantized. Do you want to quantize it in intensity differently? Like into fewer gray levels?

ganesh  s

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 21 Sep 2011
Accepted answer

Finding the magnitude of the discrete Fourier transform does not calculate the magnitude of the image: it only finds the magnitude of the frequency components. If you were to quantize the frequency components and then ifft() to get back to an image, I suspect the result would be pretty messy.

1 Comment

ganesh s on 23 Sep 2011

@ walter Roberson :thanks sir

Walter Roberson

Contact us