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

Semi-Automated, Object-Based Tomography of Dislocation Structures

간접 관련 화학·수지 · (21) 에폭시수지 (23) 컴파운드(10) 아라미드

기본 정보

저자
  1. Ryan B. Sills — Department of Materials Science and Engineering, Rutgers University, Piscataway, NJ 08854, USA
  2. Douglas L. Medlin — Sandia National Laboratories, Livermore, CA 94550, USA
DOI
10.1017/s1431927622000332
저널
Microscopy and Microanalysis
발행년도
2022
발행기관
Oxford University Press
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1017/s1431927622000332
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4220667382

평가 내용

관련도
간접 관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
(23) 컴파운드, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Dislocation tomography, three-dimensional arrangement of dislocations, transmission electron microscopy, reconstruction algorithms, diffraction-contrast scanning transmission electron microscopy
판단 근거
논문은 재료 과학에서 결정 결함인 전위(dislocation)의 3차원 구조를 분석하는 새로운 토모그래피 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 고분자 및 엔지니어링 플라스틱, 아라미드 등 고성능 소재의 미세 구조 및 결정성 분석 기법에 응용될 수 있는 연구입니다.
R&D 활용 포인트
고분자 결정 구조나 섬유의 미세 결함 분석 시, TEM 기반의 3차원 구조 재구성 기술을 도입하여 소재의 기계적 물성 및 내구성을 예측하는 분석 모델로 활용 가능합니다.
평가 입력
초록 1,440자

초록

The characterization of the three-dimensional arrangement of dislocations is important for many analyses in materials science. Dislocation tomography in transmission electron microscopy is conventionally accomplished through intensity-based reconstruction algorithms. Although such methods work successfully, a disadvantage is that they require many images to be collected over a large tilt range. Here, we present an alternative, semi-automated object-based approach that reduces the data collection requirements by drawing on the prior knowledge that dislocations are line objects. Our approach consists of three steps: (1) initial extraction of dislocation line objects from the individual frames, (2) alignment and matching of these objects across the frames in the tilt series, and (3) tomographic reconstruction to determine the full three-dimensional configuration of the dislocations. Drawing on innovations in graph theory, we employ a node-line segment representation for the dislocation lines and a novel arc-length mapping scheme to relate the dislocations to each other across the images in the tilt series. We demonstrate the method for a dataset collected from a dislocation network imaged by diffraction-contrast scanning transmission electron microscopy. Based on these results and a detailed uncertainty analysis for the algorithm, we discuss opportunities for optimizing data collection and further automating the method.

본문 91,799자

