You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method is also applicable to the EBSD master pattern. Applying it to the master pattern before dictionary generation with EBSDMasterPattern.get_patterns() seems to produce comparable relative intensities within patterns to the case where equalization is done to each individual pattern after dictionary generation (without equalization applied to the master pattern).
I don't adaptive histogram equalization myself, and have not encountered someone who finds this method in kikuchipy useful. If you're that person, feel free to say so and I'll re-open this issue!
The implementation of adaptive histogram equalization (calling scikit-image's
equalize_adapthist()
) should be optimized.Potential optimizations include:
map()
function (seems like this function handles chunks better than the current use of Dask'smap_blocks()
in kikuchipy)_clahe()
directly instead of via the public API (dangerous since the function can change whenever)The implementation is spread across two files:
kikuchipy/kikuchipy/signals/ebsd.py
Lines 800 to 888 in c5df967
which calls
kikuchipy/kikuchipy/pattern/chunk.py
Lines 364 to 411 in c5df967
The text was updated successfully, but these errors were encountered: