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/benchmarks/texture_synthesis/src/matlab/lpyrHt.m | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlab/lpyrHt.m (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlab/lpyrHt.m') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlab/lpyrHt.m b/SD-VBS/benchmarks/texture_synthesis/src/matlab/lpyrHt.m new file mode 100755 index 0000000..d6834d7 --- /dev/null +++ b/SD-VBS/benchmarks/texture_synthesis/src/matlab/lpyrHt.m @@ -0,0 +1,11 @@ +% [HEIGHT] = lpyrHt(INDICES) +% +% Compute height of Laplacian pyramid with given its INDICES matrix. +% See buildLpyr.m + +% Eero Simoncelli, 6/96. + +function [ht] = lpyrHt(pind) + +% Don't count lowpass residual band +ht = size(pind,1)-1; -- cgit v1.2.2