Segment grain boundaries into one unique segment #1884
Replies: 5 comments 2 replies
-
Digging into the grainBoundary documentation, I found the function 'selectByGrainId'. I provided the list of grainId pairs, and I got 243 gBSub instead of the 4160 gB that I had before. Anyway, is this the purpose of the function, and is it doing what I intend? Thanks again! |
Beta Was this translation helpful? Give feedback.
-
May I ask why you want to reduce the number of boundary segments? Ralf. |
Beta Was this translation helpful? Give feedback.
-
Is there any way to do this then? Thanks a lot! Eugenia |
Beta Was this translation helpful? Give feedback.
-
Hi Eugenia, I am also trying to figure this out! Possibly the approach suggested in #1492 maybe could work for you?
I don't know how to reconstruct the calculated line segments back into gb segments though - so you may have to create some workarounds to get the data you're interested in. Vivian |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm working with MTEX to get some data about the grain boundaries in a synthetically created EBSD, with every pixel containing the three Euler angles. Since it is a synthetic microstructure, grain boundaries are straight, and crystal orientations are homogeneous within the grains. However, when I perform the grain segmentation followed by smoothing with the smooth command, I still get several segments per grain boundary (which is logical since my microstructure is composed of square pixels). I tried to impose many iterations, like 1000, to the smooth command, but the grain boundary is still divided into smaller segments. Is there any way to force every grain boundary to be composed of just 1 single segment?
Thanks a lot in advance!
Eugenia
Beta Was this translation helpful? Give feedback.
All reactions