简体   繁体   中英

Fourier transform on images with holes

This is a problem in our lab work recently

  1. I would like to fourier transform an image with several "holes" on it.
  2. Those holes are ellipses and of different orientations. Eg an imgae with holes
  3. After fourier transform, some magnitudes would be modified.
  4. These holes must be kept intact when inversing the fourier transform, also those modifications would be recovered later. so simply padding with zeros is not working because 1) Modifications will "contaminate" the holes when inversing the fourier transform. 2) Padding with zeros and putting the holes content back will make a complete recovery impossible.

So, would it be possible to do fourier transform on an image with holes? or could we map or decompose the concave image into rectangle(s)?

Two answers depending on exactly what you want to do:

1- Can you find the spatial domain equivalent of your magnitude modification, and apply a 2D convolution on the image but the holes?

2- Can you follow an iterative approach, in which you replace the "holes" with an average value, do fft, apply your magnitude transformation, do ifft, replace the holes with the original content, and repeat until you get sufficient convergence?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM