Hostname: page-component-cd9895bd7-mkpzs Total loading time: 0 Render date: 2024-12-25T06:30:53.831Z Has data issue: false hasContentIssue false

Parallel Mode Differential Phase Contrast in Transmission Electron Microscopy, I: Theory and Analysis

Published online by Cambridge University Press:  20 September 2021

Gary W. Paterson*
Affiliation:
SUPA, School of Physics and Astronomy, University of Glasgow, Glasgow G12 8QQ, UK
Gavin M. Macauley
Affiliation:
SUPA, School of Physics and Astronomy, University of Glasgow, Glasgow G12 8QQ, UK
Stephen McVitie
Affiliation:
SUPA, School of Physics and Astronomy, University of Glasgow, Glasgow G12 8QQ, UK
Yoshihiko Togawa
Affiliation:
SUPA, School of Physics and Astronomy, University of Glasgow, Glasgow G12 8QQ, UK Department of Physics and Electronics, Osaka Prefecture University, Sakai, Osaka 599-8531, Japan
*
*Corresponding author: G. W. Paterson, E-mail: [email protected]

Abstract

In Part I of this diptych, we outline the parallel mode of differential phase contrast (TEM-DPC), which uses real-space distortion of Fresnel images arising from electrostatic or magnetostatic fields to quantify the phase gradient of samples with some degree of structural contrast. We present an analysis methodology and the associated software tools for the TEM-DPC method and, using them together with numerical simulations, compare the technique to the widely used method of phase recovery based on the transport-of-intensity equation (TIE), thereby highlighting the relative advantages and limitations of each. The TEM-DPC technique is particularly suitable for in situ studies of samples with significant structural contrast and, as such, complements the TIE method since structural contrast usually hinders the latter, but is an essential feature that enables the former. In Part II of this work, we apply the theory and methodology presented to the analysis of experimental data to gain insight into two-dimensional magnetic phase transitions.

Type
Software and Instrumentation
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
Copyright © The Author(s), 2021. Published by Cambridge University Press on behalf of the Microscopy Society of America

Introduction

The submicron scale characterization of electro- and magnetostatic fields supported by materials has been critical to fundamental research into materials and to the development of data storage and other novel devices. Within transmission electron microscopy (TEM), several Lorentz parallel beam imaging modes have been developed over the decades and many are in regular use today, including holography (Gabor, Reference Gabor1949; Fukuhara et al., Reference Fukuhara, Shinagawa, Tonomura and Fujiwara1983), small-angle electron scattering (Goringe & Jakubovics, Reference Goringe and Jakubovics1967; Togawa, Reference Togawa2013), Foucault (Marton, Reference Marton1948; Nakajima et al., Reference Nakajima, Kotani, Harada, Ishii and Mori2016), and Fresnel (Cohen, Reference Cohen1967; Chapman, Reference Chapman1984). Of these, Fresnel imaging is perhaps the most common and readily accessible technique, as real-space images containing information on the directional components of the fields may be obtained simply by defocusing the main imaging lens of a standard TEM.

From a wave-optical perspective, the intensity contrast in Fresnel images arises due to the phase change of the electron beam from the electric scalar potential or magnetic vector potential associated with the sample (Aharonov & Bohm, Reference Aharonov and Bohm1959). The change in phase causes the transmitted beam to locally converge or diverge, and this modulates the image intensity obtained at a defocus. At low defocus, quantitative reconstruction of the phase change is possible through solving the transport-of-intensity equation (TIE) (Teague, Reference Teague1983) using multiple images recorded at different defocus values (Bajt et al., Reference Bajt, Barty, Nugent, McCartney, Wall and Paganin2000; De Graef & Zhu, Reference De Graef and Zhu2001).

Classically, the diverging or converging beam is interpreted as Lorentz deflection of the charged particle. This was understood in some of the earliest work on quantifying the magnetization distribution of samples from their induction in a TEM (Fuller & Hale, Reference Fuller and Hale1960), but direct use of the real-space deflection information has been rare in the decades since then. Indeed, only a small number of reports of its use have been made, and these used a modified TEM, where a patterned film or shadow mask was incorporated to allow stray magnetic (Wade, Reference Wade1976; Suzuki et al., Reference Suzuki, Shinada, Yajima and Kuroda1997, Reference Suzuki, Shimakura, Itoh and Nakamura2000; Shimakura et al., Reference Shimakura, Nakamura, Itoh, Maruyama and Suzuki2003) and electric (Sasaki et al., Reference Sasaki, Mori, Tanaka, Murata, Morita, Shimoyama and Kuroda2010) fields to be mapped in vacuum. When used in tomographic applications, this technique has been labeled “projected electron magnetic tomography” (PEMT; Shimakura et al., Reference Shimakura, Nakamura, Itoh, Maruyama and Suzuki2003).

In almost all samples, some amount of structural contrast exists, from the sample itself or from a support film, and deflection of the beam transmitted through the sample contains information on the phase. In this work, we investigate this signal and develop a methodology to use it for phase recovery in an unmodified TEM. The signal produced from this process is proportional to the first derivative of the phase, so we refer to it as TEM-differential phase contrast (TEM-DPC), in order to differentiate it from the related scanning TEM (STEM) technique of STEM-DPC (Dekkers & de Lang, Reference Dekkers and de Lang1974; Chapman et al., Reference Chapman, Batson, Waddell and Ferrier1978, Reference Chapman, McFadyen and McVitie1990).

Through numerical simulations, we explore the limitations and advantages of the TEM-DPC technique, which are somewhat different to those of the TIE one. In common with the TIE method, a reference image must be obtained for the TEM-DPC technique, which is straightforward to do in many in situ experiments. However, as a consequence of using local image displacements rather than intensity changes, the TEM-DPC method is intrinsically less susceptible to systematic errors related to the microscope optics, including changes in magnification, distortion (such as pincushion), rotation, and illumination that are common to the TIE method as a result of changing focus.

The methodology presented is applicable to a wide range of phase-imaging experiments where the deflection angles are small and a suitable reference image can be obtained. It complements the TIE method by being particularly suitable for use with images from samples with weak phase contrast compared with structural contrast, a regime to which the TIE method is potentially less well suited.

In Part II of this work (Paterson et al., Reference Paterson, Macauley, McVitie and Togawa2021), we apply the TEM-DPC technique to experimental cryo-TEM Fresnel images of the magnetic phase transition of a thin lamella of K$_2$CuF$_4$, a material of interest for its quasi 2D ferromagnetism at low temperatures (Hirakawa, Reference Hirakawa1982; Togawa et al., Reference Togawa, Akashi, Kasai, Paterson, McVitie, Kousak, Shinada, Kishine and Akimitsu2021).

Phase-Induced Image Distortion

The theory of electron optics and its application to the study of electromagnetic fields is well developed (DeGraef, Reference DeGraef2001; Beleggia & Zhu, Reference Beleggia and Zhu2003; Beleggia et al., Reference Beleggia, Zhu, Tandon and Graef2003c; Zweck, Reference Zweck2016). In the following, we cover the parts most relevant to the electron phase change on encountering electromagnetic potentials.

For a continuous and slowly varying phase object in the $x$$y$ plane, a parallel electron beam of wavelength $\lambda$ and which travels along the negative $z$-axis will be deflected by an angle ${\bf \beta }_\perp = ( \beta _x,\; \beta _y)$ which is well approximated by

(1)$${\bf \beta}_\perp = -{\lambda\over 2\pi} \nabla_{\perp} \phi,\; $$

