From f618466c25d43f3bae9e40920273bf77de1e1149 Mon Sep 17 00:00:00 2001 From: leochanj105 Date: Mon, 19 Oct 2020 23:09:30 -0400 Subject: initial sd-vbs initial sd-vbs add sd-vbs sd-vbs --- SD-VBS/common/toolbox/toolbox_basic/pyramid/gauss_lowpass.m | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 SD-VBS/common/toolbox/toolbox_basic/pyramid/gauss_lowpass.m (limited to 'SD-VBS/common/toolbox/toolbox_basic/pyramid/gauss_lowpass.m') diff --git a/SD-VBS/common/toolbox/toolbox_basic/pyramid/gauss_lowpass.m b/SD-VBS/common/toolbox/toolbox_basic/pyramid/gauss_lowpass.m new file mode 100755 index 0000000..87ad4f1 --- /dev/null +++ b/SD-VBS/common/toolbox/toolbox_basic/pyramid/gauss_lowpass.m @@ -0,0 +1,9 @@ +function J = gauss_lowpass(I,a) + +if (nargin < 2), + a = 0.4; +end + +w = gen_w(a); + +J = conv2(conv2(I,w,'same'),w','same'); -- cgit v1.2.2