Skip to content

Remove segments located inside the grain #683

Discussion options

You must be logged in to vote

To ignore all inclusion grain boundaries you can do

% all grain boundary segments
gB = grains.boundary;

gBnotIncl = gB(~any(ismember(gB.grainId,grains(grains.isInclusion).id),2)));

plot(gBnotIncl)

All the best,

Ralf.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Saoussen-ouhiba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants