summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/texture_synthesis/src/matlab/modulateFlip.m
diff options
context:
space:
mode:
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlab/modulateFlip.m')
-rwxr-xr-xSD-VBS/benchmarks/texture_synthesis/src/matlab/modulateFlip.m19
1 files changed, 0 insertions, 19 deletions
diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlab/modulateFlip.m b/SD-VBS/benchmarks/texture_synthesis/src/matlab/modulateFlip.m
deleted file mode 100755
index eb27303..0000000
--- a/SD-VBS/benchmarks/texture_synthesis/src/matlab/modulateFlip.m
+++ /dev/null
@@ -1,19 +0,0 @@
1% [HFILT] = modulateFlipShift(LFILT)
2%
3% QMF/Wavelet highpass filter construction: modulate by (-1)^n,
4% reverse order (and shift by one, which is handled by the convolution
5% routines). This is an extension of the original definition of QMF's
6% (e.g., see Simoncelli90).
7
8% Eero Simoncelli, 7/96.
9
10function [hfilt] = modulateFlipShift(lfilt)
11
12lfilt = lfilt(:);
13
14sz = size(lfilt,1);
15sz2 = ceil(sz/2);
16
17ind = [sz:-1:1]';
18
19hfilt = lfilt(ind) .* (-1).^(ind-sz2);