I have 2 images of the same scene, captured by different cameras. So they a bit displaced. As far as I can understood, phases of FFT contains info about image details. My goal is to take intensity from first image, details from second and produce enhanced highly detailed image with proper intensity.
I tried to solve problem as is - apply FFT for both images, take magnitudes from first image and phases from second and apply iFFT. But I didn't get what I want. Image looked corrupted, see below.
Then I tried to compute Phase correlation , align images and apply the algorithm described above again. Result was the same.
Is it possible to do what I want? May be I need to do some calculations in frequency domain, like phase shifting? Matlab code is highly appreciated!