where $\nabla _{\perp }$ is the gradient operator in the $x$$y$ plane, $\phi$ is the phase of the exit wave, and ${\bf \beta }_\perp$ is the component perpendicular to the $z$-axis, with a sign indicating that of the $x$$y$ component. This configuration is depicted in Figure 1, which is discussed in detail later. In Fresnel imaging, this deflection creates an apparent change in position in the image plane, ${\bf \Delta}{\bf r}_\perp = ( \Delta r_x,\; \Delta r_y)$, that is proportional to the defocus, $\Delta f$:

(2)$${\bf \Delta}{\bf r}_\perp = {\bf \beta}_\perp \Delta f,\; $$

where positive defocus corresponds to the underfocus condition (weakened lens excitation). Together, these two equations relate the phase gradient to the lateral deflection:

(3)$$\nabla_\perp \phi = -{2\pi\over \lambda} {{\bf \Delta}{\bf r}_\perp\over \Delta f},\; $$

which may be solved for the phase using standard Fourier methods or by other means, to within some constant offset which can often be ignored.

Fig. 1. One-dimensional schematic of Fresnel contrast from imaging with electrons ($e^{-}$) a sample of uniform thickness, $t$, and with two regions of antiparallel magnetization giving rise to induction $\pm B_y$ along the $y$-axis. Classically, the electrons are deflected by an angle $\beta _x$ due to the Lorentz force as indicated by the dark blue arrows, creating a reduction in intensity at the projected position of the wall at a defocus $\Delta f$ (underfocus is depicted, corresponding to weakened lens excitation) due to the diverging beam. The apparent position of a localized absorbing area is displaced in the image plane by a distance $\Delta x$ due to the angle through which the beam is deviated (see equation (9)). These positions are marked by $\ast$'s.

The phase change induced in the transmitted beam by the sample is composed of electric ($\phi _e$) and magnetic contributions ($\phi _m$) (Aharonov & Bohm, Reference Aharonov and Bohm1959):

(4)$$\phi( x,\; y) = \phi_e + \phi_m$$
(5)$$= {\pi\over \lambda E} \int_l V( x,\; y,\; z) \, dz - {\pi\over \Phi_0} \int_l A_z( x,\; y,\; z) \, dz$$

where $l$ is the electron trajectory, $E$ is the total beam energy, $V$ and ${\bf A}$ are the electrostatic scalar potential and the magnetic vector potential, respectively, and $\Phi _0 = h / 2e$ is the flux quantum, in which $e$ is the electron charge and $h$ is Planck's constant. Encoded in the spatial dependence of the potentials $V$ and ${\bf A}$, and so the resulting phase contributions, is the geometry of the sample.

The electrostatic component can be expressed in terms of the mean inner potential, $V_0$:

(6)$$\phi_e = \pi {V_0 t\over \lambda E},\; $$

where $t$ is the sample thickness. The potential includes contributions from the atomic potential, and so is material specific, and also from electrostatics such as polarization and fixed charge. The factor $\pi / \lambda E$ is known as the interaction constant (equal to 7.29 mrad/V nm at 200 kV). Combining equations (3) and (6) shows how the projected potential can be obtained from the image displacement:

(7)$$t \nabla_{\perp} V_o + V_o \nabla_{\perp} t = -2 E{{\bf \Delta}{\bf r}_\perp\over \Delta f}.$$

For uniform potentials or thicknesses, the first or second term on the left in equation (7) is zero, respectively, and this equation may be used to map the sample thickness or the electrostatic field supported by the sample.

While analytical solutions for the magnetization component of the phase exist in simple geometries (Beleggia & Zhu, Reference Beleggia and Zhu2003), it is generally calculated numerically using the Fourier-space approach (Mansuripur, Reference Mansuripur1991; Beleggia et al., Reference Beleggia, Fazzini and Pozzi2003a, Reference Beleggia, Schofield, Zhu, Malac, Liu and Freeman2003b), as we do in this work. In most thin-film magnetic samples prepared for TEM characterization, the thickness is well controlled and only the magnetic component to the phase change gives rise to contrast. Furthermore, in most materials research, it is not the phase that is of primary interest, but the magnetization and induction. The induction component perpendicular to the electron beam, ${\bf B}_\perp$, is related to the phase gradient by (Chapman, Reference Chapman1989):

(8)$$\nabla_{\perp} \phi_m = - {\pi\over \Phi_0} \int_l ( {\bf B}_\perp \times {\bf n}) \, dz \approx - {\pi\over \Phi_0} {\bf B}_\perp \times {\bf n} t,\; $$

where ${\bf n}$ is a unit vector normal to the surface (pointing along $z$), and the approximation is for the case of uniform induction throughout the film and no stray field (equivalently, ${\bf B}_\perp$ can be thought of as the projected induction). Here and below, the cross product simply reflects the nature of the Lorentz force. Finally, combining equations (3) and (8) allows the induction to be calculated from the image displacement:

(9)$${\bf B}_\perp \times {\bf n} = \Phi_0 {2\over \lambda t} {{\bf \Delta}{\bf r}_\perp\over \Delta f}.$$

In certain situations, the magnetization distribution, ${\bf M}_\perp$, may be inferred from the induction. This case is most easily encountered in situations where there is little or no magnetization divergence, ${\nabla}_\perp \cdot {\bf M}_\perp$, such as in vortex domains, where the induction and magnetization are simply related by ${\bf M}_\perp \approx {\bf B}_\perp / \mu _0$. However, when there is nonzero magnetization divergence, then ${\bf H}$ fields will be generated (McVitie et al., Reference McVitie, White, Scott, Warin and Chapman2001) which contribute to the measured induction. This most often occurs at domain walls (Benitez et al., Reference Benitez, Hrabec, Mihai, Moore, Burnell, McGrouther, Marrows and McVitie2015; Paterson et al., Reference Paterson, Koyama, Shinozaki, Masaki, Goncalves, Shimamoto, Sogo, Nord, Kousaka, Kato, McVitie and Togawa2019), where data must be interpreted with care.

The essence of the physics described above is depicted in the simple case of two domains which are uniformly magnetized along the $y$-axis in the schematic of Figure 1. The diverging transmitted beam on opposite sides of the domain wall creates a reduction in intensity at the projected position of the domain wall. The intensity distribution within the projected domains is uniform because all electrons are equally deviated, and the image shift is mostly invisible, as depicted on the left side of the wall. Importantly, however, nonmagnetic contrast such as that produced by an absorbing surface feature marked by an $\ast$ in the figure is visibly displaced in the projected image. Much time and effort is put into making high quality samples where the structural contrast is minimized. However, this can be a very challenging process and some structural contrast always remains. This contrast is not ideal for conventional TEM (CTEM) or Fresnel imaging, but it does form a potential signal that may be used to assess the image distortions and thus the phase change imparted on the beam by the sample.

TEM-DPC

The theory outlined in the previous section has been widely known for decades (Fuller & Hale, Reference Fuller and Hale1960) and is valid when images are formed by the parallel illumination of the sample. Conventional Fresnel imaging relies on image intensity and is approximately proportional to the Laplacian of the phase (for weak-phase objects). From equation (3), it is clear that the image distortion analysis approach outlined here may be regarded as a parallel mode differential phase contrast (TEM-DPC) measurement, where the signal generating the contrast (the distortion) is directly proportional to the first derivative of the phase. The most commonly used technique that produces a similar signal is STEM-DPC, where reciprocal space shifts in the transmitted beam from a focused probe may be used to quantify $\nabla_{\perp} \phi $ (Chapman et al., Reference Chapman, Batson, Waddell and Ferrier1978). The technique described here uses localized real-space image shifts to achieve a similar measurement, as one might expect from the reciprocity of TEM and STEM imaging modes, but with additional constraints.

Compared with the in-focus STEM-DPC technique, TEM-DPC must be performed at some degree of defocus and it thus has the much more limited spatial resolution typical of Fresnel imaging (McVitie & Cushley, Reference McVitie and Cushley2006). Just as reference positions are needed in STEM-DPC to quantify the phase gradients (and a reference image is needed in TIE analysis), a reference image is required in the TEM-DPC method in order to quantify the image distortion field, ${\bf \Delta}{\bf r}_\perp$, through which the phase gradients may be calculated. Often, simplifying assumptions about the reference may be made in STEM-DPC, but this is not possible in TEM-DPC, where the reference must be spatially resolved.

Another difference between the TEM-DPC and STEM-DPC techniques regards the uniformity of the phase gradient sampled. This property has been shown to influence the analysis results in the latter method (Clark et al., Reference Clark, Brown, Paganin, Morgan, Matsumoto, Shibata, Petersen and Findlay2018). We show in a later section that it also affects the applicability and the results of the former method (see Fig. 4, discussed later). However, it is worth highlighting here that the relevant scale for each of these techniques is very different: in TEM-DPC (and also in the TIE method), all points of the sample contribute to the formation of the real-space image, whereas the real-space size of the probe at the sample can be sub-nanometer in STEM-DPC. In principle, a selected area aperture could be used in TEM-DPC to limit the region sampled to some degree but, as we will show, imaging the complete sample in parallel is generally not a major issue and the unmodified technique can still be a useful one.

For TEM-DPC, the reference image may be one at a different defocus level, an in-focus image, or one obtained at the same defocus but with only the structural phase component present. The key requirement that must be met in each case is that the same structural features are approximately similar in all images. This is most easily met in the last of these approaches, as the others may be affected by contrast modification and reversal from the transfer function of the main imaging lens.

Contrast reversal is not only important to consider for the phase signal that we wish to measure but also for the structural contrast component of the image used for the reference. The reference contrast tends to consists of higher-frequency components and these are more sensitive to changes in defocus. An example of this effect may be seen in Figure 2, which plots the phase contrast transfer function at two defocus values. The contrast almost completely reverses between the traces at spatial frequencies around 25 and 51 μm−1, while being of the same sign at frequencies of 38 and 55 $\mu$m$^{-1}$. There are two main ways of working within this constraint: either use features in the images within a size window that maintains their contrast with defocus or, as we do in this work, maintain focus and modify the polarization of the sample. Removal of nonstructural phase contrast may be achieved by uniformly polarizing the sample or by removing all in-plane polarization completely by, for example, changing the temperature or applying external magnetic or electric fields.

Fig. 2. Phase contrast transfer functions at the two different defocus levels indicated in the legend, showing modulation and reversal at higher spatial frequencies. The acceleration voltage was 200 kV, and the spherical aberration was taken as zero. No envelope functions were applied.

The TEM-DPC technique is in many ways complementary to the TIE method (Teague, Reference Teague1983). Both techniques are quantitative and subject to transfer function considerations, notably the defocus range. Whereas TIE uses the change in intensity in the linear regime as the beam propagates, TEM-DPC uses the change in displacement as the beam propagates. While the TEM-DPC technique is presented as independent of the TIE one here, features of TIE, such as the changes in intensity from a converging or diverging beam, can in principle be incorporated into the distortion method, which can potentially improve the extraction of the image displacements. One advantage of the TIE method is that it may be used to recover the information on the phase beyond the sample, thus giving it the ability to map stray fields. Stray fields may also be measured in the TEM-DPC method, but only when they exist over a suitable substrate material, or where the microscope is modified to incorporate a patterned film or mask (Suzuki et al., Reference Suzuki, Shinada, Yajima and Kuroda1997, Reference Suzuki, Shimakura, Itoh and Nakamura2000; Shimakura et al., Reference Shimakura, Nakamura, Itoh, Maruyama and Suzuki2003; Sasaki et al., Reference Sasaki, Mori, Tanaka, Murata, Morita, Shimoyama and Kuroda2010).

Critical to the use of the TEM-DPC technique is the ability to extract the deformation field, ${\bf \Delta}{\bf r}_\perp$, from images. We discuss various ways of doing this and present our approach in the next section.

Image Distortion Analysis

Rigid image registration is a standard method used in data processing and encompasses several types of transforms between coordinates with different constraints that preserve some aspect of geometry. In microscopy, translation transforms are most commonly used to align images with in-plane displacements between them, which often arise due to slow stage drift. Other transforms with additional degrees of freedom, such as similarity, affine or projective, may be used to correct for additional drifts or changes in view, but are less commonly needed in the parallel imaging modes. To map image distortion, nonrigid image registration based on local image contrast must be used. Here, there are generally no geometrical constraints on the transform, though they can be included. In order to be able to isolate the effects of deformation and drifts of the sample or image position, it is best to rigidly align all data before performing nonrigid registration. We forgo this initial step for the simulated data in this work.

Nonrigid image registration has a long history of application in a number of areas. In structural analysis, digital image correlation (DIC) was developed as a non-contact technique to extract mechanical strain fields in macroscale objects (Pan et al., Reference Pan, Qian, Xie and Asundi2009; Pan, Reference Pan2018) and, more recently, applied to higher spatial resolution imaging techniques such as scanning electron microscopy (Lagattu et al., Reference Lagattu, Bridier, Villechaise and Brillaud2006; Vanderesse et al., Reference Vanderesse, Lagacé, Bridier and Bocher2013). Medical imaging is another mature field where optimized nonrigid registration algorithms and libraries (Klein et al., Reference Klein, Staring, Murphy, Viergever and Pluim2010; Marstal et al., Reference Marstal, Berendsen, Staring and Klein2016) have been developed to enable correlative analysis of images from multiple sources, such as X-ray and magnetic resonance imaging. In the STEM community, perhaps the most widely known use of nonrigid alignment is in the processing of high spatially resolved images, where multiple images are acquired in quick succession in order to overcome extremely small but unavoidable environmental instabilities (Jones et al., Reference Jones, Yang, Pennycook, Marshall, Van Aert, Browning, Castell and Nellist2015). The local displacements in such image stacks are typically within a few pixels, where an iterative gradient descent approach based upon the accelerated “demons” method (Kroon & Slump, Reference Kroon and Slump2009) has been shown to work well.

The requirements for the TEM-DPC analysis method outlined in this work are arguably less severe than most others. This is due to use of a parallel imaging mode, and because the distortions from the phase profiles typically seen are smooth, especially for magnetic samples where flux lines must be continuous. Thus, we adopt a similar approach to that in Jones et al. (Reference Jones, Yang, Pennycook, Marshall, Van Aert, Browning, Castell and Nellist2015), implemented in the open-source Python fpd library (fpd devs, 2015). This allows us full control over the data processing and, in particular, the method used to regularize updates to the distortion field at each iteration of the algorithm. Our implementation allows for user-provided regularizations to be used. However, we have found that a simple Gaussian regularization kernel has the advantage of being far quicker to run than more computationally expensive filters, and it also allows direct control over the spatial resolution through the kernel standard deviation, $\sigma$. We use this approach for all data in this work.

Figure 3 shows the results of the method used on test data (top row), and the GUI developed to perform the alignment of data (bottom row). The original image used in the example is shown in Figure 3a, which serves as a reference in the distortion analysis. Figure 3b shows this image warped with a distortion field comprised by a superposition of a transverse displacement wave and a compression wave, both traveling along the $x$-axis. This distortion field was chosen arbitrarily for this demonstration and gives rise to distortion in all directions. We note that the form of nonrigid alignment used here can also align images between which exist small rotations (Jones et al., Reference Jones, Yang, Pennycook, Marshall, Van Aert, Browning, Castell and Nellist2015), which is a useful property for the analysis of experimental data. The distortion field recovered from the alignment procedure is shown as an arrow plot in the center of Figure 3e. The “unwarped” image in Figure 3c is formed by distorting the warped image with the displacement field extracted in the analysis. The difference between the unwarped and the original images is shown in Figure 3d, where the low contrast confirms that the distortion field has been extracted accurately.

