Saving EBSD data after processing in MTEX?

676 views
Skip to first unread message

MTEXNewbie

unread,
Sep 21, 2017, 10:50:54 AM9/21/17
to MTEX
I was wondering if it is possible to save the EBSD data after processing (cleaning/smoothing) in MTEX, maybe in .ang or .ctf format?

Basically, I am trying to use STABiX, and I do not have access to TSL-OIM Analysis software to export the Grain File Type 2 and Reconstructed Boundaries File. Loading the EBSD data in STABiX using MTEX results in erroneous grains and grain boundary as the data is uncleaned.

Luiz F. G. Morales

unread,
Sep 21, 2017, 11:22:24 AM9/21/17
to mtex...@googlegroups.com
Hi


You can Save all variables from the workspace in a binary MAT-file

filename = whatevername.mat';
save(filename)

Does it do what you want?


Luiz









On 21. Sep 2017, at 16:50, MTEXNewbie <rashed...@gmail.com> wrote:

I was wondering if it is possible to save the EBSD data after processing (cleaning/smoothing) in MTEX, maybe in .ang or .ctf format?

Basically, I am trying to use STABiX, and I do not have access to TSL-OIM Analysis software to export the Grain File Type 2 and Reconstructed Boundaries File. Loading the EBSD data in STABiX using MTEX results in erroneous grains and grain boundary as the data is uncleaned.

--
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.

ETH Zürich
Luiz F. G. Morales
Scientific Center for Optical and Electron Microscopy (ScopeM)
HPT D 9
Auguste-Piccard-Hof 1
8093 Zurich, Switzerland
Phone +41 44 633 37 46
E-mail: luiz.m...@scopem.ethz.ch
URL: www.scopem.ethz.ch
URL: https://sites.google.com/site/luizfgmorales/
Skype: lfgmorales




MTEXNewbie

unread,
Sep 21, 2017, 11:28:21 AM9/21/17
to MTEX
Hi Luiz,

STABiX cannot read binary MAT-file, it has to be either .ang or .ctf so that I can load the cleaned/smoothed data directly in STABiX with MTEX.


ruediger Kilian

unread,
Sep 21, 2017, 12:25:55 PM9/21/17
to mtex...@googlegroups.com
Hi,
no need for that, I think stabix uses an ebsd variable called ‘ebsd', created with the mtex import wizard.
Cheers,
Rüdiger

MTEXNewbie

unread,
Sep 21, 2017, 2:33:19 PM9/21/17
to MTEX
Hi,

Yes, stabix uses an ebsd variable called ‘ebsd', created with the mtex import wizard. But the EBSD data cannot be cleaned after loading data in STABiX, so every single pixel index points are being shown as grains in STABiX.

If I could save the cleaned/smoothed data in .ctf/.ang format from MTEX, then it can be loaded in STABiX later.

Luiz F. G. Morales

unread,
Sep 22, 2017, 7:27:01 AM9/22/17
to mtex...@googlegroups.com
hi

maybe (but I am not entirely sure it work) you can actually rename your cleaned ebsd to ebsd

for instance




F=splineFilter
ridiculously_cleaned_ebsd=smooth(ebsd('indexed'),F,'fill',grains)
ebsd=ridiculously_cleaned_ebsd


does this help???

all the best


Luiz





--
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.

Frank

unread,
Apr 17, 2019, 9:57:28 PM4/17/19
to MTEX
Hi,

I have just written a short function to export mtex ebsd objects to Channel Text Files (ctf). Maybe this is of help for you. You can find the function here: 
https://github.com/frankNiessen/exportCTF

Cheers
Frank

MTEXNewbie

unread,
Apr 18, 2019, 4:34:42 AM4/18/19
to MTEX
Hi Frank,

This is a really important initiative and thank you for adding this functionality. However, I could not make it to work, perhaps there is something I am doing wrong.

I have put the exportCTF.m file in MTEX folder and added it in MATLAB path, then I have processed EBSD data in MTEX (cleaning, filling etc.) and tried to save using the command exportCTF(ebsd,'ebsdDataOut.ctf') but it throws error when trying to import ebsdDataOut.ctf in MTEX.
Reply all
Reply to author
Forward
0 new messages