원시데이터 수집 시스템
선정목록으로

Accelerating dictionary indexing of electron backscatter diffraction patterns with PCA and quantization

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(10) 아라미드

기본 정보

저자
  1. Zachary Varley — Department of Materials Science and Engineering, Carnegie Mellon University, Pittsburgh, PA, 15213, USA
  2. Gregory S. Rohrer — Department of Materials Science and Engineering, Carnegie Mellon University, Pittsburgh, PA, 15213, USA
  3. Marc De Graef — Department of Materials Science and Engineering, Carnegie Mellon University, Pittsburgh, PA, 15213, USA. degraef@cmu.edu
DOI
10.1038/s41598-025-34391-8
저널
Scientific Reports
발행년도
2026
발행기관
Nature Portfolio
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-025-34391-8
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W7118129265

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Electron Backscatter Diffraction (EBSD), microstructure characterization, crystalline orientation, Principal Component Analysis (PCA), nickel dataset
판단 근거
이 논문은 EBSD(전자후방산란회절) 패턴의 인덱싱 속도를 높이기 위한 PCA 기반 알고리즘을 다루며, 이는 금속 및 고분자 재료의 미세구조(microstructure) 분석 기법에 관한 것입니다.
R&D 활용 포인트
코오롱인더스트리의 엔지니어링 플라스틱(23)이나 아라미드(10) 등 고기능성 소재의 결정 구조, 결정립계(grain boundary), 미세구조 분석 및 품질 관리 공정의 효율성을 높이는 분석 기술로 활용 가능합니다.
평가 입력
본문 57,520자 중 30,032자 발췌

초록

Dictionary indexing (DI) for Electron Backscatter Diffraction (EBSD) has conventionally traded computational speed for superior robustness to pattern noise when compared to traditional Hough indexing methods. To alleviate this computational bottleneck, we propose a novel Principal Component Analysis based Dictionary Indexing (PCA-DI) approach that uses dimensionality reduction and numerical precision optimization for accelerated pattern matching. A combination of synthetic benchmarks and benchmarks on a standard nickel dataset with varying noise levels demonstrate significant speedup factors over conventional DI that scale with image resolution while maintaining or improving indexing accuracy, particularly under high-noise conditions where dimensionality reduction suppresses noise-dominated high-frequency components. Implementation with reduced numerical precision (FP16 and dynamic INT8 quantization) provides additional performance improvements without compromising indexing quality. The resulting approach enables substantially faster dictionary indexing on consumer-grade hardware, addressing scalability challenges for modern high-resolution EBSD systems and low-symmetry materials.

본문 57,520자

