Import Euler angles in bulk to visualize texture and export synthetic texture

206 views
Skip to first unread message

Jesse Feng

unread,
Sep 4, 2018, 7:04:07 PM9/4/18
to dream3d-users
Hello Community,

I have an aluminum texture file as attached and I wish to visualize it using Dream 3D's ODF function in statsgenerator. Is that possible? The data in the file are the Euler Angles and area fraction of that angle.

I tried to look up loading odf in bulk, but the filter "Write StatsGenerator ODF Angle File" referenced in the documentation seems to be gone and I don't know what kind of format does the file need to follow besides having a single header of "Angle Count:XXX" and even that I am not sure what does angle count means (which I assumed means how many Euler angle trios do I have, in this case, I said 219 but then Dream 3D crashed).

I am also thinking of synthetically building random and rolling BCC textures and hopefully can output the results in a way that I can convert to a similar format as attached file to use it in my programs. Is this possible?

Thanks!

Jesse Feng
Al_219.txt

Michael Jackson

unread,
Sep 5, 2018, 8:42:51 AM9/5/18
to Jesse Feng, dream3d-users

Dear Jesse,

   The name of the filter is “Export StatsGenerator ODF Angle File” and can be found at http://www.dream3d.io/Filters/OrientationAnalysisFilters/WriteStatsGenOdfAngleFile/index.html

 

The format of the file is included in the description. The big difference is that the import part inside of StatsGenerator is expecting 5 columns of data while your data file only has 4. You will need to normalize the areas to values between 1 and 100(?) maybe? The 4 column is our “Weight” column which could be roughly equivalent to the area value that you are using. You can just add a default sigma of 1 which will keep the spread to a minimum. I am completely guessing at how to normalize your area values. The idea of the weight value is that it tells the algorithm how much to weight the possibility of choosing that value when we are randomly selecting an angle during the “Match Crystallography” filter. You want a minimal value of 1. Values up around 10,000 will show a strong tendency to select that angle. It might take some experimenting to find the correct conversion. Please do let us know what you find.

 

We have had several requests to import different ODF file structures. If there is a standard ODF file format do put in a feature request at http://www.github.com/bluequartzsoftware/DREAM3D/Issues

 

--

Michael Jackson | Owner, President

      BlueQuartz Software

[e] mike.j...@bluequartz.net

[w] www.bluequartz.net

--
You received this message because you are subscribed to the Google Groups "dream3d-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dream3d-user...@googlegroups.com.
To post to this group, send email to dream3...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/e1c46ea4-9a95-44b2-8a07-f44f20575a04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

piyush jagtap

unread,
Sep 5, 2018, 9:34:32 AM9/5/18
to Michael Jackson, Jesse Feng, dream3d-users
Dear Michael, 

   Even I faced the same problem a while ago. I had around 50000 data points in my .ang file. I did everything else correct with header, weight and sigma values in the file. But after loading the file into statsgenerator dream3d crashed everytime. Is there any limitation on how many data points it supports. It works for less number of data points say 10 or 15. 


Thank you.

Piyush


Jesse Feng

unread,
Sep 5, 2018, 10:37:11 AM9/5/18
to dream3d-users
Since the fourth column of my data is the area fraction of each grain, it would correspond to weight. I proceeded to divide all fourth column values by the lowest number in that column and gave a sigma of 1 for all of them. I expected to see a cubic structure, but the resulting discretized pole figures are not very clear. The new data file and the pole figures are attached.


On Wednesday, September 5, 2018 at 8:42:51 AM UTC-4, Michael Jackson wrote:

Dear Jesse,

   The name of the filter is “Export StatsGenerator ODF Angle File” and can be found at http://www.dream3d.io/Filters/OrientationAnalysisFilters/WriteStatsGenOdfAngleFile/index.html

 

The format of the file is included in the description. The big difference is that the import part inside of StatsGenerator is expecting 5 columns of data while your data file only has 4. You will need to normalize the areas to values between 1 and 100(?) maybe? The 4 column is our “Weight” column which could be roughly equivalent to the area value that you are using. You can just add a default sigma of 1 which will keep the spread to a minimum. I am completely guessing at how to normalize your area values. The idea of the weight value is that it tells the algorithm how much to weight the possibility of choosing that value when we are randomly selecting an angle during the “Match Crystallography” filter. You want a minimal value of 1. Values up around 10,000 will show a strong tendency to select that angle. It might take some experimenting to find the correct conversion. Please do let us know what you find.

 

We have had several requests to import different ODF file structures. If there is a standard ODF file format do put in a feature request at http://www.github.com/bluequartzsoftware/DREAM3D/Issues

 

--

Michael Jackson | Owner, President

      BlueQuartz Software

Al_219.tiff
Al_219_forDream3D.txt

Michael Jackson

unread,
Sep 5, 2018, 10:47:33 AM9/5/18
to dream3d-users

Dear Piyush,

   Can you post your .ang file off list so that I can give it a try? Or the ODF file that you had DREAM.3D create? I think the idea was to use DREAM.3D to read the .ang file do some cleanups on the data (Confidence Index threshold) to get rid of the invalid data points, then use the “Write StatsGenerator ODF File” filter to dump the angles out to the file.

 

Then you start a new pipeline with the StatsGenerator filter and then import the ODF file that was generated in the previous pipeline. I know this is pretty clunky, but it should work. I will sanity check this with a textured ctf file in a few…

 

--

Michael Jackson | Owner, President

      BlueQuartz Software

[e] mike.j...@bluequartz.net

[w] www.bluequartz.net

 

Reply all
Reply to author
Forward
0 new messages