Up/down sample an image/matrix/vector (can be of complex numbers) using the frequency domain.
The matrix/vector should be continuous of a high degree (has continuous derivatives) in order to obtain a reasonable up/down sampling
Speed-up can be achieved if the user up-samples to a near power of 2. no optimization is done inside this code for efficient fft usage.
Documentation is found inside the *.m file.
type "updownsample" for the example
引用格式
Ohad Gal (2024). updownsample (https://www.mathworks.com/matlabcentral/fileexchange/4658-updownsample), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Signal Processing > Wavelet Toolbox > Denoising and Compression >
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Multirate Signal Processing >
标签
致谢
参考作品: fft_upsample
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | I found a linear phase distortion in the output image (only when looking at a complex or real output image), due to spatial misplace of the input image in the fourier domain |