Diagonal cropping of data

39 views
Skip to first unread message

Ayesha Mubshrah

unread,
Feb 17, 2025, 7:20:46 AM2/17/25
to dream3d-users
Hi 
I have started using dream3dNX software  recently, but my 3DEBSD data is tilted due to a drift in FIB. I have to crop the data to get the top layer microstructural information. But I can not find any filter to crop diagonally. I believe I need to use "Rotate Sample Ref Frame" filter to rotate the spatial reference frame. But how can I use it correctly to make sure it did not effect the texture of film.
Can you please explain it? I also attached the final image I am getting at the end. I want to crop the black area on the top while keeping the whole top information safe. 


ThanksInitial data2.png

Michael Jackson

unread,
Feb 17, 2025, 10:45:36 AM2/17/25
to Ayesha Mubshrah, dream3d-users
Dear Ayesha, 
     With DREAM3D-NX, the filter that you want to use is the “Apply Transformation to Geometry” which works on Image Geometries. In order to keep the texture the same you will also need to apply a subsequent “Rotation Euler Reference Frame” to apply the same transformation to the Euler Angles. This will keep both the sample reference frame and the crystal reference frame the same.

As far as figuring out what the actual rotation should be, trial and error is probably the fastest approach if you only need to do this once.

** For DREAM.3D version 6.5.171, I am not sure the “Rotate Sample Reference Frame” works for rotations that are not exactly 90 degree increments.
--
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/7c7f5f8f-77ac-418f-b94a-b5b403837eb9n%40googlegroups.com.


Michael Jackson

unread,
Feb 17, 2025, 1:31:46 PM2/17/25
to Ayesha Mubshrah, dream3d-users
Dear Ayesha,
    You will need to come up with a combined rotation matrix or use two instances of the “Apply Transformation to Geometry” filter. Each instance of the filter will rotate around either the X or Z Axis.
--
Mike Jackson                    mike.j...@bluequartz.net
BlueQuartz Software         www.bluequartz.net
President/Owner               Dayton, Ohio
Principal DREAM.3D Developer


On Feb 17, 2025 at 13:29:14, Ayesha Mubshrah <mubshraha...@gmail.com> wrote:
Dear Michael,

Thanks, this is helpful. 
One more question please, If I use the "rotation" transformation type in the filter "Apply transformative to geometry" how can i fix drift in two axes. 
Explanation: Drift in my data is in two axes (z and x). Can I remove both drifts? If yes, which parameter i have to choose?

Best,
Ayesha

Ayesha Mubshrah

unread,
Mar 6, 2025, 10:00:47 AM3/6/25
to Michael Jackson, dream3d-users
Hi Michael,

It is me again. I have a few more questions related to the same data analysis. 
1. Can I add a scale bar with units to the 3D EBSD scan? When I try to add a ruler it just shows the numbers in distance but not the unit. 
2. How can I export the image in .png format not the screen shot with background but only the EBSD data to do further correlation?
3. Can I record the video in dream3D NX software to show a 3D EBSD scan around all axes?
4. To do analysis like grain size distribution, KAM, high and low angle boundaries calculation etc. is there any direct filter in dream 3D NX which I can use? If not, do you have any recommendations?

Best 
Ayesha

Michael Jackson

unread,
Mar 6, 2025, 2:56:36 PM3/6/25
to Ayesha Mubshrah, dream3d-users
Dear Ayesha, 
   
1: Since units are more of a meta-data piece of information (so far) within DREAM3D the measuring tool does not show units. Although this is a good feature to add. We don’t have anything official kind of widget to add to a 3D Object. These are interesting ideas.

2: There is a filter called “Write Image (ITK)” that will write a 2D Image file for every slice in the 3D data set. Note that for this to work you will need to already have generated a set of Colors through another filter. “Compute IPF Colors” is typical for this. If you wanted to create an image for the Confidence Index or MAD then you would need to first use the “Create Color Map” filter, THEN use the “Write Image (ITK)” filter.

3: DREAM3D-NX currently does not have any video generation capabilities. I would go to ParaView for this. To do this ensure the “Write XDMF File” is checked in the “Write DREAM3D-NX File” filter. Then in ParaView, open the .xdmf file which will then give you access to all data associated with the geometry.

4: Grain Size distribution you will need to run the “Compute Feature Sizes” filter. Kernel Average Disorientation (KAM) you can run the “Compute Kernel Average Disorientations” filter. Note that you may need to run the “Compute Orientation Representation” filter to convert Euler’s into Quaternions. DREAM3D-NX does not have any filters for High and Low angle boundaries calculations. If you have a reference to a paper or algorithm I would be happy to add this kind of filter to DREAM3D-NX. Something like "https://www.researchgate.net/publication/260630495_Influence_of_Grain_Size_on_Radiation_Effects_in_a_Low_Carbon_Steel”?

This is no guarantee that we can get to this feature, but here is the issue. https://github.com/BlueQuartzSoftware/simplnx/issues/1228

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


Reply all
Reply to author
Forward
0 new messages