summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m
diff options
context:
space:
mode:
authorleochanj <jbakita@cs.unc.edu>2020-10-21 01:52:54 -0400
committerleochanj <jbakita@cs.unc.edu>2020-10-21 01:52:54 -0400
commit25d94aa8aabb8ac3e8bbea0bc439ea6148444cc8 (patch)
treeba80e76d25d9ca9486092e2f6b6d76f0e3352bf7 /SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m
parente2b50015cebdfba68699abd6e8575e38230f5a78 (diff)
debug libextra and remove matlab
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m')
-rwxr-xr-xSD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m19
1 files changed, 0 insertions, 19 deletions
diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m
deleted file mode 100755
index eb27303..0000000
--- a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/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);