본문 펼치기
### Scientifc Reportsi #### Article in Press [https://doi.org/10.1038/s41598-025-34391-8](https://doi.org/10.1038/s41598-025-34391-8) ## Accelerating dictionary indexing of electron backscatter diffraction patterns with PCA and quantization <u>Received: 21 August 2025</u> <u>Accepted: 29 December 2025</u> Cite this article as: Varley Z.T., Rohrer G.S. & Graef M. Accelerating dictionary indexing of electron backscatter diffraction patterns with PCA and quantization. _Sci Rep_ [(2026). https://doi.org/10.1038/](https://doi.org/10.1038/s41598-025-34391-8) [s41598-025-34391-8](https://doi.org/10.1038/s41598-025-34391-8) Zachary T. Varley, Gregory S. Rohrer & Marc Graef We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply. If this paper is publishing under a Transparent Peer Review model then Peer Review reports will publish with the final article. © The Author(s) 2026. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain [permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.](http://creativecommons.org/licenses/by-nc-nd/4.0) ##### Accelerating Dictionary Indexing of Electron Backscatter Diffraction Patterns with PCA and Quantization Zachary T. Varley <sup>1</sup> , Gregory S. Rohrer <sup>1</sup> , and Marc De Graef <sup>1,*</sup> 1Carnegie Mellon University, Department of Materials Science and Engineering, Pittsburgh, PA 15213, USA *degraef@cmu.edu ABSTRACT Dictionary indexing (DI) for Electron Backscatter Diffraction (EBSD) has conventionally traded computational speed for superior robustness to pattern noise when compared to traditional Hough indexing methods. To alleviate this computational bottleneck, we propose a novel Principal Component Analysis based Dictionary Indexing (PCA-DI) approach that uses dimensionality reduction and numerical precision optimization for accelerated pattern matching. A combination of synthetic benchmarks and benchmarks on a standard nickel dataset with varying noise levels demonstrate significant speedup factors over conventional DI that scale with image resolution while maintaining or improving indexing accuracy, particularly under high-noise conditions where dimensionality reduction suppresses noise-dominated high-frequency components. Implementation with reduced numerical precision (FP16 and dynamic INT8 quantization) provides additional performance improvements without compromising indexing quality. The resulting approach enables substantially faster dictionary indexing on consumer-grade hardware, addressing scalability challenges for modern high-resolution EBSD systems and low-symmetry materials. Introduction Over the past three decades, Electron Backscatter Diffraction (EBSD) has established itself as an indispensable tool for polycrystal microstructure characterization. By rastering the electron beam across a region of interest (ROI) on a polished sample, and matching each resultant diffraction pattern to a crystalline lattice state, rich data sets can be produced which map crystalline orientation, phase, stress, and dislocation concentrations across the ROI. Recent efforts to enhance the EBSD indexing accuracy and efficiency have been numerous <sup>1–3</sup> . The first approach to automated orientation indexing was Hough indexing. This method uses the Hough transform along with a voting scheme to automatically determine the Miller indices of diffraction bands in EBSD patterns and infer the orientation <sup>4–6</sup> . Hough and Radon transform based approaches struggle to overcome significant diffraction pattern noise. A significant advancement came with the development of physics-based forward models capable of simulating electron diffraction patterns with high fidelity <sup>7,</sup> <sup>8</sup> . These models generate idealized diffraction signals on _S_ <sup>2</sup>, called the Kikuchi sphere (k-sphere), for specific experimental conditions and crystal structures. This breakthrough facilitated two advanced indexing approaches: dictionary indexing (DI) and spherical indexing (SI) <sup>9,</sup> <sup>10</sup> . DI operates by simulating a comprehensive library of diffraction patterns over possible crystallite orientations and then determining the best match for each experimental pattern through similarity metrics like normalized cross-correlation or dot products. While DI demonstrates exceptional noise robustness compared to Hough-based methods, it incurs substantial computational costs—requiring approximately 330,000 orientation samples for cubic materials targeting an average 1.4° grid spacing <sup>11–13</sup> . For a modest experimental dataset for a cubic material consisting of ten thousand Kikuchi patterns, several billion image dot products must be computed for the brute force matching process. SI introduces a complementary viewpoint to EBSD orientation indexing where experimental diffraction patterns are instead back-projected onto _S_ <sup>2</sup>, and then a cross-correlation over SO(3) is performed with the back-projected pattern and the reference k-sphere via spherical harmonics. The cross-correlation for each experimental pattern is efficiently computed from the spherical harmonic coefficients of both the k-sphere and of each backprojected experimental pattern using a real-valued inverse 3D fast Fourier transform (3D IRFFT). The rotation corresponding to the maximum value in each experimental patterns’ cross-correlation volume with the k-sphere is then associated with the desired orientation. This technique is based on earlier research on spherical image cross-correlation and shape matching <sup>14,</sup> <sup>15</sup> . Unlike natural spherical images, the k-sphere possesses discrete rotational symmetries inherited from the crystal point group, which induce systematic zeros in its spherical harmonic coefficients. These zeros confer periodicity in the cross-correlation volume over SO(3) of the k-sphere with any given spherical function which SI leverages to reduce the size of the needed 3D IRFFT. However, to use the 3D IRFFT to efficiently compute the cross-correlation, it must be computed using a periodic (in each dimension) parameterization of rotation, (e.g. ZYZ Euler space). This means that not necessarily all symmetries can be used to reduce the size of the 3D IRFFT, and redundancy persists in the partially symmetry-reduced cross-correlation volumes for high symmetry materials. Concurrent with harmonics based approaches, eigendecomposition and subspace methods have emerged as powerful tools for analyzing natural images correlated over rotation groups <sup>16–18</sup> . Building on these developments, we present a novel approach: Principal Component Analysis based Dictionary Indexing (PCA-DI). This method enhances conventional DI by projecting all patterns onto the principal components of the simulated pattern dictionary, offering a tunable parameter, the number of components retained, to balance speed and accuracy (analogous to the bandlimit choice in SI). By directly sampling the orientation fundamental zone (FZ), PCA-DI fully exploits crystallographic symmetry while preserving the algorithmic simplicity of pattern matching. We demonstrate four key contributions: (1) the application of PCA to accelerate EBSD DI while improving noise robustness through dimensionality reduction, (2) the implementation of memory-efficient stochastic PCA algorithms that enable processing of arbitrarily large pattern dictionaries, (3) performance characterization revealing that speedup factors scale dramatically with image resolution, positioning PCA-DI as an enabling technology for high-resolution EBSD systems, and (4) the integration of reduced numerical precision techniques to achieve additional performance gains on consumer-grade hardware without accuracy loss. Figure 1 shows an overview of how PCA-DI can be used to efficiently index EBSD patterns. In essence, PCA is used as a dimensionality reduction technique to alleviate the computational cost of indexing noisy experimental diffraction patterns against a library of simulated diffraction patterns. The methods section addresses each step in detail. D1 D2 D3 D4 D5 D6 D7 D8 D9 Dynamical Di�raction Simulation Simulated Patterns Experimental Patterns Image Filters Linear Projections PCA Dictionary Lookup D9 All pairwise vector dot products then choose argmax over dictionary D10 E1 … Pattern Dictionary D9 D1 … D9D10 D10 E1 E2 E3 E4 All pairwise vector dot products then argmax over dictionary axis Image Filters E1 E2 E3 E4 Linear Projections Figure 1. An overview of the PCA-DI approach to EBSD pattern indexing is shown. Dynamical electron diffraction simulations using the experimental geometry, crystalline unit cell information, and crystallographic orientation sampling first produce a dictionary of possible diffraction patterns over the space of crystalline unit cell orientations. These simulated patterns are preprocessed along with the experimental patterns. PCA is performed on the simulated pattern dictionary and these components are used to project both simulated and noisy experimental patterns. Finally vector dot products are computed to find the closest dictionary entry (red circles) for each experimental pattern. Methods: Mathematical Foundations and Computational Approaches EBSD Master Pattern Synthesis As with DI, PCA-DI requires a solution to the quantum mechanical treatment of electron diffraction through an idealized crystalline lattice. In brief, for EBSD, a high energy approximation is applied to the scalar relativistic Klein-Gordon equations to yield a tractable eigenvalue problem for each electron exit direction (master pattern pixel) and exit energy <sup>19</sup> . A lightweight Monte Carlo simulation is used to decide the numerical integration depth for each exit energy and to draw the correct proportion of each solution over electron exit energy and exit depth into the final master pattern <sup>20,</sup> <sup>21</sup> . For this study, we used the existing EBSD master pattern made with EMsoft for nickel at 20 kV as part of the curated Zenodo dataset released by the kikuchipy author and distributed via kikuchipy <sup>22,</sup> <sup>23</sup> . / Orientation Sampling and Virtual Pattern Projection for Dictionary Generation The next step in generating the PCA-DI dictionary is to sample orientations in the FZ for the crystal’s proper rotational symmetry group. FZ sampling was achieved via cubochoric rejection sampling: in summary, a 3D Cartesian grid is (i) drawn over a cube with volume _π_ <sup>2</sup> (ii) mapped to the homochoric ball of equal volume (iii) mapped to the positive-scalar hemisphere of _S_ <sup>3</sup> (iv) filtered to retain only quaternions representing rotations within the FZ <sup>24</sup> . Any rotation _g ∈_ SO(3) can be represented by a non-negative scalar unit quaternion _q_ = ( _w,_ _x,_ _y,_ _z_ ) = �cos <sup>_<u>θ</u>_</sup> 2 <sup>_,_</sup> <sup>sin</sup> <sup>_<u>θ</u>_</sup> 2 <sup>u</sup> - _,_ _∥_ u _∥_ = 1 _,_ _w ≥_ 0 _,_ (1) where _θ_ _∈_ [0 _,_ _π_ ] is the rotation angle and u = ( _ux,_ _uy,_ _uz_ ) is the rotation axis. Homochoric coordinates are a neo-Eulerian rotation representation (scaled rotation axis) formed from a volume preserving projection of the scalar hemisphere of _S_ <sup>3</sup> to a solid ball in R <sup>3</sup> (both have volume _π_ <sup>2</sup> ): h = _ρ_ u _,_ _ρ_ <sup>3</sup> = <sup><u>3</u></sup> 4 - _θ −_ sin _θ_ - _,_ 0 _≤_ _ρ_ _≤_ _H_ max = (3 _π/_ 4) <sup>1</sup> <sup>_/_</sup> <sup>3</sup> = 1 _._ 33067 _..._ (2) The numerically fitted inverse of this volume-preserving transformation sends uniform distributions over the solid ball in R <sup>3</sup> to uniformly distributed quaternions used to represent rotations. Uniform grids over the ball are formed via cubochoric coordinates, a volume preserving bijection between the ball and cube <sup>25</sup> . For our Poisson noise effect analyses, we sought a markedly distinct sampling from cubochoric rejection sampling to draw test orientations. For this we used Super-Fibonacci rejection sampling of the FZ: steps (i-iii) of the cubochoric rejection sampling approach are replaced with a single step wherein Super-Fibonacci spirals are drawn over SO(3) <sup>26</sup> . For dictionaries used to index the experimental nickel dataset, the cubic fundamental zone was sampled with the cubochoric parameterization at target average disorientation spacings of 1 _._ 4 <sup>_◦_</sup>, 2 <sup>_◦_</sup>, and 3 <sup>_◦_</sup> (actual counts differ slightly due to boundary rejection). A reference indexing was performed with a target spacing of 1 _._ 0 <sup>_◦_</sup>, and only this indexing was followed by orientation refinement. For EBSD dictionary generation, the sampled orientations are used to virtually rotate the spherical master pattern prior to projection onto a virtual detector situated identically as in the experimental EBSD scan. Practically, this is achieved via bilinear interpolation and an area-preserving bijection between the square and 2-spherical hemisphere <sup>27</sup> . Both simulated and experimental patterns underwent identical preprocessing: static background removal (mean-pattern subtraction), dynamic background correction via contrast-limited adaptive histogram equalization (CLAHE), and radial masking (60 _×_ 60 pixels to 2 _,_ 828 pixels in the disk). Principal Component Analysis (PCA) for EBSD Pattern Dictionaries PCA represents a cornerstone technique for dimensionality reduction in statistical analysis and machine learning <sup>28</sup> . For a centered matrix X _∈_ R <sup>_n×d_</sup> of _n_ simulated EBSD patterns with _d_ pixels each, we seek the optimal _k_ -dimensional projection that maximizes preserved variance. The principal components are obtained as the top- _k_ eigenvectors of the sample covariance matrix C = _n−_ <u>1</u> 1 <sup>X</sup> <sup>_T_</sup> <sup>X</sup> <sup>, yielding projection matrix</sup> <sup>P</sup> <sup>_∗_</sup> <sup>=</sup> <sup>V</sup> <sup>_k_</sup> <sup>V</sup> <sup>_T_</sup> _k_ <sup>where</sup> <sup>V</sup> <sup>_k ∈_</sup> <sup>R</sup> <sup>_d×k_</sup> <sup>contains the</sup> <sup>_k_</sup> <sup>principal directions.</sup> <sup>Equivalently,</sup> these can be obtained via singular value decomposition (SVD) of X = U Σ V <sup>_T_</sup>, where the columns of V provide the principal components directly. For EBSD applications, the key computational challenge arises from the competing demands of angular resolution and computational tractability. Achieving sub-degree orientation accuracy requires dense sampling of the FZ with average disorientations of 1-2°, resulting in dictionaries containing 10 <sup>5</sup> -10 <sup>6</sup> patterns for even high-symmetry cubic materials. Incremental Covariance Matrix PCA When the _d ×_ _d_ covariance matrix remains computationally manageable (moderate-resolution patterns), but the dictionary size exceeds available memory, incremental covariance updates provide an efficient solution. Rather than loading all simulated patterns simultaneously, the covariance matrix can be built incrementally as dictionary patterns are generated on-demand. Chan et al. developed a numerically stable method for combining statistics from multiple data batches that produces results nearly identical to processing the entire dataset at once <sup>29</sup> . The updated mean and covariance matrix of all _n_ = _n_ 1 + _n_ 2 observations for two joined batches with means _µ_ 1 and _µ_ 2 are given by: _µ_ new = <sup>_<u>n</u>_</sup> <sup><u>1</u></sup> <sup>_<u>µ</u>_</sup> <sup><u>1 +</u></sup> <sup>_<u>n</u>_</sup> <sup><u>2</u></sup> <sup>_<u>µ</u>_</sup> <sup><u>2</u></sup> (3) _n_ _<u>n</u>_ <u>1</u> _<u>n</u>_ <u>2</u> C new = <sup><u>(</u></sup> <sup>_<u>n</u>_</sup> <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup><u>C</u></sup> <sup><u>1 +(</u></sup> <sup>_<u>n</u>_</sup> <sup><u>2</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup><u>C</u></sup> <sup><u>2</u></sup> + (4) _n_ _−_ 1 _n_ ( _n_ _−_ 1) <sup>(</sup> <sup>_µ_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_µ_</sup> <sup>2)(</sup> <sup>_µ_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_µ_</sup> <sup>2)</sup> <sup>_T_</sup> This approach enables memory efficient processing of large dictionaries while maintaining numerical accuracy equivalent to SVD. The method remains viable as long as the _d ×_ _d_ covariance matrix fits in memory. However, modern high-resolution detectors produce patterns with _d >_ 10 <sup>6</sup> pixels, making even the covariance matrix prohibitively large to store and decompose, necessitating alternative approaches. / Stochastic PCA When the pattern dictionary exceeds memory constraints, stochastic methods provide a path forward. These algorithms approximate the principal subspace through iterative updates without ever forming the covariance matrix or loading the complete dataset into memory at once. Oja’s rule offers one such approach, incrementally updating an approximation of the principal components through stochastic iteration <sup>30</sup> . For a batch Oja implementation with projection matrix P _t_ = W _t_ W _t_ <sup>_T_</sup> <sup>at</sup> iteration _t_, where W _t_ _∈_ R <sup>_d×k_</sup>, Oja’s update rule is: W _t_ +1 = orth - W _t_ + _ηt_ X <sup>_T_</sup> XW _t_ - (5) where _ηt_ is the learning rate and orth( _·_ ) denotes orthonormalization (typically QR decomposition). The orthonormalized columns of W _t_ converge to the first _k_ eigenvectors of the covariance matrix. Alternative formulations such as Krasulina’s method offer exponential convergence guarantees <sup>31,</sup> <sup>32</sup>, though the choice between methods depends on specific values of batch size, dimensionality, and learning rate scheduling. Both stochastic approaches maintain _O_ ( _dk_ ) memory requirements compared to _O_ ( _d_ <sup>2</sup> ) for explicit covariance matrix storage. Pattern Indexing Once both dictionary and experimental patterns are projected onto the dictionary’s principal component space, indexing reduces to a k-nearest neighbors (KNN) search in the low-dimensional projected space. We employ dot product similarity for computational efficiency, transforming the problem from high-dimensional pixel space (dimensionality _d_ ) to the chosen number of principal components (dimensionality _k ≪_ _d_ ). This dimensionality reduction not only accelerates computation but also creates opportunities for deploying approximate nearest neighbor algorithms in future implementations <sup>33</sup> . Here we focus on exact nearest neighbor search to establish baseline performance without introducing additional approximation errors. To further accelerate computation, we can employ precision reduction techniques including half-precision floats (FP16) and dynamic 8-bit integer (INT8) quantization. For INT8, data is dynamically scaled before casting to integers, then inverse-transformed to approximate full-precision dot products. We leverage PyTorch’s FBGEMM implementation (restricted to x86 CPUs only) for optimized INT8 quantized matrix operations <sup>34,</sup> <sup>35</sup>, building on quantization techniques proven effective in neural network acceleration <sup>36</sup> . Test Dataset We use a publicly available test dataset consisting of a series of nickel EBSD scans of the same region of interest taken at camera gain levels elevated by ten different dB levels <sup>37,</sup> <sup>38</sup> . Figure 2 shows several patterns from the 0, 12, and 24 dB elevated scans referred to here as _low_, _medium_, and _high_ noise. The key experimental details from the paper are the pattern center (TSL convention: (0 _._ 4210 _,_ 0 _._ 7794 _,_ 0 _._ 5049)), CCD pixel size (70 µm), accelerating voltage (20 kV), and sample tilt angle (70 <sup>_◦_</sup> ). This dataset is used to exhibit the performance of PCA-based dictionary compression in the face of increasing noise levels, and to demonstrate identical indexing results regardless of reduced precision distance calculations. Medium Noise (0,199) (148,0) (0,0) High Noise (0,199) (148,0) (0,0) Low Noise (0,199) (148,0) (0,0) Figure 2. Example patterns from three of the four corners of the region of interest in the camera gain Ni dataset. The camera gain setting (in dB) was 0, 12, and 24 for the low, medium and high noise levels respectively. Top and bottom rows show the same patterns before and after preprocessing steps (static background removal, dynamic background removal, and radial masking). The map coordinates below the processed patterns indicate their location in the ROI. / Reporting Metrics For a projection onto the first _k_ components, we report the variance captured as _V_ ( _k_ ) = 1 _−_ <sup><u>MSE(</u></sup> <sup>_<u>X,</u>_</sup> <sup>_<u>X</u>_</sup> <sup>ˆ</sup> <sup>(</sup> <sup>_k_</sup> <sup>))</sup> (6) Var( _X_ ) where _X_ _∈_ R <sup>_N×d_</sup> has _N_ patterns and _d_ pixels, _X_ <sup>ˆ</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> is the _k_ -component reconstruction, MSE is averaged over all entries, and Var( _X_ ) is the column-wise variance averaged over samples. When components are the true PCA of _X_, this reduces to the cumulative variance ratio _V_ ( _k_ ) = <sup><u>∑</u></sup> _<u>i</u>_ <sup>_k_</sup> _<u>i</u>_ <sup>_k_</sup> <u>=1</u> <sup>_<u>σ</u>_</sup> _<u>i</u>_ <sup>2</sup> <sup>_d_</sup> _i_ =1 <sup>_σ_</sup> _i_ <sup>2</sup> <sup><u>∑</u></sup> _<u>i</u>_ <sup>_k_</sup> <u>=1</u> <sup>_<u>σ</u>_</sup> _<u>i</u>_ <sup>2</sup> ∑ <sup>_d_</sup> _i_ =1 <sup>_σ_</sup> _i_ <sup>2</sup> (7) _i_ Values near 1 indicate that the low-dimensional subspace preserves most pattern variance. For two orientations _g_ 1 _,_ _g_ 2 _∈_ _SO_ (3) (modulo crystal symmetry), the disorientation ∆( _g_ 1 _,_ _g_ 2) is the minimum misorientation angle over the symmetrically equivalent pairs. We summarize indexing accuracy by the mean of ∆ against a reference solution: DI with 1 <sup>_◦_</sup> resolution followed by cubochoric orientation refinement (pattern search in orientation space). Orientation refinement finds the particular orientation which may vary continuously (rather than being restricted to the discrete dictionary samples) that maximizes the dot product with the experimental pattern. We additionally report the fraction of pixels whose disorientation exceeds 3 <sup>_◦_</sup> . This threshold is used because the convergence basin for cubochoric refinement is _≈_ 3 <sup>_◦_</sup> ; beyond this, refinement is unlikely to recover the correct solution. All benchmarking was done on Windows 11 with a NVIDIA GeForce RTX 5070 (12 GB VRAM) Graphics Processing Unit (GPU) and AMD Ryzen 7 5800X CPU. Results and Discussion Dictionary Eigendecomposition Figure 3 illustrates the principal components derived from orientation dictionaries of varying sizes. The principal components are arranged in a grid format with dictionary sizes increasing from 10 <sup>3</sup> to 10 <sup>7</sup> orientations along rows, and component numbers (1, 2, 4, 8, ...) arranged logarithmically along columns. Notable structural features emerge at different scales, with higher-order components capturing increasingly fine details of orientation-dependent contrast variations. All eigendecompositions exhibit azimuthal oscillations in the primary component radiating around the projection center in the upper left quadrant of the detector plane. The regions at the periphery away from the pattern projection center highlighted in the first several hundred eigenvectors are most sensitive to small changes in orientation. As dictionary size increases, we observe improved smoothness and stability in the higher-order components, particularly evident in components beyond the 32nd eigenvector. It should be noted that the actual number of orientations sampled slightly deviates from the target number due to rejection sampling inherent in the orientation sampling approach. These are the actual values: 917; 10 _,_ 079; 98 _,_ 440; 995 _,_ 277; and 9 _,_ 978 _,_ 120 for target sizes of 10 <sup>3</sup> through 10 <sup>7</sup>, respectively. Synthetic Poisson Noise Experiments In order to assess what size dictionary is needed to sufficiently capture the principal subspace for lossy compression of noisy patterns, Poisson noise was added to test images by replacing each pixel intensity _I_ with _I_ <sup>_′_</sup> _∼_ <sup><u>Poisson(</u></sup> <sup>_<u>aI</u>_</sup> <sup><u>)</u></sup> _,_ (8) _a_ where _a_ is an exposure parameter controlling the effective signal-to-noise ratio. Figure 4 presents a controlled analysis of how dictionary size and experimental noise might affect the performance of eigenvalue decomposition for EBSD pattern representation. Panel A illustrates the visual impact of synthetic Poisson noise on simulated EBSD patterns, with three representative patterns shown under various noise conditions. The original, noise-free patterns (first column) display clear Kikuchi bands with high contrast, which become progressively degraded as shot noise is introduced. Even at moderate noise levels (a = 5), essential crystallographic features remain discernible, while at higher noise levels (a = 1), significant detail is lost, mirroring the challenges often encountered in real experimental conditions where signal-to-noise ratios can be compromised. For the test set creation, we deliberately selected a different sampling method (Super-Fibonacci rejection sampling) than the cubochoric rejection FZ sampling employed for the dictionary construction <sup>26</sup> . This enables the assessment of the dictionary’s representational capacity by evaluating performance on orientations that were not explicitly included in the dictionary enumeration. This approach aims to mirror real-world scenarios where indexed patterns rarely perfectly match the orientation of their closest dictionary entry, necessitating orientation refinement. The quantitative analysis in Panel B reveals / 1k 10k 100k 1M 10M 1 2 4 8 16 32 64 128 256 512 Eigenvector Number Figure 3. Principal components of simulated EBSD pattern dictionaries across varying dictionary sizes. Rows represent dictionaries with target sizes ranging from 10 <sup>3</sup> to 10 <sup>7</sup> orientations, while columns show principal components arranged logarithmically (component numbers 1, 2, 4, 8, 16, etc.). Higher-order components (right columns) show increasingly fine orientation-dependent contrast variations, with larger dictionaries (bottom rows) exhibiting enhanced stability in these higher-order features. several important trends in dictionary-based EBSD analysis. First, as expected, the fraction of variance captured increases monotonically with the number of principal components for all dictionary sizes and noise conditions. However, the rate of this increase and the asymptotic behavior differ significantly based on dictionary parameters. Larger dictionaries (10 <sup>5</sup> patterns) consistently outperform smaller ones in capturing variance across all noise scenarios, demonstrating that more comprehensive sampling of the FZ yields more robust pattern decomposition. This advantage is pronounced under noise-free conditions, and decreases under heavy noise: for example, the gap in the fraction of variance explained between 10 _,_ 000 and 100 _,_ 000 at a = 1 is much less than with noise-free patterns. There are clear diminishing returns in variance capture as dictionary size increases. While the improvement from 10 <sup>3</sup> to 10 <sup>4</sup> patterns is substantial, the gains from 10 <sup>4</sup> to 10 <sup>5</sup> are more modest, suggesting a potential optimization point for computational efficiency. Not shown, increasing from 10 <sup>5</sup> to 10 <sup>6</sup> patterns increases the variance explained by approximately one part in one thousand when using 1 _,_ 000 components. Building on our synthetic experiments with nickel patterns, which benefits from the highest-symmetry Laue group and smallest FZ, we observe that for this specific experimental setup, dictionaries of approximately 100 _,_ 000 patterns or more are required to closely approximate the PCA components of the desired “true” data matrix containing an infinite number of rows (not limited to simulated patterns chosen with a grid drawn over SO(3)). This requirement presents significant computational challenges when scaling to larger pattern sizes. While the present test dataset has 60×60 patterns (2 _,_ 828 dimensional following radial masking), modern high-resolution EBSD (HREBSD) systems frequently employ detectors with dimensions exceeding 1 _,_ 000 _×_ 1 _,_ 000 pixels. In such scenarios, SVD-based and covariance matrix-based methods become computationally intractable due to memory requirements of storing in memory at once either all of the simulated patterns in a _≈_ 100 _,_ 000 pattern dictionary or the data covariance matrix in RAM. These computational constraints underscore the necessity of transitioning to online and stochastic approximation methods for principal component analysis. Stochastic PCA Quality Figure 5 shows that the online and stochastic PCA methods achieve nearly identical performance to the optimal SVD solution while requiring only a single pass through the data. Panel A demonstrates that all four methods: SVD, online covariance matrix updates, Oja’s algorithm with fixed learning rate, and Oja’s algorithm with exponentially decaying learning rate; all produce virtually indistinguishable cumulative explained variance curves. This tight clustering indicates that the iterative approximations capture the same underlying principal subspace as the computationally expensive SVD approach on the EBSD / A B Original a=5 a=1 1.0 0.8 0.6 0.4 0.2 0.0 0 500 1000 1500 2000 2500 Number of Components <u>Effect of Dictionary Size and Noise on Variance Captured</u> Dictionary Size and Noise Level ~~Size: 1,000~~ ~~Size: 10,000~~ Size: 1,000, a=5 Size: 10,000, a=5 Size: 1,000, a=1 Size: 10,000, a=1 ~~Size: 10,000~~ Size: 10,000, a=5 Size: 10,000, a=1 ~~Size: 100,000~~ Size: 100,000, a=5 Size: 100,000, a=1 Figure 4. Projection of simulated test patterns to the principal subspace of simulated nickel dictionaries of varying size (10 <sup>3</sup>, 10 <sup>4</sup>, and 10 <sup>5</sup> patterns). (A) Visualization of example simulated EBSD patterns and their Poisson noise parameters (“a”) if applicable. Higher “a” values indicate lower noise intensity. Original patterns are shown in the first column, with subsequent columns showing the same patterns with increasing noise corruption. The first 3 out of 1000 test patterns obtained via Super-Fibonacci spiral sampling on SO(3). (B) Plot showing overall cumulative variance captured in the 1000 test pattern dataset as a function of the number of projection components for dictionaries of varying sizes under different noise conditions. dictionaries. The convergence quality is further quantified in Panel B, which shows the fraction of SVD’s optimal variance captured by each iterative method. Remarkably, all three single-pass methods achieve over 95% of the SVD’s explained variance across the entire range of components tested. The online covariance matrix approach captures the optimal variance as expected. Between the two Oja implementations, the exponentially decaying learning rate schedule slightly outperforms the fixed learning rate, particularly for the first 500 components. These results have important practical implications for large-scale EBSD applications. The online covariance matrix method provides the best approximation quality while maintaining _O_ ( _d_ <sup>2</sup> ) memory requirements, making it suitable for moderate-resolution patterns up to approximately 256 _×_ 256 pixels. For higher resolutions where even the covariance matrix becomes prohibitively large, Oja’s algorithm with exponential decay offers an excellent compromise, requiring only _O_ ( _dk_ ) memory while achieving near optimal performance. The single-pass constraint imposed in these benchmarks reflects realistic computational scenarios where dictionary patterns are generated on-demand rather than stored in memory. That said, practitioners may prefer to use two or more passes through the dictionary to more closely approach the true truncated eigendecomposition while staying memory efficient. The near-optimal performance of these stochastic and online methods validates their use in EBSD indexing workflows, particularly for high-resolution patterns or low-symmetry materials requiring extensive orientation sampling. Indexing Performance Figure 6 presents the probability density functions (PDFs) of indexing disorientation angles to the refined reference solution for DI, PCA-512, and PCA-1024 at low, medium, and high noise levels. Under low noise, all methods yield sharply peaked distributions near zero, indicating that PCA-based dimensionality reduction preserves accuracy when patterns are clean. At medium noise, the PDFs broaden modestly and the three approaches remain closely matched. Under high noise, clear separation appears: PCA-512 does not capture enough signal to maintain indexing performance, while PCA-1024 slightly reduces the tail of large-angle errors relative to DI. Spatial fidelity is evaluated in Figure 7, which compares IPF–Z maps for DI, PCA-512, and PCA-1024 against the refined reference solution. For low and medium noise, all methods produce visually similar results. At high noise, PCA-512 has noticeably more erroneous pixels, while DI and PCA-1024 are broadly comparable. Together with the PDFs, these maps indicate that dimensionality reduction does not degrade performance in benign conditions and can improve robustness in challenging ones. The marginal accuracy gains for PCA-1024 over DI are not due to a single grain but are evenly distributed throughout the ROI. Quantitative accuracy metrics are summarized in Table 1. Mean disorientations and the fraction of pixels exceeding 3 <sup>_◦_</sup> confirm the trends in Figure 6 and Figure 7. Further, across all settings, FP16 and dynamic INT8 computations yield indexing results that are indistinguishable from FP32 (see table triplets), indicating that precision / A <u>Absolute Variance Captured - Dictionary Size 100,000</u> 1.0 B <u>Fraction of SVD's Optimal Variance Captured</u> 0 500 1000 1500 2000 2500 Number of Components 0.8 0.6 0.4 0.2 0.0 0 500 1000 1500 2000 2500 Number of Components ~~PCA Method~~ OnlineCovMatrix SVD Oja (fixed eta) Oja (exp decay) 1.00 0.99 0.98 0.97 0.96 0.95 0.94 Figure 5. On the left, the application of four different methods to compute PCA analysis of the simulated pattern dictionary have tightly distributed (A) plots of cumulative explained variance. Further, panel (B) cumulative explained variance of both Oja (either fixed _η_ = 10 <sup>_−_</sup> <sup>3</sup> or exponentially decaying learning rate from _η_ = 10 <sup>_−_</sup> <sup>3</sup> to _η_ = 10 <sup>_−_</sup> <sup>5</sup> ) and online covariance matrix approaches as a fraction of SVD’s optimal value. All three of these iterative methods were only permitted a single pass of the data. reduction introduces negligible numerical error for this task. In Figure 6, under medium noise, the large indexing disorientation angles cluster near 60 <sup>_◦_</sup> (secondary small peak at 38 _._ 9 <sup>_◦_</sup> ) for all methods, due to noise rising to levels which make difficult disambiguating overlap patterns at grain boundaries. These patterns have contributions from multiple orientations; modest noise hinders reliably labeling patterns with the orientation that presents most prominently. This happens not only at Σ3 and Σ9 coincident site lattice (CSL) boundaries (giving the two peaks), but also at general grain boundaries. As shown in the “Reference Boundaries” panel of Figure 7, the ROI has 29800 patterns, of which 9988 sit at boundaries exceeding 3 <sup>_◦_</sup> disorientation angle. 5362 (53 _._ 684%) of boundary patterns are Σ3 and 464 (4 _._ 65%) are Σ9. For the medium noise scan with DI (chosen arbitrarily), 2610 patterns had above 3 <sup>_◦_</sup> disorientation to the reference indexing: 1401 at Σ3 (53 _._ 678%); 155 at Σ9 (5 _._ 94%); 1024 at general boundaries; 78 intragranular. Thus, the two large angle peaks at CSL disorientation angles for medium noise are due to erroneous boundary reassignment overall for both CSL and general boundaries; a proportional amount of high indexing disorientation angles occur at CSL boundaries. At high noise, the disorientation angle distributions for all three methods becomes more diffuse in the tail, indicating generic mismatches in addition to those as CSL boundaries. The spatial distribution of the large indexing disorientations can be clearly seen in the indexing disorientation heatmaps of Figure 8. Throughput results for the KNN stage are reported in Table 2. FP16 delivers a consistent 2 _×_ speedup over FP32 while preserving accuracy. Dynamic INT8 (executed with a CPU backend) achieves lower absolute throughput but demonstrates feasibility for systems without a compatible GPU. We deliberately focus on the KNN stage, because this stage overwhelmingly dominates the runtime of DI. Pattern normalization and projection scale linearly with the number of detector pixels and constitute only a small fraction of the total time, whereas the exhaustive similarity search against the reduced dictionary determines the practical indexing rate. To place these results in context, we compare against theoretical maximum throughputs of spherical indexing (SI), obtained from timing the bottleneck operation, symmetry-reduced inverse 3D IRFFT operations, on the same hardware. These upper bounds are approximately 39,363 patterns/sec at _L_ = 63, 14,076 patterns/sec at _L_ = 88, 2,740 patterns/sec at _L_ = 123, and 1,466 patterns/sec at _L_ = 158. Bandlimits _L_ = 63 and _L_ = 88 are typically sufficient under low-noise conditions, while _L_ = 123, _L_ = 158, and beyond are required for medium- and high-noise data to achieve comparable accuracy. When compared on this basis, PCA-DI is highly competitive: its measured throughput approaches or exceeds the SI limits at low noise, and it maintains orders-of-magnitude higher performance in noisy conditions where SI must increase its bandwidth. Performance Scaling with Image Resolution The modest speedup factors observed in the 60×60 benchmark dataset substantially underestimate the true performance benefits of PCA-DI for higher-resolution EBSD applications. The results below report steady-state matching throughput: for conventional DI, we time the on-the-fly dictionary pattern generation plus exhaustive similarity search; for PCA-DI, we time test-pattern projection into the PCA space plus exhaustive similarity search. Note that conventional DI intrinsically regenerates dictionary patterns on the fly (to avoid storing multi-hundred-GB dictionaries at high resolution/low symmetry), whereas PCA-DI precomputes and reuses a compact dictionary resident in GPU memory; the reported timing split reflects this deployment. Table 3 summarizes this scaling using synthetic Ni patterns at progressively higher resolutions. Conventional DI per-pattern time (dictionary pattern interpolation from master pattern + similarities) grows from 0.90 ms at 60×60 to 12.98 / Table 1. EBSD Indexing Accuracy Comparison Mean Disorientation (°) Angles _>_ 3° (%) Method Low Noise Medium Noise High Noise Low Noise Medium Noise High Noise 1 _._ 4 <sup>_◦_</sup> dictionary (309,376 orientations) Dictionary 0.81 0.81 0.81 4.96 4.95 4.95 18.96 18.96 18.97 0.2 0.2 0.2 8.8 8.8 8.8 44.7 44.7 44.7 PCA-512 0.89 0.89 0.89 5.08 5.07 5.08 25.13 25.12 25.12 0.3 0.3 0.3 9.0 8.9 9.0 60.3 60.3 60.4 PCA-1024 0.84 0.84 0.84 4.98 4.98 4.99 18.27 18.27 18.29 0.2 0.2 0.2 8.7 8.7 8.8 42.6 42.7 42.7 2 _._ 0 <sup>_◦_</sup> (102,448) Dictionary 1.17 1.17 1.17 5.26 5.26 5.26 21.44 21.44 21.46 0.4 0.4 0.4 9.0 9.0 9.0 51.3 51.3 51.3 PCA-512 1.18 1.18 1.18 5.35 5.35 5.36 25.95 25.94 25.97 0.4 0.4 0.4 9.1 9.1 9.1 62.7 62.7 62.7 PCA-1024 1.18 1.18 1.17 5.24 5.24 5.25 19.86 19.88 19.88 0.4 0.4 0.4 8.9 8.9 8.9 47.0 47.0 47.0 3 _._ 0 <sup>_◦_</sup> (31,776) Dictionary 1.94 1.94 1.94 6.06 6.06 6.06 26.89 26.90 26.90 2.2 2.2 2.2 11.3 11.3 11.4 65.2 65.2 65.2 PCA-512 1.80 1.80 1.80 5.97 5.97 5.99 29.02 29.02 29.04 1.6 1.6 1.6 11.0 11.0 11.1 71.0 71.0 71.0 PCA-1024 1.85 1.85 1.86 5.92 5.92 5.92 24.62 24.61 24.67 2.0 1.9 2.0 10.9 10.9 10.9 59.4 59.4 59.5 Mean disorientation (left block) and percentage of disorientations over 3 <sup>_◦_</sup> (right block) are shown as triplets: FP32 FP16 INT8. Columns indicate which scan (Low/Med/High) was tested. The values show that indexing accuracy is not significantly changed by using FP16 or INT8 quantization. Table 2. KNN throughput (experimental patterns/second) 1 _._ 4 <sup>_◦_</sup> (309,376) 2 _._ 0 <sup>_◦_</sup> (102,448) 3 _._ 0 <sup>_◦_</sup> (31,776) DI PCA-512 / 1024 DI PCA-512 / 1024 DI PCA-512 / 1024 FP32 GPU 11,958 39,422 / 27,509 33,711 116,103 / 82,635 115,486 281,946 / 258,781 FP16 GPU 21,742 75,291 / 52,826 66,268 222,107 / 157,515 210,621 700,838 / 493,615 INT8 CPU 489 1,824 / 1,078 1,292 5,069 / 3,055 4,282 16,392 / 10,037 Reported throughput of the nearest-neighbor lookup step in PCA-DI for various number of components and numerical representations. The throughput of other mostly non-bottleneck processes are: dictionary generation 534,993; PCA (online covariance matrix approach) 346,351; PCA-512 Projection 1,514,401; PCA-1024 Projection 1,310,848. This means that except for the FP16 PCA on a coarse 3 <sup>_◦_</sup> dictionary, KNN lookup represents the main computational burden. <u>Low Noise</u> 1.0 0.5 DI <u>PCA-512</u> PCA-1024 <u>Medium Noise</u> 0.2 0.1 0.20 <u>High Noise</u> <u>0</u> <u>2</u> <u>4</u> <u>6</u> <u>8</u> <u>10</u> 0.010 0.008 0.006 0.004 0.002 0.000 ~~0.8~~ 0.6 0.4 ~~0.2~~ 0.0 ~~0.0~~ ~~0.5~~ ~~1.0~~ ~~1.5~~ ~~2.0~~ ~~2.5~~ ~~3.0~~ 0 10 20 30 40 50 60 Disorientation (�) 0.15 ~~0.10~~ <u>0.05</u> 0.00 ~~0~~ ~~2~~ ~~4~~ ~~6~~ 0 10 20 30 40 50 60 Disorientation (�) 0.010 0.008 0.006 0.004 0.002 0.000 0.08 0.07 0.06 0.05 0.04 0.03 0.02 0.01 0.00 0 10 20 30 40 50 60 Disorientation (�) 0.08 0.06 0.04 0.02 0.00 Figure 6. Isolating the results from the 1 _._ 4 <sup>_◦_</sup> dictionary on the nickel dataset, displayed above are the disorientation probability density functions for DI, PCA-512, and PCA-1024 at low, medium, and high noise levels. Insets highlight the near-zero region. Under low noise, all three methods are closely matched but DI is marginally better, under medium noise, all three methods are closely matched; under high noise, PCA-1024 is the most accurate followed by DI while PCA-512 struggles to index as well. / DI PCA-512 PCA-1024 Reference Reference Boundaries Figure 7. IPF–Z maps across noise conditions (rows) for DI, PCA-512, and PCA-1024 (columns 1-3). Additionally, the final column shows the reference indexing (done on the low noise scan) result which is treated as ground truth. Below it, a grain boundary map outlines general (black), Σ3 (red) and Σ9 (blue) boundaries. ms at 256×256, reflecting near-linear scaling with the effective pixel count. In contrast, PCA-DI steady-state per-pattern time (test-pattern PCA projection + similarities in a fixed 512-D space) remains essentially constant at 0.12–0.14 ms across resolutions. This indicates that matching cost in PCA-DI is dominated by low-dimensional KNN, while the per-pattern projection overhead is negligible by comparison. The one-time dictionary projection (done once per image size) is amortized across the dataset and not included in the per-pattern numbers shown. Consequently, the observed speedup factors closely track the dimensionality-reduction ratio (effective pixels ÷ 512 components): 7.3× at 60×60, 28.2× at 128×128, and 92.2× at 256×256. Because these timings isolate the dominant bottleneck in both methods (the exhaustive similarity search, plus test-pattern projection for PCA-DI), overall end-to-end indexing speedups are expected to follow the same trend as dataset size grows and one-time costs are amortized. Table 3. PCA-DI Performance Scaling Image Size Retained Pixels DI (ms) PCA-DI (ms) Speedup 60×60 2,828 0.902 0.123 7.3× 128×128 12,892 3.430 0.122 28.2× 256×256 51,468 12.979 0.141 92.2× Scaling analysis performed using synthetic nickel EBSD patterns generated at different detector resolutions with identical geometry and master pattern to the noise test datasets. PCA components were computed on the 60×60 base resolution and upscaled to larger sizes using bilinear interpolation. Then radial masking was applied (hence “retained pixels”). Dictionary size: 100,000 patterns; PCA components: 512; test patterns: 500 per resolution; match quantization: FP16. Runtime measured in milliseconds per experimental pattern, averaged over five runs per configuration. / <u>DI</u> <u>PCA-512</u> <u>PCA-1024</u> 60 30 10 3 1 0.1 Figure 8. Above, a grid of ROI heatmaps of disorientation angles to a reference solution (done with orientation refinement) are shown across noise conditions (rows) and method (columns) for DI, PCA-512, and PCA-1024. For all three methods, at low noise the few incorrectly indexed pixels appear uniformly scattered across the ROI but do reside at grain boundaries. For the medium noise scan, incorrectly indexed patterns highlight the grain boundaries. Finally for the high noise scan, DI and PCA-1024 appear visually similar, while PCA-512 has more incorrectly indexed pixels within grains and thicker painting of the grain boundaries with high indexing disorientations. / Conclusion We have demonstrated that PCA can accelerate dictionary-based indexing while marginally improving noise robustness. The method’s performance advantages scale dramatically with image resolution, with memory-efficient stochastic algorithms enabling application to arbitrarily large pattern dictionaries. The algorithmic transformation from high-dimensional pixel-space similarity computation to fixed low-dimensional principal component matching positions PCA-DI as an enabling technology for high-resolution EBSD, low-symmetry materials, and real-time indexing workflows that were previously computationally intractable. While our experiments focused on a single, well-characterized public nickel dataset (cubic symmetry, single phase), conventional DI has already been extensively validated across materials systems; PCA-DI retains DI’s core mechanics while primarily changing the representation (low-dimensional projection) and numeric precision. We therefore expect qualitative behavior to transfer, but systematic validation for low-symmetry phases and multi-phase scans remains important future work. Data Availability The nickel dataset is found here: [https://doi.org/10.5281/zenodo.7498632.](https://doi.org/10.5281/zenodo.7498632) EBSDTorch Python library used for the analysis: [https://github.com/ZacharyVarley/ebsdtorch.](https://github.com/ZacharyVarley/ebsdtorch) Python scripts for the figures: [https://github.com/ZacharyVarley/pcadi.](https://github.com/ZacharyVarley/pcadi) References 1. Britton, T. B., Tong, V. S., Hickey, J., Foden, A. & Wilkinson, A. J. _AstroEBSD_ : exploring new space in pattern indexing with methods launched from an astronomical approach. _J. Appl. Crystallogr._ 51, 1525–1534, DOI: 10.1107/ S1600576718010373 (2018). 2. Rowenhorst, D. J., Callahan, P. G. & Anes, <sup>˚</sup> H. W. Fast Radon transforms for high-precision EBSD orientation determination using PyEBSDIndex. _J. Appl. Crystallogr._ 57, 3–19, DOI: 10.1107/S1600576723010221 (2024). ~~e~~ print: https://onlinelibrary.wiley.com/doi/pdf/10.1107/S1600576723010221. 3. Zscheckel, T., Wisniewski, W. & Russel, C.¨ Polarity Determination in EBSD Patterns Using the Hough Transformation. _Microsc. Microanal._ 27, 1409–1419, DOI: 10.1017/S1431927621012605 (2021). 4. Krieger Lassen, N. C., Jensen, D. J. & Conradsen, K. Image Processing Procedures for Analysis of Electron Back Scattering Patterns. _Scanning Microsc._ 6 (1992). 5. Lassen, N. C. K. _Automated determination of crystal orientations from electron backscattering patterns_ . Ph.D. thesis, Institute of Mathematical Modelling, Technical University of Denmark, Lyngby, Denmark (1994). 6. Adams, B. L., Wright, S. I. & Kunze, K. Orientation imaging: The emergence of a new microscopy. _Metall. Transactions_ _A_ 24, 819–831, DOI: 10.1007/BF02656503 (1993). 7. Winkelmann, A., Trager-Cowan, C., Sweeney, F., Day, A. P. & Parbrook, P. Many-beam dynamical simulation of electron backscatter diffraction patterns. _Ultramicroscopy_ 107, 414–421, DOI: 10.1016/j.ultramic.2006.10.006 (2007). 8. Callahan, P. G. & De Graef, M. Dynamical Electron Backscatter Diffraction Patterns. Part I: Pattern Simulations. _Microsc._ _Microanal._ 19, 1255–1265, DOI: 10.1017/S1431927613001840 (2013). 9. Chen, Y.-H. _et al._ A Dictionary Approach to EBSD Indexing, DOI: 10.48550/arXiv.1502.07436 (2015). ArXiv:1502.07436 [physics, stat]. 10. Lenthe, W. C., Singh, S. & Graef, M. D. A spherical harmonic transform approach to the indexing of electron back-scattered diffraction patterns. _Ultramicroscopy_ 207, 112841, DOI: 10.1016/j.ultramic.2019.112841 (2019). 11. Graef, M. D. A dictionary indexing approach for EBSD. _IOP_ _Conf._ _Series:_ _Mater._ _Sci._ _Eng._ 891, 012009, DOI: 10.1088/1757-899X/891/1/012009 (2020). Publisher: IOP Publishing. 12. Jackson, M. A., Pascal, E. & De Graef, M. Dictionary Indexing of Electron Back-Scatter Diffraction Patterns: a Hands-On Tutorial. _Integrating Mater. Manuf. Innov._ 8, 226–246, DOI: 10.1007/s40192-019-00137-4 (2019). 13. Singh, S. & Graef, M. D. Orientation sampling for dictionary-based diffraction pattern indexing methods. _Model. Simul._ _Mater. Sci. Eng._ 24, 085013, DOI: 10.1088/0965-0393/24/8/085013 (2016). Publisher: IOP Publishing. 14. Gutman, B., Wang, Y., Chan, T., Thompson, P. M. & Toga, A. W. Shape registration with spherical cross correlation. In _2nd MICCAI Workshop on Mathematical Foundations of Computational Anatomy_, 56–67 (2008). 15. Sorgi, L. & Daniilidis, K. Template gradient matching in spherical images. In Dougherty, E. R., Astola, J. T. & Egiazarian, K. O. (eds.) _Image Processing:_ _Algorithms and Systems III_, 88, DOI: 10.1117/12.527043 (San Jose, CA, 2004). / 16. Hoover, R. C., Maciejewski, A. A. & Roberts, R. G. Pose detection of 3-D objects using images sampled on SO(3), spherical harmonics, and wigner-D matrices. In _2008 IEEE International Conference on Automation Science and Engineering_, 47–52, DOI: 10.1109/COASE.2008.4626422 (IEEE, Arlington, VA, 2008). 17. Hoover, R., Maciejewski, A. & Roberts, R. Eigendecomposition of Images Correlated on $Sˆ _{_ 1 _}_ $, $Sˆ _{_ 2 _}_ $, and $SO(3)$ Using Spectral Theory. _IEEE Transactions on Image Process._ 18, 2562–2571, DOI: 10.1109/TIP.2009.2026622 (2009). 18. Hoover, R. C., Maciejewski, A. A. & Roberts, R. G. Fast Eigenspace Decomposition of Images of Objects With Variation in Illumination and Pose. _IEEE Transactions on Syst. Man, Cybern. Part B (Cybernetics)_ 41, 318–329, DOI: 10.1109/TSMCB.2010.2052920 (2011). 19. Wright, S. I. & De Graef, M. Electron backscatter diffraction. _urn:isbn:_ C, 0–0, DOI: 10.1107/S1574870722004554 (2022). Publisher: International Union of Crystallography. 20. Pascal, E. _et_ _al._ Energy-weighted dynamical scattering simulations of electron diffraction modalities in the scanning electron microscope. _Ultramicroscopy_ 187, 98–106, DOI: 10.1016/j.ultramic.2018.01.003 (2018). 21. Joy, D. C. _Monte Carlo Modeling for Electron Microscopy and Microanalysis_ (Oxford University PressNew York, NY, 1995). 22. Anes, H. W., Hjelen, J., Helvoort, A. T. J. v. & Marthinsen, K. <sup>˚</sup> Dynamical simulation of EBSD master pattern of nickel, DOI: 10.5281/zenodo.7498645 (2023). 23. Anes, H. W. <sup>˚</sup> _et al._ pyxem/kikuchipy: kikuchipy 0.11.2, DOI: 10.5281/zenodo.14995525 (2025). 24. De Graef, M. Applications of the Clifford torus to material textures. _J. Appl. Crystallogr._ 57, 638–648, DOI: 10.1107/ S160057672400219X (2024). 25. Ros¸ca, D., Morawiec, A. & De Graef, M. A new method of constructing a grid in the space of 3D rotations and its applications to texture analysis. _Model. Simul. Mater. Sci. Eng._ 22, 075013, DOI: 10.1088/0965-0393/22/7/075013 (2014). 26. Alexa, M. Super-Fibonacci Spirals: Fast, Low-Discrepancy Sampling of SO(3). In _2022_ _IEEE/CVF_ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_, 8281–8290, DOI: 10.1109/CVPR52688.2022.00811 (IEEE, New Orleans, LA, USA, 2022). 27. Ros¸ca, D. New uniform grids on the sphere. _Astron. Astrophys._ 520, A63, DOI: 10.1051/0004-6361/201015278 (2010). 28. Lever, J., Krzywinski, M. & Altman, N. Principal component analysis. _Nat. Methods_ 14, 641–642, DOI: 10.1038/nmeth. 4346 (2017). Number: 7 Publisher: Nature Publishing Group. 29. Chan, T. F., Golub, G. H. & LeVeque, R. J. Algorithms for Computing the Sample Variance: Analysis and Recommendations. _The Am. Stat._ 37, 242–247, DOI: 10.2307/2683386 (1983). Publisher: [American Statistical Association, Taylor & Francis, Ltd.]. 30. Oja, E. Simplified neuron model as a principal component analyzer. _J. mathematical biology_ 15, 267–273 (1982). Publisher: Springer. 31. Tang, C. Exponentially convergent stochastic k-PCA without variance reduction. _Adv. Neural Inf. Process. Syst._ 32 (2019). 32. Amid, E. & Warmuth, M. K. An Implicit Form of Krasulina’s k-PCA Update without the Orthonormality Constraint. _Proc._ _AAAI Conf. on Artif. Intell._ 34, 3179–3186, DOI: 10.1609/aaai.v34i04.5715 (2020). 33. Aumuller, M. & Ceccarello, M.¨ Recent Approaches and Trends in Approximate Nearest Neighbor Search, with Remarks on Benchmarking. _IEEE Data Eng. Bull._ 46, 89–105 (2023). 34. Khudia, D. _et_ _al._ FBGEMM: Enabling High-Performance Low-Precision Deep Learning Inference (2021). ArXiv:2101.05615 [cs]. 35. Ansel, J. _et al._ Pytorch 2: Faster machine learning through dynamic python bytecode transformation and graph compilation. In _Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and_ _Operating Systems, Volume 2_, 929–947 (2024). 36. Weng, O. Neural Network Quantization for Efficient Inference: A Survey, DOI: 10.48550/arXiv.2112.06126 (2023). ArXiv:2112.06126 [cs]. 37. Anes, H. W., Hjelen, J., Helvoort, A. T. J. v. & Marthinsen, K. <sup>˚</sup> Electron backscatter patterns from Nickel acquired with varying camera gain, DOI: 10.5281/zenodo.3265037 (2019). 38. Anes, <sup>˚</sup> H. W., Hjelen, J., Sørensen, B. E., Helvoort, A. T. J. v. & Marthinsen, K. Processing and indexing of electron backscatter patterns using open-source software. _IOP_ _Conf._ _Series:_ _Mater._ _Sci._ _Eng._ 891, 012002, DOI: 10.1088/ 1757-899X/891/1/012002 (2020). Publisher: IOP Publishing. / 39. De Graef, M. EMsoftOO: an Open Source Object-Oriented Software Package for Electron Scattering Simulations. _Microsc._ _Microanal._ 31, ozaf048.282, DOI: 10.1093/mam/ozaf048.282 (2025). Acknowledgements The authors would like to acknowledge stimulating interactions with M. Uchic, M. Shah, S. Donegan, and G. Sparks of the Air Force Research Laboratory in Dayton, OH. This work was supported by the Air Force Research Laboratory under cooperative agreement number FA8650-19-2-5209, as well as the computational facilities of the Materials Characterization Facility at Carnegie Mellon University under grant # MCF-677785. Author contributions statement ZTV created the PyTorch code-base and conducted numerical experiments. Much of the supporting EBSDTorch logic is derived from EMsoftOO, a Fortran library written in a large part by MDG <sup>39</sup> . GSR and MDG guided the project. All authors reviewed the manuscript. Funding This work was supported by the Air Force Research Laboratory under cooperative agreement number FA8650-19-2-5209, as well as the computational facilities of the Materials Characterization Facility at Carnegie Mellon University under grant # MCF-677785. Competing Interests The authors declare no competing interests. /

