From 0efc775370d2ff91927d1b383a99eab78dc5538f Mon Sep 17 00:00:00 2001 From: leochanj Date: Wed, 21 Oct 2020 01:52:54 -0400 Subject: debug libextra and remove matlab FLUSH_CACHES --- .../texture_synthesis/src/matlabPyrTools/ifftshift.m | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/ifftshift.m (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/ifftshift.m') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/ifftshift.m b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/ifftshift.m deleted file mode 100755 index 2ade297..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/ifftshift.m +++ /dev/null @@ -1,15 +0,0 @@ -% [RES] = ifftshift (MTX) -% -% Inverse of MatLab's FFTSHIFT. That is, -% ifftshift(fftshift(MTX)) = MTX -% for any size MTX. - -% Eero Simoncelli, 2/97. - -function [res] = ifftshift(mtx) - -sz = size(mtx); -DC = ceil((sz+1)./2); % location of DC term in a matlab fft. - -res = [mtx(DC(1):sz(1), DC(2):sz(2)) , mtx(DC(1):sz(1), 1:DC(2)-1); ... - mtx(1:DC(1)-1, DC(2):sz(2)) , mtx(1:DC(1)-1, 1:DC(2)-1)]; -- cgit v1.2.2