how to find magnitude of image of size 256x384

1 次查看(过去 30 天)
please tell me how to find and plot the magnitude of the image & how to quantize the output after finding it's magnitude
  3 个评论
ganesh s
ganesh s 2011-9-21
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
Image Analyst 2011-9-23
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?

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2011-9-21
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.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by