Add ifftshift

This commit is contained in:
kradchen
2023-06-08 15:24:49 +08:00
parent eca0e77fcc
commit a0db3777d2
3 changed files with 38 additions and 4 deletions

View File

@@ -135,6 +135,12 @@ namespace Aurora
*/
void fftshift(Matrix &aMatrix);
/**
* fftshift,在原有数据上进行修改将fft的数据的前半部分和后半部分交换支持2D数据
* @param aMatrix
*/
void ifftshift(Matrix &aMatrix);
/**
* 逆fft支持到2维输入必须是复数输出必是复数
* @attention 如有需要可使用real去除虚部