Comments (8)
After discussions with Jarle Hjelen: a forth feature could be creating VFSD images from two vertical rectangles on either side of the detector and subtract or add them to enhance topographical contrast similar to humans' stereopsis (binocular vision, https://en.wikipedia.org/wiki/Binocular_vision#Stereopsis).
from kikuchipy.
Is interactive plotting something you have in mind for point 3? We could create 3 RGB markers that can be moved around to create a virtual interative image, hopefully by inheriting from pyxem or HS.
A simple solution would be to input 3 numbers corresponding to which pixels to use for each of the RGB channels. I think this should be used for point 2 in your list, at least.
from kikuchipy.
Yes, it would be ideal if the image formation function could take in either of:
- Bin index (say (3, 3) for the centre bin, if 5 x 5 bins)
- List of bin indices
- One
hyperspy.roi.BaseInteractiveROI
- Multiple
hyperspy.roi.BaseInteractiveROI
If a list of bin indices or ROIs are passed, the user should also be able to determine if they should be colored and in what color (a three element list for each image, or simply 'R', 'G' or 'B').
from kikuchipy.
A way to test this functionality against commercial solutions is to compare our results to:
- Bruker Nano's three images acquired from backscatter electrons incident on their FSD below the EBSD detector (one intensity for R, G, and B per pattern), available in e.g. this dataset uploaded by Wilkinson and Collins (https://zenodo.org/record/1288431#.XSbooyZS9hE) in the HDF group 'Scan 0/SEM/SEM Image'.
- EDAX TSL's three images from their VFSD called PRIAS bottom strip, centre square and top strip, available in e.g. these datasets uploaded by De Graef, Pascal, and Jackson (https://kilthub.cmu.edu/articles/Data_Sets_and_Analysis_Results_Accompanying_a_Dictionary_Indexing_Tutorial_Paper/7792505) in the HDF groups 'Scan x/EBSD/Data/PRIAS Bottom Strip' etc., with x = 1, 4, or 6 for the three scans in the file.
Since Bruker has a FSD, I guess the best way to test is towards TSL's datasets.
from kikuchipy.
Relevant literature (updated as more is found):
- Prior et al. (1996)
- Day & Quested (1999)
- Wright et al. (2015)
- Nolze et al. (2017)
- Britton et al. (2018)
- Brodusch et al. (2018)
from kikuchipy.
This functionality is largely supported with:
s.virtual_forward_scatter_detector()
s.get_virtual_image()
What we should have is a version of pyXem's VDFGenerator
to streamline typical results desired. Typical results include RGB image from three bins in a 5 x 5 px detector (as done in the above referenced paper by Wrgith et al. (2015)), phase contrast image (upper part of detector) and topography contrast image (lower part of detector).
from kikuchipy.
The 5 x 5 array is very similar to Aimo Winkelmann's 7 x 7 arrays in the aloe/xcdskd project:
- example usage: https://xcdskd.readthedocs.io/en/latest/arbse/arbse_AstroEBSD.html
- implementation: https://github.com/wiai/xcdskd/blob/master/src/aloe/image/arbse.py
We should focus on his implementation, perhaps let the user determine how fine the array should be.
This array should be its own class... with the different imaging possibilities showcased in the example usage link as methods? This way other possible signals can use the same class, not just EBSD.
from kikuchipy.
Although not that automated, all these things are possible, with some know-how, via kikuchipy.signals.ebsd.EBSD.virtual_backscatter_electron_imaging()
and kikuchipy.signals.ebsd.EBSD.get_virtual_image()
.
from kikuchipy.
Related Issues (20)
- Test suite failure in custom Dask chunking functions HOT 2
- PyVista/pythreejs backend does not display anything in a Jupyter notebook HOT 1
- Errors when plotting interactively in notebooks via nbsphinx with PyVista/pythreejs HOT 2
- ValueError when removing static background HOT 10
- Cannot read Oxford's binary .ebsp files with version 4 HOT 9
- ValueError from Dask in EBSD.refine_orientation() in develop branch HOT 1
- Minor 0.8 release coming up HOT 2
- Integration test suite failure HOT 5
- Keeping not_indexed dummy phase after orientation refinement HOT 5
- Lazy and Dask Improvements HOT 2
- Build documentation on Windows (without PyVista frame buffer)
- Segmentation fault HOT 4
- Merging crystal maps with not_indexed points results in removal of phase HOT 1
- Support Python 3.11 HOT 1
- Support HyperSpy 2.0 HOT 10
- Error with `kikuchipy.data.si_wafer` HOT 1
- kikuchipy v0.9.0 HOT 1
- `TestKikuchipyH5EBSD.test_load_with_padding` test failure HOT 1
- Reading of master patterns generated with EDAX HOT 4
- Post-process and index raw diffraction patterns in a .tif format 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 kikuchipy.