(method of grain2d)
merge grains along special grain boundaries
Whenever two grains share a grain boundary that is in the list gB both grains are merged and the common grain boundary is removed. All the properties of the unmerged grains are removed in the merged grains, since there is no common convention for a mean. In case of merging allong small angle grain boundaries one can force MTEX to compute a new meanOrientation using the option calcMeanOrientation.
[grainsMerged,parentId] = merge(grains,gB)
% compute new meanOrientations for the grains [grainsMerged,parentId] = merge(grains,gB,'calcMeanOrientation')
grains | |
boundary |
grainsMerged | |
parentId |
a list of the same size as grains containing the ids of the merged grains |
mtexdata small
grains = smooth(calcGrains(ebsd))
loading data ... saving data to /home/hielscher/mtex/master/data/small.mat grains = grain2d Phase Grains Pixels Mineral Symmetry Crystal reference frame 0 292 1197 notIndexed 1 50 1952 Forsterite mmm 2 61 290 Enstatite mmm 3 62 282 Diopside 12/m1 X||a*, Y||b*, Z||c boundary segments: 2775 triple points: 187 Properties: GOS, meanRotation
DocHelp 0.1 beta |