summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m
diff options
context:
space:
mode:
Diffstat (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m')
-rwxr-xr-xSD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/blur.m28
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
13function res = blur(im, nlevs, filt)
14
15%------------------------------------------------------------
16%% OPTIONAL ARGS:
17
18if (exist('nlevs') ~= 1)
19 nlevs = 1;
20end
21
22if (exist('filt') ~= 1)
23 filt = 'binom5';
24end
25
26%------------------------------------------------------------
27
28res = upBlur(blurDn(im,nlevs,filt)); \ No newline at end of file