create surf_smooth_expand_parameter object [USAGE] [obj] = surf_smooth_expand_parm_new; [IN] none [OUT] surf_smooth_expand_parameter object Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [obj] = surf_smooth_expand_parm_new() 0002 % create surf_smooth_expand_parameter object 0003 % [USAGE] 0004 % [obj] = surf_smooth_expand_parm_new; 0005 % [IN] 0006 % none 0007 % [OUT] 0008 % surf_smooth_expand_parameter object 0009 % 0010 % 0011 % Copyright (C) 2011, ATR All Rights Reserved. 0012 % License : New BSD License(see VBMEG_LICENSE.txt) 0013 0014 % 0015 % --- Inheritance 0016 % 0017 obj = bm_process_parm_new; 0018 0019 % set class type 0020 obj.class_type = 'surf_smooth_expand_parameter'; 0021 0022 % 0023 % --- Member initialize 0024 % 0025 0026 % --- バネモデル平滑化パラメタ 0027 obj.parm.Nvertex = 5000; % 出力頂点数 0028 obj.parm.vsize = 2 ; % イメージ処理ボクセルサイズ [mm] 0029 0030 obj.parm.tangent_rate = 0.3; % バネ強度 0031 obj.parm.mask_ratio = 0.5; % マスク強度力係数 0032 obj.parm.mask_threshold = 0.3; % マスク強度閾値 0033 0034 obj.parm.plot_mode = 1; % No plot for vb_job_smooth_head 0035 obj.parm.Nloop = 200; % バネモデル平滑化繰り返し回数 0036 obj.parm.Nlast = 10; 0037 0038 % --- CSF 0039 obj.parm.Radius = [6 -6];% 6mm morphological smoothing 0040 0041 0042 % 0043 % --- After check 0044 % 0045 if nargout ~= 1 0046 error('function caller should receive obj.'); 0047 end