How to display and work with the imaginary part of an RGB Image

4 views (last 30 days)
Hi,
I am new to matlab and digital image processing. Please help me to understand and work on Image processing using Matlab. Suppose, I have a RGB Image (800X600X3) and I have to perform the following: # # 1. Transform the image (FFT2) (to frequency domain) # # 2. Display the real part and imaginary part separately # # 3. Do FFTSHIFT # # 4. Re-transform the image (IFFT2) (to spatial domain)
Please help.
Thanks in advance.

Accepted Answer

Image Analyst
Image Analyst on 12 Aug 2012
Did you see the real() and imag() function? You should also extract the individual color channels before you fft and inverse fft. What are you trying to do?
  2 Comments
BSarkar
BSarkar on 13 Aug 2012
Hi,
Thanks for your reply. No I haven't checked the functions real() and imag(). Can you please provide me a sample code. (extract the individual color channels).
As I had told earlier that I am new to matlab and image processing. On acquiring some concepts of FFT2, I was trying to apply the same (Test case) using matlab. Also I want to work only with the imaginary part of the image keeping the real part intact.
Please help.
Thanks in advance.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!