How to display and work with the imaginary part of an RGB Image
4 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
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
Image Analyst
on 13 Aug 2012
realImage = real(complexImage);
imagImage = imag(complexImage);
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!