1 | initial version |
Dft your mask, embed it into a zero mask-image with the size of your input image, multiply both images pixelwise and idft the result. See here.
2 | No.2 Revision |
Dft your mask, embed it into a zero mask-image with the size of your input image, multiply both images pixelwise and idft the result.
result. (Watch out for the FFT-shift: after dft, your zero frequency is at top-left corner).
See here.
3 | No.3 Revision |
Dft Embed your mask, embed it mask into a zero padded mask-image with the size of your input image, dft it, multiply both images pixelwise and idft the result. (Watch out for the FFT-shift: after dft, your zero frequency is at top-left corner).
See here.
EDIT: first embed, than dft not vice versa.
4 | No.4 Revision |
Embed your mask into a zero padded mask-image with the size of your input image, dft it, multiply both images pixelwise and idft the result. (Watch out for the FFT-shift: after dft, your zero frequency is at top-left corner). See here.
EDIT: first embed, than dft not vice versa.versa. Shift should be regardless.
5 | No.5 Revision |
Embed your mask into a zero padded mask-image with the size of your input image, dft it, multiply both images pixelwise and idft the result. (Watch out for the FFT-shift: after dft, your zero frequency is at top-left corner).
result.
See here.
EDIT: first embed, than dft not vice versa. Shift should be regardless.