smooth

(method of grain2d)

constraint laplacian smoothing of grain boundaries and inner boundaries.

Syntax

grains = smooth(grains,iter,'param1',val1,'param2',val2)

Input

grains

grain2d

iter

number of iterations (optional, default: 1)

param,val Parameters and values that control smooth
Parameter Description
''gauss','exp','umbrella' or 'rate''

interpoaltion methods (default: 'rate')

'second_order, S2'

second order smoothing

Output

grains

grain2d