Hi,
if you use a threshold angle of 15 degree, there'll be no boundaries detected below that angle. grains('xy').innerBoundary are simply boundaries which could not be closed - but are still above the anle threshold.
So if you wish to detect boundaries with smaller angles, you also need to do a segmentation with a lower threshold. You can do that separately into a different grain2d variable (and maybe a copy of the ebsd variable to also get grainsId) as well and combine when plotting.
[grains,ebsd.grainId] = ebsd.calcGrains('angle',15*degree);
gb = [grains.boundary('XY','XY') grains('XY').innerBoundary];
%and
ebsd_ll = ebsd;
[grains_l,ebsd_l.grainId]= ebsd.calcGrains('angle',2*degree);
gb_l = [grains_l.boundary('XY','XY') grains_l('XY').innerBoundary];
...
Alternatively, index the boundaries by an angle condition afterwards
[grains,ebsd.grainId]= ebsd.calcGrains('angle',2*degree);
gb = [grains.boundary('XY','XY') grains('XY').innerBoundary];
LAB = gb(gb.misorientation.angle<10*degree);
HAB = gb(gb.misorientation.angle>10*degree)
Hope that helps.
Cheers,
Rüdiger
________________________________________
From:
mtex...@googlegroups.com <
mtex...@googlegroups.com> on behalf of Nick Byres <
nichol...@hotmail.com>
Sent: Wednesday, February 20, 2019 4:38:00 PM
To: MTEX
Subject: {MTEX} Concurrent High and Low Angle GBs
--
If you want to reduce the number of emails you get through this forum login to
https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mtexmail+u...@googlegroups.com<mailto:
mtexmail+u...@googlegroups.com>.
Visit this group at
https://groups.google.com/group/mtexmail.
For more options, visit
https://groups.google.com/d/optout.