diff options
Diffstat (limited to 'macros/ifftshift.sci')
-rw-r--r-- | macros/ifftshift.sci | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/ifftshift.sci b/macros/ifftshift.sci new file mode 100644 index 0000000..0d79a51 --- /dev/null +++ b/macros/ifftshift.sci @@ -0,0 +1,12 @@ +function new_image = ifftshift(image) + + image_list = mattolist(image) + + out = opencv_ifftshift(image_list) + + sz = size(out) + for i = 1 : sz + new_image(:, :, i) = out(i) + end + +endfunction |