GUI for EBSD map annotation

705 views
Skip to first unread message

grandr...@gmail.com

unread,
Feb 2, 2018, 12:24:08 PM2/2/18
to MTEX
I'm pleased to announce I've completed my annotation app for matlab (code, help file, and supporting script attached).  This is a graphical user interface add-on for MTEX (Rev 0), allowing plotting and annotation of EBSD maps by phase, x-y position, or by grain size.  Possible annotations include text, HCP or cubic unit cells, and data properties.  Also available via my researchgate page.

Example: load EBSD data, and label all grains larger than 100 pixels with an HCP unit cell.  Requires Matlab (R2016b or later), existing MTEX installation and EBSD data (imported into matlab workspace).  Contains Matlab app (Annotate.mlapp), help file (Annotate.m) and script (annotateUnitCell.m). For help, type 'help Annotate.m' into main workspace or open in Matlab.

Not a substitute for really getting to know MTEX, but it was an interesting and educational challenge which will hopefully prove useful.  If you have any questions/comments, please let me know.

Regards, Jessica.
MTEXannotateGUI.zip

Ralf Hielscher

unread,
Feb 2, 2018, 5:56:50 PM2/2/18
to MTEX
Hi Jessica,

congratulations to this app. It is really impressive and for sure it will help a lot of people don't being to frustrated with MTEX at the beginning.
Would you mind, if I put a link on the MTEX homepage to the zip file?

Thank you very much for efforts. I know how much time it takes to accomplish something like this.

Ralf.

It was probably to late to include - but should make things more simple.

J Hiscocks

unread,
Feb 2, 2018, 7:08:31 PM2/2/18
to mtex...@googlegroups.com
I'm so glad that you like it!   Feel free to link/copy/post it wherever. If I wind up revising it I'll let you know, I already have some ideas for upgrades but it was time to release this one into the wild. 

I've been toying with the idea of making another for pole figures, but it'll be a while before I get to that. Another, more interesting plan to me is making some sort of data point visualization tool for MTEX. 

Jessica

--
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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/mtexmail.
For more options, visit https://groups.google.com/d/optout.

Tuomo Nyyssönen

unread,
Feb 3, 2018, 1:32:00 AM2/3/18
to MTEX
This looks really smooth and easy to use! Thanks for making this. I will definitely use this to introduce more people to MTEX.

MTEXNewbie

unread,
Feb 3, 2018, 4:35:50 AM2/3/18
to MTEX
I am getting error message when clicking the 'Get Phase List' button, Using MATLAB R2016b -

Error using
appdesigner.internal.service.AppManagementService/tryCallback
(line 207)
Method 'GetPhaseListButtonPushed' is not defined
for class 'Annotate' or is removed from MATLAB's
search path.

Error in
matlab.apps.AppBase>@(source,event)tryCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event) 
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 262)
Error while evaluating Button PrivateButtonPushedFcn



J Hiscocks

unread,
Feb 3, 2018, 10:26:53 PM2/3/18
to mtex...@googlegroups.com
Is the app in your matlab path?  Did you extract the files from the zipped folder?  All the problems I could think of should pop up an error message instead, so even if there's an issue with the ebsd file this shouldn't happen.

J Hiscocks

unread,
Feb 3, 2018, 10:27:32 PM2/3/18
to mtex...@googlegroups.com
I'm so glad you like it!

On Sat, Feb 3, 2018 at 1:31 AM, Tuomo Nyyssönen <tuomokn...@gmail.com> wrote:
This looks really smooth and easy to use! Thanks for making this. I will definitely use this to introduce more people to MTEX.

--

MTEXNewbie

unread,
Feb 4, 2018, 12:52:37 PM2/4/18
to MTEX
I have added the folder path in MATLAB, and now it works. Thanks.

Great work, hopefully you will keep updating it.

grandr...@gmail.com

unread,
Apr 6, 2018, 12:02:08 PM4/6/18
to MTEX
I'm pleased to present REVISION 1 of the GUI. 
New features include: pole figures, some new EBSD misorientation colouring options, and incorporation of the MTEX test datasets.
Required files are AnnotateR1.mlapp (the app), Annotate.m (the help file), and annotateUnitCell.m (for overlaying of crystal structures).

Developed using Matlab R2016b and Mtex 4.4.0.

If there are any questions or bugs, just let me know.  I intend to continue development, and have several neat features already planned for Rev 2!

Jessica.

Annotate.m
AnnotateR1.mlapp
annotateUnitCell.m

MTEXNewbie

unread,
Apr 30, 2018, 11:45:59 AM4/30/18
to MTEX
Hi Jessica,

I have encountered a problem in using the R1 version. In Step 3, the grains are not being annotated. I am on MATLAB 2016b MTEX 4.5.2.


J Hiscocks

unread,
Apr 30, 2018, 1:31:45 PM4/30/18
to mtex...@googlegroups.com
If you get this error message you didn't calculate the grains. That is done on the upper left portion of tab #2. Does that work?

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

J Hiscocks

unread,
Apr 30, 2018, 1:34:35 PM4/30/18
to mtex...@googlegroups.com
If importing the grains doesn't work, try calculating them. If that doesn't work send me a copy of your data. 

Jessica

On Mon, Apr 30, 2018, 11:46 AM MTEXNewbie, <rashed...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages