孤立点を削除 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_opening_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 if nargin < 3, R2 = R1; end; 0010 0011 B = vb_erosion_2d( B, R1 ); 0012 B = vb_dilation_2d(B, R2 ); 0013