constraint laplacian smoothing of grain boundaries
Syntax
grains = smooth(grains,iter,varargin)Input
| grains | grain2d | 
| iter | number of iterations (default: 1) | 
Output
| grains | grain2d | 
Options
| moveTriplePoints | do not exclude triple/quadruple points from smoothing | 
| moveOuterBoundary | do not exclude outer boundary from smoothing | 
| second_order, S2 | second order smoothing | 
| rate | default smoothing kernel | 
| gauss | Gaussian smoothing kernel | 
| exp | exponential smoothing kernel | 
| umbrella | umbrella smoothing kernel |