Fig. 3. Example of nonrigid alignment using the AlignNR class of the fpd Python library (fpd devs, 2015) with the “gravel” test image from scikit-image (van der Walt et al., Reference van der Walt, Schönberger, Nunez-Iglesias, Boulogne, Warner, Yager, Gouillart and Yu2014). (ad) Input and output images: (a) the original image, (b) the warped image (see text for details), (c) the unwarped image after alignment, and (d) the difference between the unwarped and original images; all plotted on a common intensity range, with the range centered at zero in the difference image of (d). (e) GUI of the class allowing real-time control and feedback of the image alignment, built using the Matplotlib library (Hunter, Reference Hunter2007). The plots include the image (left), the distortion field (middle), and extracted metrics (right). From top to bottom, the metrics are the normalized root mean square error (nrmse), its change between iterations (on a log scale), and the scale of the vector field extracted (taken as the maximum value). The scroll bars allow the regularization strength (reg_sigma), the convergence rate (alpha), and the displayed image slice (Slice) to be varied.

To enhance sensitivity to the high-frequency structural contrast and suppress the influence of the low-frequency nonstructural phase contrast that is our ultimate aim to assess, we use a derivative of Gaussian filter on the images before performing the nonrigid alignment on the derivative magnitudes. To a first order, the width of the Gaussian is optimized by choosing a value similar to the edge-width of the nonstructural features, although larger values may be appropriate for larger image displacements. The use of filtering also has the advantage of increasing the convergence rate of the alignment procedure.

Figure 3e shows a screenshot of the GUI tool for image alignment at the end of the analysis. The plot on the left shows the derivative of the image being aligned (Fig. 3b), at the end of the alignment process. The arrow plot in the center shows the final distortion vector field extracted from the data, along with metrics for the alignment, while the plots on the right show the history of the metrics (see caption for details). All these data are updated in real-time as the alignment proceeds, allowing progress to be tracked, while the scroll bars on the bottom allow the regularization strength, convergence rate and, when multiple images are being aligned, the slice of dataset shown to be altered. This real-time control and feedback is critical to allow optimal alignment. When a suitable regularization parameter is not known, it is best to start with a large value and then gradually reduce it in order to improve the spatial resolution while monitoring the convergence and the noise level in the vector field plot. Further discussion of these points accompanied by data from experiment is provided in Part II of this work (Paterson et al., Reference Paterson, Macauley, McVitie and Togawa2021).

In the test data of Figure 3, the texture of the gravel was used to align the data. In TEM imaging, fine structural features almost always remain from the sample preparation or from contamination, even when great care has been taken during sample preparation. This contrast goes largely unnoticed in good samples but can be an issue for imaging in some cases. These otherwise problematic features can often provide the contrast necessary for the image alignment, either with or without appropriate image filtering. Where this structural contrast is not intrinsically present in a sample, such contrast may be obtained by placing the sample on a substrate with suitable contrast, or it may be added though deposition of extremely thin films of light materials such as carbon on the sample or substrate, or by ion-beam irradiation of the same. One particularly promising source of structural contrast for high spatial resolution studies are thin amorphous films, which give rise to weak-phase signals with white noise characteristics (Fan & Cowley, Reference Fan and Cowley1987).

The physical scale of the reference contrast sets the spatial resolution limit of the alignment (though not necessarily on a 1:1 basis), and thus one might choose to use very small features when one has control over them. If the reference image is obtained at a similar defocus as the distorted image, then it does not matter if the high-frequency components of the reference signal are inverted, but if the structural contrast changes due to the removal or addition of the nonstructural phase, then the alignment will be adversely affected.

For some alignment methods, high-frequency reference signals will pose no issue. However, the gradient descent method employed here can become trapped in local minima, so it is best that the contrast lengthscale is similar to that of the image displacements. When the main reference contrast is of a finer scale than the image displacements, then bandpass filtering the images or using a large $\sigma$ value can often allow for a successful first alignment. The procedure may then be iterated with successively less filtering (or filtering over a different band) or smaller $\sigma$ values in order to fully optimize the spatial resolution. Alternatively, other alignment procedures such as DIC-type approaches, B-spline basis representation (Arganda-Carreras et al., Reference Arganda-Carreras, Sorzano, Marabini, Carazo, Ortiz-de Solorzano and Kybic2006), or feature matching are likely to prove successful, with different compromises on the spatial resolution.

As in other analyses, in application of the TEM-DPC method, account must be taken of changes in magnification due to imaging at a defocus. This may be simply done by calibrating the Fresnel images using an in-focus image of the sample. At very large defocus or low magnifications, additional distortions such as pincushion and barrel distortion from the microscope optics may occur and the apparent magnification will no longer be uniform across the sample. If the image against which phase-induced distortions are assessed is recorded under the same conditions as the reference, then the influence of the lens distortion on the phase-induced distortion will be greatly reduced. However, if required, complete removal of distortions is possible by extracting them by imaging a sample with a known reference shape, recording multiple displaced overlapping images (Kaynig et al., Reference Kaynig, Fischer, Müller and Buhmann2010), or recording a defocus series where the changes between successive images are small, and then applying the cumulative inverse transform to the source images or the result of their analysis.

Comparison with TIE

In the transport of intensity approach to phase retrieval (Teague, Reference Teague1983), the TIE equation may be solved in the paraxial monochromatic wave approximation using the change in image intensity, ${I}$, at different defocus values, together with the in-focus image intensity, ${I_o}$ (Paganin & Nugent, Reference Paganin and Nugent1998):

(10)$$ \phi = - {2\pi\over \lambda} \nabla_\perp^{-2} \left\{\nabla_\perp \cdot \left[{1\over I_o} \nabla_\perp \nabla_\perp^{-2} {\partial I\over \partial z} \right]\right\},\; $$

where $\nabla_\perp^{-2}$ is the inverse Laplacian, and the subscript indicates the plane perpendicular to the beam. Since its early adoption in TEM (Bajt et al., Reference Bajt, Barty, Nugent, McCartney, Wall and Paganin2000; De Graef & Zhu, Reference De Graef and Zhu2001), the TIE technique has been regularly used in the study of magnetic samples.

To elucidate the relevant features, advantages and limitations of the TEM-DPC method and to compare it against the TIE one, we perform standard numerical image calculations, incorporating parallel illumination from a 200 kV source, defocus, and sample induced phase changes (DeGraef, Reference DeGraef2001) for two illustrative cases: a sinusoidal phase object and a simple model of a magnetic domain wall. We use the former to demonstrate linearity of the two methods and how intensity changes at large defocus limit the TEM-DPC method, while the latter is used to show how the dominant signal moves from intensity to deflection with increasing structural contrast.

Linearity

The main panel of Figure 4 shows the linearity curves when using a sinusoidal pure phase object to provide the nonstructural signal. While the phase object is synthetic, we note that this situation is realized in the chiral helimagnet CrNb3S6 (Togawa et al., Reference Togawa, Koyama, Takayanagi, Mori, Kousaka, Akimitsu, Nishihara, Inoue, Ovchinnikov and Kishine2012). To provide a structural signal for image alignment, white noise is added to the sample for the two TEM-DPC profiles, either as pure phase (with amplitude 1) variations, or pure amplitude (with phase 0) variations. As the measure of linearity, we use the ratio of the Fourier amplitude of the recovered phase component to that of the original nonstructural phase. The $x$-axis is the ratio of the defocus value to that of the first zero crossing of the CTF for the fixed frequency of the sinusoidal phase object. Linearity is indicated by a $y$-axis value of 1, and is lost in both methods long before contrast reversal ($x$-axis values greater than 1).

Fig. 4. Example linearity of the TIE and TEM-DPC methods, assessed using an amplitude 10 radian sinusoidal phase object of period 5.12 μm (shown in the inset) at different defocus values. The defocus is normalized to the first CTF zero crossing for the spatial frequency of the sample phase. The two TEM-DPC profiles have white noise added to the sample to allow for alignment, either as pure phase or pure amplitude variations, as indicated in the legend. In both cases, the noise is filtered to present texture of an appropriate scale for nonrigid alignment. Example Fresnel images for phase structural contrast are shown in the top row, with the equivalent points marked as iv of the main panel. The TIE data was evaluated via the gradient, $\partial I / \partial z$, calculated numerically with 0.001 m z-deltas, whereas the TEM-DPC data was obtained from alignment to images formed with only the structural phase.

The two TEM-DPC methods (dashed lines) have very similar linearity profiles; the source of the structural contrast is unimportant. The exact profiles of both methods varies with the simulation parameters and, in this particular case, the TEM-DPC methods lose linearity at ${\sim} 6 \times$ lower defocus than does the TIE method (solid line). This occurs because two factors adversely affect the image alignment. First, the second derivative of the sinusoidal phase modifies the structural texture beyond what can be aligned to; and second, significant intensity modulations (precisely that which is used for the TIE analysis) become large. These effects can be seen in the example Fresnel images with and without the sinusoidal phase that are shown in the top row of Figure 4 for different defocus values. The latter physics can, in principle, be incorporated into the alignment algorithm, potentially extending the range of linearity of the TEM-DPC method. However, as they stand, the results usefully demonstrate two general properties of the TEM-DPC method. The first is that it is more suited to weakly varying phase gradients than is the TIE method; serendipitously, this is exactly where small intrinsic noise from structural contrast is typically present in many samples. The second is somewhat related to the first and is that the TEM-DPC method is particularly well suited to samples where the structural contrast signal is significant compared with the nonstructural signal. We expand on this point in our second example, discussed next.

Signal

We now consider simulations of a cross-tie magnetic domain wall (DW) with different levels of structural contrast. The exact profiles used are not critical to the arguments made so, for simplicity, we use an analytical form of a cross-tie domain wall (Metlov, Reference Metlov2001):

(11)$${\bf m} = { -\sinh( y/\lambda_c) ,\; \sin( x/\lambda_c) ,\; \cos( x/\lambda_c) } / \cosh( y/\lambda_c) ,\; $$

where $\lambda_c$ is a constant proportional to the exchange length that controls the scaling. This model has smoother features than is typical of cross-tie DWs and was chosen as it resembles aspects of the experimental data reported in Part II (Paterson et al., Reference Paterson, Macauley, McVitie and Togawa2021), which has a combination of uniform, circulatory, and divergent magnetization; the scaling here was also chosen to be somewhat similar to the experimental data. Figure 5 summarizes the simulation results. To the left of the figure divide (Figs. 5a5f), the system is defined and the results of analysis with no structural contrast are given. The right-hand side (Figs. 5g5o) shows analysis results of the same system with structural contrast present. In all panels, the same types of data are presented with the same colors to ease comparisons.

Fig. 5. Cross-tie DW image simulations and analysis. (a,b) Reduced magnetization components of the DW and (c) the phase change determined from ${\bf m}$ through the Fourier-space approach (Beleggia et al., Reference Beleggia, Schofield, Zhu, Malac, Liu and Freeman2003b). (d) Fresnel image at Δf = 8 (the same defocus was used for all data shown). (e) Sine of the TIE recovered phase and (f) the error in the phase. (gi) Differential Fresnel images for different phase noise amplitudes, $N$ (0.1, 1, and 10% of the magnetic phase range), representing structural contrast. Each panel is formed by subtracting from each Fresnel image one made with the same structural phase amplitude but with no magnetic phase. The noise was white, filtered with a Gaussian kernel with a 1 pixel standard deviation (image size: 256 × 256 pixels). The Fresnel images for (i) are shown in (j) with structural phase only and (k) with structural plus magnetic phase. (l) Distortion vector field extracted from (j) and (k). (m) Sine of the TEM-DPC extracted phase and (n) the error in the phase. (o) The error in the TIE extracted phase for the data in (i). Where possible, the same color map scale (color and magnitudes) has been used across the same type of data.

The phase change produced by the DW magnetization (Figs. 5a and 5b) is shown in Figure 5c, and is periodic along the $x$-axis. Throughout the figure, we plot the sine of the phase to highlight its contours. The Fresnel image obtained at $\Delta f =8$ mm (Fig. 5d) shows bright regions at the left and right edges where a vortex is located, is saddle shaped in the central region where there is an anti-vortex, and has an intensity variation of 15% of the in-focus image intensity (denoted as $\Delta I $ in the figure annotations). The phase recovered from this data using the TIE method (Fig. 5e) is very similar to the true phase (Fig. 5c), with small errors (${\sim}0.7$ radians peak) at the vortices (Fig. 5f), reflecting that the defocus is just outside the linear regime for the sample (i.e., most but not all of the phase is recovered). The root mean square error (RMSE) is 0.37% of the true phase range.

For the remainder of the data in Figure 5, we add a white noise phase signal to represent structural contrast, after application of a Gaussian filter to reduce very high-frequency components which are unrealistic (the effect of this is somewhat similar to that of an envelope function of the CTF). The noise level is indicated by $N$, the amplitude as a percentage of the magnetic phase range. The top row (Figs. 5g5i) shows the difference between Fresnel images with the magnetic plus structural phase and the same with only identical structural phase, all at the same defocus, but with different structural phase amplitudes. The displayed intensity range in each of these panels is matched to the data. The first panel (Fig. 5g) has a structural phase amplitude of 0.1% of the magnetic phase range and appears generally similar to the Fresnel image with only magnetic contrast (Fig. 5d), as one would expect. The structural phase amplitude increases tenfold in each following panel, reaching 10% of the DW phase range in Figure 5i, where the structural contrast completely dominates the magnetism induced image contrast. This occurs while the structural phase amplitude is only a small percentage of the magnetic phase range because it is the second-order phase gradients that determine the intensity variations and these are much higher for high-frequency signals.

The two Fresnel images that form the difference image with the highest structural contrast (Fig. 5i) are shown in Figures 5j and 5k, and although none of the images show any obvious sign of magnetic contrast from the intensity contrast, there is a magnetic signal in the structural contrast. The displacement field extracted from this data (Fig. 5l) shows a very clear pattern from the magnetic signal. The maximum magnitude of the vector field, Δr, is small (⪅2.9 pixels), and so it would be very easy to dismiss such a sample as nonmagnetic by visual examination of the Fresnel images alone. The locations of the vortex and anti-vortex can be readily identified by the vector field magnitude reducing to zero, and differentiated by the orientation of the arrows. The locations of the vortex and anti-vortex cores are also visible in Figure 5i as regions with reduced contrast. This occurs because there is no image displacement at the core centers, and thus the noise signal increasingly cancels toward those locations.

The phase change from the magnetic induction (Fig. 5m) obtained from the extracted displacements using equation (3) also matches the true phase (Fig. 5c) very well. The error in the phase (Fig. 5n) is somewhat less peaked than the TIE error (Fig. 5f), with a slight increase at the top and bottom edges due to missing overlap of between the images as a result of the image distortion. This missing region does not appear as significant in the TIE analysis only because the phase varies relatively slowly at those locations, and so the intensities at the different locations are similar; this will not be the case elsewhere, such as at sample edges. Including these edges, the RMSE of the extracted phase is 0.35%, slightly smaller than that of the TIE method (excluding the edges gives a value of 0.28%). The error in the TIE extracted phase from the same images (Fig. 5o) has a similar overall shape to that from the images with no structural contrast (Fig. 5f), as one might expect. The additional speckle signal is from the structural contrast and this can be partially removed by filtering the source images with the same Gaussian filter ($\sigma = 8$ pixels) used in the TEM-DPC alignment regularization, resulting in an RMSE of 0.56%.

