diff options
author | leochanj105 <leochanj@live.unc.edu> | 2020-10-20 03:47:33 -0400 |
---|---|---|
committer | leochanj105 <leochanj@live.unc.edu> | 2020-10-20 03:47:33 -0400 |
commit | a32f220f06cc463e5b56e7fa0b1b1334d94d08f3 (patch) | |
tree | 4af4caa60074465d85fc2ef5cc1b23e74c064329 /SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m | |
parent | 79f30887129145e15e5172e36a7d7602859fc932 (diff) |
matlab removed
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m')
-rwxr-xr-x | SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m deleted file mode 100755 index f993d09..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | % RES = blur(IM, LEVELS, FILT) | ||
2 | % | ||
3 | % Blur an image, by filtering and downsampling LEVELS times | ||
4 | % (default=1), followed by upsampling and filtering LEVELS times. The | ||
5 | % blurring is done with filter kernel specified by FILT (default = | ||
6 | % 'binom5'), which can be a string (to be passed to namedFilter), a | ||
7 | % vector (applied separably as a 1D convolution kernel in X and Y), or | ||
8 | % a matrix (applied as a 2D convolution kernel). The downsampling is | ||
9 | % always by 2 in each direction. | ||
10 | |||
11 | % Eero Simoncelli, 3/04. | ||
12 | |||
13 | function res = blur(im, nlevs, filt) | ||
14 | |||
15 | %------------------------------------------------------------ | ||
16 | %% OPTIONAL ARGS: | ||
17 | |||
18 | if (exist('nlevs') ~= 1) | ||
19 | nlevs = 1; | ||
20 | end | ||
21 | |||
22 | if (exist('filt') ~= 1) | ||
23 | filt = 'binom5'; | ||
24 | end | ||
25 | |||
26 | %------------------------------------------------------------ | ||
27 | |||
28 | res = upBlur(blurDn(im,nlevs,filt)); \ No newline at end of file | ||