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/subMtx.m | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/subMtx.m (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/subMtx.m') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/subMtx.m b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/subMtx.m deleted file mode 100755 index ea3c2ea..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/subMtx.m +++ /dev/null @@ -1,21 +0,0 @@ -% MTX = subMtx(VEC, DIMENSIONS, START_INDEX) -% -% Reshape a portion of VEC starting from START_INDEX (optional, -% default=1) to the given dimensions. - -% Eero Simoncelli, 6/96. - -function mtx = subMtx(vec, sz, offset) - -if (exist('offset') ~= 1) - offset = 1; -end - -vec = vec(:); -sz = sz(:); - -if (size(sz,1) ~= 2) - error('DIMENSIONS must be a 2-vector.'); -end - -mtx = reshape( vec(offset:offset+prod(sz)-1), sz(1), sz(2) ); -- cgit v1.2.2