Beyond demonstrating that the TEM-DPC technique works well in analyzing data with very large structural contrast, the simulations above also make clear that the greatest signal in the data moves from intensity to deflection at higher levels of structural contrast. For the 10% structural phase amplitude data examined above, the intensity range in the Fresnel images (Figs. 5j and 5k) is approximately 40× higher than that in the Fresnel image obtained from the purely magnetic sample (Fig. 5d), corresponding to an approximately sixfold increase in peak intensity. In this situation, high dynamic range detectors and long exposures may be needed in experiment to avoid small electron counts causing reduction in the signal-to-noise ratio of the TIE signal. However, even with high dynamic range imaging, the TEM-DPC method may be much more efficient and practical to use for this type of data.

Discussion

The exact conditions under which use of the TEM-DPC method will produce more accurate results than the TIE technique depends on several factors: (1) the amplitude and spectral components of the structural contrast; (2) the amplitude and spectral components of the nonstructural (magnetic or otherwise) contrast; (3) the magnitude of the defocus used; and, as always, (4) the quality of the optical alignment, including in particular other aberrations and changes in illumination conditions that come with defocus. The examples above illustrate aspects of points (1)–(3). Point (4) has a greater bearing on practical matters.

Even in well-aligned microscopes, it is inevitable that there will be small image shifts or sample position changes between successive images at different defocus levels which will require the images to be rigidly aligned. Importantly, there may also be changes in magnification, in illumination brightness, centering or uniformity, and in optical distortions, particularly at larger defocus values, potentially giving rise to systematic errors. These will all adversely affect the TIE method, but since the TEM-DPC method uses positional rather than intensity changes, and in the version of the method employed here, uses as a reference an image obtained at the same defocus, it is largely unaffected by these factors [the experimental data of Part II (Paterson et al., Reference Paterson, Macauley, McVitie and Togawa2021) provides an example of this]. Of course, a method to alter the polarization of the sample is required for this version of the TEM-DPC method, but this is often already an integral part of many in situ experiments.

Conclusion

We have outlined a methodology for quantitative phase recovery from Fresnel imaging in a standard TEM that has origins dating back half a century, but that has since gone largely unused in electron microscopy. The technique, which we refer to as TEM-DPC, uses image distortion rather than intensity changes and can be applied to any source of phase contrast in an unmodified TEM, provided a reference image with suitable contrast and of a known state can be obtained.

Through numerical simulations we have demonstrated the main features of the technique, and discussed some of the practical advantages it has over the commonly used TIE method. In particular, the TEM-DPC method can be an invaluable tool to analyze samples with relatively strong structural contrast compared with phase contrast. This applies both to samples with high levels of structural contrast, where there may be signal-to-noise ratio issues in the TIE method, and to samples with low phase contrast, where ever higher levels of microscope alignment and stability are required to avoid systematic errors affecting that method. Under which exact circumstances, each technique will provide more benefit than the other will depend on specific details of the sample and the experiment. Where one method does not have an obvious advantage over the other in a particular application, then a hybrid approach, where aspects of the two models are combined in order to maximize use of all information contained in the data, may prove beneficial. However, in general, compared with the TIE method, the TEM-DPC method is intrinsically less susceptible to common systematic errors of magnification, distortion, rotation, and illumination changes that are often encountered when changing focus.

We expect the TEM-DPC method to be of potential use in the study of a broad range of samples, especially as in situ experiments are becoming more common due to the additional insight they yield. Such experiments often produce suitable reference images, allowing the technique presented to be applied to the same dataset as would be collected for TIE analysis, with little or no requirement for additional measurements. We demonstrate this and other aspects of the technique using experimental data in Part II of this work, which also includes details of the magnetic phase transition in K2CuF4 (Paterson et al., Reference Paterson, Macauley, McVitie and Togawa2021).

Original data files for the work reported herein are available at https://doi.org/10.5525/gla.researchdata.1172. All substantive simulation, analysis, and visualization code is freely available in the open-source fpd Python library (fpd devs, 2015).

Acknowledgments

We acknowledge support from the Engineering and Physical Sciences Research Council (EPSRC) of the United Kingdom (Grant Number EP/M024423/1); Grants-in-Aid for Scientific Research on Innovative Areas “Quantum Liquid Crystals” (KAKENHI Grant No. JP19H05826) from JSPS of Japan; Grants-in-Aid for Scientific Research (KAKENHI Grant Nos. 17H02767 and 17H02923) from JSPS of Japan; and the Carnegie Trust for the Universities of Scotland.

Footnotes

Current addresses: Laboratory for Mesoscopic Systems, Department of Materials, ETH Zurich, 8093 Zurich, Switzerland; Laboratory for Multiscale Materials Experiments, Paul Scherrer Institute, 5232 Villigen, Switzerland

References

