穴を埋める Made by M. Sato 2004-3-28 Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function B = vb_closing_2d(B, R1, R2) 0002 % 穴を埋める 0003 % 0004 % Made by M. Sato 2004-3-28 0005 % 0006 % Copyright (C) 2011, ATR All Rights Reserved. 0007 % License : New BSD License(see VBMEG_LICENSE.txt) 0008 0009 0010 if nargin < 3, R2 = R1; end; 0011 0012 B = vb_dilation_2d(B, R1 ); 0013 B = vb_erosion_2d( B, R2 ); 0014