기본 정보
- 저자
- DOI
- 10.34657/8066
- 저널
- TIB Repositorium
- 발행년도
- 2022
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.34657/8066
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W6908660738
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 55,456자
본문 펼치기
## OPEN
received: 01 February 2016
accepted: 12 April 2016
Published: 06 May 2016
# Feature Adaptive Sampling for Scanning Electron Microscopy
Tim Dahmen <sup>1</sup> , Michael Engstler <sup>2</sup> , Christoph Pauly <sup>2</sup> , Patrick Trampert <sup>1,2</sup> , Niels de Jonge <sup>2,3</sup> ,
Frank Mücklich <sup>2</sup> & Philipp Slusallek <sup>1,2</sup>
A new method for the image acquisition in scanning electron microscopy (SEM) was introduced.
The method used adaptively increased pixel-dwell times to improve the signal-to-noise ratio (SNR)
in areas of high detail. In areas of low detail, the electron dose was reduced on a per pixel basis, and
a-posteriori image processing techniques were applied to remove the resulting noise. The technique
was realized by scanning the sample twice. The first, quick scan used small pixel-dwell times to generate
a first, noisy image using a low electron dose. This image was analyzed automatically, and a software
algorithm generated a sparse pattern of regions of the image that require additional sampling. A second
scan generated a sparse image of only these regions, but using a highly increased electron dose. By
applying a selective low-pass filter and combining both datasets, a single image was generated. The
resulting image exhibited a factor of ≈3 better SNR than an image acquired with uniform sampling on
a Cartesian grid and the same total acquisition time. This result implies that the required electron dose
(or acquisition time) for the adaptive scanning method is a factor of ten lower than for uniform scanning.
SEM is a widely used microscopy technique with applications in fields such as material science, life science,
and semiconductor research. The specimen is scanned by a focused electron beam, and back scattered electrons or secondary electrons are detected with the respective detectors. SEM techniques can be extended to
three-dimensional (3D) imaging using several approaches <sup>1</sup> . In focused ion beam scanning electron microscopy
(FIB/SEM), a specimen is imaged by sequentially removing thin layers of material using a focused ion beam.
Each resulting surface is then scanned using a focused electron beam such that 3D information is acquired
layer-by-layer <sup>2–5</sup> . A similar technique is STEM in which the image is acquired via scanning the electron beam
but here transmitted electrons are used for contrast. In STEM tomography, the specimen is imaged at different
tilt angles of the specimen. A number of recording schemes has been proposed including single axis tilt series <sup>6</sup>,
double axis tilt series <sup>7,8</sup>, and conical tilt series <sup>9,10</sup> . Alternatively, 3D information is obtained via recording of a focal
series <sup>11,12</sup> . Recently, the combined tilt- and focal series has been introduced as an additional option <sup>13,14</sup> . Common
to all these recording schemes is the need to acquire a set of images that are used to reconstruct a 3D dataset.
Due to the large number of pixels in a dataset, the pixel-dwell time, which is the amount of time the electron
beam illuminates a single pixel, is a crucial parameter for the aforementioned techniques. The pixel-dwell time
required for a sufficiently high SNR leads to large data acquisition times, in particular for 3D techniques. For
modern microscopy equipment operating with high brightness field emission electron sources, it is typically
impossible to decrease the pixel-dwell time, since the probe current in the same spot size cannot be increased on
account of the limited brightness of the electron source. As an example, consider the acquisition of a 3D dataset
using FIB/SEM serial sectioning. The size of FIB/SEM tomography datasets is typically in the range of 1024 <sup>2</sup> × 256
voxels <sup>15</sup> . With a typical dwell time of 30 _μs_, the total time for the image acquisition is in the range of 2 hours. If
the data from FIB/SEM tomography is extended to the range of 2048 <sup>2</sup> × 512 or even 4096 <sup>2</sup> × 512 voxels, the total
image acquisition time at 30 _μs_ dwell time would be in the order of 18 hours to 3 days.
Another critical factor for most samples under investigation is radiation damage <sup>16,17</sup> . The effect is the strongest
in organic samples such as polymers or biological specimen <sup>18,19</sup> . Beam induced damage in biological specimen
expresses itself primarily in the form of sample shrinkage perpendicular to the sample plane <sup>20</sup> and damage to the
structure of the sample.
There are several standard strategies to reduce image acquisition time and/or electron dose with characteristic
drawbacks. The electron microscope can be adjusted for a higher probe current resulting in a higher electron
dose per time unit and, thus, a shorter acquisition time, but the spatial resolution will be reduced in most cases.
1German Research Center for Artificial Intelligence GmbH (DFKI), 66123 Saarbrücken, Germany. 2Saarland
University, 66123 Saarbrücken, Germany. <sup>3</sup> INM-Leibniz Institute for New Materials, 66123 Saarbrücken, Germany.
[Correspondence and requests for materials should be addressed to T.D. (email: Tim.Dahmen@dfki.de)](mailto:Tim.Dahmen@dfki.de)
Reducing the dwell time at a given probe current will lead to a lower SNR, and thus limits the information content
of the image. Posterior filtering of the image, e.g. mean filtering, is frequently used to improve image quality after
image acquisition, but the fine structures in the image are blurred and image sharpness is lost.
In order to circumvent the drawbacks of low SNR at high scan rates, more advanced scanning strategies
have been developed. Oho _et al._ <sup>21</sup> proposed a method called “aquincuncial”, i.e. non-Cartesian scanning in
under-sampled conditions. During conversion from a non-Cartesian grid to a Cartesian grid, the number of
pixels doubles with only a small reduction in image quality, at least in images with structures aligned in x- and
y-direction. Timischl <sup>22</sup> proposed a dynamic scanning method based on adjusting the scanning speed to the
amount of detected electrons. In bright appearing sample areas, more electrons are detected, and the scanning
speed can be increased. In this study, we propose to extend this idea by using adaptive scan rates, and use a criterion for the scan rate based not on the value of an individual pixel, but on an analysis of the entire image.
The algorithmic idea of image based adaptive sampling originates from the field of realistic image synthesis,
for example in movie production. Algorithms in this field are typically based on the ray tracing <sup>23,24</sup> method.
Hereby, a realistic, two-dimensional image is synthetically generated from a 3D scene by computing the color
value of each pixel. This is achieved by creating a ray starting from the pixel, and computationally simulate light
propagation along the ray. As each pixel represents a small area, not a point, on the camera plane, one position
inside the pixel is selected as the starting point for the ray, called the sample position. Typically, several samples
are evaluated and averaged to achieve better image quality (“anti-aliasing”). However, the computational cost
of the lighting simulation per ray is high in general, so it is desirable to reach the best possible result with as
little samples as possible. Various adaptive sampling schemes have been proposed and will be described in the
following.
In the method called adaptive super sampling <sup>23</sup>, rays are cast through the corners of a pixel. If the four values
do not differ from each other by too much, their average is used for the pixel. If not, more rays are cast-from the
center of the pixel and the centers of the pixel edges. This subdivision continues as needed until some preset limit
on the number of subdivisions is reached. An alternative approach is adaptive super sampling using Poisson-disk
sampling <sup>25</sup>, whereby samples are distributed randomly and some regions of the image may require extra sampling, to avoid aliasing. Similarly, a method proposed by Painter and Sloan <sup>26</sup> also uses adaptive super sampling
based on the image space, but their procedure starts from above the pixel level.
An incremental approach to adaptive sampling is taken in <sup>27</sup>, where a sequence of images is generated with
incrementally improved quality. The first images are generated by casting a limited set of rays (less than one per
pixel) and interpolating the results. Subsequent images are formed by casting additional rays and maximizing
their impact by distributing them according to a measure of local image complexity.
Since those early contributions, adaptive sampling methods have a permanent place in computer graphics
research and applications. However, the focus of research has shifted to advanced sampling techniques that make
use of prior knowledge of the physical nature of light propagation and thus are not readily applicable to electron
microscopy. In this study, we apply the principle idea of image based adaptive sampling to the image formation
process of two dimensional scanning electron microscopy. However, the same method could in principle be
applied to three dimensional FIB/SEM tomography, STEM tomography or even scanning x-ray tomography <sup>28</sup> .
The proposed method <sup>29</sup> consists of an adaptive scanning method based on image analysis of an entire image.
In order to achieve the seemingly paradox goal of scanning an image based on its own, a-priori unknown, characteristics, a two-step scanning is performed. An initial image is acquired on a conventional Cartesian grid. This
initial scan is recorded with a small pixel-dwell time. This information is used to estimate image characteristics
resulting in a mask that contains areas of interest, mainly the phase boundaries. A second scanning step is then
performed to gather additional information. In this step, the high interest areas (HIA) are scanned again at a
highly increased pixel-dwell time resulting in a sparse dataset of drastically improved SNR. The final image is then
formed by filtering the initial dataset to remove noise. This is combined with the second dataset to bring in high
frequency detail in the HIA.
Material and Methods
Samples. Cast iron samples used in this study were provided by Neue Halberg Guss GmbH, Saarbrücken,
Germany. The microstructure consists of a pearlitic iron matrix with graphite inclusions. The carbon content
is approximately 3.5 _wt_ % and the silicon content is approximately 2 _wt_ % for both samples. The first sample has
nodular graphite morphology and was taken from a sand casting of a crankshaft for internal combustion engines.
The second sample has lamellar graphite inclusions and was taken from a sand casting of a crankcase for internal
combustion engines.
Microscope. The microscope employed in this study was a FEI Helios NanoLab600 equipped with a Shottky
field emission electron source. The electron beam was set to an accelerating voltage of 5 _kV_ and a probe current
of 340 _pA_ . Images were acquired with the Everhart-Thornley secondary electron detector at a working distance
of 4 _mm_ .
Software. The basic image acquisition performed in this study was executed using FEI XTUi 3.8.9. The software is equipped with basic beam guiding functions for electron and ion beam patterning. All functions specific
to the methods are presented in this paper and described below were developed as Java Plugins to the ImageJ
derivative FIJI <sup>30</sup> . The combination of the custom software and FEI XTUi resulted in a prototype workflow (Fig. 1)
for the recording of images using the proposed adaptive sampling pattern.
Image Acquisition. The method presented in this study started with the acquisition of a 1024 <sup>2</sup> pixel image
at a low pixel-dwell time of 1 _μs_ recorded with 16 bit per pixel. The image was transferred to ImageJ for further
Figure 1. The process of image acquisition. An initial image was acquired at low pixel-dwell time in XTUi.
The image was analyzed in ImageJ and two files (scan file and mask image) were generated, both representing
the classification of the image in a high interest area (HIA) and a filter region. A second sparse image was then
acquired for the HIA with much larger pixel-dwell time. The initial image was filtered using an adaptive filter
kernel based on the mask image. The sparse image and a filtered version of the initial image were combined to
form the final result.
processing. It was analyzed automatically and classified in two regions. The first region (“filter region”) showed
smooth gradients, i.e. only low frequency variation of the gray values. The second regions, the HIA, consisted of
strong discontinuities of the gray values, i.e. it contained the pixels showing edges and other sharp features.
The classification was based on the idea of detecting maxima in gradient magnitude values of a
Gaussian-smoothed version of the image. Details on the algorithm are given in <sup>31</sup> . We used the existing implementation of the algorithm in the software package FeatureJ. First, the image was converted to 32 bit gray scale.
Next, the edge detection algorithm was executed using the parameters _“smoothing scale”_ = _1.0_ and _“suppress_
_non-maximum gradients”_ = _false_, which resulted in an intermediate image representation. Next, the image was
converted to a binary (black and white) representation, i.e. thresholding was applied. This thresholding was performed in such a way that a fixed number of pixels was classified as belonging to the HIA. In order to determine
the correct thresholding value to match this condition, a _256_ bin histogram of the intermediate representation
was computed. The running sum of the histogram was computed to find the approximate value that represented
a certain percentage of pixels with highest intensity. Thresholding was then applied to the image according to this
value and it was converted to black and white.
The size of the HIA was selected according to two criteria. Firstly, the resulting mask had to consist of closed
shapes around all phase boundaries in the sample, which was required by the filtering procedure described below.
Secondly, the size of the HIA should be minimal in order to reduce the average pixel dwell time. The value that
fulfills those requirements depends on the sparsity of the gradient image, i.e. how “dense” the image appears visually and had to be entered by the user. This user interaction was supported by a real-time preview of the resulting
mask. The question if an image consists of closed shapes or not can in principle also be solved algorithmically, so
this step might be automated in the future.
Alternatively, a gradient magnitude value for the thresholding could be specified directly. In this case, the
software would select a varying amount of pixels for the HIA to reach a constant quality level of the mask. This
alternative approach might be beneficial in the case of 3D sectioning, if subsequent slices have a different structure from the first slice and thus the size of the HIA needs to be adapted per vertical image position.
As the operating software used in this study does not support acquiring pixel-selective images, we used features originally intended for ion beam structuring. A trace file in the format PIA Stream File Extension (.str) was
generated to transfer the shape of the HIA to the software XTUi 3.8.9. Stream files directly access the digital 16 bit
scan generator and are typically used for milling complex geometries with the ion beam. However, the stream file
can also be used to control the electron beam. To use stream files for image acquisition, we enabled the built-in
real time monitor (RTM). This feature activates the secondary electron detector while the stream file is running
and can be used to acquire a pixel-selective image according to the desired HIA. This way, one can achieve fine
granular control in the image acquisition process and generate images that have their pixels arranged in arbitrary
patterns.
To acquire the desired sparse image, the stream file was loaded using the patterning interface of the software.
By starting the “patterning” process with activated RTM, the beam was switched on and data was recorded only
in regions specified by the coordinates in the stream file. Hereby, the feature “blackout pattern area for RTM” was
used to erase remaining signals in the detector prior to recording. The acquired pixels were then recorded in the
RTM and could be saved and used for further image processing outside the microscope software.
The trace file mentioned above was generated in such a way that the beam scanned the image row by row.
The beam was turned on (“unblanked”) when entering the HIA. Inside the HIA, every pixel was scanned with a
larger dwell time resulting in an improvement of SNR compared to the initial image. When leaving the HIA, the
beam was turned off (“blanked”) and the microscopy skipped to parts of the image representing the filter region.
Figure 2. Structure of the filter kernel. The image was filtered using a different filter kernel for each pixel.
( a ) The filter was designed based on a discrete Gaussian as a starting point. ( b ) The Gaussian kernel was
modified by considering the shape of the filter area around the pixel. The filter area is shown in black, the high
interest area (HIA) in white. ( c ) A flood fill algorithm was used to detect only those pixels reachable from the
center (gray). ( d ) The Gaussian was set to zero for all pixels not contained in the mask and re-normalized.
This way, the software XTUi generated a second image, containing only pixels in the rescanning region, but at
improved SNR. The pixels representing the filter region contained zeros.
Filtering. In the filter area of the image, a band-limiting image filter was applied to reduce the image noise.
The filter was designed based on a Gaussian filter kernel because of the well understood band-limiting properties
of this kernel. Filtering with a Gaussian filter worked without problems inside the filter area but resulted in artifacts at the border to the HIA in cases where the filter kernel overlapped the HIA. Therefore, the filter kernel was
modified per pixel, i.e. a different filter kernel was used for each pixel. The kernel was generated by first computing
a discrete representation of a 2D Gaussian kernel of width σ (Fig. 2a). Pixels outside a cutoff of 3σ were assumed
to be zero. The filter was then multiplied pixel per pixel with a mask, i.e. the filter value was set to zero for all pixels
outside this mask. As a mask, the shape of the HIA around the filtered pixel was used (Fig. 2b). This avoided that
the filter used pixels from the HIA to compute a pixel value in the filter area. However, multiplication with the
mask was insufficient. For larger Gaussian kernels, the filter kernel sometimes overlapped narrow strips of the
HIA and reached a second patch of the filter area. This second patch typically belonged to a different phase of the
sample and should not be considered either. A flood-fill algorithm was therefore used starting at the center of the
kernel. All pixels not reachable by the flood-fill were also excluded from the mask (Fig. 2c). Finally, the kernel
had to be re-normalized to ensure that pixel values sum up to one and thus the resulting filter preserves intensity
(Fig. 2d).
The filtering method is an edge preserving smoothing operator, such as the well-known bilateral filter <sup>32</sup> or anisotropic diffusion <sup>33</sup> . However, our method uses an explicit representation of the features to be preserved, which
are known a-priori from the previous step in the method gives as mask image. In this regard, the filter is more
comparable to a guided filter <sup>34</sup>, albeit avoiding the complicated optimization steps.
Adapation of noise level. Using the filter described above and choosing a Gaussian with sufficiently large
value of σ, the noise in the filter area could be removed to almost arbitrary low levels. In the HIA, the noise level
is reduced by scanning the pixels again at increased pixel-dwell time, respectively electron dose. The reduction of
noise in the HIA is not arbitrary, though, but depends on the ratio of dwell times of the initial scan and the second
scan. Typical values are 300 _ns_ for the first scan and 30 _μs_ for the second scan, such that pixel-dwell times that
are 100 _x_ higher resulting in a SNR improvement of a factor of 10, which still involves clearly visible noise. When
combining filter area and HIA to form the final image, different parts of the image have different noise levels.
This can easily be avoided by mixing the filtered version of the HIA with the unfiltered version in the right ratio.
Results
Benchmarking and quantitative assessment. In order to benchmark the proposed method, several
images of cast iron with nodular graphite inclusions were recorded. The investigated image consisted of a signal and deviations, which were composed of noise and systematic errors. For the conditions used in this study,
the noise was dominated by statistical noise that is a consequence of the limited number of electrons per pixel.
Systematic deviations included among others (1) microscope drift, which can occur mainly at high magnifications or unstable operation conditions, (2) a convolution with the point spread function (PSF), and (3) a deformation of the PSF that is a consequence of non-intermediate signal response of the scanning unit and mainly occurs
at very high scan rates. All systematic errors were negligible compared to the noise and thus were ignored for this
study. The image was recorded using an initial scan with 300 _ns_ pixel-dwell time and a sparse scan using 27 _μs_
for an HIA of 10%, which results in an average pixel-dwell time of 3 _μs_ (Fig. 3a). A ground truth scan was performed using a high pixel-dwell time of 60 _μs_ (Fig. 3b). As comparison, a conventional scan of the same sample
was performed using uniform scanning with a pixel-dwell time of 3 _μs_ (Fig. 3c). As image processing operations
might also be applied to images recorded using uniform scanning, a state-of-the-art edge preserving smoothing
filter was applied. We have choosen an anisotropic diffusion operator <sup>33</sup> with the following settings: number of
iterations: 200, smoothings per iteration: 1, diffusion limiter along minimal variations: 0.2, diffusion limiter along
maximal variations: 0.9, time step: 2, edge threshold height: 5.0.
As can be seen by comparing Fig. 3a–c, the image recorded using the adaptive sampling technique looks
smoother and contains less image noise. By comparing Fig. 3a,b, one of the drawbacks of the adaptive sampling
method can be seen, namely the fact that some smaller details are missing entirely in the sparse scan. Examples
are marked with white arrows in Fig. 3b. An interesting benchmark is to compare the image acquired using
Figure 3. Overall performance of the adaptive sampling method. ( a ) Image recorded with our method using
an average pixel-dwell time of 3 _μ s_ (initial scan 300 _ns_, sparse scan 27 _μ s_ for 10% of pixels). ( b ) Image recorded
with a uniform pixel-dwell time of 60 _μ s_ as ground truth. The image shows some small details that are missing
in the sparse scan (examples are indicated by white arrows). ( c ) Image recorded with uniform sampling at the
same pixel-dwell time (3 _μ s_ per pixel). ( d ) Image recorded at 3 _μ s_ per pixel and filtered using an anisotropic
diffusion operator.
adaptive sampling (Fig. 3a) to the result obtained by combining uniform sampling at the same average pixel-dwell
time and applying state-of-the-art a-posteriori image processing methods (Fig. 3d). As can be seen, the the anisotropic diffusion filter is effective at removing noise, but also creates a slighly blurred image that misses even more
details compared to the adaptive sampling scheme.
By computing the pixel error, i.e. the per-pixel difference between the ground truth image and the images
recorded with different settings, signal and deviations could be separated. We found that systematic errors can be
neglected in our case and in the following, we assume that deviations consist of noise only. We thus considered
three values for each pixel: the value in the ground truth image (signal only), the value in the image recorded with
the respective method (signal+ noise) and the difference (noise only). This allowed us to quantify the impact of
the adaptive sampling and compute the SNR according to the formula mean of signal divided by standard deviation of noise (Table 1). Additionally, we computed peak signal-to-noise-ratio (PSNR) <sup>35</sup> and structural similarity
index (SSIM) <sup>36</sup> . In the following, all error values are given as difference between pixel value in the respective scan
and the same pixel value in the ground truth image. All values are expressed as percentage of the maximum pixel
intensity of the reference scan for comparability. The adaptive sampling scheme with adaptation of noise level
produces an average pixel error of 1.88% ± 1.65%. This is significantly lower than the uniform scan, which has
a pixel error of 4.42% ± 3.46%. Another observation is that the standard deviation of the pixel error is similar to
the average value, which can be expected for an error that is dominated by noise. The uniform scan filtered with
<u>Sampling method</u> <u>Average pixel error</u> <u>Maximum pixel error</u> <u>SNR</u> <u>PSNR</u> <u>SSIM</u>
<u>adaptive</u> <u>1.30% ± 1.35%</u> <u>45.1%</u> <u>25.7</u> <u>32.0 dB</u> <u>0.81</u>
<u>adaptive + noise adaptation</u> <u>1.88% ± 1.65%</u> <u>47.3%</u> <u>18.6</u> <u>32.0 dB</u> <u>0.69</u>
<u>uniform</u> <u>4.42% ± 3.46%</u> <u>68.2%</u> <u>8.3</u> <u>25.0 dB</u> <u>0.31</u>
<u>uniform + isotropic diffusion</u> <u>1.58% ± 1.81%</u> <u>55.2%</u> <u>20.5</u> <u>26.5 dB</u> <u>0.78</u>
Table 1. Pixel error between the reference scan (uniform sampling with 60 _μs_ pixel-dwell time) and
different scan modes with an average pixel-dwell time of 3 _μs_ each. All values are presented as percentage of
the maximum pixel intensity of the reference scan for normalization. Additionally, signal-to-noise-ratio (SNR),
peak signal-to-noise-ratio (PSNR) and structural similarity index (SSIM) are shown.
<u>pixel-dwell time</u> <u>SNR</u> <u>σ/pixels</u> <u>A</u>
<u>100</u> _<u>ns</u>_ <u>1.1</u> <u>6</u> <u>20%</u>
<u>300</u> _<u>ns</u>_ <u>1.4</u> <u>3</u> <u>15%</u>
<u>1</u> _μs_ <u>2.3</u> <u>2.5</u> <u>15%</u>
<u>3</u> _μs_ <u>3.8</u> <u>2</u> <u>10%</u>
Table 2. Optimal settings for the edge detection algorithm depending on the pixel-dwell time. σ is the
standard deviation of the filter kernel for the edge detection algorithm, A is the size of the HIA normalized to
the total size of the image.
the isotropic diffusion filter has a pixel error of 1.58% ± 1.81%, which is even lower than the adaptive sampling.
However, one has to keep in mind that a large part of the pixel error in the case of adaptive sampling is a result of
the adaptation of the noise level (see methods section). If the noise level adaptation is turned off, the pixel error
for the adaptive sampling is reduced to 1.30% ± 1.35%, which is significantly better than the values measured for
the images acquired with uniform sampling and isotropic diffusion filtering. When considering the maximum
pixel error, the adaptive sampling scheme produces a better result than the uniform scheme with and without
noise level adaptation and with and without filtering.
Evaluation of the mask generation procedure. The mask generation procedure was applied with different settings on a sample of cast iron with nodular graphite inclusions. A HIA that contains 5% of all pixels turned
out to be sufficient as representation of gradients since it contained all phase boundaries. Allowing for more
than 5% led to a highly segmented HIA and did not provide additional benefits. However, the sample used was
favorable for this filtering method, so an HIA size of more than 5% might be required for samples with a denser
gradient, such as biological specimen or material science samples with a more complex structure.
The same experiment was conducted on a specimen consisting of cast iron with lamella graphite inclusions.
The sample had comparable characteristics as the nodular graphite sample in the sense that there were two clearly
separated phases. However, the lamella structure of the graphite inclusions was more complex, which constituted
a more difficult case for the edge detection algorithm. The edge detection algorithm with a HIA size of 10% of the
total image size gave optimal results in the sense that all phase boundaries were included.
Influence of noise in initial image. Next, the influence of noise in the initial image on the mask generation was investigated. Images were acquired from the lamella graphite sample with different pixel-dwell times of
100 _ns_, 300 _ns_, 1 _μs_, and 3 _μs_ . We found that for these different pixel-dwell times, i.e. for different SNR levels in
the initial image, the mask generation algorithm gave optimal results with different input settings (Table 2). The
criterion for an acceptable mask was that all particles were surrounded by closed shapes, i.e. all phase boundaries were visible on the mask without gaps. The main parameters were the size of the Gaussian filter for the edge
detection algorithm σ (in pixels) and the size of the high interest area A, normalized to the total size of the image
(in percent).
As can be seen, a lower SNR in the initial image required an increased HIA to avoid missing edges, because
the determination of the optimal shape was less accurate. Even with an increased HIA size of 20%, we found that
a pixel-dwell time of 100 _ns_ or less gives unsatisfactory results (Fig. 4e). For a pixel-dwell time of 300 _ns_ –1 _μs_, the
results were acceptable (Fig. 4f,g). An image acquired with a pixel-dwell time of 3 _μs_ additionally allowed reducing the HIA size from 15% to 10% of the total image size (Fig. 4h).
The required electron dose for the initial scan also depended on the contrast of the image. For a sample with
several phases, the SNR of the image can be defined as the difference of the gray values of the two phases with
the most similar gray values, divided by the standard deviation of the noise in the image. While the error-free
detection of every pixel in the edge would require an SNR of 4–5 according to the Rose criterion <sup>37</sup>, we found
experimentally that an SNR of 1.4 to 2.3 gives satisfactory results with the used edge detection algorithm (see
also Table 2). The difference to Rose can be explained by the fact that (1) the edge detection does detect larger
structures, not individual pixels, and (2) a certain amount of false positives, i.e. pixels that are accidentally classified as belonging to the HIA are acceptable. From this observation, a rule of thumb can be derived to choose the
appropriate pixel dwell time for the initial scan, assuming the basic structure of the sample is known. The pixel
dwell time should be selected such that the SNR according to the definition above is between 1.4 for a sample with
coarser structures and 2.3 for a sample with finer structures.
Figure 4. Impact of the pixel-dwell time of the initial image on the shape of the high interest area (HIA).
The top row shows the acquired images at ( a ) 100 _ns_, ( b ) 300 _ns_, ( c ) 1 _μ s_, and ( d ) 3 _μ s_ . The bottom row shows the
generated HIA in white. The differences to a ground truth HIA generated from an image acquired with 60 μ s
pixel-dwell time are color coded. Red pixels are missing in the HIA, i.e. might lead to image errors. Green pixels
are additional pixels in the HIA, i.e. will waste pixel-dwell time during the sparse scan. Results are shown for ( e )
100 _ns_, ( f ) 300 _ns_, ( g ) 1 _μ s_, and ( h ) 3 _μ s_ .
Figure 5. Results of the noise adaptation procedure. ( a ) A filter kernel based on a Gaussian with σ = 1.5
pixels resulted in visually unpleasant artifacts in the medium frequency range. ( b ) A Gaussian with σ = 2.5
pixels showed comparable artifacts, albeit at lower frequencies. ( c ) A filter based on a sufficiently large Gaussian
with σ = 10 pixels removed those artifacts. However, the filter region now had a much lower noise level than the
high interest area (HIA), which also was clearly visible. ( d ) By mixing the filtered version of the signal from the
initial scan with the unfiltered version in the right ratio, the noise level could be adapted and the filter region
could no longer be detected easily.
Influence of noise level adaptation. As explained in the methods section, a critical factor were the band
limiting characteristics of the used smoothing filter. Choosing a moderate size of the Gaussian filter (about
1< σ < 5 pixels) resulted in clearly visible dominant structures with a spatial frequency about the same distance
(Fig. 5a,b). Even worse, the structures did not stretch over the full extent of the image, they only covered the filter
area. As a consequence, pixels of the HIA that do not contain these artifacts appeared visually separated and were
most likely perceived as artifacts as well. In order to avoid these problems, the filter kernel had to be chosen sufficiently large (σ ≫ 5 pixels). In this case, however, the noise level in the filter area was much lower than the noise
level in the HIA, so the two areas of the image still did not merge visually, and the HIA remained clearly visible to
the human eye (Fig. 5c).
The solution to this situation was to adapt the noise levels in the filter area and the HIA. This could be achieved
by replacing the pixel values in the filter area with a linear combination between the initial signal and the filtered
signal according to the formula:
_p_ _final_ = _i_ ⋅ _pinitial_ + (1 - _i_ ) ⋅ _p_ _filtered_, using (1)
Figure 6. Results at higher magnifications. ( a ) Image recorded with a pixel size of 35 nm and a pixel-dwell
time of 300 _ns_ . ( b ) Result of the adaptive sampling with an initial scan of 300 _ns_ and a sparse scan with A = 0.1
and 30 _μ s_ pixel-dwell time. ( c ) Ground truth image scanned with a dense scan of 60 _μ s_ pixel dwell time, with the
high interest area (HIA) indicated in red.
_<u>t</u>_
_<u>tinitial</u>_
_<u>initial</u>_
_i_ = .
_<u>tsparse</u>_ (2)
_<u>tsparse</u>_
Hereby, _pfinal_ is the final pixel value, _pfiltered_ the filtered pixel value, and _pinitial_ is the unfiltered pixel value. The factor
_i_ was computed as the ratio of the square root of the pixel-dwell time of the initial scan _tinitial_ and the pixel-dwell
time of the sparse scan _tsparse_ . The formula can be motivated using a statistical argument. A random variable estimated by _N_ binary samples has a standard deviation proportional to _1/N_ <sup>_1/2_</sup> . In the context of SEM gray values,
this means that a pixel gray value suffers from statistical noise proportional to the inverse of the square root of the
pixel-dwell time, assuming constant beam current. In the case of a sufficiently large filter kernel, it can furthermore be assumed that there is no visible noise in the filtered version of the signal. This means that the factor _i_ is
the ratio of the noise level in the initial and the sparse image. Thus, combining the noise-free signal _pfiltered_ and the
noisy signal _pinitial_ in this ratio results in the desired amount of statistical noise in the final pixel value (Fig. 5d).
Scalability to higher magnifications. In order to test scalability of the method to higher magnifications,
images of the nodular graphite cast iron sample were recorded using a pixel size of 35 _nm_ . The initial scan was
performed with a pixel-dwell time of 300 _ns_ (Fig. 6a). The mask was then generated with a HIA area of _A_ = 10%.
The sparse scan was performed with a pixel-dwell time of 30 _μs_ . The filtering was performed with a filter kernel
based on a Gaussian with σ = 10 pixels and the images were combined to a final image with adapted noise level
(Fig. 6b). At this high magnification, even a small drift that occurs between the initial scan and the sparse scan
may lead to visible artifacts in images. However, in our tests we did not encounter microscope drift.
Discussion
We propose a new method to reduce the average pixel dwell time in SEM by an adaptive distribution of electron
radiation. Parts of the sample that show high frequency details are exposed to longer pixel-dwell times while
smooth parts of the image are scanned more quickly and the resulting noise is removed in software using image
processing filters. In order to understand the amount of pixel-dwell time that can be gained by the method, one
must consider three parameters: the pixel-dwell time _tinitial_ for the initial image, the size of the high interest area
_A_ normalized by the total size of the image, and the pixel-dwell time for the sparse image _tsparse_ . The average
pixel-dwell time is then given by _tavg_ = _tinitial_ + _A · tsparse_ . Typical values are _tinitial_ = 300 _ns_, and scanning of 10% of
the area ( _A_ = _0.1_ ) using _tsparse_ = 27 _μs._ In this case, _tavg_ = _3_ _μs_ and the total acquisition time adds up to _tavg_ multiplied by the number of pixels. According to our measurements, the image based adaptive sampling method
improved the SNR by a factor of ≈ 3 compared to a uniform sampling at the same average pixel-dwell time. This
implies that the electron dose can be reduced by a factor of ten for adaptive scanning compared to uniform sampling, since the SNR scales with the square root of the amount of electrons.
Advantages of the method are two-fold. For the acquisition of a high resolution 3D dataset with FIB/SEM,
the total acquisition time is one of the main limiting factors of the technique. Particularly for the acquisition
of high-resolution 3D datasets, pixel-dwell times can dominate the total beam time of days or weeks and, thus,
limit the feasibility of data acquisition. The proposed method allows to reduce acquisition times by a factor of ten
depending on the sample.
Saving beam time is not the only motivation for reducing pixel-dwell times. Many samples, like biological
samples, polymers, and ceramics, are sensitive to electron dose. For those cases, imaging means finding a compromise between beam-induced radiation damage and noise. The method proposed in this paper can reduce the
average pixel-dwell time and, thus, helps to avoid radiation damage without introducing noise. However, the total
electron dose will no longer be distributed evenly over the entire specimen, but focused at phase boundaries.
While a lot of research exists on the effects of radiation damage on different kind of specimen <sup>18,19,38–40</sup>, none of
this research considers inhomogeneous spatial distribution of radiation. The usefulness of the adaptive scanning
scheme for the imaging of dose sensitive specimen will largely depend on the question how different kinds of
specimen behave under locally focused radiation.
Formation of beam damage is a complex process, the predominant effects are typically (1) ionization, (2)
knock-on damage, i.e. removing individual atoms from the matrix, both followed by structural collapse in the
form of sample shrinkage and (3) sample heating <sup>41</sup> . For both, ionization and knock-on damage, we expect the
effects to be highly localized, i.e. to occur mainly at the phase boundaries where the highest electron dose is
placed. The most prominent radiation damage effect with conventional methods is sample shrinkage. This type
of damage is expected to be reduced or even avoided altogether using the non-uniform scanning because small
structures exposed to high dose will be embedded in a stabilizing matrix of material that was exposed to much
lower electron dose. A similar argument holds for sample heating: small structures exposed to high dose are surrounded by bulks of material that can function as a heat sink, thereby reducing the effect of local sample heating.
Those expectations however depend on the properties of the specimen, such as structural stability and thermal
conduction and will need to be investigated on a case-to-case basis.
One concern with the method is that the edge detection algorithm can potentially miss small, isolated features. This happens with a relevant probability for features that have a size of approximately one pixel, are not
attached to larger structures, or give a contrast to the background in the same order of magnitude as the noise of
the initial scan. If a feature is missed by the edge detection algorithm, the remaining information about the structure is removed by the filter step and the feature will entirely disappear in the final image. While this behavior is
acceptable for most applications where structure and morphology of larger features are of interest, it might be an
issue for questions about small particles close to the resolution limit of the microscope. The proposed adaptive
sampling method is not applicable in these cases.
In general, the mask generation procedure has a large potential for improvements. Promising approaches
include more sophisticated edge detection algorithms, advanced image filters as preprocessing to the edge detection, morphological operations as post processing operations, and the inclusions of three-dimensional data from
previous slides, in the case of FIB/SEM.
The proposed filter method depends on the assumption that the filter area consists of large, connected shapes.
Preliminary experiments on more complex samples showed that if the HIA has a shape that cuts the filter area in
many small, isolated shapes, the filter kernel becomes locally too small, which leads to visual artifacts. This effect
can be eliminated by closing small holes in the HIA using morphological image processing operations. The filter
method is also based on the assumption that no high frequency details are present in the filter area. If the sample
has a complex and relevant texture even between sharp edges, as is the case in most biological applications, the
proposed filter method is not applicable. A different reconstruction method based on exemplary-based inpainting
algorithms is probably most promising in this case.
While the noise level in the HIA is determined by the pixel-dwell time of the second scan, the bandwidth
characteristics in the filter area can be influenced by choosing an appropriate size of the filter kernel. But in order
to avoid visual artifacts in the middle frequency range of about 5 pixels, the Gaussian kernel has to be chosen
sufficiently large. In this case, structures of the intermediate frequency range are removed by the filter as well and
the filter area receives a smooth appearance. Noise levels in the filter area are then much lower than in the HIA.
Whether or not this poses a problem depends on the application. For most automated analysis algorithms, the
different noise levels are unproblematic or even favorable. The human eye, however, is highly sensitive to perceive
differences in the noise level of surfaces, registering every variation as artifact. In order to avoid these problems
and generate visually pleasant images, it is probably a good idea to ensure that all parts of the final image have the
same noise level. This can easily be achieved by mixing the correct portion of the initial noisy image into the final
image as described in the methods section.
The method as presented in this paper is a proof-of-concept study. As the prototypical workflow involves
switching software twice for each image acquired, the procedure is clearly not practical for FIB/SEM or STEM
tomography with hundreds or thousands of slices. However, as all involved computations are straightforward,
the method can in principle be integrated directly into microscope control packages such as FEI XTUi. Once this
integration is performed, image based adaptive scanning can easily be selected in the software, thereby removing
the technical restrictions of the prototypic workflow presented in this paper. In this case, the method has the
potential to replace uniform sampling as the standard scanning mode, at least for a suitable class of sparse gradient specimens.
The basic idea described in this study is not restricted to FIB/SEM. In principal, the method can be extended
to low dose scanning transmission electron microscopy (STEM) and STEM tomography as well. As with FIB/
SEM, adaptive pixel-dwell times can help to reduce acquisition times and dose exposure for tilt series acquisition
in STEM tomography. There are, however, a number of issues to be addressed when applying the concept to
STEM. Thickness variations in the samples can create low frequency contrast that might unnecessarily trigger
the edge detection. This issue can potentially be removed by means of a background removal using a rolling ball
filter or a high pass filter as a preprocessing step to the edge detection. In high resolution STEM with a pixel size
approaching atomic scale, lattice fringes and drift will raise concerns for the method. We therefore think that the
method in the current form will be restricted to resolutions above the atomic scale. Another concern is the signal
response speed. Current generation STEM systems use electromagnetic scanning, which has a much slower signal response compared to latest generation SEM that uses electrostatic scanning and can lead to a deformation
of the PSF. This issue might, however, be resolved by future STEM systems that use electrostatic scanning. One
last consideration for the application to STEM is, if the image processing methods presented in this study are
useful at all in the case that a tilt series is recorded and the dataset is subject to tomography reconstruction prior
to presentation. In this case, it is probably better to avoid both filtering and noise level adaptation and perform
tomographic reconstruction from the raw data acquired from the microscope. Filtering operations can then be
performed in three dimensions on the tomogram, if they are required. Other interesting areas of application of
the ideas presented in this study are the combination of FIB/SEM with energy-dispersive X-ray spectroscopy
(EDS). Provided a sufficiently responsive means to scan the specimen, the method could even be adapted to work
with scanning X-ray microscopy with synchrotron radiation.
Conclusions
Image based adaptive sampling was introduced as a new acquisition scheme for SEM. The method is based on
the idea of scanning the specimen with adaptive pixel-dwell times. Areas containing high frequency details such
as phase boundaries were scanned slower in order to generate a better SNR while homogeneous areas of low frequencies were scanned faster and the resulting noise was removed using a-posterior filtering. The critical step of
this method was the automatic separation of the image in areas requiring a high dose and areas that can safely be
filtered. As this analysis can only be performed effectively by considering the entire image, a two-step scanning
process was applied. An initial image was acquired at low dose and the analysis was performed on this image.
A second scan was then applied to only those regions of the image that require more dose. The final image was
generated by filtering and combining both dataset. Compared to an image acquired with uniform sampling at the
same total electron dose resulted in a factor of ≈ 3 lower quantitative pixel errors on average, and a factor of ≈ 3
better SNR, which implies that the electron dose and thus the acquisition time can be reduced by a factor of about
ten. The methods can in principle be applied to two-dimensional low dose STEM and STEM tomography as well.
References
1. Jornsanoh, P. _et al._ Electron tomography combining ESEM and STEM: a new 3D imaging technique. _Ultramicroscopy_ 111, 1247–54
(2011).
2. Denk, W. & Horstmann, H. Serial block-face scanning electron microscopy to reconstruct three-dimensional tissue nanostructure.
_PLoS Biol._ 2, e329 (2004).
3. Murphy, G. E. _et al._ Correlative 3D imaging of whole mammalian cells with light and electron microscopy. _J. Struct. Biol._ 176,
268–78 (2011).
4. Heymann, J. A. W. _et al._ Site-specific 3D imaging of cells and tissues with a dual beam microscope. _J. Struct. Biol._ 155, 63–73 (2006).
5. Bushby, A. J. _et al._ Imaging three-dimensional tissue architectures by focused ion beam scanning electron microscopy. _Nat. Protoc._
6, 845–858 (2011).
6. Weyland, M. & Midgley, P. A. Extending energy-filtered transmission electron microscopy (EFTEM) into three dimensions using
electron tomography. _Micros. Microanal_ . 9, 542–555 (2003).
7. Penczek, P., Marko, M., Buttle, K. & Frank, J. Double-tilt electron tomography. _Ultramicroscopy_ 60, 393–410 (1995).
8. Mastronarde, D. N. Dual-axis tomography: an approach with alignment methods that preserve resolution. _J. Struct. Biol._ 120,
343–52 (1997).
9. Lanzavecchia, S. & Bellon, P. L. Electron tomography in conical tilt geometry-The accuracy of a direct Fourier method (DFM) and
the suppression of non-tomographic noise. _Ultramicroscopy_ 63, 247–261 (1996).
10. Lanzavecchia, S. _et al._ Conical tomography of freeze-fracture replicas: a method for the study of integral membrane proteins inserted
in phospholipid bilayers. _J. Struct. Biol._ 149, 87–98 (2005).
11. Frigo, S. P., Levine, Z. H. & Zaluzec, N. J. Submicron imaging of buried integrated circuit structures using scanning confocal electron
microscopy. _Appl. Phys. Lett._ 81, 2112 (2002).
12. de Jonge, N., Sougrat, R., Northan, B. M. & Pennycook, S. J. Three-dimensional scanning transmission electron microscopy of
biological specimens. _Micros. Microanal_ . 16, 54–63 (2010).
13. Dahmen, T. _et al._ Combined Tilt- and Focal Series Scanning Transmission Electron Microscopy. _Microsc. Microanal._ 20, 786–787
(2014).
14. Dahmen, T., Kohr, H., de Jonge, N. & Slusallek, P. Matched Backprojection Operator for Combined Scanning Transmission Electron
Microscopy Tilt- and Focal Series. _Microsc. Microanal._ 21, 725–738 (2015).
15. Lasagni, F., Lasagni, A., Engstler, M., Degischer, H. P. & Mücklich, F. Nano-characterization of Cast Structures by FIB-Tomography.
_Adv. Eng. Mater._ 10, 62–66 (2008).
16. Stenn, K. & Bahr, G. F. Specimen damage caused by the beam of the transmission electron microscope, a correlative reconsideration.
_J. Ultrastruct. Res._ 31, 526–550 (1970).
17. Egerton, R. F., Li, P. & Malac, M. Radiation damage in the TEM and SEM. _Micron_ 35, 399–409 (2004).
18. Thach, R. E. & Thach, S. S. Damage to Biological Samples Caused by the Electron Beam during Electron Microscopy. _Biophys. J._ 11,
204–210 (1971).
19. Revol, J. F. & Manley, R. S. J. Lattice imaging in polyethylene single crystals. _J. Mater. Sci. Lett._ 5, 249–251 (1986).
20. Luther, Pradeep In _Electron Tomography_ (ed. Frank, J.) 17–48 (Springer, 1992).
21. Oho, E., Sugawara, T. & Suzuki, K. An improved scanning method based on characteristics of the human visual system for scanning
electron microscopy. _Scanning_ 27, 170–175 (2005).
22. Timischl, F. A dynamic scanning method based on signal-statistics for scanning electron microscopy. _Scanning_ 36, 317–26 (2014).
23. Whitted, T. An improved illumination model for shaded display. _Commun. ACM_ 23, 343–349 (1980).
24. Wald, I., Slusallek, P., Benthin, C. & Wagner, M. Interactive Rendering with Coherent Ray Tracing. _Comput. Graph. Forum_ 20,
153–165 (2001).
25. Mitchell, D. P. Generating antialiased images at low sampling densities. _ACM SIGGRAPH Comput. Graph._ 21, 65–72 (1987).
26. Painter, J. & Sloan, K. Antialiased ray tracing by adaptive progressive refinement. _ACM SIGGRAPH Computer Graphics_ 23, 281–288
(1989).
27. Levoy, M. Volume rendering by adaptive refinement. _Vis. Comput_ . 6, 2–7 (1990).
28. Schroer, C. G. _et al._ Hard X-ray nanoprobe at beamline P06 at PETRA III. _Nucl. Instruments Methods Phys. Res. Sect. A Accel._
_Spectrometers, Detect. Assoc. Equip_ . 616, 93–97 (2010).
29. Dahmen, T. & de Jonge, N. Verfahren und Vorrichtung zur Untersuchung von Proben durch ein Elektronen- oder
Ionenstrahlmikroskop. German Patent No 10 2015 114 843.9 (2015).
30. Schindelin, J. _et al._ Fiji: an open-source platform for biological-image analysis. _Nature Methods_ 9, 676–682 (2012).
31. Canny, J. A computational approach to edge detection. _IEEE Trans. Pattern Anal. Mach. Intell_ . 8, 679–698 (1986).
32. Tomasi, C. & Manduchi, R. Bilateral Filtering for Gray and Color Images. _Int. Conf. Comput. Vis._ 839–846 (1998).
33. Weickert, J. Anisotropic diffusion in image processing. _Image Rochester NY_ 256, 170 (1998).
34. He, K., Sun, J. & Tang, X. Guided image filtering. _IEEE Trans_ . _Pattern Anal. Mach. Intell._ 35, 1397–1409 (2013).
35. Huynh-Thu, Q. & Ghanbari, M. Scope of validity of PSNR in image/video quality assessment. _Electron. Lett._ 44, 800 (2008).
36. Wang, Z., Bovik, A. C., Sheikh, H. R. & Simoncelli, E. P. Image quality assessment: From error visibility to structural similarity. _IEEE_
_Trans. Image Process_ . 13, 600–612 (2004).
37. Rose, A. _Vision: human and electronic_ . (Plenum Press, 1973).
38. Egerton, R. F., Li, P. & Malac, M. Radiation damage in the TEM and SEM. _Micron_ 35, 399–409 (2004).
39. Pan, M. & Crozier, P. A. Quantitative imaging and diffraction of zeolites using a slow-scan CCD camera. _Ultramicroscopy_ 52,
487–498 (1993).
40. Luther, Pradeep In _Electron Tomography_ (ed. Frank, J.) 17–48 (Springer, 1992).
41. Williams, D. B. & Carter, C. B. _Transmission Electron Microscopy_ . (Springer US, 2009).
Acknowledgements
Research has been funded by the European Research Project NOTOX (FP7-267038), the DFG grant IMCL
(AOBJ: 600875) and the “Landesforschungsförderungsprogramm des Saarlandes” (WT/2-LFFP 15/09). The
authors thank the DFKI GmbH, and Saarland University for additional funding and for providing the necessary
infrastructure, and E. Arzt for his support through INM.
Author Contributions
T.D. wrote the main manuscript text and developed the required software prototypes. C.P. and M.E. developed
the experimental procedures and conducted measurements. P.T., N.d.J., F.M. and P.S. reviewed the manuscript.
Additional Information
Competing financial interests: Tim Dahmen and Niels de Jonge own intellectual property in form of a patent
related to the research published in this article.
How to cite this article : Dahmen, T. _et al._ Feature Adaptive Sampling for Scanning Electron Microscopy. _Sci._
_Rep._ 6, 25350; doi: 10.1038/srep25350 (2016).
This work is licensed under a Creative Commons Attribution 4.0 International License. The images
or other third party material in this article are included in the article’s Creative Commons license,
unless indicated otherwise in the credit line; if the material is not included under the Creative Commons license,
users will need to obtain permission from the license holder to reproduce the material. To view a copy of this
[license, visit http://creativecommons.org/licenses/by/4.0/](http://creativecommons.org/licenses/by/4.0/)
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.