본문 펼치기
The characterization of the three-dimensional arrangement of dislocations is important for many analyses in materials science. Dislocation tomography in transmission electron microscopy is conventionally accomplished through intensity-based reconstruction algorithms. Although such methods work successfully, a disadvantage is that they require many images to be collected over a large tilt range. Here, we present an alternative, semi-automated object-based approach that reduces the data collection requirements by drawing on the prior knowledge that dislocations are line objects. Our approach consists of three steps: (1) initial extraction of dislocation line objects from the individual frames, (2) alignment and matching of these objects across the frames in the tilt series, and (3) tomographic reconstruction to determine the full three-dimensional configuration of the dislocations. Drawing on innovations in graph theory, we employ a node-line segment representation for the dislocation lines and a novel arc-length mapping scheme to relate the dislocations to each other across the images in the tilt series. We demonstrate the method for a dataset collected from a dislocation network imaged by diffraction-contrast scanning transmission electron microscopy. Based on these results and a detailed uncertainty analysis for the algorithm, we discuss opportunities for optimizing data collection and further automating the method. Introduction The characterization of the three-dimensional configurations of dislocations is important to understand their influence on many important materials processes. Examples include the interaction and slip processes between individual dislocations and how these impact development of deformation microstructures, the interactions between dislocations and interfaces, and defect mitigation in epitaxial thin film growth. Moreover, the development of mesoscale dislocation simulation approaches, such as discrete dislocation dynamics (DDD), is driving a need for experimental approaches to validate these techniques (Bertin et al., 2020). Introduction Although complex arrangements of dislocations are wellresolved by diffraction contrast techniques in transmission electron microscopy (TEM), particularly under weak-beam imaging conditions (Cockayne et al., 1969), information regarding feature height position is mostly lost in any single image since TEM is a projection technique. This challenge has motivated much interest in developing diffraction-contrast tomographic techniques suitable for dislocation imaging, as has been the subject of several recent reviews (Liu et al., 2014;Feng et al., 2020;Hata et al., 2020aHata et al., , 2020b. Introduction One widely employed approach, which was pioneered by co-workers (Barnard et al., 2006a, 2006b), is to apply intensity-based reconstruction algorithms, such as weighted back projection (WBP) or the sequential iterated reconstruction technique (SIRT), to diffraction contrast images collected over a wide tilt range but with finely spaced tilt increments. Since strain contrast is extremely sensitive to the diffracting conditions, images are usually obtained by tilting along a specific Kikuchi line, maintaining the diffracting vectors within the systemic row at fixed deviation parameters (Barnard et al., 2006a(Barnard et al., , 2006bLiu et al., 2014), although this constraint has been relaxed in some analyses (Kacher & Robertson, 2012). Intensity-based tomographic reconstruction approaches have been applied to a number of analyses of dislocations including dislocation networks in epitaxial films (Barnard et al., 2006a(Barnard et al., , 2006b(Barnard et al., , 2010, dislocations near indentation crack-tips (Sharp et al., 2008;Tanaka et al., 2008), grain-boundary/ dislocation interactions in metals (Kacher et al., 2011;Kacher & Robertson, 2012Chen & Yu, 2019), and dislocation configurations in geological materials (Mussi et al., 2014(Mussi et al., , 2017. Introduction Although they have been applied to a number of cases, use of intensity-based reconstruction techniques for dislocation tomography does pose some challenges. First, since dynamical diffraction contrast associated with dislocations and other specimen features (such as thickness contours) does not satisfy the tomographic "projection requirement" [i.e., that the intensity vary monotonically with the projected property of interest (Midgley & Dunin-Borkowski, 2009)], intensity-based reconstructions of diffraction-contrast images can suffer from imaging artifacts. Additionally, since many images are required to minimize errors in the intensity-based reconstructions, the acquisition of data can be tedious [e.g., requiring on the order of 50-100 images (Liu et al., 2014)], particularly given the constraint of maintaining constant diffracting conditions throughout the entire tilt series. More recently, it has been shown that intensity-based reconstructions can be performed using fewer images (e.g., 4 to 10) if the images are binarized into black and white pixels prior to tomographic reconstruction (Mussi et al., 2021a(Mussi et al., , 2021b). Introduction An alternative approach, which we consider in this paper, is to draw on the prior knowledge that the observed curvilinear features are line objects, namely dislocations. With this knowledge, the problem can be simplified to measuring the projected twodimensional dislocation line positions on the individual frames of the tilt series and then solving for the three-dimensional configurations of the dislocations based on the tilt geometry. Such an approach is similar in spirit to other object-based tomographic approaches, such as recent work reconstructing 3D distribution of precipitates and cavities through a simplified spherical representation (Field et al., 2020). A key advantage of such an objectbased tomographic approach is that fewer images are required compared to intensity-based tomographic methods. Indeed, as has been demonstrated by application of the "stereo-pair" method to dislocation analyses (Basinski, 1964;Modéer, 1974;McCabe et al., 2003;Eftink et al., 2017;Jácome et al., 2018;Oveisi et al., 2018), height information can be determined by measuring the image parallax from as few as two images collected at different tilts. In principle, however, one would expect improved precision and greater robustness to imaging ambiguities, such as those resulting from dislocation overlap, from analyses with datasets sampling more than two orientations. Introduction In this article, we present a semi-automated approach for object-based tomography of dislocation structures and demonstrate this approach for dislocations observed in a deformed specimen of stainless steel. As we discuss, our approach can be broken into three stages: the initial extraction of dislocation line objects from the individual frames, the alignment and matching of these objects across the frames in the tilt series, and finally, the tomographic reconstruction to determine the full threedimensional configuration of the dislocations. We demonstrate the method for a dataset collected from a dislocation network imaged by diffraction contrast scanning transmission electron microscopy (DC-STEM). Drawing on our theoretical basis for these reconstructions, we investigate the relative influence of different sources of uncertainty on the positional determinations. Tomography Algorithm Our object-based tomography approach is enabled by two innovations in data representation drawing on graph theory: (1) we employ a dislocation line segment-node representation for the dislocation network, using a data structure commonly employed in DDD simulations to represent our segmented image data, and (2) we employ an arc-length mapping scheme to relate the discretized lines to one another across the images. Tomography Algorithm Our tomography algorithm is broken down into three independent steps, as illustrated in Figure 1. First, the dislocation lines are extracted from each image of the tilt series and converted into a discrete representation composed of a set of straight line segments connected at nodes. For subsequent analysis, only this discrete representation is employed (i.e., we do not analyze the TEM images any further), and it is for this reason that we refer to our algorithm as being "object-based." This contrasts with the intensity-based tomography approaches discussed above, which use a pixelized representation of the observed image intensities to perform the reconstruction. Next, the images and dislocation networks are aligned and matched with each other so that the origin and coordinate axes are consistent from image-to-image, and so that we are able to identify the same dislocation line across each of the images. Lastly, we perform the tomographic reconstruction to estimate the z-position at each point along the dislocation lines. We now discuss in detail each step of the semi-automated approach. Tomography Algorithm Our approach is implemented in MATLAB as the ObDiTo code (Object-based Dislocation Tomography). This code is available for use via the author's website (Sills). Line Extraction During the line extraction step, the pixelized dislocation images are converted to a discrete set of line segments and nodes. The example in Figure 2 illustrates the approach for dislocations in 304L austenitic stainless steel observed using DC-STEM, as discussed in more detail below, but the approach can equally be applied to images collected using conventional or weak-beam dark-field transmission electron microscopy. There are two major phases to this line extraction step. In the first phase, we segment the image to identify a set of pixels associated with the observed dislocations. In our implementation, we accomplish this segmentation by first thresholding the image and then applying a "thinning" procedure, employing standard image processing procedures. We make use of several functions, denoted below by italics, that are available through the Image Processing Toolbox in MATLAB (R2020b). Unless otherwise stated, we use default parameters and settings for these functions. Other segmentation approaches optimized for curvilinear features, such as curvaturebased ridge finding (Steger, 1998) or convolutional neural networks trained on dislocation objects (Roberts et al., 2019;Holm et al., 2020), could also be employed. In the second phase of the line extraction, the skeletonized pixel representation is converted to an object structure defined by nodes and line segments. In the procedures below, the only place where manual input is necessary is when the skeleton is manually edited to correct errors in the pixel-based segmentation (Phase 1, Step 6). Line Extraction The detailed steps for these initial two phases, as depicted in Figure 2, are as follows: Line Extraction Phase 1: Pixel-based segmentation 1. The image is de-noised by applying nonlocal means filtering via the imnlmfilt function. 2. The image is thresholded so that only pixels associated with dislocation lines remain. We use the local adaptive thresholding approach of Bradley and Roth (Bradley & Roth, 2007) via the adaptthresh function. The approach is quite simple: given a local neighborhood size around each pixel, a mean intensity within that neighborhood is computed and the pixel is thresholded as a foreground pixel if it is above some fraction α of this mean intensity. 3. The thresholded image is "de-fuzzed" by repeatedly applying a majority filter using the bwmorph function. This smooths out the edges of the thresholded regions. The filter is applied repeatedly until no pixels are changed. 4. The thresholded image is further "cleaned up" by removing "blobs" which are clearly not associated with dislocations, that is, are not long and thin. Specifically, our procedure removes a blob if its area is below a user-specified minimum value (using the bwareafilt function) or if the blob fills more than half of its bounding box (using the bwpropfilt function with the "extent" attribute). 5. The thresholded image is converted to a "skeleton" structure comprising a single row of pixels centered on each dislocation line. This is accomplished with a "thinning" algorithm (Lam et al., 1992) via the bwmorph function (with the "thin" option). Line Extraction The thinning process may result in some minor imperfections in the skeleton, that is, pixel-sized holes. To remove these imperfections, we dilate the skeleton by buffering all foreground pixels with one pixel on all sides, and then thinning once more. This process produces the final skeleton. 6. The skeleton is manually edited to fix any incorrect features, such as missing lines and incorrectly identified lines. This is accomplished with a custom graphical editing tool we wrote in MATLAB. Line Extraction At this point, we have a pixelized representation of the dislocation network, where each dislocation line is composed of a skeleton with the width of a single pixel. In the next phase, we convert from a pixel representation to an object representation composed of line segments connected at nodes. An important feature of the object representation is the distinction between physical nodes and non-physical nodes. Physical nodes are nodes that terminate dislocation lines where they meet a free surface and nodes where multiple dislocation lines meet, as shown in Figure 3. These nodes are physically meaningful in terms of the topology and spatial arrangement of the dislocation network. On the other hand, non-physical nodes, which are simply the discrete points along the dislocation line-object, are not topologically significant (adding and removing them does not change the network topology) and are arbitrarily located along the line. In our approach, we leverage the significance of physical nodes for object matching and image alignment. Line Extraction Phase 2: Conversion to object representation. Line Extraction 1. The pixelized skeleton is converted to a line segment representation. First, we identify the "branch points" in the skeleton where more than one dislocation intersects via the bwmorph function. We then loop over branch points and hop from one pixel to another pixel until we encounter another branch point. During hopping, if we encounter more than l seg pixels, a node and dislocation segment is inserted. 2. The line segment representation is cleaned up by removing all dislocation objects below a minimum length L min. Here, we define a "dislocation object" as a section of line connecting two physical nodes. If one of the physical nodes on a line with length L < L min only has one connection (i.e., it intersects a free surface), then we simply delete that line. If both physical nodes have more than one connection and L < L min , then to delete the line we must merge the nodes together (i.e., we cannot simply delete the line) in order to conserve the network topology. Line Extraction At the end of this process, the image has been converted to a structure characterized by a set of nodes with coordinates r and an array of segments S containing pairs of nodes. Line extraction must be performed on each image to be used for the tomographic reconstruction. Object Matching Before we can perform a reconstruction using the dislocation network line objects obtained using the procedure in the section "Line extraction," we must match the dislocation objects identified in the individual frames to their corresponding objects across the full data series, a process we call object matching. In other words, we must identify the same dislocation object across each image. This procedure is not trivial to accomplish for several reasons. First, as the sample is tilted, the dislocation lines move, making their position from image-to-image slightly different. Second, as the sample is tilted, lines that are separate from each other in one image may overlap in another image. This introduces spurious physical nodes where it appears that two dislocations intersect each other, but in reality they do not (see Figure 3); we call these features "fake" physical nodes. Fake physical nodes change the apparent topology of the dislocation network, making it difficult to relate networks from different images to each other. Object Matching While, in principle, it should be possible to develop an automated procedure for object matching, given the above complications it is difficult. We chose instead to develop a graphical tool to allow a user to manually match physical nodes across images. To this end, we require that each dislocation line is uniquely identified by the pair of physical nodes that bound it. In other words, we require that two physical nodes that bound a dislocation object are never connected by more than one dislocation line. This approach is akin to viewing the dislocation network as a simple graph (no multiple edges, i.e., edges that connect the same nodes), comprising a set of edges connected at nodes. Each dislocation object is an edge of the graph, and its bounding physical nodes are the graph nodes. The requirement that there are no multiple edges in the graph seems restrictive, but since there is a high degree of flexibility in how each dislocation object is defined it should not be difficult to satisfy this requirement in practice. See Figure 3 for an example of how a network can be decomposed into dislocation objects. Using the manual object matching tool, physical node pairs are matched up across the images. The dislocation objects (edges) connecting those physical nodes are then extracted from the overall network. The user may match as many or as few physical node pairs as desired (i.e., the whole network does not have to be matched). Also, an edge does not have to be identified in every image from a tilt series (e.g., reconstruction is possible using as few as two images worth of information for a dislocation object). Tomographic Reconstruction In our tomographic reconstruction, we define an imaging coordinate system with the tilt axis in the y-direction, the z-direction opposite the electron beam direction, and the x-direction implied by the right-hand rule. The imaging plane is the x-y plane, so rotation about the tilt axis induces motion in the x-direction in the imaging coordinate system (see Appendix A). Determination of the z-height out of the imaging plane of each point on the dislocation lines is the fundamental goal. We assign one image as our reference image, which is used to define the configuration in which we will perform the reconstruction. For example, the coordinate of node i in the reference image with tilt angle Tomographic Reconstruction Our basic approach for tomographic reconstruction leverages the relationship between Fig. 3. Schematic showing the basic features of our object-based tomography approach. "Top view" is the view as seen in the TEM. The dislocation network is decomposed into dislocation objects that terminate at physical nodes, with different objects denoted by different colors. In some cases, "fake" physical nodes may appear where lines cross in the TEM image. Tomographic Reconstruction z-position and x-position in the imaging coordinate system as the specimen is tilted. Specifically, basic geometry reveals (see Appendix A) for the same point on a dislocation line the z and x-coordinates are related as Tomographic Reconstruction Hence, the change in x-position as the tilt angle is varied is linearly related to the z-position in the reference image. If we extract the set of x-coordinates from all images, we can determine the z-coordinate Tomographic Reconstruction Before we can proceed with obtaining z ref i however, three challenges remain: (1) the images must be aligned so that their tilt axes are coincident, (2) we must orient the images so that the tilt axis is along the y-axis (since the tilt axis may be arbitrarily oriented in the x-y plane), and (3) we must determine how to find "equivalent" points on the same dislocation line from image-to-image. Challenge 1 is easily solved by noting that the centroid of the dislocation structure does not move as the sample is tilted. We can estimate the centroid of each image by computing the mean position among the set of physical nodes which have been matched across all images (recall that physical nodes do not have to be matched in all images). Let the set of physical nodes which have been matched across all images be M. The resulting mean position for image j is then Tomographic Reconstruction where N M is the number of nodes in M. We then align the images by subtracting the mean position of each image from all nodal coordinates within that image. To solve challenge 2, we must determine the orientation of the tilt axis relative to the vertical ( y) axis of the images (we assume that the tilt axis is always in the plane of the image and that its orientation is the same in every image). The tilt axis will form an angle α with the vertical axis of the images. We estimate α by performing a linear regression of x j i versus y j i for the matched nodes in M, the slope of which is related to α via the inverse tangent operator. Tomographic Reconstruction Resolving challenge 3 is the most difficult aspect of objectbased tomography. The basic issue is that, in general, the nonphysical nodes obtained in each image are not directly related to each other, because they are the result of an arbitrary extraction process. For example, it is highly unlikely that nodes will be placed at the exact same spot on a given dislocation line across all images. But in order to utilize equation (1), we must collect the x-coordinate from each image at the exact same spot. To accomplish this, we need a mapping that relates all points on each dislocation line from one image to another. We establish such a mapping using the graph description of the dislocation network; within the graph for each image, we know that two dislocation objects correspond to the same dislocation if they share physical nodes. This reduces our mapping problem to relating the points within a given pair of objects (from different images) with the same (matched) physical nodes. To accomplish mapping within a single object, we introduce the notion of a relative y-arc length mapping. We define the y-arc length as the total absolute change in y-position over some trajectory through the x-y plane. We can state this mathematically by defining the y-position of the dislocation object parametrically as y(t), where t varies from 0 to 1 from the beginning to the end of the dislocation object. Accordingly, the y-arc length from t = 0 up to some position t ′ on the object is Tomographic Reconstruction The relative y-arc length is then defined as Tomographic Reconstruction that is, the y-arc length at t ′ divided by the total y-arc length for the edge. In practice, we compute the y-arc length using the discrete segments in our networks by summing the absolute value of the difference in y-coordinates between the nodes bounding each segment (or interpolating between the nodes to obtain the y-arc length in the middle of a segment). In our mapping framework, we assume that two points of equivalent relative y-arc length on the same object are identical points in space. Because of the fact that all lengths in the y-dimension (parallel to the tilt axis) are conserved as the specimen is tilted, this mapping is exact as long as the dislocation line extraction is exact. Obviously, line extraction is inexact, so there is error in the y-arc length mapping. Tomographic Reconstruction In Section "Uncertainty analysis," we perform an uncertainty analysis to explore how sensitive the accuracy of the reconstruction is to error in the line extraction. To summarize the above discussion, the steps of the tomographic reconstruction are as follows: Tomographic Reconstruction 1. Shift all datasets so that their tilt axes are coincident. This is accomplished by computing for each image the mean position of all physical nodes which have been matched across all images, and then subtracting the respective mean position from each image. 2. Rotate datasets so that the tilt axis is coincident with the vertical (y) axis. The orientation of the tilt axis is determined through a linear regression of the (x,y) coordinates of the physical nodes which have been matched across all images. 3. Compute the relative y-arc length of each dislocation object in the aligned dislocation networks. This is done by summing the difference in y-coordinates of all segments in each edge. 4. For each node i in the reference image, determine x j i for each image j using the relative y-arc length mapping. This means we determine Y ref i , the relative y-arc length for node i in the reference image, and then determine x Tomographic Reconstruction is the x-position of the same edge in image j at relative y-arc length Y obtained by interpolating the nodal data. 5. Determine the z-position of each node using equation (1). This concludes the reconstruction algorithm. We emphasize that the essential ingredients of the reconstruction algorithm are: (1) the graph representation of the dislocation networks which enables us to relate the images together on the basis of physical nodes by matching edges of the graph (dislocation objects) up with each other and (2) the relative y-arc length mapping which allows us to unambiguously map between any point on a pair of matched objects. Electron Microscopy To illustrate the application of our approaches, we analyzed dislocations observed in a specimen of forged austenitic stainless steel (304L). Details regarding this material and its overall microstructure have been discussed previously (Sabisch et al., 2021). The TEM specimen for this work was prepared by electropolishing. After initial mechanical thinning to a thickness of 150 μm, the specimen was jet polished (Struers, Tenupol-5) in a solution of 10% perchloric acid and 90% ethanol at a temperature of −12°C, potential of 24.1 V, and current of 61 mA. The specimen was observed using an FEI Titan TEM, operated at 200 keV. Images were collected using the diffraction-contrast STEM approach (Phillips et al., 2011), with a convergence angle of 4.03 mrad and collecting the selected diffracted intensity using an annular dark-field (ADF) detector. We maintained a weakbeam diffracting condition (approximately 2.5 g) using a {111} systematic row. We employed an objective aperture to limit the signal reaching the ADF detector to that from the 2 g reflection. We have found that this condition gives a good balance of image contrast and image localization. The tomographic tilt series was conducted using a conventional two-axis double-tilt holder. We tilted about the {111} systematic row over a range of angles, making fine adjustments to the tilt to ensure that the diffracting conditions remained constant through the series. The maximum positive and negative tilt were limited by interference with the microscope's objective aperture. Reconstruction Algorithm Verification To verify the details of our reconstruction algorithm-specifically the graph-based alignment and y-arc length mapping-we constructed synthetic TEM datasets by producing three-dimensional dislocation networks composed of straight line segments, and then "imaging" these networks via two-dimensional projections after tilting to various angles. This approach allows us to validate that our algorithm and code are correct since we know the exact z-coordinates of the synthetic datasets. It also allows us to assess sensitivity to various sources of uncertainty in the imaging and extraction processes. By analyzing synthetic datasets of varying degrees of complexity, including a snapshot obtained from a DDD simulation as shown in Figure 4, we have verified that our tomography algorithm is "perfect" in the sense that the exact solution is recovered in the absence of noise in the positional data. This result verifies that our algorithm is sound and that the y-arc length mapping is an appropriate approach for relating images to each other. Uncertainty Analysis Using our synthetic data, we can analyze the uncertainty of the reconstruction in the form of the amount of error in the reconstructed z-position relative to the actual z-position. We consider the error in reconstructing straight dislocation lines of length L. Each line is oriented so that its angle from the tilt axis in the plane x-y is θ and its angle out of the x-y plane is ϕ (see Fig. 5). Using this approach, we can assess how the uncertainty varies as the line orientation (θ, ϕ) varies. In each synthetic dataset, we insert 20 dislocation lines and introduce various types of noise into the projected images used for reconstruction, as discussed below. Lines were inserted into an area of approximately 2 L by 2 L. We repeat this process 1,000 times to fully populate an average error surface in (θ, ϕ) space. Uncertainty Analysis Below we consider three different types of error: uncorrelated positional error, correlated shift error, and correlated rotational error. Uncorrelated positional error is modeled by randomly shifting each node within its respective image plane according to a zeromean normal distribution with standard deviation δ us . This error simulates uncorrelated noise in the dislocation lines and errors in the line extraction procedures which may induce unphysical "fluctuations" in the line profile. Correlated shift error is modeled by randomly shifting each node on a dislocation object within the x-y plane by the same amount prior to tilting and producing a synthetic image. The shift vector for each line is obtained by sampling a zero-mean normal distribution with standard deviation δ cs . This error simulates shifting that may occur if the apparent positions of the dislocation objects shift relative to each other during tilting as a result of contrast variations. Finally, correlated rotational noise is modeled by randomly rotating each object within the image plane for each image. The amount of rotation is obtained by sampling a zero-mean normal distribution with standard deviation δ cr . Such errors could arise, for instance, in tomographic acquisitions obtained using a tilt-rotate holder rather than a conventional two-axis double-tilt holder. Uncertainty Analysis To quantify the error induced by each type of noise, we computed the average error in z-height E z of each dislocation line. We then binned up (θ, ϕ) space into bins of width 4.5°and averaged over the error of all replica lines within each bin. The resulting error surfaces are presented in Figure 6 with noise parameters of δ us /L = 0.01, d cr = 2 • , and δ cs /L = 0.01. Synthetic TEM images were spaced apart by 3°tilt increments using tilt ranges of ±3°( 3 total images) and ±12°(9 total images). A segment length of l seg /L = 0.1 was used. The following conclusions can be drawn. Uncertainty Analysis First, the error magnitude drops by about an order of magnitude upon increasing the tilt range from ±3°to ±12°, demonstrating the importance of a wide tilt range. Second, the trends in (θ, ϕ) space are different for each type of error. Uncorrelated shift error is most significant near u = 90 • and, to a lesser extent, near f = 90 • . In contrast, correlated rotation error is most significant when u , 60 • and f , 60 • . Finally, correlated shift error does not exhibit any sensitivity to θ and ϕ. In terms of error magnitude, for the chosen error parameter values the reconstruction error is in the range of 0.01 L to 0.05 L when u , 70 • and f , 80 • . When u . 70 • , the error due to uncorrelated shift noise increases precipitously, likely rendering an accurate reconstruction impossible for lines in this angle range. This is because it becomes incredibly difficult to clearly distinguish points on the dislocation line from each other, which manifests by the relative y-arc length mapping breaking down. We note that this problem is not unique to our algorithm; any dislocation tomographic reconstruction algorithm will suffer large errors when θ is close to 90°. Figure 7 shows how the number of images taken over a ±12°t ilt series influences the average error when all sources of noise are applied simultaneously using the same noise parameters as above. First, we note by comparing the "9 images" result with the bottom row of Figure 6, obtained using the same conditions, that the different error modes seem to combine in an additive Fig. 5. Line geometry used for error analysis. Figure 7 is close to the sum of all errors in the bottom row of Figure 6. Second, Figure 7 shows that the error reduces at a slow rate as the number of images is increased. For example, increasing the number of images by six results in about a 1% reduction in average error. The region of large error near u = 90 • also shrinks as the number of images is increased. manner; the error surface obtained in Finally, in Figure 8, we show how the reconstruction error increases as the uncorrelated shift error increases, with values of δ us /L = 0.025, 0.5, and 0.1. Figure 8 shows that the average reconstruction error increases sublinearly as δ us /L is increased (i.e., doubling δ us /L does not double the reconstruction error). When δ us /L is largest, the reconstruction error is relatively insensitive to the line orientation angles (a flat error distribution), but is still largest near u = 90 • . Based on these results and expected positioning errors in dislocation line extraction, we estimate the average reconstruction error to be about E z /L ≈ 0.1. Dislocation Network in Forged 304L Stainless Steel To illustrate the use of our algorithm, we apply it to dislocations observed in the forged 304 L stainless steel specimen. Figure 9 shows DC-STEM images of the specimen taken over a single-tilt series at tilt angles of −11.87, −2.38, 2.38, 7.11, and 11.87 degrees (an image was also taken at −7.11 degrees, but line extraction was difficult with this image due to contrast effects resulting from the proximity of this tilt condition to the ⟨110⟩ zone axis). The dislocation network in the sample is quite complex, as shown in Figure 9a. Extended dislocations/nodes are visible in a number of places owing to the low stacking fault energy of this stainless steel alloy (Meric de Bellefon et al., 2017); this further complicates the reconstruction, which assumes perfect (unextended) dislocations. For simplicity, we consider a smaller portion of the image for tomographic reconstruction, the boxed portion of the image. We also mark in Figure 9 a few reference points A, B, and C within each image to help relate images to one another; we will continue marking these points in our analysis below. Dislocation Network in Forged 304L Stainless Steel After matching up the same dislocation objects across all images, we used the physical nodes that were present in all images to re-center the networks and determine the orientation of the tilt axis. Note that one dislocation in the network (the "C" shaped line in the top left) was only fully visible in three out of five images, and so its physical nodes were not used during re-centering. The re-centered dislocation networks are shown in Figure 10. The dataset used to estimate the tilt axis inclination is shown in Figure 11, with all points for each physical node shifted by the mean x and y values and collected together. Note that there is considerable scatter in the data, indicating the degree of uncertainty in the line extraction. Dislocation Network in Forged 304L Stainless Steel Next, we perform the tomographic reconstruction on the matched dislocation objects. Examples of fits to equation (1) for Fig. 7. Error due to combined noise showing the influence of the number of images over a ±12°tilt series. Noise parameter values: δ us /L = 0.01, d cr = 2 • , δ cs /L = 0.01. two nodes are given in Figure 12, showing a node with (a) a good fit and (b) a poor fit. The poor fit in (b) results from the dislocation line being orthogonal to the tilt axis (i.e., θ ≈ 90°), resulting in a large uncertainty as shown in the section "Uncertainty analysis". As a result, the z height of the node cannot be determined accurately. In general, when the dislocation line is not close to being orthogonal to the tilt axis, the fit to equation (1) is reasonably good. Dislocation Network in Forged 304L Stainless Steel The final 3D reconstruction is presented in Figure 13 using the image with ω = 7.7°as the reference image. Each dislocation object is colored differently. Using the physical nodes connecting only one object (e.g., at a free surface), we also estimate the position and orientation of the TEM foil surfaces as gray planes obtained by linear regression. To differentiate nodes with a high degree of uncertainty, we have set some line segments to be transparent. We identify a node as being "uncertain" if any of the three following criteria are met: (1) the segments connecting the node form an inclination angle of θ > 80°relative to the tilt axis ( y-axis in Fig. 13); (2) the R 2 value for the fit to equation (1) is less than 0.7 indicating a large degree of scatter in the extraction data; or (3) the y-intercept from the fit to equation (1) is greater than 40 nm (according to equation (1), the y-intercept should be zero). Criterion 1 accounts for the inherent uncertainty when θ is close to 90°. Criteria 2 and 3 account for inconsistencies in the data due to imaging or extraction uncertainties. We note that some of the lines are found to be "outside" the estimated foil thickness. This is a result of position error from the reconstruction. Examining the three-dimensional reconstruction, we see that the dislocation content is distributed through the thickness of the TEM foil, a fact that is not obvious from individual images. For example, based on a single image, the "box" structure in the lower right corner may be interpreted as an interconnected network feature. However, the reconstruction reveals that the far right (orange) line forming the box is in an entirely different plane. Another interesting feature is that the "hard corners" in several of the dislocation lines (e.g., the dark blue line) are not associated with significant changes in plane orientation. Discussion We have developed an object-based tomography algorithm with the following advantages over existing approaches: (1) Fewer images are required to attain the same level of positional accuracy (our error analysis shows good accuracy with as few as 3 images); Discussion (2) the technique is conceptually simpler than pixel-based approaches since the reconstruction derives from simple geometry; and (3) the technique is inherently consistent with the line nature of dislocations. Discussion In its current implementation, our method is semi-automated and still requires several manual operations. Two primary challenges, which we discuss next, remain to be resolved before the approach can be fully automated. Discussion One challenge is the automated extraction of dislocation line objects from TEM images. Often the contrast of the dislocation lines varies, resulting in "low spots" in intensity in the middle of lines. Also, it can be difficult to distinguish true dislocation lines from unphysical noise. In some cases, it is not possible to unambiguously identify dislocation lines by hand, let alone with an automated subroutine. When applied to the stainless steel dataset presented here, our extraction algorithm successfully extracts ∼80% of the true dislocation line content while also extracting some unphysical "lines." We employed a relatively simple, standard thresholding approach for segmenting the dislocations (Bradley & Roth, 2007). Further improvements could be made in the approach by employing segmentation algorithms specialized for curvilinear features characteristic of dislocation lines, such as curvature-based techniques (Steger, 1998) or machine learning (Roberts et al., 2019;Holm et al., 2020). If the image thresholding is accurate, the final "thinning" step and conversion to segment-based representation is expected to be accurate as well. Hence, improvements to the segmentation algorithm should be a major focus going forward. Discussion A second challenge for automation is relating the dislocation objects from one image to another. Because our approach utilizes a graph representation of the network to relate dislocation lines across images to each other, it requires that the dislocation networks from each image be topologically consistent. This means that physical nodes must be the same from image to image so that graph edges (dislocation objects) can be matched. Physical nodes associated with points at which the dislocation lines exit the foil are relatively easy to identify. On the other hand, physical nodes at the intersection of dislocation lines are more challenging to identify. This difficulty arises because the projection of two overlapping dislocation lines, which pass above or below each other but do not actually touch (e.g., the orange line in Fig. 13), will erroneously appear in any single image as a physical node. Distinguishing these "fake" physical nodes from true physical nodes is challenging. For the dataset analyzed here, such fake physical nodes were identified by hand and ignored. However, in principle, the tomographic reconstruction can help to identify fake physical nodes. Specifically, fake physical nodes are associated with multiple graph edges (dislocation objects). If they are true physical nodes, the z-height determined from each edge should be approximately the same. If instead the physical node is fake and not connected to one or more of the graph edges, the z-heights will differ significantly. Thus, it should be possible Fig. 12. Determination of the z coordinate for nodes via equation (1), showing examples with (a) a good fit with R 2 = 0.998 and (b) a poor fit with R 2 = 0.537. In Figure 13, node (a) is marked with a O marker and node (b) is marked with a □ marker. Discussion to iterate in the reconstruction, to systematically eliminate such "fake" physical nodes. Discussion Of all the steps in our tomography approach, the object matching step is the most time-consuming because it requires manually identifying identical graph edges across images. In principle, this step could be (at least partially) automated using a graph network alignment algorithm; in graph theory, aligning (e.g., relating) graphs to each other is a common problem and many algorithms have been developed (Emmert-Streib et al., 2016;Trung et al., 2020). However, graph network alignment is especially difficult when graphs are not topologically identical, such as the case here where fake physical nodes may pollute the topology of one image. Thus, the extension of graph network alignment algorithms to work robustly for complicated topologies will be critical to fully automating object-based dislocation tomography. An alternative approach is to use machine learning techniques. Altingövde et al. (2022) recently developed a convolutional neural network for matching dislocations in a stereo image pair. This technique could be extended to match dislocations across more than two images. Discussion The error analysis we presented in the section "Uncertainty analysis" was focused on quantifying the error in the reconstructed z-positions for a straight dislocation line. This provides a simple case study to clearly demonstrate how the error is sensitive to the line orientation relative to the tilt axis. However, in practice, many users may be more interested in quantifying features of the dislocation network with curved lines, such as the Fig. 13. Tomographic reconstruction of the dislocation network. (a) Isometric and (b) "unfolded" views. Each graph edge is colored with a unique color. Line segments with large uncertainty are semi-transparent (see text). Gray planes denote estimated surfaces based on physical node positions. Labels A, B, and C refer to positions marked on the original data in Figure 9. Markers O and □ denote the nodes used for Figures 12a and 12b, respectively. dislocation density of each slip system, rather than the precise z-positions of lines. Quantifying our method's ability to extract such features as slip system density in an arbitrary network is more challenging and requires additional study. Based on the results in the section "Uncertainty analysis," we can nonetheless conclude that when dislocation lines are nearly orthogonal to the tilt axis it becomes quite difficult to accurately extract any quantitative feature of the dislocation network. Discussion Finally, we discuss the broader application of the object-based tomography technique as we have constructed it. Fundamentally, the technique presented above only works for 1D objects because it relies on the relative y-arc length mapping [equation (4)] to identify equivalent points on dislocation lines in each micrograph. This mapping only works for line objects, but these line objects could be features of multidimensional objects. For example, the method could reconstruct edges of grain boundaries, stacking faults, or stacking fault tetrahedra as long as the same edges are identified in each image. The method cannot reconstruct points away from the edges, however. Conceivably the method could be extended to reconstruct 2D surfaces by including a relative x-position mapping in addition to the y-position mapping, so that points in between the edges could be mapped as well. However, if the surface has a complex (e.g., nonsmooth) morphology this may be difficult to accomplish. Conclusion We have demonstrated a semi-automated, object-based method for dislocation tomography. This method draws on the prior knowledge that dislocations are line objects and as such the approach requires far fewer individual images in the tomographic tilt series than conventional intensity-based tomographic reconstruction methods. The method employs a dislocation node-line segment representation and an arc-length mapping scheme to relate the dislocation objects between individual frames. This approach can be straightforwardly applied to tilt series of dislocation images using any diffraction contrast technique. Key steps for further automating the approach include improving the line extraction processing and advancing graph network alignment algorithms to be robust to apparent topological inconsistencies resulting from the overlap of nonintersecting dislocations. Introduction The characterization of the three-dimensional configurations of dislocations is important to understand their influence on many important materials processes. Examples include the interaction and slip processes between individual dislocations and how these impact development of deformation microstructures, the interactions between dislocations and interfaces, and defect mitigation in epitaxial thin film growth. Moreover, the development of mesoscale dislocation simulation approaches, such as discrete dislocation dynamics (DDD), is driving a need for experimental approaches to validate these techniques (Bertin et al., 2020). Introduction Although complex arrangements of dislocations are wellresolved by diffraction contrast techniques in transmission electron microscopy (TEM), particularly under weak-beam imaging conditions (Cockayne et al., 1969), information regarding feature height position is mostly lost in any single image since TEM is a projection technique. This challenge has motivated much interest in developing diffraction-contrast tomographic techniques suitable for dislocation imaging, as has been the subject of several recent reviews (Liu et al., 2014;Feng et al., 2020;Hata et al., 2020aHata et al., , 2020b. Introduction One widely employed approach, which was pioneered by co-workers (Barnard et al., 2006a, 2006b), is to apply intensity-based reconstruction algorithms, such as weighted back projection (WBP) or the sequential iterated reconstruction technique (SIRT), to diffraction contrast images collected over a wide tilt range but with finely spaced tilt increments. Since strain contrast is extremely sensitive to the diffracting conditions, images are usually obtained by tilting along a specific Kikuchi line, maintaining the diffracting vectors within the systemic row at fixed deviation parameters (Barnard et al., 2006a(Barnard et al., , 2006bLiu et al., 2014), although this constraint has been relaxed in some analyses (Kacher & Robertson, 2012). Intensity-based tomographic reconstruction approaches have been applied to a number of analyses of dislocations including dislocation networks in epitaxial films (Barnard et al., 2006a(Barnard et al., , 2006b(Barnard et al., , 2010, dislocations near indentation crack-tips (Sharp et al., 2008;Tanaka et al., 2008), grain-boundary/ dislocation interactions in metals (Kacher et al., 2011;Kacher & Robertson, 2012Chen & Yu, 2019), and dislocation configurations in geological materials (Mussi et al., 2014(Mussi et al., , 2017. Introduction Although they have been applied to a number of cases, use of intensity-based reconstruction techniques for dislocation tomography does pose some challenges. First, since dynamical diffraction contrast associated with dislocations and other specimen features (such as thickness contours) does not satisfy the tomographic "projection requirement" [i.e., that the intensity vary monotonically with the projected property of interest (Midgley & Dunin-Borkowski, 2009)], intensity-based reconstructions of diffraction-contrast images can suffer from imaging artifacts. Additionally, since many images are required to minimize errors in the intensity-based reconstructions, the acquisition of data can be tedious [e.g., requiring on the order of 50-100 images (Liu et al., 2014)], particularly given the constraint of maintaining constant diffracting conditions throughout the entire tilt series. More recently, it has been shown that intensity-based reconstructions can be performed using fewer images (e.g., 4 to 10) if the images are binarized into black and white pixels prior to tomographic reconstruction (Mussi et al., 2021a(Mussi et al., , 2021b). Introduction An alternative approach, which we consider in this paper, is to draw on the prior knowledge that the observed curvilinear features are line objects, namely dislocations. With this knowledge, the problem can be simplified to measuring the projected twodimensional dislocation line positions on the individual frames of the tilt series and then solving for the three-dimensional configurations of the dislocations based on the tilt geometry. Such an approach is similar in spirit to other object-based tomographic approaches, such as recent work reconstructing 3D distribution of precipitates and cavities through a simplified spherical representation (Field et al., 2020). A key advantage of such an objectbased tomographic approach is that fewer images are required compared to intensity-based tomographic methods. Indeed, as has been demonstrated by application of the "stereo-pair" method to dislocation analyses (Basinski, 1964;Modéer, 1974;McCabe et al., 2003;Eftink et al., 2017;Jácome et al., 2018;Oveisi et al., 2018), height information can be determined by measuring the image parallax from as few as two images collected at different tilts. In principle, however, one would expect improved precision and greater robustness to imaging ambiguities, such as those resulting from dislocation overlap, from analyses with datasets sampling more than two orientations. Introduction In this article, we present a semi-automated approach for object-based tomography of dislocation structures and demonstrate this approach for dislocations observed in a deformed specimen of stainless steel. As we discuss, our approach can be broken into three stages: the initial extraction of dislocation line objects from the individual frames, the alignment and matching of these objects across the frames in the tilt series, and finally, the tomographic reconstruction to determine the full threedimensional configuration of the dislocations. We demonstrate the method for a dataset collected from a dislocation network imaged by diffraction contrast scanning transmission electron microscopy (DC-STEM). Drawing on our theoretical basis for these reconstructions, we investigate the relative influence of different sources of uncertainty on the positional determinations. Tomography Algorithm Our object-based tomography approach is enabled by two innovations in data representation drawing on graph theory: (1) we employ a dislocation line segment-node representation for the dislocation network, using a data structure commonly employed in DDD simulations to represent our segmented image data, and (2) we employ an arc-length mapping scheme to relate the discretized lines to one another across the images. Tomography Algorithm Our tomography algorithm is broken down into three independent steps, as illustrated in Figure 1. First, the dislocation lines are extracted from each image of the tilt series and converted into a discrete representation composed of a set of straight line segments connected at nodes. For subsequent analysis, only this discrete representation is employed (i.e., we do not analyze the TEM images any further), and it is for this reason that we refer to our algorithm as being "object-based." This contrasts with the intensity-based tomography approaches discussed above, which use a pixelized representation of the observed image intensities to perform the reconstruction. Next, the images and dislocation networks are aligned and matched with each other so that the origin and coordinate axes are consistent from image-to-image, and so that we are able to identify the same dislocation line across each of the images. Lastly, we perform the tomographic reconstruction to estimate the z-position at each point along the dislocation lines. We now discuss in detail each step of the semi-automated approach. Tomography Algorithm Our approach is implemented in MATLAB as the ObDiTo code (Object-based Dislocation Tomography). This code is available for use via the author's website (Sills). Line Extraction During the line extraction step, the pixelized dislocation images are converted to a discrete set of line segments and nodes. The example in Figure 2 illustrates the approach for dislocations in 304L austenitic stainless steel observed using DC-STEM, as discussed in more detail below, but the approach can equally be applied to images collected using conventional or weak-beam dark-field transmission electron microscopy. There are two major phases to this line extraction step. In the first phase, we segment the image to identify a set of pixels associated with the observed dislocations. In our implementation, we accomplish this segmentation by first thresholding the image and then applying a "thinning" procedure, employing standard image processing procedures. We make use of several functions, denoted below by italics, that are available through the Image Processing Toolbox in MATLAB (R2020b). Unless otherwise stated, we use default parameters and settings for these functions. Other segmentation approaches optimized for curvilinear features, such as curvaturebased ridge finding (Steger, 1998) or convolutional neural networks trained on dislocation objects (Roberts et al., 2019;Holm et al., 2020), could also be employed. In the second phase of the line extraction, the skeletonized pixel representation is converted to an object structure defined by nodes and line segments. In the procedures below, the only place where manual input is necessary is when the skeleton is manually edited to correct errors in the pixel-based segmentation (Phase 1, Step 6). Line Extraction The detailed steps for these initial two phases, as depicted in Figure 2, are as follows: Line Extraction Phase 1: Pixel-based segmentation 1. The image is de-noised by applying nonlocal means filtering via the imnlmfilt function. 2. The image is thresholded so that only pixels associated with dislocation lines remain. We use the local adaptive thresholding approach of Bradley and Roth (Bradley & Roth, 2007) via the adaptthresh function. The approach is quite simple: given a local neighborhood size around each pixel, a mean intensity within that neighborhood is computed and the pixel is thresholded as a foreground pixel if it is above some fraction α of this mean intensity. 3. The thresholded image is "de-fuzzed" by repeatedly applying a majority filter using the bwmorph function. This smooths out the edges of the thresholded regions. The filter is applied repeatedly until no pixels are changed. 4. The thresholded image is further "cleaned up" by removing "blobs" which are clearly not associated with dislocations, that is, are not long and thin. Specifically, our procedure removes a blob if its area is below a user-specified minimum value (using the bwareafilt function) or if the blob fills more than half of its bounding box (using the bwpropfilt function with the "extent" attribute). 5. The thresholded image is converted to a "skeleton" structure comprising a single row of pixels centered on each dislocation line. This is accomplished with a "thinning" algorithm (Lam et al., 1992) via the bwmorph function (with the "thin" option). Line Extraction The thinning process may result in some minor imperfections in the skeleton, that is, pixel-sized holes. To remove these imperfections, we dilate the skeleton by buffering all foreground pixels with one pixel on all sides, and then thinning once more. This process produces the final skeleton. 6. The skeleton is manually edited to fix any incorrect features, such as missing lines and incorrectly identified lines. This is accomplished with a custom graphical editing tool we wrote in MATLAB. Line Extraction At this point, we have a pixelized representation of the dislocation network, where each dislocation line is composed of a skeleton with the width of a single pixel. In the next phase, we convert from a pixel representation to an object representation composed of line segments connected at nodes. An important feature of the object representation is the distinction between physical nodes and non-physical nodes. Physical nodes are nodes that terminate dislocation lines where they meet a free surface and nodes where multiple dislocation lines meet, as shown in Figure 3. These nodes are physically meaningful in terms of the topology and spatial arrangement of the dislocation network. On the other hand, non-physical nodes, which are simply the discrete points along the dislocation line-object, are not topologically significant (adding and removing them does not change the network topology) and are arbitrarily located along the line. In our approach, we leverage the significance of physical nodes for object matching and image alignment. Line Extraction Phase 2: Conversion to object representation. Line Extraction 1. The pixelized skeleton is converted to a line segment representation. First, we identify the "branch points" in the skeleton where more than one dislocation intersects via the bwmorph function. We then loop over branch points and hop from one pixel to another pixel until we encounter another branch point. During hopping, if we encounter more than l seg pixels, a node and dislocation segment is inserted. 2. The line segment representation is cleaned up by removing all dislocation objects below a minimum length L min. Here, we define a "dislocation object" as a section of line connecting two physical nodes. If one of the physical nodes on a line with length L < L min only has one connection (i.e., it intersects a free surface), then we simply delete that line. If both physical nodes have more than one connection and L < L min , then to delete the line we must merge the nodes together (i.e., we cannot simply delete the line) in order to conserve the network topology. Line Extraction At the end of this process, the image has been converted to a structure characterized by a set of nodes with coordinates r and an array of segments S containing pairs of nodes. Line extraction must be performed on each image to be used for the tomographic reconstruction. Object Matching Before we can perform a reconstruction using the dislocation network line objects obtained using the procedure in the section "Line extraction," we must match the dislocation objects identified in the individual frames to their corresponding objects across the full data series, a process we call object matching. In other words, we must identify the same dislocation object across each image. This procedure is not trivial to accomplish for several reasons. First, as the sample is tilted, the dislocation lines move, making their position from image-to-image slightly different. Second, as the sample is tilted, lines that are separate from each other in one image may overlap in another image. This introduces spurious physical nodes where it appears that two dislocations intersect each other, but in reality they do not (see Figure 3); we call these features "fake" physical nodes. Fake physical nodes change the apparent topology of the dislocation network, making it difficult to relate networks from different images to each other. Object Matching While, in principle, it should be possible to develop an automated procedure for object matching, given the above complications it is difficult. We chose instead to develop a graphical tool to allow a user to manually match physical nodes across images. To this end, we require that each dislocation line is uniquely identified by the pair of physical nodes that bound it. In other words, we require that two physical nodes that bound a dislocation object are never connected by more than one dislocation line. This approach is akin to viewing the dislocation network as a simple graph (no multiple edges, i.e., edges that connect the same nodes), comprising a set of edges connected at nodes. Each dislocation object is an edge of the graph, and its bounding physical nodes are the graph nodes. The requirement that there are no multiple edges in the graph seems restrictive, but since there is a high degree of flexibility in how each dislocation object is defined it should not be difficult to satisfy this requirement in practice. See Figure 3 for an example of how a network can be decomposed into dislocation objects. Using the manual object matching tool, physical node pairs are matched up across the images. The dislocation objects (edges) connecting those physical nodes are then extracted from the overall network. The user may match as many or as few physical node pairs as desired (i.e., the whole network does not have to be matched). Also, an edge does not have to be identified in every image from a tilt series (e.g., reconstruction is possible using as few as two images worth of information for a dislocation object). Tomographic Reconstruction In our tomographic reconstruction, we define an imaging coordinate system with the tilt axis in the y-direction, the z-direction opposite the electron beam direction, and the x-direction implied by the right-hand rule. The imaging plane is the x-y plane, so rotation about the tilt axis induces motion in the x-direction in the imaging coordinate system (see Appendix A). Determination of the z-height out of the imaging plane of each point on the dislocation lines is the fundamental goal. We assign one image as our reference image, which is used to define the configuration in which we will perform the reconstruction. For example, the coordinate of node i in the reference image with tilt angle Tomographic Reconstruction Our basic approach for tomographic reconstruction leverages the relationship between Fig. 3. Schematic showing the basic features of our object-based tomography approach. "Top view" is the view as seen in the TEM. The dislocation network is decomposed into dislocation objects that terminate at physical nodes, with different objects denoted by different colors. In some cases, "fake" physical nodes may appear where lines cross in the TEM image. Tomographic Reconstruction z-position and x-position in the imaging coordinate system as the specimen is tilted. Specifically, basic geometry reveals (see Appendix A) for the same point on a dislocation line the z and x-coordinates are related as Tomographic Reconstruction Hence, the change in x-position as the tilt angle is varied is linearly related to the z-position in the reference image. If we extract the set of x-coordinates from all images, we can determine the z-coordinate Tomographic Reconstruction Before we can proceed with obtaining z ref i however, three challenges remain: (1) the images must be aligned so that their tilt axes are coincident, (2) we must orient the images so that the tilt axis is along the y-axis (since the tilt axis may be arbitrarily oriented in the x-y plane), and (3) we must determine how to find "equivalent" points on the same dislocation line from image-to-image. Challenge 1 is easily solved by noting that the centroid of the dislocation structure does not move as the sample is tilted. We can estimate the centroid of each image by computing the mean position among the set of physical nodes which have been matched across all images (recall that physical nodes do not have to be matched in all images). Let the set of physical nodes which have been matched across all images be M. The resulting mean position for image j is then Tomographic Reconstruction where N M is the number of nodes in M. We then align the images by subtracting the mean position of each image from all nodal coordinates within that image. To solve challenge 2, we must determine the orientation of the tilt axis relative to the vertical ( y) axis of the images (we assume that the tilt axis is always in the plane of the image and that its orientation is the same in every image). The tilt axis will form an angle α with the vertical axis of the images. We estimate α by performing a linear regression of x j i versus y j i for the matched nodes in M, the slope of which is related to α via the inverse tangent operator. Tomographic Reconstruction Resolving challenge 3 is the most difficult aspect of objectbased tomography. The basic issue is that, in general, the nonphysical nodes obtained in each image are not directly related to each other, because they are the result of an arbitrary extraction process. For example, it is highly unlikely that nodes will be placed at the exact same spot on a given dislocation line across all images. But in order to utilize equation (1), we must collect the x-coordinate from each image at the exact same spot. To accomplish this, we need a mapping that relates all points on each dislocation line from one image to another. We establish such a mapping using the graph description of the dislocation network; within the graph for each image, we know that two dislocation objects correspond to the same dislocation if they share physical nodes. This reduces our mapping problem to relating the points within a given pair of objects (from different images) with the same (matched) physical nodes. To accomplish mapping within a single object, we introduce the notion of a relative y-arc length mapping. We define the y-arc length as the total absolute change in y-position over some trajectory through the x-y plane. We can state this mathematically by defining the y-position of the dislocation object parametrically as y(t), where t varies from 0 to 1 from the beginning to the end of the dislocation object. Accordingly, the y-arc length from t = 0 up to some position t ′ on the object is Tomographic Reconstruction The relative y-arc length is then defined as Tomographic Reconstruction that is, the y-arc length at t ′ divided by the total y-arc length for the edge. In practice, we compute the y-arc length using the discrete segments in our networks by summing the absolute value of the difference in y-coordinates between the nodes bounding each segment (or interpolating between the nodes to obtain the y-arc length in the middle of a segment). In our mapping framework, we assume that two points of equivalent relative y-arc length on the same object are identical points in space. Because of the fact that all lengths in the y-dimension (parallel to the tilt axis) are conserved as the specimen is tilted, this mapping is exact as long as the dislocation line extraction is exact. Obviously, line extraction is inexact, so there is error in the y-arc length mapping. Tomographic Reconstruction In Section "Uncertainty analysis," we perform an uncertainty analysis to explore how sensitive the accuracy of the reconstruction is to error in the line extraction. To summarize the above discussion, the steps of the tomographic reconstruction are as follows: Tomographic Reconstruction 1. Shift all datasets so that their tilt axes are coincident. This is accomplished by computing for each image the mean position of all physical nodes which have been matched across all images, and then subtracting the respective mean position from each image. 2. Rotate datasets so that the tilt axis is coincident with the vertical (y) axis. The orientation of the tilt axis is determined through a linear regression of the (x,y) coordinates of the physical nodes which have been matched across all images. 3. Compute the relative y-arc length of each dislocation object in the aligned dislocation networks. This is done by summing the difference in y-coordinates of all segments in each edge. 4. For each node i in the reference image, determine x j i for each image j using the relative y-arc length mapping. This means we determine Y ref i , the relative y-arc length for node i in the reference image, and then determine x Tomographic Reconstruction is the x-position of the same edge in image j at relative y-arc length Y obtained by interpolating the nodal data. 5. Determine the z-position of each node using equation (1). This concludes the reconstruction algorithm. We emphasize that the essential ingredients of the reconstruction algorithm are: (1) the graph representation of the dislocation networks which enables us to relate the images together on the basis of physical nodes by matching edges of the graph (dislocation objects) up with each other and (2) the relative y-arc length mapping which allows us to unambiguously map between any point on a pair of matched objects. Electron Microscopy To illustrate the application of our approaches, we analyzed dislocations observed in a specimen of forged austenitic stainless steel (304L). Details regarding this material and its overall microstructure have been discussed previously (Sabisch et al., 2021). The TEM specimen for this work was prepared by electropolishing. After initial mechanical thinning to a thickness of 150 μm, the specimen was jet polished (Struers, Tenupol-5) in a solution of 10% perchloric acid and 90% ethanol at a temperature of −12°C, potential of 24.1 V, and current of 61 mA. The specimen was observed using an FEI Titan TEM, operated at 200 keV. Images were collected using the diffraction-contrast STEM approach (Phillips et al., 2011), with a convergence angle of 4.03 mrad and collecting the selected diffracted intensity using an annular dark-field (ADF) detector. We maintained a weakbeam diffracting condition (approximately 2.5 g) using a {111} systematic row. We employed an objective aperture to limit the signal reaching the ADF detector to that from the 2 g reflection. We have found that this condition gives a good balance of image contrast and image localization. The tomographic tilt series was conducted using a conventional two-axis double-tilt holder. We tilted about the {111} systematic row over a range of angles, making fine adjustments to the tilt to ensure that the diffracting conditions remained constant through the series. The maximum positive and negative tilt were limited by interference with the microscope's objective aperture. Reconstruction Algorithm Verification To verify the details of our reconstruction algorithm-specifically the graph-based alignment and y-arc length mapping-we constructed synthetic TEM datasets by producing three-dimensional dislocation networks composed of straight line segments, and then "imaging" these networks via two-dimensional projections after tilting to various angles. This approach allows us to validate that our algorithm and code are correct since we know the exact z-coordinates of the synthetic datasets. It also allows us to assess sensitivity to various sources of uncertainty in the imaging and extraction processes. By analyzing synthetic datasets of varying degrees of complexity, including a snapshot obtained from a DDD simulation as shown in Figure 4, we have verified that our tomography algorithm is "perfect" in the sense that the exact solution is recovered in the absence of noise in the positional data. This result verifies that our algorithm is sound and that the y-arc length mapping is an appropriate approach for relating images to each other. Uncertainty Analysis Using our synthetic data, we can analyze the uncertainty of the reconstruction in the form of the amount of error in the reconstructed z-position relative to the actual z-position. We consider the error in reconstructing straight dislocation lines of length L. Each line is oriented so that its angle from the tilt axis in the plane x-y is θ and its angle out of the x-y plane is ϕ (see Fig. 5). Using this approach, we can assess how the uncertainty varies as the line orientation (θ, ϕ) varies. In each synthetic dataset, we insert 20 dislocation lines and introduce various types of noise into the projected images used for reconstruction, as discussed below. Lines were inserted into an area of approximately 2 L by 2 L. We repeat this process 1,000 times to fully populate an average error surface in (θ, ϕ) space. Uncertainty Analysis Below we consider three different types of error: uncorrelated positional error, correlated shift error, and correlated rotational error. Uncorrelated positional error is modeled by randomly shifting each node within its respective image plane according to a zeromean normal distribution with standard deviation δ us . This error simulates uncorrelated noise in the dislocation lines and errors in the line extraction procedures which may induce unphysical "fluctuations" in the line profile. Correlated shift error is modeled by randomly shifting each node on a dislocation object within the x-y plane by the same amount prior to tilting and producing a synthetic image. The shift vector for each line is obtained by sampling a zero-mean normal distribution with standard deviation δ cs . This error simulates shifting that may occur if the apparent positions of the dislocation objects shift relative to each other during tilting as a result of contrast variations. Finally, correlated rotational noise is modeled by randomly rotating each object within the image plane for each image. The amount of rotation is obtained by sampling a zero-mean normal distribution with standard deviation δ cr . Such errors could arise, for instance, in tomographic acquisitions obtained using a tilt-rotate holder rather than a conventional two-axis double-tilt holder. Uncertainty Analysis To quantify the error induced by each type of noise, we computed the average error in z-height E z of each dislocation line. We then binned up (θ, ϕ) space into bins of width 4.5°and averaged over the error of all replica lines within each bin. The resulting error surfaces are presented in Figure 6 with noise parameters of δ us /L = 0.01, d cr = 2 • , and δ cs /L = 0.01. Synthetic TEM images were spaced apart by 3°tilt increments using tilt ranges of ±3°( 3 total images) and ±12°(9 total images). A segment length of l seg /L = 0.1 was used. The following conclusions can be drawn. Uncertainty Analysis First, the error magnitude drops by about an order of magnitude upon increasing the tilt range from ±3°to ±12°, demonstrating the importance of a wide tilt range. Second, the trends in (θ, ϕ) space are different for each type of error. Uncorrelated shift error is most significant near u = 90 • and, to a lesser extent, near f = 90 • . In contrast, correlated rotation error is most significant when u , 60 • and f , 60 • . Finally, correlated shift error does not exhibit any sensitivity to θ and ϕ. In terms of error magnitude, for the chosen error parameter values the reconstruction error is in the range of 0.01 L to 0.05 L when u , 70 • and f , 80 • . When u . 70 • , the error due to uncorrelated shift noise increases precipitously, likely rendering an accurate reconstruction impossible for lines in this angle range. This is because it becomes incredibly difficult to clearly distinguish points on the dislocation line from each other, which manifests by the relative y-arc length mapping breaking down. We note that this problem is not unique to our algorithm; any dislocation tomographic reconstruction algorithm will suffer large errors when θ is close to 90°. Figure 7 shows how the number of images taken over a ±12°t ilt series influences the average error when all sources of noise are applied simultaneously using the same noise parameters as above. First, we note by comparing the "9 images" result with the bottom row of Figure 6, obtained using the same conditions, that the different error modes seem to combine in an additive Fig. 5. Line geometry used for error analysis. Figure 7 is close to the sum of all errors in the bottom row of Figure 6. Second, Figure 7 shows that the error reduces at a slow rate as the number of images is increased. For example, increasing the number of images by six results in about a 1% reduction in average error. The region of large error near u = 90 • also shrinks as the number of images is increased. manner; the error surface obtained in Finally, in Figure 8, we show how the reconstruction error increases as the uncorrelated shift error increases, with values of δ us /L = 0.025, 0.5, and 0.1. Figure 8 shows that the average reconstruction error increases sublinearly as δ us /L is increased (i.e., doubling δ us /L does not double the reconstruction error). When δ us /L is largest, the reconstruction error is relatively insensitive to the line orientation angles (a flat error distribution), but is still largest near u = 90 • . Based on these results and expected positioning errors in dislocation line extraction, we estimate the average reconstruction error to be about E z /L ≈ 0.1. Dislocation Network in Forged 304L Stainless Steel To illustrate the use of our algorithm, we apply it to dislocations observed in the forged 304 L stainless steel specimen. Figure 9 shows DC-STEM images of the specimen taken over a single-tilt series at tilt angles of −11.87, −2.38, 2.38, 7.11, and 11.87 degrees (an image was also taken at −7.11 degrees, but line extraction was difficult with this image due to contrast effects resulting from the proximity of this tilt condition to the ⟨110⟩ zone axis). The dislocation network in the sample is quite complex, as shown in Figure 9a. Extended dislocations/nodes are visible in a number of places owing to the low stacking fault energy of this stainless steel alloy (Meric de Bellefon et al., 2017); this further complicates the reconstruction, which assumes perfect (unextended) dislocations. For simplicity, we consider a smaller portion of the image for tomographic reconstruction, the boxed portion of the image. We also mark in Figure 9 a few reference points A, B, and C within each image to help relate images to one another; we will continue marking these points in our analysis below. Dislocation Network in Forged 304L Stainless Steel After matching up the same dislocation objects across all images, we used the physical nodes that were present in all images to re-center the networks and determine the orientation of the tilt axis. Note that one dislocation in the network (the "C" shaped line in the top left) was only fully visible in three out of five images, and so its physical nodes were not used during re-centering. The re-centered dislocation networks are shown in Figure 10. The dataset used to estimate the tilt axis inclination is shown in Figure 11, with all points for each physical node shifted by the mean x and y values and collected together. Note that there is considerable scatter in the data, indicating the degree of uncertainty in the line extraction. Dislocation Network in Forged 304L Stainless Steel Next, we perform the tomographic reconstruction on the matched dislocation objects. Examples of fits to equation (1) for Fig. 7. Error due to combined noise showing the influence of the number of images over a ±12°tilt series. Noise parameter values: δ us /L = 0.01, d cr = 2 • , δ cs /L = 0.01. two nodes are given in Figure 12, showing a node with (a) a good fit and (b) a poor fit. The poor fit in (b) results from the dislocation line being orthogonal to the tilt axis (i.e., θ ≈ 90°), resulting in a large uncertainty as shown in the section "Uncertainty analysis". As a result, the z height of the node cannot be determined accurately. In general, when the dislocation line is not close to being orthogonal to the tilt axis, the fit to equation (1) is reasonably good. Dislocation Network in Forged 304L Stainless Steel The final 3D reconstruction is presented in Figure 13 using the image with ω = 7.7°as the reference image. Each dislocation object is colored differently. Using the physical nodes connecting only one object (e.g., at a free surface), we also estimate the position and orientation of the TEM foil surfaces as gray planes obtained by linear regression. To differentiate nodes with a high degree of uncertainty, we have set some line segments to be transparent. We identify a node as being "uncertain" if any of the three following criteria are met: (1) the segments connecting the node form an inclination angle of θ > 80°relative to the tilt axis ( y-axis in Fig. 13); (2) the R 2 value for the fit to equation (1) is less than 0.7 indicating a large degree of scatter in the extraction data; or (3) the y-intercept from the fit to equation (1) is greater than 40 nm (according to equation (1), the y-intercept should be zero). Criterion 1 accounts for the inherent uncertainty when θ is close to 90°. Criteria 2 and 3 account for inconsistencies in the data due to imaging or extraction uncertainties. We note that some of the lines are found to be "outside" the estimated foil thickness. This is a result of position error from the reconstruction. Examining the three-dimensional reconstruction, we see that the dislocation content is distributed through the thickness of the TEM foil, a fact that is not obvious from individual images. For example, based on a single image, the "box" structure in the lower right corner may be interpreted as an interconnected network feature. However, the reconstruction reveals that the far right (orange) line forming the box is in an entirely different plane. Another interesting feature is that the "hard corners" in several of the dislocation lines (e.g., the dark blue line) are not associated with significant changes in plane orientation. Discussion We have developed an object-based tomography algorithm with the following advantages over existing approaches: (1) Fewer images are required to attain the same level of positional accuracy (our error analysis shows good accuracy with as few as 3 images); Discussion (2) the technique is conceptually simpler than pixel-based approaches since the reconstruction derives from simple geometry; and (3) the technique is inherently consistent with the line nature of dislocations. Discussion In its current implementation, our method is semi-automated and still requires several manual operations. Two primary challenges, which we discuss next, remain to be resolved before the approach can be fully automated. Discussion One challenge is the automated extraction of dislocation line objects from TEM images. Often the contrast of the dislocation lines varies, resulting in "low spots" in intensity in the middle of lines. Also, it can be difficult to distinguish true dislocation lines from unphysical noise. In some cases, it is not possible to unambiguously identify dislocation lines by hand, let alone with an automated subroutine. When applied to the stainless steel dataset presented here, our extraction algorithm successfully extracts ∼80% of the true dislocation line content while also extracting some unphysical "lines." We employed a relatively simple, standard thresholding approach for segmenting the dislocations (Bradley & Roth, 2007). Further improvements could be made in the approach by employing segmentation algorithms specialized for curvilinear features characteristic of dislocation lines, such as curvature-based techniques (Steger, 1998) or machine learning (Roberts et al., 2019;Holm et al., 2020). If the image thresholding is accurate, the final "thinning" step and conversion to segment-based representation is expected to be accurate as well. Hence, improvements to the segmentation algorithm should be a major focus going forward. Discussion A second challenge for automation is relating the dislocation objects from one image to another. Because our approach utilizes a graph representation of the network to relate dislocation lines across images to each other, it requires that the dislocation networks from each image be topologically consistent. This means that physical nodes must be the same from image to image so that graph edges (dislocation objects) can be matched. Physical nodes associated with points at which the dislocation lines exit the foil are relatively easy to identify. On the other hand, physical nodes at the intersection of dislocation lines are more challenging to identify. This difficulty arises because the projection of two overlapping dislocation lines, which pass above or below each other but do not actually touch (e.g., the orange line in Fig. 13), will erroneously appear in any single image as a physical node. Distinguishing these "fake" physical nodes from true physical nodes is challenging. For the dataset analyzed here, such fake physical nodes were identified by hand and ignored. However, in principle, the tomographic reconstruction can help to identify fake physical nodes. Specifically, fake physical nodes are associated with multiple graph edges (dislocation objects). If they are true physical nodes, the z-height determined from each edge should be approximately the same. If instead the physical node is fake and not connected to one or more of the graph edges, the z-heights will differ significantly. Thus, it should be possible Fig. 12. Determination of the z coordinate for nodes via equation (1), showing examples with (a) a good fit with R 2 = 0.998 and (b) a poor fit with R 2 = 0.537. In Figure 13, node (a) is marked with a O marker and node (b) is marked with a □ marker. Discussion to iterate in the reconstruction, to systematically eliminate such "fake" physical nodes. Discussion Of all the steps in our tomography approach, the object matching step is the most time-consuming because it requires manually identifying identical graph edges across images. In principle, this step could be (at least partially) automated using a graph network alignment algorithm; in graph theory, aligning (e.g., relating) graphs to each other is a common problem and many algorithms have been developed (Emmert-Streib et al., 2016;Trung et al., 2020). However, graph network alignment is especially difficult when graphs are not topologically identical, such as the case here where fake physical nodes may pollute the topology of one image. Thus, the extension of graph network alignment algorithms to work robustly for complicated topologies will be critical to fully automating object-based dislocation tomography. An alternative approach is to use machine learning techniques. Altingövde et al. (2022) recently developed a convolutional neural network for matching dislocations in a stereo image pair. This technique could be extended to match dislocations across more than two images. Discussion The error analysis we presented in the section "Uncertainty analysis" was focused on quantifying the error in the reconstructed z-positions for a straight dislocation line. This provides a simple case study to clearly demonstrate how the error is sensitive to the line orientation relative to the tilt axis. However, in practice, many users may be more interested in quantifying features of the dislocation network with curved lines, such as the Fig. 13. Tomographic reconstruction of the dislocation network. (a) Isometric and (b) "unfolded" views. Each graph edge is colored with a unique color. Line segments with large uncertainty are semi-transparent (see text). Gray planes denote estimated surfaces based on physical node positions. Labels A, B, and C refer to positions marked on the original data in Figure 9. Markers O and □ denote the nodes used for Figures 12a and 12b, respectively. dislocation density of each slip system, rather than the precise z-positions of lines. Quantifying our method's ability to extract such features as slip system density in an arbitrary network is more challenging and requires additional study. Based on the results in the section "Uncertainty analysis," we can nonetheless conclude that when dislocation lines are nearly orthogonal to the tilt axis it becomes quite difficult to accurately extract any quantitative feature of the dislocation network. Discussion Finally, we discuss the broader application of the object-based tomography technique as we have constructed it. Fundamentally, the technique presented above only works for 1D objects because it relies on the relative y-arc length mapping [equation (4)] to identify equivalent points on dislocation lines in each micrograph. This mapping only works for line objects, but these line objects could be features of multidimensional objects. For example, the method could reconstruct edges of grain boundaries, stacking faults, or stacking fault tetrahedra as long as the same edges are identified in each image. The method cannot reconstruct points away from the edges, however. Conceivably the method could be extended to reconstruct 2D surfaces by including a relative x-position mapping in addition to the y-position mapping, so that points in between the edges could be mapped as well. However, if the surface has a complex (e.g., nonsmooth) morphology this may be difficult to accomplish. Conclusion We have demonstrated a semi-automated, object-based method for dislocation tomography. This method draws on the prior knowledge that dislocations are line objects and as such the approach requires far fewer individual images in the tomographic tilt series than conventional intensity-based tomographic reconstruction methods. The method employs a dislocation node-line segment representation and an arc-length mapping scheme to relate the dislocation objects between individual frames. This approach can be straightforwardly applied to tilt series of dislocation images using any diffraction contrast technique. Key steps for further automating the approach include improving the line extraction processing and advancing graph network alignment algorithms to be robust to apparent topological inconsistencies resulting from the overlap of nonintersecting dislocations.

섹션 본문 105문단 · 89,456자

(제목 없음)

1The characterization of the three-dimensional arrangement of dislocations is important for many analyses in materials science. Dislocation tomography in transmission electron microscopy is conventionally accomplished through intensity-based reconstruction algorithms. Although such methods work successfully, a disadvantage is that they require many images to be collected over a large tilt range. Here, we present an alternative, semi-automated object-based approach that reduces the data collection requirements by drawing on the prior knowledge that dislocations are line objects. Our approach consists of three steps: (1) initial extraction of dislocation line objects from the individual frames, (2) alignment and matching of these objects across the frames in the tilt series, and (3) tomographic reconstruction to determine the full three-dimensional configuration of the dislocations. Drawing on innovations in graph theory, we employ a node-line segment representation for the dislocation lines and a novel arc-length mapping scheme to relate the dislocations to each other across the images in the tilt series. We demonstrate the method for a dataset collected from a dislocation network imaged by diffraction-contrast scanning transmission electron microscopy. Based on these results and a detailed uncertainty analysis for the algorithm, we discuss opportunities for optimizing data collection and further automating the method.

Introduction

2The characterization of the three-dimensional configurations of dislocations is important to understand their influence on many important materials processes. Examples include the interaction and slip processes between individual dislocations and how these impact development of deformation microstructures, the interactions between dislocations and interfaces, and defect mitigation in epitaxial thin film growth. Moreover, the development of mesoscale dislocation simulation approaches, such as discrete dislocation dynamics (DDD), is driving a need for experimental approaches to validate these techniques (Bertin et al., 2020).

3Although complex arrangements of dislocations are wellresolved by diffraction contrast techniques in transmission electron microscopy (TEM), particularly under weak-beam imaging conditions (Cockayne et al., 1969), information regarding feature height position is mostly lost in any single image since TEM is a projection technique. This challenge has motivated much interest in developing diffraction-contrast tomographic techniques suitable for dislocation imaging, as has been the subject of several recent reviews (Liu et al., 2014;Feng et al., 2020;Hata et al., 2020aHata et al., , 2020b.

4One widely employed approach, which was pioneered by co-workers (Barnard et al., 2006a, 2006b), is to apply intensity-based reconstruction algorithms, such as weighted back projection (WBP) or the sequential iterated reconstruction technique (SIRT), to diffraction contrast images collected over a wide tilt range but with finely spaced tilt increments. Since strain contrast is extremely sensitive to the diffracting conditions, images are usually obtained by tilting along a specific Kikuchi line, maintaining the diffracting vectors within the systemic row at fixed deviation parameters (Barnard et al., 2006a(Barnard et al., , 2006bLiu et al., 2014), although this constraint has been relaxed in some analyses (Kacher & Robertson, 2012). Intensity-based tomographic reconstruction approaches have been applied to a number of analyses of dislocations including dislocation networks in epitaxial films (Barnard et al., 2006a(Barnard et al., , 2006b(Barnard et al., , 2010, dislocations near indentation crack-tips (Sharp et al., 2008;Tanaka et al., 2008), grain-boundary/ dislocation interactions in metals (Kacher et al., 2011;Kacher & Robertson, 2012Chen & Yu, 2019), and dislocation configurations in geological materials (Mussi et al., 2014(Mussi et al., , 2017.

5Although they have been applied to a number of cases, use of intensity-based reconstruction techniques for dislocation tomography does pose some challenges. First, since dynamical diffraction contrast associated with dislocations and other specimen features (such as thickness contours) does not satisfy the tomographic "projection requirement" [i.e., that the intensity vary monotonically with the projected property of interest (Midgley & Dunin-Borkowski, 2009)], intensity-based reconstructions of diffraction-contrast images can suffer from imaging artifacts. Additionally, since many images are required to minimize errors in the intensity-based reconstructions, the acquisition of data can be tedious [e.g., requiring on the order of 50-100 images (Liu et al., 2014)], particularly given the constraint of maintaining constant diffracting conditions throughout the entire tilt series. More recently, it has been shown that intensity-based reconstructions can be performed using fewer images (e.g., 4 to 10) if the images are binarized into black and white pixels prior to tomographic reconstruction (Mussi et al., 2021a(Mussi et al., , 2021b).

6An alternative approach, which we consider in this paper, is to draw on the prior knowledge that the observed curvilinear features are line objects, namely dislocations. With this knowledge, the problem can be simplified to measuring the projected twodimensional dislocation line positions on the individual frames of the tilt series and then solving for the three-dimensional configurations of the dislocations based on the tilt geometry. Such an approach is similar in spirit to other object-based tomographic approaches, such as recent work reconstructing 3D distribution of precipitates and cavities through a simplified spherical representation (Field et al., 2020). A key advantage of such an objectbased tomographic approach is that fewer images are required compared to intensity-based tomographic methods. Indeed, as has been demonstrated by application of the "stereo-pair" method to dislocation analyses (Basinski, 1964;Modéer, 1974;McCabe et al., 2003;Eftink et al., 2017;Jácome et al., 2018;Oveisi et al., 2018), height information can be determined by measuring the image parallax from as few as two images collected at different tilts. In principle, however, one would expect improved precision and greater robustness to imaging ambiguities, such as those resulting from dislocation overlap, from analyses with datasets sampling more than two orientations.

7In this article, we present a semi-automated approach for object-based tomography of dislocation structures and demonstrate this approach for dislocations observed in a deformed specimen of stainless steel. As we discuss, our approach can be broken into three stages: the initial extraction of dislocation line objects from the individual frames, the alignment and matching of these objects across the frames in the tilt series, and finally, the tomographic reconstruction to determine the full threedimensional configuration of the dislocations. We demonstrate the method for a dataset collected from a dislocation network imaged by diffraction contrast scanning transmission electron microscopy (DC-STEM). Drawing on our theoretical basis for these reconstructions, we investigate the relative influence of different sources of uncertainty on the positional determinations.

Tomography Algorithm

8Our object-based tomography approach is enabled by two innovations in data representation drawing on graph theory: (1) we employ a dislocation line segment-node representation for the dislocation network, using a data structure commonly employed in DDD simulations to represent our segmented image data, and (2) we employ an arc-length mapping scheme to relate the discretized lines to one another across the images.

9Our tomography algorithm is broken down into three independent steps, as illustrated in Figure 1. First, the dislocation lines are extracted from each image of the tilt series and converted into a discrete representation composed of a set of straight line segments connected at nodes. For subsequent analysis, only this discrete representation is employed (i.e., we do not analyze the TEM images any further), and it is for this reason that we refer to our algorithm as being "object-based." This contrasts with the intensity-based tomography approaches discussed above, which use a pixelized representation of the observed image intensities to perform the reconstruction. Next, the images and dislocation networks are aligned and matched with each other so that the origin and coordinate axes are consistent from image-to-image, and so that we are able to identify the same dislocation line across each of the images. Lastly, we perform the tomographic reconstruction to estimate the z-position at each point along the dislocation lines. We now discuss in detail each step of the semi-automated approach.

10Our approach is implemented in MATLAB as the ObDiTo code (Object-based Dislocation Tomography). This code is available for use via the author's website (Sills).

Line Extraction

11During the line extraction step, the pixelized dislocation images are converted to a discrete set of line segments and nodes. The example in Figure 2 illustrates the approach for dislocations in 304L austenitic stainless steel observed using DC-STEM, as discussed in more detail below, but the approach can equally be applied to images collected using conventional or weak-beam dark-field transmission electron microscopy. There are two major phases to this line extraction step. In the first phase, we segment the image to identify a set of pixels associated with the observed dislocations. In our implementation, we accomplish this segmentation by first thresholding the image and then applying a "thinning" procedure, employing standard image processing procedures. We make use of several functions, denoted below by italics, that are available through the Image Processing Toolbox in MATLAB (R2020b). Unless otherwise stated, we use default parameters and settings for these functions. Other segmentation approaches optimized for curvilinear features, such as curvaturebased ridge finding (Steger, 1998) or convolutional neural networks trained on dislocation objects (Roberts et al., 2019;Holm et al., 2020), could also be employed. In the second phase of the line extraction, the skeletonized pixel representation is converted to an object structure defined by nodes and line segments. In the procedures below, the only place where manual input is necessary is when the skeleton is manually edited to correct errors in the pixel-based segmentation (Phase 1, Step 6).

12The detailed steps for these initial two phases, as depicted in Figure 2, are as follows:

13Phase 1: Pixel-based segmentation 1. The image is de-noised by applying nonlocal means filtering via the imnlmfilt function. 2. The image is thresholded so that only pixels associated with dislocation lines remain. We use the local adaptive thresholding approach of Bradley and Roth (Bradley & Roth, 2007) via the adaptthresh function. The approach is quite simple: given a local neighborhood size around each pixel, a mean intensity within that neighborhood is computed and the pixel is thresholded as a foreground pixel if it is above some fraction α of this mean intensity. 3. The thresholded image is "de-fuzzed" by repeatedly applying a majority filter using the bwmorph function. This smooths out the edges of the thresholded regions. The filter is applied repeatedly until no pixels are changed. 4. The thresholded image is further "cleaned up" by removing "blobs" which are clearly not associated with dislocations, that is, are not long and thin. Specifically, our procedure removes a blob if its area is below a user-specified minimum value (using the bwareafilt function) or if the blob fills more than half of its bounding box (using the bwpropfilt function with the "extent" attribute). 5. The thresholded image is converted to a "skeleton" structure comprising a single row of pixels centered on each dislocation line. This is accomplished with a "thinning" algorithm (Lam et al., 1992) via the bwmorph function (with the "thin" option).

14The thinning process may result in some minor imperfections in the skeleton, that is, pixel-sized holes. To remove these imperfections, we dilate the skeleton by buffering all foreground pixels with one pixel on all sides, and then thinning once more. This process produces the final skeleton. 6. The skeleton is manually edited to fix any incorrect features, such as missing lines and incorrectly identified lines. This is accomplished with a custom graphical editing tool we wrote in MATLAB.

15At this point, we have a pixelized representation of the dislocation network, where each dislocation line is composed of a skeleton with the width of a single pixel. In the next phase, we convert from a pixel representation to an object representation composed of line segments connected at nodes. An important feature of the object representation is the distinction between physical nodes and non-physical nodes. Physical nodes are nodes that terminate dislocation lines where they meet a free surface and nodes where multiple dislocation lines meet, as shown in Figure 3. These nodes are physically meaningful in terms of the topology and spatial arrangement of the dislocation network. On the other hand, non-physical nodes, which are simply the discrete points along the dislocation line-object, are not topologically significant (adding and removing them does not change the network topology) and are arbitrarily located along the line. In our approach, we leverage the significance of physical nodes for object matching and image alignment.

16Phase 2: Conversion to object representation.

171. The pixelized skeleton is converted to a line segment representation. First, we identify the "branch points" in the skeleton where more than one dislocation intersects via the bwmorph function. We then loop over branch points and hop from one pixel to another pixel until we encounter another branch point. During hopping, if we encounter more than l seg pixels, a node and dislocation segment is inserted. 2. The line segment representation is cleaned up by removing all dislocation objects below a minimum length L min. Here, we define a "dislocation object" as a section of line connecting two physical nodes. If one of the physical nodes on a line with length L < L min only has one connection (i.e., it intersects a free surface), then we simply delete that line. If both physical nodes have more than one connection and L < L min , then to delete the line we must merge the nodes together (i.e., we cannot simply delete the line) in order to conserve the network topology.

18At the end of this process, the image has been converted to a structure characterized by a set of nodes with coordinates r and an array of segments S containing pairs of nodes. Line extraction must be performed on each image to be used for the tomographic reconstruction.

Object Matching

19Before we can perform a reconstruction using the dislocation network line objects obtained using the procedure in the section "Line extraction," we must match the dislocation objects identified in the individual frames to their corresponding objects across the full data series, a process we call object matching. In other words, we must identify the same dislocation object across each image. This procedure is not trivial to accomplish for several reasons. First, as the sample is tilted, the dislocation lines move, making their position from image-to-image slightly different. Second, as the sample is tilted, lines that are separate from each other in one image may overlap in another image. This introduces spurious physical nodes where it appears that two dislocations intersect each other, but in reality they do not (see Figure 3); we call these features "fake" physical nodes. Fake physical nodes change the apparent topology of the dislocation network, making it difficult to relate networks from different images to each other.

20While, in principle, it should be possible to develop an automated procedure for object matching, given the above complications it is difficult. We chose instead to develop a graphical tool to allow a user to manually match physical nodes across images. To this end, we require that each dislocation line is uniquely identified by the pair of physical nodes that bound it. In other words, we require that two physical nodes that bound a dislocation object are never connected by more than one dislocation line. This approach is akin to viewing the dislocation network as a simple graph (no multiple edges, i.e., edges that connect the same nodes), comprising a set of edges connected at nodes. Each dislocation object is an edge of the graph, and its bounding physical nodes are the graph nodes. The requirement that there are no multiple edges in the graph seems restrictive, but since there is a high degree of flexibility in how each dislocation object is defined it should not be difficult to satisfy this requirement in practice. See Figure 3 for an example of how a network can be decomposed into dislocation objects. Using the manual object matching tool, physical node pairs are matched up across the images. The dislocation objects (edges) connecting those physical nodes are then extracted from the overall network. The user may match as many or as few physical node pairs as desired (i.e., the whole network does not have to be matched). Also, an edge does not have to be identified in every image from a tilt series (e.g., reconstruction is possible using as few as two images worth of information for a dislocation object).

Tomographic Reconstruction

21In our tomographic reconstruction, we define an imaging coordinate system with the tilt axis in the y-direction, the z-direction opposite the electron beam direction, and the x-direction implied by the right-hand rule. The imaging plane is the x-y plane, so rotation about the tilt axis induces motion in the x-direction in the imaging coordinate system (see Appendix A). Determination of the z-height out of the imaging plane of each point on the dislocation lines is the fundamental goal. We assign one image as our reference image, which is used to define the configuration in which we will perform the reconstruction. For example, the coordinate of node i in the reference image with tilt angle

22Our basic approach for tomographic reconstruction leverages the relationship between Fig. 3. Schematic showing the basic features of our object-based tomography approach. "Top view" is the view as seen in the TEM. The dislocation network is decomposed into dislocation objects that terminate at physical nodes, with different objects denoted by different colors. In some cases, "fake" physical nodes may appear where lines cross in the TEM image.

23z-position and x-position in the imaging coordinate system as the specimen is tilted. Specifically, basic geometry reveals (see Appendix A) for the same point on a dislocation line the z and x-coordinates are related as

24Hence, the change in x-position as the tilt angle is varied is linearly related to the z-position in the reference image. If we extract the set of x-coordinates from all images, we can determine the z-coordinate

25Before we can proceed with obtaining z ref i however, three challenges remain: (1) the images must be aligned so that their tilt axes are coincident, (2) we must orient the images so that the tilt axis is along the y-axis (since the tilt axis may be arbitrarily oriented in the x-y plane), and (3) we must determine how to find "equivalent" points on the same dislocation line from image-to-image. Challenge 1 is easily solved by noting that the centroid of the dislocation structure does not move as the sample is tilted. We can estimate the centroid of each image by computing the mean position among the set of physical nodes which have been matched across all images (recall that physical nodes do not have to be matched in all images). Let the set of physical nodes which have been matched across all images be M. The resulting mean position for image j is then

26where N M is the number of nodes in M. We then align the images by subtracting the mean position of each image from all nodal coordinates within that image. To solve challenge 2, we must determine the orientation of the tilt axis relative to the vertical ( y) axis of the images (we assume that the tilt axis is always in the plane of the image and that its orientation is the same in every image). The tilt axis will form an angle α with the vertical axis of the images. We estimate α by performing a linear regression of x j i versus y j i for the matched nodes in M, the slope of which is related to α via the inverse tangent operator.

27Resolving challenge 3 is the most difficult aspect of objectbased tomography. The basic issue is that, in general, the nonphysical nodes obtained in each image are not directly related to each other, because they are the result of an arbitrary extraction process. For example, it is highly unlikely that nodes will be placed at the exact same spot on a given dislocation line across all images. But in order to utilize equation (1), we must collect the x-coordinate from each image at the exact same spot. To accomplish this, we need a mapping that relates all points on each dislocation line from one image to another. We establish such a mapping using the graph description of the dislocation network; within the graph for each image, we know that two dislocation objects correspond to the same dislocation if they share physical nodes. This reduces our mapping problem to relating the points within a given pair of objects (from different images) with the same (matched) physical nodes. To accomplish mapping within a single object, we introduce the notion of a relative y-arc length mapping. We define the y-arc length as the total absolute change in y-position over some trajectory through the x-y plane. We can state this mathematically by defining the y-position of the dislocation object parametrically as y(t), where t varies from 0 to 1 from the beginning to the end of the dislocation object. Accordingly, the y-arc length from t = 0 up to some position t ′ on the object is

28The relative y-arc length is then defined as

29that is, the y-arc length at t ′ divided by the total y-arc length for the edge. In practice, we compute the y-arc length using the discrete segments in our networks by summing the absolute value of the difference in y-coordinates between the nodes bounding each segment (or interpolating between the nodes to obtain the y-arc length in the middle of a segment). In our mapping framework, we assume that two points of equivalent relative y-arc length on the same object are identical points in space. Because of the fact that all lengths in the y-dimension (parallel to the tilt axis) are conserved as the specimen is tilted, this mapping is exact as long as the dislocation line extraction is exact. Obviously, line extraction is inexact, so there is error in the y-arc length mapping.

30In Section "Uncertainty analysis," we perform an uncertainty analysis to explore how sensitive the accuracy of the reconstruction is to error in the line extraction. To summarize the above discussion, the steps of the tomographic reconstruction are as follows:

311. Shift all datasets so that their tilt axes are coincident. This is accomplished by computing for each image the mean position of all physical nodes which have been matched across all images, and then subtracting the respective mean position from each image. 2. Rotate datasets so that the tilt axis is coincident with the vertical (y) axis. The orientation of the tilt axis is determined through a linear regression of the (x,y) coordinates of the physical nodes which have been matched across all images. 3. Compute the relative y-arc length of each dislocation object in the aligned dislocation networks. This is done by summing the difference in y-coordinates of all segments in each edge. 4. For each node i in the reference image, determine x j i for each image j using the relative y-arc length mapping. This means we determine Y ref i , the relative y-arc length for node i in the reference image, and then determine x

32is the x-position of the same edge in image j at relative y-arc length Y obtained by interpolating the nodal data. 5. Determine the z-position of each node using equation (1). This concludes the reconstruction algorithm. We emphasize that the essential ingredients of the reconstruction algorithm are: (1) the graph representation of the dislocation networks which enables us to relate the images together on the basis of physical nodes by matching edges of the graph (dislocation objects) up with each other and (2) the relative y-arc length mapping which allows us to unambiguously map between any point on a pair of matched objects.

Electron Microscopy

33To illustrate the application of our approaches, we analyzed dislocations observed in a specimen of forged austenitic stainless steel (304L). Details regarding this material and its overall microstructure have been discussed previously (Sabisch et al., 2021). The TEM specimen for this work was prepared by electropolishing. After initial mechanical thinning to a thickness of 150 μm, the specimen was jet polished (Struers, Tenupol-5) in a solution of 10% perchloric acid and 90% ethanol at a temperature of −12°C, potential of 24.1 V, and current of 61 mA. The specimen was observed using an FEI Titan TEM, operated at 200 keV. Images were collected using the diffraction-contrast STEM approach (Phillips et al., 2011), with a convergence angle of 4.03 mrad and collecting the selected diffracted intensity using an annular dark-field (ADF) detector. We maintained a weakbeam diffracting condition (approximately 2.5 g) using a {111} systematic row. We employed an objective aperture to limit the signal reaching the ADF detector to that from the 2 g reflection. We have found that this condition gives a good balance of image contrast and image localization. The tomographic tilt series was conducted using a conventional two-axis double-tilt holder. We tilted about the {111} systematic row over a range of angles, making fine adjustments to the tilt to ensure that the diffracting conditions remained constant through the series. The maximum positive and negative tilt were limited by interference with the microscope's objective aperture.

Reconstruction Algorithm Verification

34To verify the details of our reconstruction algorithm-specifically the graph-based alignment and y-arc length mapping-we constructed synthetic TEM datasets by producing three-dimensional dislocation networks composed of straight line segments, and then "imaging" these networks via two-dimensional projections after tilting to various angles. This approach allows us to validate that our algorithm and code are correct since we know the exact z-coordinates of the synthetic datasets. It also allows us to assess sensitivity to various sources of uncertainty in the imaging and extraction processes. By analyzing synthetic datasets of varying degrees of complexity, including a snapshot obtained from a DDD simulation as shown in Figure 4, we have verified that our tomography algorithm is "perfect" in the sense that the exact solution is recovered in the absence of noise in the positional data. This result verifies that our algorithm is sound and that the y-arc length mapping is an appropriate approach for relating images to each other.

Uncertainty Analysis

35Using our synthetic data, we can analyze the uncertainty of the reconstruction in the form of the amount of error in the reconstructed z-position relative to the actual z-position. We consider the error in reconstructing straight dislocation lines of length L. Each line is oriented so that its angle from the tilt axis in the plane x-y is θ and its angle out of the x-y plane is ϕ (see Fig. 5). Using this approach, we can assess how the uncertainty varies as the line orientation (θ, ϕ) varies. In each synthetic dataset, we insert 20 dislocation lines and introduce various types of noise into the projected images used for reconstruction, as discussed below. Lines were inserted into an area of approximately 2 L by 2 L. We repeat this process 1,000 times to fully populate an average error surface in (θ, ϕ) space.

36Below we consider three different types of error: uncorrelated positional error, correlated shift error, and correlated rotational error. Uncorrelated positional error is modeled by randomly shifting each node within its respective image plane according to a zeromean normal distribution with standard deviation δ us . This error simulates uncorrelated noise in the dislocation lines and errors in the line extraction procedures which may induce unphysical "fluctuations" in the line profile. Correlated shift error is modeled by randomly shifting each node on a dislocation object within the x-y plane by the same amount prior to tilting and producing a synthetic image. The shift vector for each line is obtained by sampling a zero-mean normal distribution with standard deviation δ cs . This error simulates shifting that may occur if the apparent positions of the dislocation objects shift relative to each other during tilting as a result of contrast variations. Finally, correlated rotational noise is modeled by randomly rotating each object within the image plane for each image. The amount of rotation is obtained by sampling a zero-mean normal distribution with standard deviation δ cr . Such errors could arise, for instance, in tomographic acquisitions obtained using a tilt-rotate holder rather than a conventional two-axis double-tilt holder.

37To quantify the error induced by each type of noise, we computed the average error in z-height E z of each dislocation line. We then binned up (θ, ϕ) space into bins of width 4.5°and averaged over the error of all replica lines within each bin. The resulting error surfaces are presented in Figure 6 with noise parameters of δ us /L = 0.01, d cr = 2 • , and δ cs /L = 0.01. Synthetic TEM images were spaced apart by 3°tilt increments using tilt ranges of ±3°( 3 total images) and ±12°(9 total images). A segment length of l seg /L = 0.1 was used. The following conclusions can be drawn.

38First, the error magnitude drops by about an order of magnitude upon increasing the tilt range from ±3°to ±12°, demonstrating the importance of a wide tilt range. Second, the trends in (θ, ϕ) space are different for each type of error. Uncorrelated shift error is most significant near u = 90 • and, to a lesser extent, near f = 90 • . In contrast, correlated rotation error is most significant when u , 60 • and f , 60 • . Finally, correlated shift error does not exhibit any sensitivity to θ and ϕ. In terms of error magnitude, for the chosen error parameter values the reconstruction error is in the range of 0.01 L to 0.05 L when u , 70 • and f , 80 • . When u . 70 • , the error due to uncorrelated shift noise increases precipitously, likely rendering an accurate reconstruction impossible for lines in this angle range. This is because it becomes incredibly difficult to clearly distinguish points on the dislocation line from each other, which manifests by the relative y-arc length mapping breaking down. We note that this problem is not unique to our algorithm; any dislocation tomographic reconstruction algorithm will suffer large errors when θ is close to 90°. Figure 7 shows how the number of images taken over a ±12°t ilt series influences the average error when all sources of noise are applied simultaneously using the same noise parameters as above. First, we note by comparing the "9 images" result with the bottom row of Figure 6, obtained using the same conditions, that the different error modes seem to combine in an additive Fig. 5. Line geometry used for error analysis. Figure 7 is close to the sum of all errors in the bottom row of Figure 6. Second, Figure 7 shows that the error reduces at a slow rate as the number of images is increased. For example, increasing the number of images by six results in about a 1% reduction in average error. The region of large error near u = 90 • also shrinks as the number of images is increased.

manner; the error surface obtained in

39Finally, in Figure 8, we show how the reconstruction error increases as the uncorrelated shift error increases, with values of δ us /L = 0.025, 0.5, and 0.1. Figure 8 shows that the average reconstruction error increases sublinearly as δ us /L is increased (i.e., doubling δ us /L does not double the reconstruction error). When δ us /L is largest, the reconstruction error is relatively insensitive to the line orientation angles (a flat error distribution), but is still largest near u = 90 • . Based on these results and expected positioning errors in dislocation line extraction, we estimate the average reconstruction error to be about E z /L ≈ 0.1.

Dislocation Network in Forged 304L Stainless Steel

40To illustrate the use of our algorithm, we apply it to dislocations observed in the forged 304 L stainless steel specimen. Figure 9 shows DC-STEM images of the specimen taken over a single-tilt series at tilt angles of −11.87, −2.38, 2.38, 7.11, and 11.87 degrees (an image was also taken at −7.11 degrees, but line extraction was difficult with this image due to contrast effects resulting from the proximity of this tilt condition to the ⟨110⟩ zone axis). The dislocation network in the sample is quite complex, as shown in Figure 9a. Extended dislocations/nodes are visible in a number of places owing to the low stacking fault energy of this stainless steel alloy (Meric de Bellefon et al., 2017); this further complicates the reconstruction, which assumes perfect (unextended) dislocations. For simplicity, we consider a smaller portion of the image for tomographic reconstruction, the boxed portion of the image. We also mark in Figure 9 a few reference points A, B, and C within each image to help relate images to one another; we will continue marking these points in our analysis below.

41After matching up the same dislocation objects across all images, we used the physical nodes that were present in all images to re-center the networks and determine the orientation of the tilt axis. Note that one dislocation in the network (the "C" shaped line in the top left) was only fully visible in three out of five images, and so its physical nodes were not used during re-centering. The re-centered dislocation networks are shown in Figure 10. The dataset used to estimate the tilt axis inclination is shown in Figure 11, with all points for each physical node shifted by the mean x and y values and collected together. Note that there is considerable scatter in the data, indicating the degree of uncertainty in the line extraction.

42Next, we perform the tomographic reconstruction on the matched dislocation objects. Examples of fits to equation (1) for Fig. 7. Error due to combined noise showing the influence of the number of images over a ±12°tilt series. Noise parameter values: δ us /L = 0.01, d cr = 2 • , δ cs /L = 0.01. two nodes are given in Figure 12, showing a node with (a) a good fit and (b) a poor fit. The poor fit in (b) results from the dislocation line being orthogonal to the tilt axis (i.e., θ ≈ 90°), resulting in a large uncertainty as shown in the section "Uncertainty analysis". As a result, the z height of the node cannot be determined accurately. In general, when the dislocation line is not close to being orthogonal to the tilt axis, the fit to equation (1) is reasonably good.

43The final 3D reconstruction is presented in Figure 13 using the image with ω = 7.7°as the reference image. Each dislocation object is colored differently. Using the physical nodes connecting only one object (e.g., at a free surface), we also estimate the position and orientation of the TEM foil surfaces as gray planes obtained by linear regression. To differentiate nodes with a high degree of uncertainty, we have set some line segments to be transparent. We identify a node as being "uncertain" if any of the three following criteria are met: (1) the segments connecting the node form an inclination angle of θ > 80°relative to the tilt axis ( y-axis in Fig. 13); (2) the R 2 value for the fit to equation (1) is less than 0.7 indicating a large degree of scatter in the extraction data; or (3) the y-intercept from the fit to equation (1) is greater than 40 nm (according to equation (1), the y-intercept should be zero). Criterion 1 accounts for the inherent uncertainty when θ is close to 90°. Criteria 2 and 3 account for inconsistencies in the data due to imaging or extraction uncertainties. We note that some of the lines are found to be "outside" the estimated foil thickness. This is a result of position error from the reconstruction. Examining the three-dimensional reconstruction, we see that the dislocation content is distributed through the thickness of the TEM foil, a fact that is not obvious from individual images. For example, based on a single image, the "box" structure in the lower right corner may be interpreted as an interconnected network feature. However, the reconstruction reveals that the far right (orange) line forming the box is in an entirely different plane. Another interesting feature is that the "hard corners" in several of the dislocation lines (e.g., the dark blue line) are not associated with significant changes in plane orientation.

Discussion

44We have developed an object-based tomography algorithm with the following advantages over existing approaches: (1) Fewer images are required to attain the same level of positional accuracy (our error analysis shows good accuracy with as few as 3 images);

45(2) the technique is conceptually simpler than pixel-based approaches since the reconstruction derives from simple geometry; and (3) the technique is inherently consistent with the line nature of dislocations.

46In its current implementation, our method is semi-automated and still requires several manual operations. Two primary challenges, which we discuss next, remain to be resolved before the approach can be fully automated.

47One challenge is the automated extraction of dislocation line objects from TEM images. Often the contrast of the dislocation lines varies, resulting in "low spots" in intensity in the middle of lines. Also, it can be difficult to distinguish true dislocation lines from unphysical noise. In some cases, it is not possible to unambiguously identify dislocation lines by hand, let alone with an automated subroutine. When applied to the stainless steel dataset presented here, our extraction algorithm successfully extracts ∼80% of the true dislocation line content while also extracting some unphysical "lines." We employed a relatively simple, standard thresholding approach for segmenting the dislocations (Bradley & Roth, 2007). Further improvements could be made in the approach by employing segmentation algorithms specialized for curvilinear features characteristic of dislocation lines, such as curvature-based techniques (Steger, 1998) or machine learning (Roberts et al., 2019;Holm et al., 2020). If the image thresholding is accurate, the final "thinning" step and conversion to segment-based representation is expected to be accurate as well. Hence, improvements to the segmentation algorithm should be a major focus going forward.

48A second challenge for automation is relating the dislocation objects from one image to another. Because our approach utilizes a graph representation of the network to relate dislocation lines across images to each other, it requires that the dislocation networks from each image be topologically consistent. This means that physical nodes must be the same from image to image so that graph edges (dislocation objects) can be matched. Physical nodes associated with points at which the dislocation lines exit the foil are relatively easy to identify. On the other hand, physical nodes at the intersection of dislocation lines are more challenging to identify. This difficulty arises because the projection of two overlapping dislocation lines, which pass above or below each other but do not actually touch (e.g., the orange line in Fig. 13), will erroneously appear in any single image as a physical node. Distinguishing these "fake" physical nodes from true physical nodes is challenging. For the dataset analyzed here, such fake physical nodes were identified by hand and ignored. However, in principle, the tomographic reconstruction can help to identify fake physical nodes. Specifically, fake physical nodes are associated with multiple graph edges (dislocation objects). If they are true physical nodes, the z-height determined from each edge should be approximately the same. If instead the physical node is fake and not connected to one or more of the graph edges, the z-heights will differ significantly. Thus, it should be possible Fig. 12. Determination of the z coordinate for nodes via equation (1), showing examples with (a) a good fit with R 2 = 0.998 and (b) a poor fit with R 2 = 0.537. In Figure 13, node (a) is marked with a O marker and node (b) is marked with a □ marker.

49to iterate in the reconstruction, to systematically eliminate such "fake" physical nodes.

50Of all the steps in our tomography approach, the object matching step is the most time-consuming because it requires manually identifying identical graph edges across images. In principle, this step could be (at least partially) automated using a graph network alignment algorithm; in graph theory, aligning (e.g., relating) graphs to each other is a common problem and many algorithms have been developed (Emmert-Streib et al., 2016;Trung et al., 2020). However, graph network alignment is especially difficult when graphs are not topologically identical, such as the case here where fake physical nodes may pollute the topology of one image. Thus, the extension of graph network alignment algorithms to work robustly for complicated topologies will be critical to fully automating object-based dislocation tomography. An alternative approach is to use machine learning techniques. Altingövde et al. (2022) recently developed a convolutional neural network for matching dislocations in a stereo image pair. This technique could be extended to match dislocations across more than two images.

51The error analysis we presented in the section "Uncertainty analysis" was focused on quantifying the error in the reconstructed z-positions for a straight dislocation line. This provides a simple case study to clearly demonstrate how the error is sensitive to the line orientation relative to the tilt axis. However, in practice, many users may be more interested in quantifying features of the dislocation network with curved lines, such as the Fig. 13. Tomographic reconstruction of the dislocation network. (a) Isometric and (b) "unfolded" views. Each graph edge is colored with a unique color. Line segments with large uncertainty are semi-transparent (see text). Gray planes denote estimated surfaces based on physical node positions. Labels A, B, and C refer to positions marked on the original data in Figure 9. Markers O and □ denote the nodes used for Figures 12a and 12b, respectively. dislocation density of each slip system, rather than the precise z-positions of lines. Quantifying our method's ability to extract such features as slip system density in an arbitrary network is more challenging and requires additional study. Based on the results in the section "Uncertainty analysis," we can nonetheless conclude that when dislocation lines are nearly orthogonal to the tilt axis it becomes quite difficult to accurately extract any quantitative feature of the dislocation network.

52Finally, we discuss the broader application of the object-based tomography technique as we have constructed it. Fundamentally, the technique presented above only works for 1D objects because it relies on the relative y-arc length mapping [equation (4)] to identify equivalent points on dislocation lines in each micrograph. This mapping only works for line objects, but these line objects could be features of multidimensional objects. For example, the method could reconstruct edges of grain boundaries, stacking faults, or stacking fault tetrahedra as long as the same edges are identified in each image. The method cannot reconstruct points away from the edges, however. Conceivably the method could be extended to reconstruct 2D surfaces by including a relative x-position mapping in addition to the y-position mapping, so that points in between the edges could be mapped as well. However, if the surface has a complex (e.g., nonsmooth) morphology this may be difficult to accomplish.

Conclusion

53We have demonstrated a semi-automated, object-based method for dislocation tomography. This method draws on the prior knowledge that dislocations are line objects and as such the approach requires far fewer individual images in the tomographic tilt series than conventional intensity-based tomographic reconstruction methods. The method employs a dislocation node-line segment representation and an arc-length mapping scheme to relate the dislocation objects between individual frames. This approach can be straightforwardly applied to tilt series of dislocation images using any diffraction contrast technique. Key steps for further automating the approach include improving the line extraction processing and advancing graph network alignment algorithms to be robust to apparent topological inconsistencies resulting from the overlap of nonintersecting dislocations.

Introduction

54The characterization of the three-dimensional configurations of dislocations is important to understand their influence on many important materials processes. Examples include the interaction and slip processes between individual dislocations and how these impact development of deformation microstructures, the interactions between dislocations and interfaces, and defect mitigation in epitaxial thin film growth. Moreover, the development of mesoscale dislocation simulation approaches, such as discrete dislocation dynamics (DDD), is driving a need for experimental approaches to validate these techniques (Bertin et al., 2020).

55Although complex arrangements of dislocations are wellresolved by diffraction contrast techniques in transmission electron microscopy (TEM), particularly under weak-beam imaging conditions (Cockayne et al., 1969), information regarding feature height position is mostly lost in any single image since TEM is a projection technique. This challenge has motivated much interest in developing diffraction-contrast tomographic techniques suitable for dislocation imaging, as has been the subject of several recent reviews (Liu et al., 2014;Feng et al., 2020;Hata et al., 2020aHata et al., , 2020b.

56One widely employed approach, which was pioneered by co-workers (Barnard et al., 2006a, 2006b), is to apply intensity-based reconstruction algorithms, such as weighted back projection (WBP) or the sequential iterated reconstruction technique (SIRT), to diffraction contrast images collected over a wide tilt range but with finely spaced tilt increments. Since strain contrast is extremely sensitive to the diffracting conditions, images are usually obtained by tilting along a specific Kikuchi line, maintaining the diffracting vectors within the systemic row at fixed deviation parameters (Barnard et al., 2006a(Barnard et al., , 2006bLiu et al., 2014), although this constraint has been relaxed in some analyses (Kacher & Robertson, 2012). Intensity-based tomographic reconstruction approaches have been applied to a number of analyses of dislocations including dislocation networks in epitaxial films (Barnard et al., 2006a(Barnard et al., , 2006b(Barnard et al., , 2010, dislocations near indentation crack-tips (Sharp et al., 2008;Tanaka et al., 2008), grain-boundary/ dislocation interactions in metals (Kacher et al., 2011;Kacher & Robertson, 2012Chen & Yu, 2019), and dislocation configurations in geological materials (Mussi et al., 2014(Mussi et al., , 2017.

57Although they have been applied to a number of cases, use of intensity-based reconstruction techniques for dislocation tomography does pose some challenges. First, since dynamical diffraction contrast associated with dislocations and other specimen features (such as thickness contours) does not satisfy the tomographic "projection requirement" [i.e., that the intensity vary monotonically with the projected property of interest (Midgley & Dunin-Borkowski, 2009)], intensity-based reconstructions of diffraction-contrast images can suffer from imaging artifacts. Additionally, since many images are required to minimize errors in the intensity-based reconstructions, the acquisition of data can be tedious [e.g., requiring on the order of 50-100 images (Liu et al., 2014)], particularly given the constraint of maintaining constant diffracting conditions throughout the entire tilt series. More recently, it has been shown that intensity-based reconstructions can be performed using fewer images (e.g., 4 to 10) if the images are binarized into black and white pixels prior to tomographic reconstruction (Mussi et al., 2021a(Mussi et al., , 2021b).

58An alternative approach, which we consider in this paper, is to draw on the prior knowledge that the observed curvilinear features are line objects, namely dislocations. With this knowledge, the problem can be simplified to measuring the projected twodimensional dislocation line positions on the individual frames of the tilt series and then solving for the three-dimensional configurations of the dislocations based on the tilt geometry. Such an approach is similar in spirit to other object-based tomographic approaches, such as recent work reconstructing 3D distribution of precipitates and cavities through a simplified spherical representation (Field et al., 2020). A key advantage of such an objectbased tomographic approach is that fewer images are required compared to intensity-based tomographic methods. Indeed, as has been demonstrated by application of the "stereo-pair" method to dislocation analyses (Basinski, 1964;Modéer, 1974;McCabe et al., 2003;Eftink et al., 2017;Jácome et al., 2018;Oveisi et al., 2018), height information can be determined by measuring the image parallax from as few as two images collected at different tilts. In principle, however, one would expect improved precision and greater robustness to imaging ambiguities, such as those resulting from dislocation overlap, from analyses with datasets sampling more than two orientations.

59In this article, we present a semi-automated approach for object-based tomography of dislocation structures and demonstrate this approach for dislocations observed in a deformed specimen of stainless steel. As we discuss, our approach can be broken into three stages: the initial extraction of dislocation line objects from the individual frames, the alignment and matching of these objects across the frames in the tilt series, and finally, the tomographic reconstruction to determine the full threedimensional configuration of the dislocations. We demonstrate the method for a dataset collected from a dislocation network imaged by diffraction contrast scanning transmission electron microscopy (DC-STEM). Drawing on our theoretical basis for these reconstructions, we investigate the relative influence of different sources of uncertainty on the positional determinations.

Tomography Algorithm

60Our object-based tomography approach is enabled by two innovations in data representation drawing on graph theory: (1) we employ a dislocation line segment-node representation for the dislocation network, using a data structure commonly employed in DDD simulations to represent our segmented image data, and (2) we employ an arc-length mapping scheme to relate the discretized lines to one another across the images.

61Our tomography algorithm is broken down into three independent steps, as illustrated in Figure 1. First, the dislocation lines are extracted from each image of the tilt series and converted into a discrete representation composed of a set of straight line segments connected at nodes. For subsequent analysis, only this discrete representation is employed (i.e., we do not analyze the TEM images any further), and it is for this reason that we refer to our algorithm as being "object-based." This contrasts with the intensity-based tomography approaches discussed above, which use a pixelized representation of the observed image intensities to perform the reconstruction. Next, the images and dislocation networks are aligned and matched with each other so that the origin and coordinate axes are consistent from image-to-image, and so that we are able to identify the same dislocation line across each of the images. Lastly, we perform the tomographic reconstruction to estimate the z-position at each point along the dislocation lines. We now discuss in detail each step of the semi-automated approach.

62Our approach is implemented in MATLAB as the ObDiTo code (Object-based Dislocation Tomography). This code is available for use via the author's website (Sills).

Line Extraction

63During the line extraction step, the pixelized dislocation images are converted to a discrete set of line segments and nodes. The example in Figure 2 illustrates the approach for dislocations in 304L austenitic stainless steel observed using DC-STEM, as discussed in more detail below, but the approach can equally be applied to images collected using conventional or weak-beam dark-field transmission electron microscopy. There are two major phases to this line extraction step. In the first phase, we segment the image to identify a set of pixels associated with the observed dislocations. In our implementation, we accomplish this segmentation by first thresholding the image and then applying a "thinning" procedure, employing standard image processing procedures. We make use of several functions, denoted below by italics, that are available through the Image Processing Toolbox in MATLAB (R2020b). Unless otherwise stated, we use default parameters and settings for these functions. Other segmentation approaches optimized for curvilinear features, such as curvaturebased ridge finding (Steger, 1998) or convolutional neural networks trained on dislocation objects (Roberts et al., 2019;Holm et al., 2020), could also be employed. In the second phase of the line extraction, the skeletonized pixel representation is converted to an object structure defined by nodes and line segments. In the procedures below, the only place where manual input is necessary is when the skeleton is manually edited to correct errors in the pixel-based segmentation (Phase 1, Step 6).

64The detailed steps for these initial two phases, as depicted in Figure 2, are as follows:

65Phase 1: Pixel-based segmentation 1. The image is de-noised by applying nonlocal means filtering via the imnlmfilt function. 2. The image is thresholded so that only pixels associated with dislocation lines remain. We use the local adaptive thresholding approach of Bradley and Roth (Bradley & Roth, 2007) via the adaptthresh function. The approach is quite simple: given a local neighborhood size around each pixel, a mean intensity within that neighborhood is computed and the pixel is thresholded as a foreground pixel if it is above some fraction α of this mean intensity. 3. The thresholded image is "de-fuzzed" by repeatedly applying a majority filter using the bwmorph function. This smooths out the edges of the thresholded regions. The filter is applied repeatedly until no pixels are changed. 4. The thresholded image is further "cleaned up" by removing "blobs" which are clearly not associated with dislocations, that is, are not long and thin. Specifically, our procedure removes a blob if its area is below a user-specified minimum value (using the bwareafilt function) or if the blob fills more than half of its bounding box (using the bwpropfilt function with the "extent" attribute). 5. The thresholded image is converted to a "skeleton" structure comprising a single row of pixels centered on each dislocation line. This is accomplished with a "thinning" algorithm (Lam et al., 1992) via the bwmorph function (with the "thin" option).

66The thinning process may result in some minor imperfections in the skeleton, that is, pixel-sized holes. To remove these imperfections, we dilate the skeleton by buffering all foreground pixels with one pixel on all sides, and then thinning once more. This process produces the final skeleton. 6. The skeleton is manually edited to fix any incorrect features, such as missing lines and incorrectly identified lines. This is accomplished with a custom graphical editing tool we wrote in MATLAB.

67At this point, we have a pixelized representation of the dislocation network, where each dislocation line is composed of a skeleton with the width of a single pixel. In the next phase, we convert from a pixel representation to an object representation composed of line segments connected at nodes. An important feature of the object representation is the distinction between physical nodes and non-physical nodes. Physical nodes are nodes that terminate dislocation lines where they meet a free surface and nodes where multiple dislocation lines meet, as shown in Figure 3. These nodes are physically meaningful in terms of the topology and spatial arrangement of the dislocation network. On the other hand, non-physical nodes, which are simply the discrete points along the dislocation line-object, are not topologically significant (adding and removing them does not change the network topology) and are arbitrarily located along the line. In our approach, we leverage the significance of physical nodes for object matching and image alignment.

68Phase 2: Conversion to object representation.

691. The pixelized skeleton is converted to a line segment representation. First, we identify the "branch points" in the skeleton where more than one dislocation intersects via the bwmorph function. We then loop over branch points and hop from one pixel to another pixel until we encounter another branch point. During hopping, if we encounter more than l seg pixels, a node and dislocation segment is inserted. 2. The line segment representation is cleaned up by removing all dislocation objects below a minimum length L min. Here, we define a "dislocation object" as a section of line connecting two physical nodes. If one of the physical nodes on a line with length L < L min only has one connection (i.e., it intersects a free surface), then we simply delete that line. If both physical nodes have more than one connection and L < L min , then to delete the line we must merge the nodes together (i.e., we cannot simply delete the line) in order to conserve the network topology.

70At the end of this process, the image has been converted to a structure characterized by a set of nodes with coordinates r and an array of segments S containing pairs of nodes. Line extraction must be performed on each image to be used for the tomographic reconstruction.

Object Matching

71Before we can perform a reconstruction using the dislocation network line objects obtained using the procedure in the section "Line extraction," we must match the dislocation objects identified in the individual frames to their corresponding objects across the full data series, a process we call object matching. In other words, we must identify the same dislocation object across each image. This procedure is not trivial to accomplish for several reasons. First, as the sample is tilted, the dislocation lines move, making their position from image-to-image slightly different. Second, as the sample is tilted, lines that are separate from each other in one image may overlap in another image. This introduces spurious physical nodes where it appears that two dislocations intersect each other, but in reality they do not (see Figure 3); we call these features "fake" physical nodes. Fake physical nodes change the apparent topology of the dislocation network, making it difficult to relate networks from different images to each other.

72While, in principle, it should be possible to develop an automated procedure for object matching, given the above complications it is difficult. We chose instead to develop a graphical tool to allow a user to manually match physical nodes across images. To this end, we require that each dislocation line is uniquely identified by the pair of physical nodes that bound it. In other words, we require that two physical nodes that bound a dislocation object are never connected by more than one dislocation line. This approach is akin to viewing the dislocation network as a simple graph (no multiple edges, i.e., edges that connect the same nodes), comprising a set of edges connected at nodes. Each dislocation object is an edge of the graph, and its bounding physical nodes are the graph nodes. The requirement that there are no multiple edges in the graph seems restrictive, but since there is a high degree of flexibility in how each dislocation object is defined it should not be difficult to satisfy this requirement in practice. See Figure 3 for an example of how a network can be decomposed into dislocation objects. Using the manual object matching tool, physical node pairs are matched up across the images. The dislocation objects (edges) connecting those physical nodes are then extracted from the overall network. The user may match as many or as few physical node pairs as desired (i.e., the whole network does not have to be matched). Also, an edge does not have to be identified in every image from a tilt series (e.g., reconstruction is possible using as few as two images worth of information for a dislocation object).

Tomographic Reconstruction

73In our tomographic reconstruction, we define an imaging coordinate system with the tilt axis in the y-direction, the z-direction opposite the electron beam direction, and the x-direction implied by the right-hand rule. The imaging plane is the x-y plane, so rotation about the tilt axis induces motion in the x-direction in the imaging coordinate system (see Appendix A). Determination of the z-height out of the imaging plane of each point on the dislocation lines is the fundamental goal. We assign one image as our reference image, which is used to define the configuration in which we will perform the reconstruction. For example, the coordinate of node i in the reference image with tilt angle

74Our basic approach for tomographic reconstruction leverages the relationship between Fig. 3. Schematic showing the basic features of our object-based tomography approach. "Top view" is the view as seen in the TEM. The dislocation network is decomposed into dislocation objects that terminate at physical nodes, with different objects denoted by different colors. In some cases, "fake" physical nodes may appear where lines cross in the TEM image.

75z-position and x-position in the imaging coordinate system as the specimen is tilted. Specifically, basic geometry reveals (see Appendix A) for the same point on a dislocation line the z and x-coordinates are related as

76Hence, the change in x-position as the tilt angle is varied is linearly related to the z-position in the reference image. If we extract the set of x-coordinates from all images, we can determine the z-coordinate

77Before we can proceed with obtaining z ref i however, three challenges remain: (1) the images must be aligned so that their tilt axes are coincident, (2) we must orient the images so that the tilt axis is along the y-axis (since the tilt axis may be arbitrarily oriented in the x-y plane), and (3) we must determine how to find "equivalent" points on the same dislocation line from image-to-image. Challenge 1 is easily solved by noting that the centroid of the dislocation structure does not move as the sample is tilted. We can estimate the centroid of each image by computing the mean position among the set of physical nodes which have been matched across all images (recall that physical nodes do not have to be matched in all images). Let the set of physical nodes which have been matched across all images be M. The resulting mean position for image j is then

78where N M is the number of nodes in M. We then align the images by subtracting the mean position of each image from all nodal coordinates within that image. To solve challenge 2, we must determine the orientation of the tilt axis relative to the vertical ( y) axis of the images (we assume that the tilt axis is always in the plane of the image and that its orientation is the same in every image). The tilt axis will form an angle α with the vertical axis of the images. We estimate α by performing a linear regression of x j i versus y j i for the matched nodes in M, the slope of which is related to α via the inverse tangent operator.

79Resolving challenge 3 is the most difficult aspect of objectbased tomography. The basic issue is that, in general, the nonphysical nodes obtained in each image are not directly related to each other, because they are the result of an arbitrary extraction process. For example, it is highly unlikely that nodes will be placed at the exact same spot on a given dislocation line across all images. But in order to utilize equation (1), we must collect the x-coordinate from each image at the exact same spot. To accomplish this, we need a mapping that relates all points on each dislocation line from one image to another. We establish such a mapping using the graph description of the dislocation network; within the graph for each image, we know that two dislocation objects correspond to the same dislocation if they share physical nodes. This reduces our mapping problem to relating the points within a given pair of objects (from different images) with the same (matched) physical nodes. To accomplish mapping within a single object, we introduce the notion of a relative y-arc length mapping. We define the y-arc length as the total absolute change in y-position over some trajectory through the x-y plane. We can state this mathematically by defining the y-position of the dislocation object parametrically as y(t), where t varies from 0 to 1 from the beginning to the end of the dislocation object. Accordingly, the y-arc length from t = 0 up to some position t ′ on the object is

80The relative y-arc length is then defined as

81that is, the y-arc length at t ′ divided by the total y-arc length for the edge. In practice, we compute the y-arc length using the discrete segments in our networks by summing the absolute value of the difference in y-coordinates between the nodes bounding each segment (or interpolating between the nodes to obtain the y-arc length in the middle of a segment). In our mapping framework, we assume that two points of equivalent relative y-arc length on the same object are identical points in space. Because of the fact that all lengths in the y-dimension (parallel to the tilt axis) are conserved as the specimen is tilted, this mapping is exact as long as the dislocation line extraction is exact. Obviously, line extraction is inexact, so there is error in the y-arc length mapping.

82In Section "Uncertainty analysis," we perform an uncertainty analysis to explore how sensitive the accuracy of the reconstruction is to error in the line extraction. To summarize the above discussion, the steps of the tomographic reconstruction are as follows:

831. Shift all datasets so that their tilt axes are coincident. This is accomplished by computing for each image the mean position of all physical nodes which have been matched across all images, and then subtracting the respective mean position from each image. 2. Rotate datasets so that the tilt axis is coincident with the vertical (y) axis. The orientation of the tilt axis is determined through a linear regression of the (x,y) coordinates of the physical nodes which have been matched across all images. 3. Compute the relative y-arc length of each dislocation object in the aligned dislocation networks. This is done by summing the difference in y-coordinates of all segments in each edge. 4. For each node i in the reference image, determine x j i for each image j using the relative y-arc length mapping. This means we determine Y ref i , the relative y-arc length for node i in the reference image, and then determine x

84is the x-position of the same edge in image j at relative y-arc length Y obtained by interpolating the nodal data. 5. Determine the z-position of each node using equation (1). This concludes the reconstruction algorithm. We emphasize that the essential ingredients of the reconstruction algorithm are: (1) the graph representation of the dislocation networks which enables us to relate the images together on the basis of physical nodes by matching edges of the graph (dislocation objects) up with each other and (2) the relative y-arc length mapping which allows us to unambiguously map between any point on a pair of matched objects.

Electron Microscopy

85To illustrate the application of our approaches, we analyzed dislocations observed in a specimen of forged austenitic stainless steel (304L). Details regarding this material and its overall microstructure have been discussed previously (Sabisch et al., 2021). The TEM specimen for this work was prepared by electropolishing. After initial mechanical thinning to a thickness of 150 μm, the specimen was jet polished (Struers, Tenupol-5) in a solution of 10% perchloric acid and 90% ethanol at a temperature of −12°C, potential of 24.1 V, and current of 61 mA. The specimen was observed using an FEI Titan TEM, operated at 200 keV. Images were collected using the diffraction-contrast STEM approach (Phillips et al., 2011), with a convergence angle of 4.03 mrad and collecting the selected diffracted intensity using an annular dark-field (ADF) detector. We maintained a weakbeam diffracting condition (approximately 2.5 g) using a {111} systematic row. We employed an objective aperture to limit the signal reaching the ADF detector to that from the 2 g reflection. We have found that this condition gives a good balance of image contrast and image localization. The tomographic tilt series was conducted using a conventional two-axis double-tilt holder. We tilted about the {111} systematic row over a range of angles, making fine adjustments to the tilt to ensure that the diffracting conditions remained constant through the series. The maximum positive and negative tilt were limited by interference with the microscope's objective aperture.

Reconstruction Algorithm Verification

86To verify the details of our reconstruction algorithm-specifically the graph-based alignment and y-arc length mapping-we constructed synthetic TEM datasets by producing three-dimensional dislocation networks composed of straight line segments, and then "imaging" these networks via two-dimensional projections after tilting to various angles. This approach allows us to validate that our algorithm and code are correct since we know the exact z-coordinates of the synthetic datasets. It also allows us to assess sensitivity to various sources of uncertainty in the imaging and extraction processes. By analyzing synthetic datasets of varying degrees of complexity, including a snapshot obtained from a DDD simulation as shown in Figure 4, we have verified that our tomography algorithm is "perfect" in the sense that the exact solution is recovered in the absence of noise in the positional data. This result verifies that our algorithm is sound and that the y-arc length mapping is an appropriate approach for relating images to each other.

Uncertainty Analysis

87Using our synthetic data, we can analyze the uncertainty of the reconstruction in the form of the amount of error in the reconstructed z-position relative to the actual z-position. We consider the error in reconstructing straight dislocation lines of length L. Each line is oriented so that its angle from the tilt axis in the plane x-y is θ and its angle out of the x-y plane is ϕ (see Fig. 5). Using this approach, we can assess how the uncertainty varies as the line orientation (θ, ϕ) varies. In each synthetic dataset, we insert 20 dislocation lines and introduce various types of noise into the projected images used for reconstruction, as discussed below. Lines were inserted into an area of approximately 2 L by 2 L. We repeat this process 1,000 times to fully populate an average error surface in (θ, ϕ) space.

88Below we consider three different types of error: uncorrelated positional error, correlated shift error, and correlated rotational error. Uncorrelated positional error is modeled by randomly shifting each node within its respective image plane according to a zeromean normal distribution with standard deviation δ us . This error simulates uncorrelated noise in the dislocation lines and errors in the line extraction procedures which may induce unphysical "fluctuations" in the line profile. Correlated shift error is modeled by randomly shifting each node on a dislocation object within the x-y plane by the same amount prior to tilting and producing a synthetic image. The shift vector for each line is obtained by sampling a zero-mean normal distribution with standard deviation δ cs . This error simulates shifting that may occur if the apparent positions of the dislocation objects shift relative to each other during tilting as a result of contrast variations. Finally, correlated rotational noise is modeled by randomly rotating each object within the image plane for each image. The amount of rotation is obtained by sampling a zero-mean normal distribution with standard deviation δ cr . Such errors could arise, for instance, in tomographic acquisitions obtained using a tilt-rotate holder rather than a conventional two-axis double-tilt holder.

89To quantify the error induced by each type of noise, we computed the average error in z-height E z of each dislocation line. We then binned up (θ, ϕ) space into bins of width 4.5°and averaged over the error of all replica lines within each bin. The resulting error surfaces are presented in Figure 6 with noise parameters of δ us /L = 0.01, d cr = 2 • , and δ cs /L = 0.01. Synthetic TEM images were spaced apart by 3°tilt increments using tilt ranges of ±3°( 3 total images) and ±12°(9 total images). A segment length of l seg /L = 0.1 was used. The following conclusions can be drawn.

90First, the error magnitude drops by about an order of magnitude upon increasing the tilt range from ±3°to ±12°, demonstrating the importance of a wide tilt range. Second, the trends in (θ, ϕ) space are different for each type of error. Uncorrelated shift error is most significant near u = 90 • and, to a lesser extent, near f = 90 • . In contrast, correlated rotation error is most significant when u , 60 • and f , 60 • . Finally, correlated shift error does not exhibit any sensitivity to θ and ϕ. In terms of error magnitude, for the chosen error parameter values the reconstruction error is in the range of 0.01 L to 0.05 L when u , 70 • and f , 80 • . When u . 70 • , the error due to uncorrelated shift noise increases precipitously, likely rendering an accurate reconstruction impossible for lines in this angle range. This is because it becomes incredibly difficult to clearly distinguish points on the dislocation line from each other, which manifests by the relative y-arc length mapping breaking down. We note that this problem is not unique to our algorithm; any dislocation tomographic reconstruction algorithm will suffer large errors when θ is close to 90°. Figure 7 shows how the number of images taken over a ±12°t ilt series influences the average error when all sources of noise are applied simultaneously using the same noise parameters as above. First, we note by comparing the "9 images" result with the bottom row of Figure 6, obtained using the same conditions, that the different error modes seem to combine in an additive Fig. 5. Line geometry used for error analysis. Figure 7 is close to the sum of all errors in the bottom row of Figure 6. Second, Figure 7 shows that the error reduces at a slow rate as the number of images is increased. For example, increasing the number of images by six results in about a 1% reduction in average error. The region of large error near u = 90 • also shrinks as the number of images is increased.

manner; the error surface obtained in

91Finally, in Figure 8, we show how the reconstruction error increases as the uncorrelated shift error increases, with values of δ us /L = 0.025, 0.5, and 0.1. Figure 8 shows that the average reconstruction error increases sublinearly as δ us /L is increased (i.e., doubling δ us /L does not double the reconstruction error). When δ us /L is largest, the reconstruction error is relatively insensitive to the line orientation angles (a flat error distribution), but is still largest near u = 90 • . Based on these results and expected positioning errors in dislocation line extraction, we estimate the average reconstruction error to be about E z /L ≈ 0.1.

Dislocation Network in Forged 304L Stainless Steel

92To illustrate the use of our algorithm, we apply it to dislocations observed in the forged 304 L stainless steel specimen. Figure 9 shows DC-STEM images of the specimen taken over a single-tilt series at tilt angles of −11.87, −2.38, 2.38, 7.11, and 11.87 degrees (an image was also taken at −7.11 degrees, but line extraction was difficult with this image due to contrast effects resulting from the proximity of this tilt condition to the ⟨110⟩ zone axis). The dislocation network in the sample is quite complex, as shown in Figure 9a. Extended dislocations/nodes are visible in a number of places owing to the low stacking fault energy of this stainless steel alloy (Meric de Bellefon et al., 2017); this further complicates the reconstruction, which assumes perfect (unextended) dislocations. For simplicity, we consider a smaller portion of the image for tomographic reconstruction, the boxed portion of the image. We also mark in Figure 9 a few reference points A, B, and C within each image to help relate images to one another; we will continue marking these points in our analysis below.

93After matching up the same dislocation objects across all images, we used the physical nodes that were present in all images to re-center the networks and determine the orientation of the tilt axis. Note that one dislocation in the network (the "C" shaped line in the top left) was only fully visible in three out of five images, and so its physical nodes were not used during re-centering. The re-centered dislocation networks are shown in Figure 10. The dataset used to estimate the tilt axis inclination is shown in Figure 11, with all points for each physical node shifted by the mean x and y values and collected together. Note that there is considerable scatter in the data, indicating the degree of uncertainty in the line extraction.

94Next, we perform the tomographic reconstruction on the matched dislocation objects. Examples of fits to equation (1) for Fig. 7. Error due to combined noise showing the influence of the number of images over a ±12°tilt series. Noise parameter values: δ us /L = 0.01, d cr = 2 • , δ cs /L = 0.01. two nodes are given in Figure 12, showing a node with (a) a good fit and (b) a poor fit. The poor fit in (b) results from the dislocation line being orthogonal to the tilt axis (i.e., θ ≈ 90°), resulting in a large uncertainty as shown in the section "Uncertainty analysis". As a result, the z height of the node cannot be determined accurately. In general, when the dislocation line is not close to being orthogonal to the tilt axis, the fit to equation (1) is reasonably good.

95The final 3D reconstruction is presented in Figure 13 using the image with ω = 7.7°as the reference image. Each dislocation object is colored differently. Using the physical nodes connecting only one object (e.g., at a free surface), we also estimate the position and orientation of the TEM foil surfaces as gray planes obtained by linear regression. To differentiate nodes with a high degree of uncertainty, we have set some line segments to be transparent. We identify a node as being "uncertain" if any of the three following criteria are met: (1) the segments connecting the node form an inclination angle of θ > 80°relative to the tilt axis ( y-axis in Fig. 13); (2) the R 2 value for the fit to equation (1) is less than 0.7 indicating a large degree of scatter in the extraction data; or (3) the y-intercept from the fit to equation (1) is greater than 40 nm (according to equation (1), the y-intercept should be zero). Criterion 1 accounts for the inherent uncertainty when θ is close to 90°. Criteria 2 and 3 account for inconsistencies in the data due to imaging or extraction uncertainties. We note that some of the lines are found to be "outside" the estimated foil thickness. This is a result of position error from the reconstruction. Examining the three-dimensional reconstruction, we see that the dislocation content is distributed through the thickness of the TEM foil, a fact that is not obvious from individual images. For example, based on a single image, the "box" structure in the lower right corner may be interpreted as an interconnected network feature. However, the reconstruction reveals that the far right (orange) line forming the box is in an entirely different plane. Another interesting feature is that the "hard corners" in several of the dislocation lines (e.g., the dark blue line) are not associated with significant changes in plane orientation.

Discussion

96We have developed an object-based tomography algorithm with the following advantages over existing approaches: (1) Fewer images are required to attain the same level of positional accuracy (our error analysis shows good accuracy with as few as 3 images);

97(2) the technique is conceptually simpler than pixel-based approaches since the reconstruction derives from simple geometry; and (3) the technique is inherently consistent with the line nature of dislocations.

98In its current implementation, our method is semi-automated and still requires several manual operations. Two primary challenges, which we discuss next, remain to be resolved before the approach can be fully automated.

99One challenge is the automated extraction of dislocation line objects from TEM images. Often the contrast of the dislocation lines varies, resulting in "low spots" in intensity in the middle of lines. Also, it can be difficult to distinguish true dislocation lines from unphysical noise. In some cases, it is not possible to unambiguously identify dislocation lines by hand, let alone with an automated subroutine. When applied to the stainless steel dataset presented here, our extraction algorithm successfully extracts ∼80% of the true dislocation line content while also extracting some unphysical "lines." We employed a relatively simple, standard thresholding approach for segmenting the dislocations (Bradley & Roth, 2007). Further improvements could be made in the approach by employing segmentation algorithms specialized for curvilinear features characteristic of dislocation lines, such as curvature-based techniques (Steger, 1998) or machine learning (Roberts et al., 2019;Holm et al., 2020). If the image thresholding is accurate, the final "thinning" step and conversion to segment-based representation is expected to be accurate as well. Hence, improvements to the segmentation algorithm should be a major focus going forward.

100A second challenge for automation is relating the dislocation objects from one image to another. Because our approach utilizes a graph representation of the network to relate dislocation lines across images to each other, it requires that the dislocation networks from each image be topologically consistent. This means that physical nodes must be the same from image to image so that graph edges (dislocation objects) can be matched. Physical nodes associated with points at which the dislocation lines exit the foil are relatively easy to identify. On the other hand, physical nodes at the intersection of dislocation lines are more challenging to identify. This difficulty arises because the projection of two overlapping dislocation lines, which pass above or below each other but do not actually touch (e.g., the orange line in Fig. 13), will erroneously appear in any single image as a physical node. Distinguishing these "fake" physical nodes from true physical nodes is challenging. For the dataset analyzed here, such fake physical nodes were identified by hand and ignored. However, in principle, the tomographic reconstruction can help to identify fake physical nodes. Specifically, fake physical nodes are associated with multiple graph edges (dislocation objects). If they are true physical nodes, the z-height determined from each edge should be approximately the same. If instead the physical node is fake and not connected to one or more of the graph edges, the z-heights will differ significantly. Thus, it should be possible Fig. 12. Determination of the z coordinate for nodes via equation (1), showing examples with (a) a good fit with R 2 = 0.998 and (b) a poor fit with R 2 = 0.537. In Figure 13, node (a) is marked with a O marker and node (b) is marked with a □ marker.

101to iterate in the reconstruction, to systematically eliminate such "fake" physical nodes.

102Of all the steps in our tomography approach, the object matching step is the most time-consuming because it requires manually identifying identical graph edges across images. In principle, this step could be (at least partially) automated using a graph network alignment algorithm; in graph theory, aligning (e.g., relating) graphs to each other is a common problem and many algorithms have been developed (Emmert-Streib et al., 2016;Trung et al., 2020). However, graph network alignment is especially difficult when graphs are not topologically identical, such as the case here where fake physical nodes may pollute the topology of one image. Thus, the extension of graph network alignment algorithms to work robustly for complicated topologies will be critical to fully automating object-based dislocation tomography. An alternative approach is to use machine learning techniques. Altingövde et al. (2022) recently developed a convolutional neural network for matching dislocations in a stereo image pair. This technique could be extended to match dislocations across more than two images.

103The error analysis we presented in the section "Uncertainty analysis" was focused on quantifying the error in the reconstructed z-positions for a straight dislocation line. This provides a simple case study to clearly demonstrate how the error is sensitive to the line orientation relative to the tilt axis. However, in practice, many users may be more interested in quantifying features of the dislocation network with curved lines, such as the Fig. 13. Tomographic reconstruction of the dislocation network. (a) Isometric and (b) "unfolded" views. Each graph edge is colored with a unique color. Line segments with large uncertainty are semi-transparent (see text). Gray planes denote estimated surfaces based on physical node positions. Labels A, B, and C refer to positions marked on the original data in Figure 9. Markers O and □ denote the nodes used for Figures 12a and 12b, respectively. dislocation density of each slip system, rather than the precise z-positions of lines. Quantifying our method's ability to extract such features as slip system density in an arbitrary network is more challenging and requires additional study. Based on the results in the section "Uncertainty analysis," we can nonetheless conclude that when dislocation lines are nearly orthogonal to the tilt axis it becomes quite difficult to accurately extract any quantitative feature of the dislocation network.

104Finally, we discuss the broader application of the object-based tomography technique as we have constructed it. Fundamentally, the technique presented above only works for 1D objects because it relies on the relative y-arc length mapping [equation (4)] to identify equivalent points on dislocation lines in each micrograph. This mapping only works for line objects, but these line objects could be features of multidimensional objects. For example, the method could reconstruct edges of grain boundaries, stacking faults, or stacking fault tetrahedra as long as the same edges are identified in each image. The method cannot reconstruct points away from the edges, however. Conceivably the method could be extended to reconstruct 2D surfaces by including a relative x-position mapping in addition to the y-position mapping, so that points in between the edges could be mapped as well. However, if the surface has a complex (e.g., nonsmooth) morphology this may be difficult to accomplish.

Conclusion

105We have demonstrated a semi-automated, object-based method for dislocation tomography. This method draws on the prior knowledge that dislocations are line objects and as such the approach requires far fewer individual images in the tomographic tilt series than conventional intensity-based tomographic reconstruction methods. The method employs a dislocation node-line segment representation and an arc-length mapping scheme to relate the dislocation objects between individual frames. This approach can be straightforwardly applied to tilt series of dislocation images using any diffraction contrast technique. Key steps for further automating the approach include improving the line extraction processing and advancing graph network alignment algorithms to be robust to apparent topological inconsistencies resulting from the overlap of nonintersecting dislocations.

참고문헌 38건

  1. Dislocation tomography made easy: a reconstruction from ADF STEM images obtained using automated image shift correction Journal of Physics Conference Series · IOP Publishing · 2008 10.1088/1742-6596/126/1/012013
  2. Dislocation link length distributions studied by stereo electron microscopy Scripta Metallurgica · Pergamon Press · 1974 10.1016/0036-9748(74)90485-2
  3. Electron tomography and holography in materials science Nature Materials · Nature Portfolio · 2009 10.1038/nmat2406
  4. Adaptive Thresholding using the Integral Image Journal of Graphics Tools · Taylor & Francis · 2007 10.1080/2151237x.2007.10129236
  5. High-Resolution Three-Dimensional Imaging of Dislocations Science · American Association for the Advancement of Science · 2006 10.1126/science.1125783
  6. <i>In situ</i>and tomographic analysis of dislocation/grain boundary interactions in α-titanium The Philosophical Magazine A Journal of Theoretical Experimental and Applied Physics · Taylor & Francis · 2014 10.1080/14786435.2013.868942
  7. Diffraction contrast STEM of dislocations: Imaging and simulations Ultramicroscopy · Elsevier BV · 2011 10.1016/j.ultramic.2011.07.001
  8. Crack tip dislocations revealed by electron tomography in silicon single crystal Scripta Materialia · Elsevier BV · 2008 10.1016/j.scriptamat.2008.06.042
  9. Three-dimensional analysis of dislocation networks in GaN using weak-beam dark-field electron tomography The Philosophical Magazine A Journal of Theoretical Experimental and Applied Physics · Taylor & Francis · 2006 10.1080/14786430600798839
  10. Visualization of grain boundary/dislocation interactions using tomographic reconstructions Scripta Materialia · Elsevier BV · 2010 10.1016/j.scriptamat.2010.12.020
  11. Quasi-four-dimensional analysis of dislocation interactions with grain boundaries in 304 stainless steel Acta Materialia · Elsevier BV · 2012 10.1016/j.actamat.2012.08.036
  12. Dislocation electron tomography and precession electron diffraction – minimising the effects of dynamical interactions in real and reciprocal space The Philosophical Magazine A Journal of Theoretical Experimental and Applied Physics · Taylor & Francis · 2010 10.1080/14786430903581338
  13. Investigations of dislocation strain fields using weak beams Philosophical magazine · Taylor & Francis · 1969 10.1080/14786436908228210
  14. Electron tomography of dislocation structures Materials Characterization · Elsevier BV · 2013 10.1016/j.matchar.2013.09.016
  15. Characterization of the glide planes of the [001] screw dislocations in olivine using electron tomography Physics and Chemistry of Minerals · Springer Science+Business Media · 2014 10.1007/s00269-014-0665-1
  16. Work hardening: surface effects. Dislocation distribution in deformed copper single crystals Discussions of the Faraday Society · Royal Society of Chemistry · 1964 10.1039/df9643800093
  17. A Single-Tilt TEM Stereomicroscopy Technique for Crystalline Materials Microscopy and Microanalysis · Oxford University Press · 2003 10.1017/s1431927603030071
  18. An unbiased detector of curvilinear structures IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1998 10.1109/34.659930
  19. Thinning methodologies-a comprehensive survey IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1992 10.1109/34.161346
  20. Fifty years of graph matching, network alignment and network comparison Information Sciences · Elsevier BV · 2016 10.1016/j.ins.2016.01.074
  21. Composition-dependence of stacking fault energy in austenitic stainless steels through linear regression with random intercepts Journal of Nuclear Materials · Elsevier BV · 2017 10.1016/j.jnucmat.2017.05.037
  22. Stereographic Methods for 3D Characterization of Dislocations Microscopy and Microanalysis · Oxford University Press · 2017 10.1017/s1431927617001738
  23. Stereo-vision three-dimensional reconstruction of curvilinear structures imaged with a TEM Ultramicroscopy · Elsevier BV · 2017 10.1016/j.ultramic.2017.08.010
  24. Hardening mechanisms in olivine single crystal deformed at 1090 °C: an electron tomography study The Philosophical Magazine A Journal of Theoretical Experimental and Applied Physics · Taylor & Francis · 2017 10.1080/14786435.2017.1367858
  25. Three-dimensional reconstruction and quantification of dislocation substructures from transmission electron microscopy stereo pairs Ultramicroscopy · Elsevier BV · 2018 10.1016/j.ultramic.2018.08.015
  26. The role of low angle grain boundary in deformation of titanium and its size effect Scripta Materialia · Elsevier BV · 2019 10.1016/j.scriptamat.2018.10.054
  27. A comparative study on network alignment techniques Expert Systems with Applications · Elsevier BV · 2019 10.1016/j.eswa.2019.112883
  28. Deep Learning for Semantic Segmentation of Defects in Advanced STEM Images of Steels Scientific Reports · Nature Portfolio · 2019 10.1038/s41598-019-49105-0
  29. Electron tomography imaging methods with diffraction contrast for materials research Microscopy · Oxford University Press · 2020 10.1093/jmicro/dfaa002
  30. High-Efficiency Three-Dimensional Visualization of Complex Microstructures via Multidimensional STEM Acquisition and Reconstruction Microscopy and Microanalysis · Oxford University Press · 2020 10.1017/s1431927620000173
  31. Frontiers in the Simulation of Dislocations Annual Review of Materials Research · Annual Reviews · 2020 10.1146/annurev-matsci-091819-015500
  32. TEM-based dislocation tomography: Challenges and opportunities Current Opinion in Solid State and Materials Science · Elsevier BV · 2020 10.1016/j.cossms.2020.100833
  33. Electron tomography: An imaging method for materials deformation dynamics Current Opinion in Solid State and Materials Science · Elsevier BV · 2020 10.1016/j.cossms.2020.100850
  34. Overview: Computer Vision and Machine Learning for Microstructural Characterization and Analysis Metallurgical and Materials Transactions A · Springer Science+Business Media · 2020 10.1007/s11661-020-06008-4
  35. Application of electron tomography of dislocations in beam-sensitive quartz to the determination of strain components Tectonophysics · Elsevier BV · 2021 10.1016/j.tecto.2021.228754
  36. Interrogating the Effects of Hydrogen on the Behavior of Planar Deformation Bands in Austenitic Stainless Steel Metallurgical and Materials Transactions A · Springer Science+Business Media · 2021 10.1007/s11661-021-06170-3
  37. 4D electron tomography of dislocations undergoing electron irradiation Comptes Rendus Physique · Elsevier BV · 2021 10.5802/crphys.80
  38. 3D reconstruction of curvilinear structures with stereo matching deep convolutional neural networks Ultramicroscopy · Elsevier BV · 2022 10.1016/j.ultramic.2021.113460