Aharonov, Y & Bohm, D (1959). Significance of electromagnetic potentials in the quantum theory. Phys Rev 115, 485491. doi:10.1103/PhysRev.115.485CrossRefGoogle Scholar
Arganda-Carreras, I, Sorzano, COS, Marabini, R, Carazo, JM, Ortiz-de Solorzano, C & Kybic, J (2006). Consistent and elastic registration of histological sections using vector-spline regularization. In Lecture Notes in Computer Science, vol. 4241, Beichel RR & Sonka M (Eds.), pp. 85–95. Springer Berlin/Heidelberg. doi:10.1007/11889762_8CrossRefGoogle Scholar
Bajt, S, Barty, A, Nugent, KA, McCartney, M, Wall, M & Paganin, D (2000). Quantitative phase-sensitive imaging in a transmission electron microscope. Ultramicroscopy 83, 6773. doi:10.1016/S0304-3991(99)00174-6CrossRefGoogle Scholar
Beleggia, M, Fazzini, P & Pozzi, G (2003 a). A Fourier approach to fields and electron optical phase-shifts calculations. Ultramicroscopy 96, 93103. doi:10.1016/S0304-3991(02)00402-3CrossRefGoogle ScholarPubMed
Beleggia, M, Schofield, MA, Zhu, Y, Malac, M, Liu, Z & Freeman, M (2003 b). Quantitative study of magnetic field distribution by electron holography and micromagnetic simulations. Appl Phys Lett 83, 14351437. doi:10.1063/1.1603355CrossRefGoogle Scholar
Beleggia, M & Zhu, Y (2003). Electron-optical phase shift of magnetic nanoparticles I. Basic concepts. Philos Mag 83, 10451057. doi:10.1080/0141861031000066166CrossRefGoogle Scholar
Beleggia, M, Zhu, Y, Tandon, S & Graef, MD (2003 c). Electron-optical phase shift of magnetic nanoparticles II. Polyhedral particles. Philos Mag 83, 11431161. doi:10.1080/0141861031000066175CrossRefGoogle Scholar
Benitez, MJ, Hrabec, A, Mihai, AP, Moore, TA, Burnell, G, McGrouther, D, Marrows, CH & McVitie, S (2015). Magnetic microscopy and topological stability of homochiral Néel domain walls in a Pt/Co/AlOx trilayer. Nat Commun 6, 8957. doi:10.1038/ncomms9957CrossRefGoogle Scholar
Chapman, JN (1984). The investigation of magnetic domain structures in thin foils by electron microscopy. J Phys D Appl Phys 17, 623. doi:10.1088/0022-3727/17/4/003CrossRefGoogle Scholar
Chapman, JN (1989). High resolution imaging of magnetic structures in the transmission electron microscope. Mater Sci Eng B 3, 355358. doi:10.1016/0921-5107(89)90140-2CrossRefGoogle Scholar
Chapman, JN, Batson, PE, Waddell, EM & Ferrier, RP (1978). The direct determination of magnetic domain wall profiles by differential phase contrast electron microscopy. Ultramicroscopy 3, 203214. doi:10.1016/S0304-3991(78)80027-8CrossRefGoogle ScholarPubMed
Chapman, JN, McFadyen, IR & McVitie, S (1990). Modified differential phase contrast Lorentz microscopy for improved imaging of magnetic structures. IEEE Trans Magn 26, 15061511. doi:10.1109/20.104427CrossRefGoogle Scholar
Clark, L, Brown, HG, Paganin, DM, Morgan, MJ, Matsumoto, T, Shibata, N, Petersen, TC & Findlay, SD (2018). Probing the limits of the rigid-intensity-shift model in differential-phase-contrast scanning transmission electron microscopy. Phys Rev A 97, 043843. doi:10.1103/PhysRevA.97.043843CrossRefGoogle Scholar
Cohen, MS (1967). Wave-optical aspects of Lorentz microscopy. J Appl Phys 38, 49664976. doi:10.1063/1.1709262CrossRefGoogle Scholar
DeGraef, M (2001). Lorentz microscopy: Theoretical basis and image simulations. In Magnetic Imaging and Its Applications to Materials, Experimental Methods in the Physical Sciences, vol. 36, DeGraef M & Zhu Y (Eds.), pp. 27–67. Academic Press. doi:10.1016/S1079-4042(01)80036-9CrossRefGoogle Scholar
De Graef, M & Zhu, Y (2001). Quantitative noninterferometric Lorentz microscopy. J Appl Phys 89, 71777179. doi:10.1063/1.1355337CrossRefGoogle Scholar
Dekkers, NH & de Lang, H (1974). Differential phase contrast in a STEM. Optik 41, 452456.Google Scholar
Fan, GY & Cowley, JM (1987). The simulation of high resolution images of amorphous thin films. Ultramicroscopy 21, 125130. doi:10.1016/0304-3991(87)90079-9CrossRefGoogle Scholar
fpd devs (2015). FPD: Fast pixelated detector data storage, analysis and visualisation. Available at https://gitlab.com/fpdpy/fpd (retrieved March 18, 2021).Google Scholar
Fukuhara, A, Shinagawa, K, Tonomura, A & Fujiwara, H (1983). Electron holography and magnetic specimens. Phys Rev B 27, 18391843. doi:10.1103/PhysRevB.27.1839CrossRefGoogle Scholar
Fuller, HW & Hale, ME (1960). Determination of magnetization distribution in thin films using electron microscopy. J Appl Phys 31, 238248. doi:10.1063/1.1735552CrossRefGoogle Scholar
Gabor, D (1949). Microscopy by reconstructed wave-fronts. Proc R Soc Lond A 197, 454487. doi:10.1098/rspa.1949.0075Google Scholar
Goringe, MJ & Jakubovics, JP (1967). Electron diffraction from periodic magnetic fields. Philos Mag 15, 393403. doi:10.1080/14786436708227710CrossRefGoogle Scholar
Hirakawa, K (1982). Kosterlitz–Thouless transition in two-dimensional planar ferromagnet K2CuF4. J Appl Phys 53, 18931898. doi:10.1063/1.330706CrossRefGoogle Scholar
Hunter, JD (2007). Matplotlib: A 2D graphics environment. Comput Sci Eng 9, 9095. doi:10.1109/MCSE.2007.55CrossRefGoogle Scholar
Jones, L, Yang, H, Pennycook, TJ, Marshall, MSJ, Van Aert, S, Browning, ND, Castell, MR & Nellist, PD (2015). Smart align—A new tool for robust non-rigid registration of scanning microscope data. Adv Struct Chem Imaging 1, 8. doi:10.1186/s40679-015-0008-4CrossRefGoogle Scholar
Kaynig, V, Fischer, B, Müller, E & Buhmann, JM (2010). Fully automatic stitching and distortion correction of transmission electron microscope images. J Struct Biol 171, 163173. doi:10.1016/j.jsb.2010.04.012CrossRefGoogle ScholarPubMed
Klein, S, Staring, M, Murphy, K, Viergever, MA & Pluim, JPW (2010). elastix: A toolbox for intensity-based medical image registration. IEEE Trans Med Imaging 29, 196205. doi:10.1109/TMI.2009.2035616CrossRefGoogle ScholarPubMed
Kroon, D & Slump, CH (2009). MRI modalitiy transformation in demon registration. In 2009 IEEE International Symposium on Biomedical Imaging: From Nano to Macro, pp. 963–966. doi:10.1109/ISBI.2009.5193214CrossRefGoogle Scholar
Lagattu, F, Bridier, F, Villechaise, P & Brillaud, J (2006). In-plane strain measurements on a microscopic scale by coupling digital image correlation and an in situ SEM technique. Mater Charact 56, 1018. doi:10.1016/j.matchar.2005.08.004CrossRefGoogle Scholar
Mansuripur, M (1991). Computation of electron diffraction patterns in Lorentz electron microscopy of thin magnetic films. J Appl Phys 69, 24552464. doi:10.1063/1.348682CrossRefGoogle Scholar
Marstal, K, Berendsen, F, Staring, M & Klein, S (2016). SimpleElastix: A user-friendly, multi-lingual library for medical image registration. In 2016 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pp. 574–582. doi:10.1109/CVPRW.2016.78CrossRefGoogle Scholar
Marton, L (1948). Electron optical “Schlieren” effect. J Appl Phys 19, 687. doi:10.1063/1.1698192CrossRefGoogle Scholar
McVitie, S & Cushley, M (2006). Quantitative Fresnel Lorentz microscopy and the transport of intensity equation. Ultramicroscopy 106, 423431. doi:10.1016/j.ultramic.2005.12.001CrossRefGoogle ScholarPubMed
McVitie, S, White, GS, Scott, J, Warin, P & Chapman, JN (2001). Quantitative imaging of magnetic domain walls in thin films using Lorentz and magnetic force microscopies. J Appl Phys 90, 52205227. doi:10.1063/1.1412829CrossRefGoogle Scholar
Metlov, KL (2001). Simple analytical description for the cross-tie domain wall structure. Appl Phys Lett 79, 26092611. doi:10.1063/1.1409946CrossRefGoogle Scholar
Nakajima, H, Kotani, A, Harada, K, Ishii, Y & Mori, S (2016). Foucault imaging and small-angle electron diffraction in controlled external magnetic fields. Microscopy 65, 473478. doi:10.1093/jmicro/dfw033CrossRefGoogle ScholarPubMed
Paganin, D & Nugent, KA (1998). Noninterferometric phase imaging with partially coherent light. Phys Rev Lett 80, 25862589. doi:10.1103/PhysRevLett.80.2586CrossRefGoogle Scholar
Pan, B (2018). Digital image correlation for surface deformation measurement: Historical developments, recent advances and future goals. Meas Sci Technol 29, 082001. doi:10.1088/1361-6501/aac55bCrossRefGoogle Scholar
Pan, B, Qian, K, Xie, H & Asundi, A (2009). Two-dimensional digital image correlation for in-plane displacement and strain measurement: A review. Meas Sci Technol 20, 062001. doi:10.1088/0957-0233/20/6/062001CrossRefGoogle Scholar
Paterson, GW, Koyama, T, Shinozaki, M, Masaki, Y, Goncalves, FJT, Shimamoto, Y, Sogo, T, Nord, M, Kousaka, Y, Kato, Y, McVitie, S & Togawa, Y (2019). Order and disorder in the magnetization of the chiral crystal CrNb3S6. Phys Rev B 99, 224429. doi:10.1103/PhysRevB.99.224429CrossRefGoogle Scholar
Paterson, GW, Macauley, GM, McVitie, S & Togawa, Y (2021). Parallel mode differential phase contrast in transmission electron microscopy, II: K2CuF4 phase transition. Microsc Microanal. doi:10.1017/S1431927621012575Google Scholar
Sasaki, K, Mori, H, Tanaka, N, Murata, H, Morita, C, Shimoyama, H & Kuroda, K (2010). Measurement of electric field distribution using a conventional transmission electron microscope. J Electron Microsc 59, S89S94. doi:10.1093/jmicro/dfq034CrossRefGoogle ScholarPubMed
Shimakura, T, Nakamura, K, Itoh, K, Maruyama, Y & Suzuki, H (2003). Evaluation of magnetic head field using three-dimensional magnetic field measurement system. J Magn Soc Jpn 27, 245248. doi:10.3379/jmsjmag.27.245CrossRefGoogle Scholar
Suzuki, H, Shimakura, T, Itoh, K & Nakamura, K (2000). Magnetic head field over the air-bearing surface as visualized by the projection of a patterned electron beam. IEEE Trans Magn 36, 36143617. doi:10.1109/20.908918CrossRefGoogle Scholar
Suzuki, H, Shinada, H, Yajima, Y & Kuroda, K (1997). Observation of magnetic head fields using distorted transmission electron microscopy images. Jpn J Appl Phys 36, 45214524. doi:10.1143/jjap.36.4521CrossRefGoogle Scholar
Teague, MR (1983). Deterministic phase retrieval: A Green's function solution. J Opt Soc Am 73, 14341441. doi:10.1364/JOSA.73.001434CrossRefGoogle Scholar
Togawa, Y (2013). Small-angle electron scattering of magnetic fine structures. Microscopy 62, S75S86. doi:10.1093/jmicro/dft007CrossRefGoogle ScholarPubMed
Togawa, Y, Akashi, T, Kasai, H, Paterson, GW, McVitie, S, Kousak, Y, Shinada, H, Kishine, JI & Akimitsu, J (2021). Formations of narrow stripes and vortex–antivortex pairs in a quasi-two-dimensional ferromagnet K4CuF4. J Phys Soc Jpn 90, 014702. doi:10.7566/JPSJ.90.014702CrossRefGoogle Scholar
Togawa, Y, Koyama, T, Takayanagi, K, Mori, S, Kousaka, Y, Akimitsu, J, Nishihara, S, Inoue, K, Ovchinnikov, AS & Kishine, J (2012). Chiral magnetic soliton lattice on a chiral helimagnet. Phys Rev Lett 108, 107202. doi:10.1103/PhysRevLett.108.107202CrossRefGoogle ScholarPubMed
Vanderesse, N, Lagacé, M, Bridier, F & Bocher, P (2013). An open source software for the measurement of deformation fields by means of digital image correlation. Microsc Microanal 19, 820821. doi:10.1017/S1431927613006090CrossRefGoogle Scholar
van der Walt, S, Schönberger, JL, Nunez-Iglesias, J, Boulogne, F, Warner, JD, Yager, N, Gouillart, E, Yu, T & the scikit-image contributors (2014). scikit-image: Image processing in Python. PeerJ 2, e453. doi:10.7717/peerj.453CrossRefGoogle ScholarPubMed
Wade, R (1976). The measurement of magnetic microfields. IEEE Trans Magn 12, 3439. doi:10.1109/TMAG.1976.1058991CrossRefGoogle Scholar
Zweck, J (2016). Imaging of magnetic and electric fields by electron microscopy. J Phys Condens Matter 28, 403001. doi:10.1088/0953-8984/28/40/403001CrossRefGoogle ScholarPubMed
Figure 0

