merge
(method of grain2d)
merge grains along certain grain boundaries
The function merges grains where the special boundary is determined by the function specialBoundary
Syntax
[grains_merged,parentId] = merge(grains, gB)
Input
grains | |
boundary |
Output
grains_merged | |
parentId |
a list of the same size as grains containing the ids of the merged grains mple: texdata small rains = smooth(calcGrains(ebsd)) merge all neigbouring Diopside grains B = grains.boundary('Diopside','Diopside') grains_m,parentId] = merge(grains,gB) |
MTEX 4.0.4 |