섹션 본문

섹션 본문이 없습니다.

참고문헌 32건

  1. A Dictionary Approach to EBSD Indexing arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1502.07436
  2. New uniform grids on the sphere Astronomy and Astrophysics · EDP Sciences · 2010 10.1051/0004-6361/201015278
  3. A new method of constructing a grid in the space of 3D rotations and its applications to texture analysis Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2014 10.1088/0965-0393/22/7/075013
  4. Orientation imaging: The emergence of a new microscopy Metallurgical Transactions A · Springer Science+Business Media · 1993 10.1007/bf02656503
  5. Eigendecomposition of Images Correlated on $S^{1}$, $S^{2}$, and $SO(3)$ Using Spectral Theory IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2009 10.1109/tip.2009.2026622
  6. Many-beam dynamical simulation of electron backscatter diffraction patterns Ultramicroscopy · Elsevier BV · 2006 10.1016/j.ultramic.2006.10.006
  7. Template gradient matching in spherical images Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2004 10.1117/12.527043
  8. Fast Eigenspace Decomposition of Images of Objects With Variation in Illumination and Pose IEEE Transactions on Systems Man and Cybernetics Part B (Cybernetics) · Institute of Electrical and Electronics Engineers · 2010 10.1109/tsmcb.2010.2052920
  9. Pose detection of 3-D objects using images sampled on SO(3), spherical harmonics, and wigner-D matrices 2008 10.1109/coase.2008.4626422
  10. Dynamical Electron Backscatter Diffraction Patterns. Part I: Pattern Simulations Microscopy and Microanalysis · Oxford University Press · 2013 10.1017/s1431927613001840
  11. Simplified neuron model as a principal component analyzer Journal of Mathematical Biology · Springer Science+Business Media · 1982 10.1007/bf00275687
  12. Orientation sampling for dictionary-based diffraction pattern indexing methods Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2016 10.1088/0965-0393/24/8/085013
  13. Principal component analysis Nature Methods · Nature Portfolio · 2017 10.1038/nmeth.4346
  14. Energy-weighted dynamical scattering simulations of electron diffraction modalities in the scanning electron microscope Ultramicroscopy · Elsevier BV · 2018 10.1016/j.ultramic.2018.01.003
  15. Dictionary Indexing of Electron Back-Scatter Diffraction Patterns: a Hands-On Tutorial Integrating materials and manufacturing innovation · Springer Nature · 2019 10.1007/s40192-019-00137-4
  16. <i>AstroEBSD</i>: exploring new space in pattern indexing with methods launched from an astronomical approach Journal of Applied Crystallography · Wiley · 2018 10.1107/s1600576718010373
  17. A spherical harmonic transform approach to the indexing of electron back-scattered diffraction patterns Ultramicroscopy · Elsevier BV · 2019 10.1016/j.ultramic.2019.112841
  18. An Implicit Form of Krasulina's k-PCA Update without the Orthonormality Constraint Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2020 10.1609/aaai.v34i04.5715
  19. A dictionary indexing approach for EBSD IOP Conference Series Materials Science and Engineering · IOP Publishing · 2020 10.1088/1757-899x/891/1/012009
  20. Processing and indexing of electron backscatter patterns using open-source software IOP Conference Series Materials Science and Engineering · IOP Publishing · 2020 10.1088/1757-899x/891/1/012002
  21. Polarity Determination in EBSD Patterns Using the Hough Transformation Microscopy and Microanalysis · Oxford University Press · 2021 10.1017/s1431927621012605
  22. Electron backscatter patterns from Nickel acquired with varying camera gain Zenodo (CERN European Organization for Nuclear Research) · CERN European Organization for Nuclear Research · 2019 10.5281/zenodo.3265037
  23. Neural Network Quantization for Efficient Inference: A Survey arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2112.06126
  24. Algorithms for Computing the Sample Variance: Analysis and Recommendations The American Statistician · Taylor & Francis · 1983 10.2307/2683386
  25. Electron backscatter diffraction International Union of Crystallography eBooks · International Union of Crystallography · 2022 10.1107/s1574870722004554
  26. Super-Fibonacci Spirals: Fast, Low-Discrepancy Sampling of SO(3) 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2022 10.1109/cvpr52688.2022.00811
  27. Fast Radon transforms for high-precision EBSD orientation determination using <i>PyEBSDIndex</i> Journal of Applied Crystallography · Wiley · 2023 10.1107/s1600576723010221
  28. Dynamical simulation of EBSD master pattern of nickel Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2023 10.5281/zenodo.7498645
  29. Applications of the Clifford torus to material textures Journal of Applied Crystallography · Wiley · 2024 10.1107/s160057672400219x
  30. PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation 2024 10.1145/3620665.3640366
  31. EMsoftOO: an Open Source Object-Oriented Software Package for Electron Scattering Simulations Microscopy and Microanalysis · Oxford University Press · 2025 10.1093/mam/ozaf048.282
  32. pyxem/kikuchipy: kikuchipy 0.11.2 Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2025 10.5281/zenodo.14995525