smooth

(method of EBSD)

smooth spatial EBSD

Syntax

[ebsd,filter,filledId] = smooth(ebsd,'param1',val1,'param2',val2)

Input

ebsd

EBSD

mple texdata forsterite bsd = ebsd('indexed'); segment grains grains,ebsd.grainId] = calcGrains(ebsd)

find largest grains argeGrains = grains(grains.grainSize>800) bsd = ebsd(largeGrains(1))

igure lot(largeGrains(1).boundary,'linewidth',2) old on M = ipdfHSVOrientationMapping(ebsd); M.inversePoleFigureDirection = mean(ebsd.orientations) * oM.whiteCenter; M.colorStretching = 50; lot(ebsd,oM.orientation2color(ebsd.orientations)) old off

bsd_smoothed = smooth(ebsd) lot(ebsd_smoothed('indexed'),oM.orientation2color(ebsd_smoothed('indexed').orientations)) old on lot(largeGrains(1).boundary,'linewidth',2) old off