diff options
| author | leochanj <jbakita@cs.unc.edu> | 2020-10-21 01:52:54 -0400 |
|---|---|---|
| committer | leochanj <jbakita@cs.unc.edu> | 2020-10-21 01:52:54 -0400 |
| commit | 25d94aa8aabb8ac3e8bbea0bc439ea6148444cc8 (patch) | |
| tree | ba80e76d25d9ca9486092e2f6b6d76f0e3352bf7 /SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m | |
| parent | e2b50015cebdfba68699abd6e8575e38230f5a78 (diff) | |
debug libextra and remove matlab
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m')
| -rwxr-xr-x | SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/modulateFlip.m | 19 |
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 | |||
| 10 | function [hfilt] = modulateFlipShift(lfilt) | ||
| 11 | |||
| 12 | lfilt = lfilt(:); | ||
| 13 | |||
| 14 | sz = size(lfilt,1); | ||
| 15 | sz2 = ceil(sz/2); | ||
| 16 | |||
| 17 | ind = [sz:-1:1]'; | ||
| 18 | |||
| 19 | hfilt = lfilt(ind) .* (-1).^(ind-sz2); | ||
