Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieving raw image for each grain #24

Open
JQFonseca opened this issue Mar 15, 2019 · 2 comments
Open

Retrieving raw image for each grain #24

JQFonseca opened this issue Mar 15, 2019 · 2 comments

Comments

@JQFonseca
Copy link
Contributor

How difficult would it be to link the the raw image to the grain segmented via EBSD? For example, we might like to see how the slip interacts with features in the raw image (particles, second phases etc.)
Claudius and I could work on this but it would be good to know how hard you think it would be.

@mikesmic
Copy link
Collaborator

This shouldn't be too difficult to implement, there are already functions to show the entire pattern images for setting the homologous points. Take a look at hrdic.Map.setPatternPath and hrdic.Map.plotPattern, just a note that the images need to shift corrected the same as the dic map data.

From there you can implement a new method in hrdic.Grain to either just show an image cropped to a box around the grain or have the grain properly masked - take a look at base.Grain.extremeCoords or base.Grain.grainOutline which will help. There output will need to be adjusted by the window size set when loading the pattern (take a look at hrdic.Map.crop for example). Another note that all the coordinates are set for the image after it has been cropped.

If you do end up adding code please could you do it on a new branch from develop, as it is significantly ahead of master now

@rhysgt
Copy link
Contributor

rhysgt commented Apr 20, 2020

Might be good to move the handling of BSE images to a separate class. There are cases where it's useful to be able to check the BSE image for a given grain. Would also be very useful to have grain boundary overlay on the BSE image to check alignment.

@rhysgt rhysgt added this to To Do in Road to v0.94 May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Road to v0.94
  
To Do
Development

No branches or pull requests

3 participants