smooth

(method of EBSDsquare)

smooth spatial EBSD data

Syntax

[ebsd,filter] = 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.maxAngle = 1.5*degree; lot(ebsd,oM.orientation2color(ebsd.orientations)) old off

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