From 25d94aa8aabb8ac3e8bbea0bc439ea6148444cc8 Mon Sep 17 00:00:00 2001 From: leochanj Date: Wed, 21 Oct 2020 01:52:54 -0400 Subject: debug libextra and remove matlab --- .../texture_synthesis/src/matlabPyrTools/spyrLev.m | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/spyrLev.m (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/spyrLev.m') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/spyrLev.m b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/spyrLev.m deleted file mode 100755 index 5cb4a85..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/spyrLev.m +++ /dev/null @@ -1,24 +0,0 @@ -% [LEV,IND] = spyrLev(PYR,INDICES,LEVEL) -% -% Access a level from a steerable pyramid. -% Return as an SxB matrix, B = number of bands, S = total size of a band. -% Also returns an Bx2 matrix containing dimensions of the subbands. - -% Eero Simoncelli, 6/96. - -function [lev,ind] = spyrLev(pyr,pind,level) - -nbands = spyrNumBands(pind); - -if ((level > spyrHt(pind)) | (level < 1)) - error(sprintf('Level number must be in the range [1, %d].', spyrHt(pind))); -end - -firstband = 2 + nbands*(level-1); -firstind = 1; -for l=1:firstband-1 - firstind = firstind + prod(pind(l,:)); -end - -ind = pind(firstband:firstband+nbands-1,:); -lev = pyr(firstind:firstind+sum(prod(ind'))-1); -- cgit v1.2.2