grainBoundary.calcGBND edit page

estimate GBND and GBCD from 2d boundary segments

Syntax

gbnd = calcGBND(gB,ebsd)
gbnd = calcGBND(gB,grains)
% the gbcd for a specific misorientation
gbcd = calcGBND(gB,grains,mori)
% use a specific halfwidth
gbnd = calcGBND(gB,ebsd,'halfwidth',10*degree)

Given an EBSD the orientations on either side of a segment are looked up through gB.ebsdId, which is only meaningful while every segment still runs between one specific pair of pixels. smoothBoundary breaks that by default - it merges and resamples segments - so smooth with 'noSimplify','noRefine' before calling this, or pass the grain2d instead and work from the grain mean orientations.

Input

gB grainBoundary
ebsd EBSD
grains grain2d
mori misorientation or orientation relationship
odf SO3Fun used for texture correction

Output

gbnd S2FunHarmonic

Options

halfwidth used for kernel density estimation
nonneg use a nonnegative kernel

References

  • R. Hielscher, R. Kilian, E. Wünsche: Efficient computation of the grain boundary normal distribution from two dimensional EBSD data, not yet published.

See also