add and modify region grow function

now the function of region grow could run without parameter  'distance' ,it is easier to use ,and become more general.