iso_s_smooth

PURPOSE ^

function [Reg] = iso_s_smooth(simp,vtx,deg,w);

SYNOPSIS ^

function [Reg] = iso_s_smooth(simp,vtx,deg,w);

DESCRIPTION ^

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.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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 if nargin<2 
0017    w=1;
0018 end
0019 
0020 if w<0
0021    error('Weight must be possitive');
0022 end
0023 
0024 [R_first] = iso_f_smooth(simp,vtx,deg,w);
0025 
0026 Reg = R_first.'*R_first;
0027 
0028 
0029 
0030 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0031 % This is part of the EIDORS suite.
0032 % Copyright (c) N. Polydorides 2003
0033 % Copying permitted under terms of GNU GPL
0034 % See enclosed file gpl.html for details.
0035 % EIDORS 3D version 2.0
0036 % MATLAB version 5.3 R11
0037 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Generated on Tue 09-Aug-2011 11:38:31 by m2html © 2005