Comments (14)
I think an idea for counting slip traces that shouldn't be too hard to implement would be:
- Find the slip band angle with the radon transform and peak utils as normal
- Take a line profile of strain perpendicular to this direction, see attached image. Knowing where to place the line automatically could be tricky though, maybe just through the centre of the grain would do.
- Count the peaks in this profile. The peaks should be easier for peak utils to spot in your high resolution maps too.
from defdap.
from defdap.
Good idea with the line scan, I could easily implement this. It might be tricky for oddly-shaped grains as we wouldn't be able to get a single linescan to all corners.. and there could be issues in grains with multiple slip systems.
I will look into the Hough transform Joao, but my limited understanding of it is that it results in something very similar to the radon transform
from defdap.
I'm just going to try the Hough transform now on a very simplified image. I'm not sure it will pick out similar repeated features but I want to see
from defdap.
Hough transform is definitely a possibility.
I just used this: http://scikit-image.org/docs/dev/auto_examples/edges/plot_line_hough_transform.html
from defdap.
Ok looks promising! Thanks for looking into it. In applying this on a grain basis we would have to make sure that the edge or boundary of the grain is not included in the calculation - I assume that the radon transform function we have does this already
from defdap.
No the current radon function uses the whole grain but applying binary erosion to the outline of the grain should remove a pixel from the boundary. Then use that as a mask for the grain image
from defdap.
from defdap.
I have got this working to some extent; I can detect some bands but not them all. As @JQFonseca suggested, filtering is required but I found that the FFT filter is selective in sharpness and what I need is filtering based on strain value - this highlights the bands better.
The images below show with and without a minimum limit on the strain value in the input image. The example is made by slicing the data so as to look in the grain centre - I have not been able to degrade the boundaries as @mikesmic suggested. Michael, can you point me towards where the radon transform does this so that I might imitate it? I couldn't find it in the hrdic grain class.
You'll notice that I'm still not getting all of the bands, not sure why at the moment
from defdap.
Looks good. Could you create a new branch and I'll try and add to what you have done?
from defdap.
from defdap.
I have created a branch from the master and then committed a change to hrdic.py. I have not used GitHub like this before so I'd appreciate feedback as to whether that's the right thing to do! Thanks
from defdap.
from defdap.
I have now added a notebook for the Hough transform work in my repository. There is example ebsd data in example_data_AH but the hrdic data was too large for the repository (85 MB and the limit is 25MB). I have added a dropbox link to the hrdic data in the notebook. It will need to be downloaded and moved into the example_data_AH directory.
I tried using Michael's example_data but the Hough transform didn't seem to work as well - the slip traces in gamma prime strengthened alloys are much sharper.
from defdap.
Related Issues (20)
- Clean up EBSD data? HOT 2
- Questions about EBSD analyses in Defdap HOT 10
- HRDIC data loader not working for davis 10 files HOT 1
- How to set two slip systems for each phase HOT 2
- Loading EDAX EBSD data HOT 11
- AZtecCrystal data export and Grain boundary fitting issues HOT 5
- Error in plotRDR HOT 2
- Can't type in Grain Inspector HOT 2
- Recent error with RDR HOT 5
- Rotated slip traces HOT 2
- API proposal/discussion: make hrdic.Map.__getitem__ work like a dictionary instead of a list HOT 1
- An error when setting tk or qt agg when setting the window titles.
- plotting the Schmid factor map for a dual phase EBSD data using `EbsdMap.plotAverageGrainSchmidFactorsMap()`
- DefDap logo invisible with dark theme
- IPF triangle labels HOT 1
- Discontinuous grain boundary on DIC map
- Error with findGrains HOT 1
- EDAX Files HOT 1
- Locate grain function is slow due to re-running grain finding HOT 5
- Piecewise affine transformation for linking EBSD and DIC maps has unusual behaviour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from defdap.