How do I find Feature Apect Ratio??

122 views
Skip to first unread message

Elise Baribault

unread,
Dec 29, 2021, 12:22:11 AM12/29/21
to dream3d-users
Hi,

I am trying to find the Feature aspect ratio (a/b, a/c) of a microstructure. Is there an easy way to do this? Is the value in the StatsGenerator filter?

Thanks,
Elise

Michael Jackson

unread,
Dec 31, 2021, 2:18:44 PM12/31/21
to Elise Baribault, dream3d-users

Find Feature Shapes

 

--

Mike Jackson

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/9a232901-065e-45ce-9c98-79dacf0c769an%40googlegroups.com.

Elise Baribault

unread,
Jan 2, 2022, 2:25:47 PM1/2/22
to dream3d-users
I can't seem to run that filter? I used the "Find Feature Centroids in the filter before, but I can't select the Feature Data in this filter

Untitledddd.jpg

Thank you,
Elise

Michael Jackson

unread,
Jan 3, 2022, 9:57:46 AM1/3/22
to Elise Baribault, dream3d-users

The data structure in your image doesn’t look correct to me. Where is all of the cell data? I see “Feature” data, data that lives at the grain level, but where is the cell data, i.e., data that lives at each voxel?

 

--

Mike Jackson

 

From: <dream3...@googlegroups.com> on behalf of Elise Baribault <ebarib...@gmail.com>
Date: Sunday, January 2, 2022 at 2:25 PM
To: dream3d-users <dream3...@googlegroups.com>
Subject: Re: How do I find Feature Apect Ratio??

 

I can't seem to run that filter? I used the "Find Feature Centroids in the filter before, but I can't select the Feature Data in this filter

 

 

Thank you,

Elise

 

 

On Friday, December 31, 2021 at 2:18:44 PM UTC-5 mike.j...@bluequartz.net wrote:

Find Feature Shapes

 

--

Mike Jackson

 

From: <dream3...@googlegroups.com> on behalf of Elise Baribault <ebarib...@gmail.com>
Date: Wednesday, December 29, 2021 at 12:22 AM
To: dream3d-users <dream3...@googlegroups.com>
Subject: How do I find Feature Apect Ratio??

 

Hi,

 

I am trying to find the Feature aspect ratio (a/b, a/c) of a microstructure. Is there an easy way to do this? Is the value in the StatsGenerator filter?

 

Thanks,

Elise

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/dream3d-users/9a232901-065e-45ce-9c98-79dacf0c769an%40googlegroups.com.

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

Elise Baribault

unread,
Jan 4, 2022, 12:12:07 AM1/4/22
to Michael Jackson, dream3d-users
I tried opening a different pipeline and was able to get the Cell Feature Attribute Matrix. But not the centroids. But the centroids are in the Data Structure?

Untitled.jpg

Thanks,
Elise

Michael Jackson

unread,
Jan 4, 2022, 10:27:38 AM1/4/22
to Elise Baribault, dream3d-users

You may need to calculate the Centroids using the appropriate “Find Centroids” Filter before calculating shapes.

 

--

Mike Jackson

 

From: Elise Baribault <ebarib...@gmail.com>
Date: Tuesday, January 4, 2022 at 12:12 AM
To: Michael Jackson <mike.j...@bluequartz.net>
Cc: dream3d-users <dream3...@googlegroups.com>
Subject: Re: How do I find Feature Apect Ratio??

 

I tried opening a different pipeline and was able to get the Cell Feature Attribute Matrix. But not the centroids. But the centroids are in the Data Structure?

 

 

Thanks,

Elise

Elise Baribault

unread,
Jan 5, 2022, 7:58:32 PM1/5/22
to Michael Jackson, dream3d-users
I did calculate the centroids, which show up at the bottom of the CellData category in the Data Structure. Is there another way to calculate the centroids? 

Thanks

On Jan 4, 2022, at 10:27 AM, Michael Jackson <mike.j...@bluequartz.net> wrote:



Michael Jackson

unread,
Jan 6, 2022, 9:38:42 AM1/6/22
to Elise Baribault, dream3d-users

Looking a bit closer at your screen shots the “Centroids” should come from the same “Cell Feature Attribute Matrix”. So in the “Find Feature Centroids” filter are you storing the final Centroids in the “ImageDataContainer / CellFeatureData / Centroids”?

Elise Baribault

unread,
Jan 6, 2022, 1:32:14 PM1/6/22
to Michael Jackson, dream3d-users
I'm not sure what I did wrong before, but it is working now! Now that I have AspectRatios created, how do I show/print out the values?

Thank you very much

Michael Jackson

unread,
Jan 6, 2022, 2:38:15 PM1/6/22
to Elise Baribault, dream3d-users

You could use the “Export ASCII Data” and export a single file with DataArrays of your selection. You could write a DREAM.3D file (which is just an HDF5 file) that you could use an HDFViewer to show the data. Use MatPlotLib or Excel to plot the data?

 

You could use the “Create Element Arrray from Feature Array” which will copy the values to EVERY cell, but then when you view the data in ParaView you can “Color by Aspect Ratio”. Lots of possibilities. Just depends on what you are trying to get out of the data.

Reply all
Reply to author
Forward
0 new messages