Fig. 1. One-dimensional schematic of Fresnel contrast from imaging with electrons ($e^{-}$) a sample of uniform thickness, $t$, and with two regions of antiparallel magnetization giving rise to induction $\pm B_y$ along the $y$-axis. Classically, the electrons are deflected by an angle $\beta _x$ due to the Lorentz force as indicated by the dark blue arrows, creating a reduction in intensity at the projected position of the wall at a defocus $\Delta f$ (underfocus is depicted, corresponding to weakened lens excitation) due to the diverging beam. The apparent position of a localized absorbing area is displaced in the image plane by a distance $\Delta x$ due to the angle through which the beam is deviated (see equation (9)). These positions are marked by $\ast$'s.

Figure 1

Fig. 2. Phase contrast transfer functions at the two different defocus levels indicated in the legend, showing modulation and reversal at higher spatial frequencies. The acceleration voltage was 200 kV, and the spherical aberration was taken as zero. No envelope functions were applied.

Figure 2

Fig. 3. Example of nonrigid alignment using the AlignNR class of the fpd Python library (fpd devs, 2015) with the “gravel” test image from scikit-image (van der Walt et al., 2014). (ad) Input and output images: (a) the original image, (b) the warped image (see text for details), (c) the unwarped image after alignment, and (d) the difference between the unwarped and original images; all plotted on a common intensity range, with the range centered at zero in the difference image of (d). (e) GUI of the class allowing real-time control and feedback of the image alignment, built using the Matplotlib library (Hunter, 2007). The plots include the image (left), the distortion field (middle), and extracted metrics (right). From top to bottom, the metrics are the normalized root mean square error (nrmse), its change between iterations (on a log scale), and the scale of the vector field extracted (taken as the maximum value). The scroll bars allow the regularization strength (reg_sigma), the convergence rate (alpha), and the displayed image slice (Slice) to be varied.

Figure 3

Fig. 4. Example linearity of the TIE and TEM-DPC methods, assessed using an amplitude 10 radian sinusoidal phase object of period 5.12 μm (shown in the inset) at different defocus values. The defocus is normalized to the first CTF zero crossing for the spatial frequency of the sample phase. The two TEM-DPC profiles have white noise added to the sample to allow for alignment, either as pure phase or pure amplitude variations, as indicated in the legend. In both cases, the noise is filtered to present texture of an appropriate scale for nonrigid alignment. Example Fresnel images for phase structural contrast are shown in the top row, with the equivalent points marked as iv of the main panel. The TIE data was evaluated via the gradient, $\partial I / \partial z$, calculated numerically with 0.001 m z-deltas, whereas the TEM-DPC data was obtained from alignment to images formed with only the structural phase.

Figure 4

Fig. 5. Cross-tie DW image simulations and analysis. (a,b) Reduced magnetization components of the DW and (c) the phase change determined from ${\bf m}$ through the Fourier-space approach (Beleggia et al., 2003b). (d) Fresnel image at Δf = 8 (the same defocus was used for all data shown). (e) Sine of the TIE recovered phase and (f) the error in the phase. (gi) Differential Fresnel images for different phase noise amplitudes, $N$ (0.1, 1, and 10% of the magnetic phase range), representing structural contrast. Each panel is formed by subtracting from each Fresnel image one made with the same structural phase amplitude but with no magnetic phase. The noise was white, filtered with a Gaussian kernel with a 1 pixel standard deviation (image size: 256 × 256 pixels). The Fresnel images for (i) are shown in (j) with structural phase only and (k) with structural plus magnetic phase. (l) Distortion vector field extracted from (j) and (k). (m) Sine of the TEM-DPC extracted phase and (n) the error in the phase. (o) The error in the TIE extracted phase for the data in (i). Where possible, the same color map scale (color and magnitudes) has been used across the same type of data.