Smoothing of EBSD data takes very long, please help

76 views
Skip to first unread message

Terex

unread,
Jun 23, 2016, 1:28:12 PM6/23/16
to MTEX
Hi,


I want to use the functionality of EBSD data smoothing to produce maps of grain orientations (and internal misorientation). Because my maps cover an area over 1 mm^2, it takes something like half an hour to produce these maps. Is this normal? I am aware of the option: ebsd = reduce(ebsd,3) to speed it up, but the maps do not look nearly as good.

Previously, with MTex 3.5 I could apply the same grain reconstruction for grain orientation maps and the result was fast and to my knowledge accurate. But now it does not seem possible anymore using MTex 4.3.x. Here is my code. Please advise.

%% PLOT GRAIN ORIENTATION DATA ALONG COMPRESSION DIR (Y-VECTOR)
% SMOOTH FILTER TO COMPLETE GRAINS (WARNING: CPU INTENSIVE!)
 F = splineFilter;
 ebsd_smoothed = smooth(ebsd_corrected('indexed'),F,'fill',grains);
 % PLOT GRAIN ORIENTATION DATA 
oMFo = ipdfHSVOrientationMapping(ebsd_smoothed('Forsterite'));
oMFo.inversePoleFigureDirection = yvector;
colorFo = oMFo.orientation2color(ebsd_smoothed('Fo').orientations);
oMEn = ipdfHSVOrientationMapping(ebsd_smoothed('Enstatite'));
oMEn.inversePoleFigureDirection = yvector;
colorEn = oMEn.orientation2color(ebsd_smoothed('En').orientations);

figure
plot(ebsd_smoothed('Fo'),colorFo)
hold on
plot(ebsd_smoothed('En'),colorEn)
plot(grains2.boundary,'linewidth',0.1)
%mtexTitle('Compression direction','FontSize',8)
hold off

Rüdiger Kilian

unread,
Jun 23, 2016, 2:23:46 PM6/23/16
to mtex...@googlegroups.com
Hi Robert,
yes, smoothing large maps is actually not very fast with some filters, so half an hour might be normal, depending on the size of the map and your computer. In case the splineFilter is too "brutal" in terms of removing low angle boundaries, you might want also to try out the halfquadratic spline filter and tweak a bit the alpha and threshold parameters. Results are quite nice.
Cheers,
Rüdiger



From: mtex...@googlegroups.com [mtex...@googlegroups.com] on behalf of Terex [rober...@gmail.com]
Sent: Thursday, June 23, 2016 3:19 PM
To: MTEX
Subject: {MTEX} Smoothing of EBSD data takes very long, please help

--
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.
Visit this group at https://groups.google.com/group/mtexmail.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages