From a32f220f06cc463e5b56e7fa0b1b1334d94d08f3 Mon Sep 17 00:00:00 2001 From: leochanj105 Date: Tue, 20 Oct 2020 03:47:33 -0400 Subject: matlab removed --- .../texture_synthesis/src/matlabPyrTools/mkAngle.m | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100755 SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/mkAngle.m (limited to 'SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/mkAngle.m') diff --git a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/mkAngle.m b/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/mkAngle.m deleted file mode 100755 index bd54f8d..0000000 --- a/SD-VBS/benchmarks/texture_synthesis/src/matlabPyrTools/mkAngle.m +++ /dev/null @@ -1,32 +0,0 @@ -% IM = mkAngle(SIZE, PHASE, ORIGIN) -% -% Compute a matrix of dimension SIZE (a [Y X] 2-vector, or a scalar) -% containing samples of the polar angle (in radians, CW from the -% X-axis, ranging from -pi to pi), relative to angle PHASE (default = -% 0), about ORIGIN pixel (default = (size+1)/2). - -% Eero Simoncelli, 6/96. - -function [res] = mkAngle(sz, phase, origin) - -sz = sz(:); -if (size(sz,1) == 1) - sz = [sz,sz]; -end - -% ----------------------------------------------------------------- -% OPTIONAL args: - -if (exist('origin') ~= 1) - origin = (sz+1)/2; -end - -% ----------------------------------------------------------------- - -[xramp,yramp] = meshgrid( [1:sz(2)]-origin(2), [1:sz(1)]-origin(1) ); - -res = atan2(yramp,xramp); - -if (exist('phase') == 1) - res = mod(res+(pi-phase),2*pi)-pi; -end -- cgit v1.2.2