function [Reg] = iso_s_smooth(simp,vtx,deg,w); Calculates a second order discrete Gaussian smoothing operator of degree = 1. See help iso_f_smooth for more details. simp = The simplices matrix. vtx = The vertices matrix. deg = 1 for nodes, 2 for edges and 3 for faces w = smoothing weight, w=1...k, default value = 1 Reg = The second order smoothing regulariser.
0001 function [Reg] = iso_s_smooth(simp,vtx,deg,w); 0002 %function [Reg] = iso_s_smooth(simp,vtx,deg,w); 0003 % 0004 %Calculates a second order discrete Gaussian smoothing operator of 0005 %degree = 1. See help iso_f_smooth for more details. 0006 % 0007 % 0008 % 0009 %simp = The simplices matrix. 0010 %vtx = The vertices matrix. 0011 %deg = 1 for nodes, 2 for edges and 3 for faces 0012 %w = smoothing weight, w=1...k, default value = 1 0013 %Reg = The second order smoothing regulariser. 0014 0015 0016 warning('EIDORS:deprecated','ISO_S_SMOOTH is deprecated as of 06-Jun-2012. '); 0017 0018 if nargin<2 0019 w=1; 0020 end 0021 0022 if w<0 0023 error('Weight must be possitive'); 0024 end 0025 0026 [R_first] = iso_f_smooth(simp,vtx,deg,w); 0027 0028 Reg = R_first.'*R_first; 0029 0030 0031 0032 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0033 % This is part of the EIDORS suite. 0034 % Copyright (c) N. Polydorides 2003 0035 % Copying permitted under terms of GNU GPL 0036 % See enclosed file gpl.html for details. 0037 % EIDORS 3D version 2.0 0038 % MATLAB version 5.3 R11 0039 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%