Filter for append Z slice on cellfeaturedata

33 views
Skip to first unread message

Jialiang Chen

unread,
May 17, 2026, 12:26:15 AMMay 17
to dream3d-users
Hi all,

I am using the filter 'Append Z slice' to generate multilayer microstructure. But this filter only combine 'celldata' with others (cellfeaturedata and cellensembledata)still independent. While my futher simulation uses the featureID from 'celldata' and euler angle from 'cellfeaturedata'. This lead to a misfit between out grain ID and orientation.

Is there any filter can also append 'cellfeaturedata' and 'cellensembledata'? Or maybe some other solution?

Best regards,
Jialiang

Michael Jackson

unread,
May 18, 2026, 2:12:54 PMMay 18
to Jialiang Chen, dream3d-users
Hello Jialiang, 
     There is a filter called “Move Data Object” in DREAM3D-NX where you can simply move the Cell Ensemble data from its original location to the new location.

If you actually need to truly “Append” 2 Cell Ensemble groups together because each Cell Ensemble Attribute Matrix actually represents unique phases then that is a more delicate problem that probably cannot be resolved in DREAM3D-NX. Some background information in how DREAM3D-NX (and DREAM.3D) operate and link those various “Attribute Matrix” groups together would probably help.

In order to link say a “Feature Attribute Matrix” to a “Cell Attribute Matrix”, there is a single “Key” DataArray in the Cell Attribute Matrix. Typically after segmentation that Key Data Array is called “FeatureIds”. While the FeatureIds represents a unique value for each Feature/Grain, it also acts as an index into the “Feature Attribute Matrix” Data Arrays. See this image for a nice explanation:


So now the issue becomes when you start appending different microstructures together into a single array, if both of those independent microstructures start their “FeatureIds” array counting at 1, then a multitude of issues can arise ranging from just incorrect feature data to crashes because DREAM3D-NX may try to access a row from the Feature Attribute Matrix that does not exist (DREAM.3D will definitely crash, DREAM3D-NX should gracefully return an error message).

The general rule when appending 2 cell data arrays together where those cell data arrays do represent an actual microstructure is to use the ’Segment Features (Scalar)” filter with a tolerance of 0. This will resegment the data and generate a new Feature Attribute Matrix for you. Now you can calculate the statistics that you are interested in.

I hope this helps you understand a bit more about how DREAM3D-NX works. 

--
Mike Jackson                    mike.j...@bluequartz.net
BlueQuartz Software         www.bluequartz.net
President/Owner               Dayton, Ohio
Principal DREAM.3D Developer


--
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 visit https://groups.google.com/d/msgid/dream3d-users/ee5daf29-12c8-4744-b2c9-d852efeb6d7bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages