HIGH-PERFORMANCE TWO-LEVEL PARALLEL COMPUTING SCHEME FOR NANOPARTICLES DETECTION IN SEM IMAGES
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (10) 아라미드(21) 에폭시수지
기본 정보
- 저자
- DOI
- 10.5194/isprs-archives-xlviii-2-w3-2023-145-2023
- 저널
- The international archives of the photogrammetry, remote sensing and spatial information sciences/International archives of the photogrammetry, remote sensing and spatial information sciences
- 발행년도
- 2023
- 발행기관
- Copernicus Publications
- 피인용수
- 2
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5194/isprs-archives-xlviii-2-w3-2023-145-2023
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4376270602
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- (10) 아라미드, (21) 에폭시수지
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- SEM images, nanoparticles detection, exponential approximation, parallel computing, microstructure
- 판단 근거
- 본 논문은 SEM(주사전자현미경) 이미지를 통해 나노입자를 자동으로 검출하는 병렬 컴퓨팅 알고리즘을 다룹니다. 이는 코오롱인더스트리의 수소연료전지용 촉매(7)나 아라미드/고분자 소재(10, 21)의 미세구조 및 결함 분석을 위한 이미지 처리 기술로 응용 가능합니다.
- R&D 활용 포인트
- 연료전지용 MEA의 촉매 입자 분포 분석이나 고기능성 섬유/필름의 미세 결함 및 나노 구조 분석 자동화 공정에 활용 가능합니다.
- 평가 입력
- 본문 25,307자
초록
본문 25,307자
본문 펼치기
섹션 본문 62문단 · 17,927자
(제목 없음)
1In our previous work, an exponential approximation (EA) method was proposed for the detection of nanoparticles in scanning electron microscope (SEM) images.It shows the best quality of nanoparticle detection compared to other methods.But its main drawback is that it takes a lot of time.In this paper, we propose a two-level parallel computing scheme and a corresponding high-performance python+MPI implementation of the EA method.Experiments have shown that the developed parallel implementation can significantly speed up the computational process.
INTRODUCTION
2Electron microscopy is one of the methods for studying the microstructure of solids, their electric and magnetic fields, and local composition using a combination of electron probe methods.Today it is one of the most effective and advanced research methods, which is widely used at enterprises, in scientific and educational laboratories.The resolving power of scanning electron microscopes (SEM) makes it possible to obtain an increase of millions of times, which is ideal for studying microscopic objects (Klein et al., 2012).
3Scanning electron microscopy can be used to solve many urgent practical problems.In particular, this paper deals with a problem of mapping "hidden" defects on the surface of carbon materials that cannot be detected by other methods (Boiko, 2021).The solution of this problem is very important for many industrial processes (Mao, 2021), including processes using such an important catalyst as palladium on carbon (Liu, 2018;Felpin, 2006), since the presence of defects affects the properties of catalysts and their ability to accelerate chemical processes.
4The mapping methodology consists in applying metal nanoparticles 1-5 nm sized as markers on the surface under study and then photographing it with an electron microscope.A direct relationship between the presence of defects and the ordering of nanoparticles was studied experimentally in (Boiko , 2021).Due to the predominant association of nanoparticles with defects, SEMimages obtained in this way correspond with sufficient accuracy to the distribution of defects (Fei, 2013, Pentsak, 2015).
5The problem consists in that, chemists analyze SEM-images manually.At that, hundreds and even thousands of images are formed to study only one sample of the material.It makes manual analysis too time-consuming and requires automation of detection and analysis of the relative position of nanoparticles in images.
6Visually, nanoparticles are small bright areas, usually rounded.The complexity of their automatic detection lies in the fact that * Corresponding author.
7the images, as a rule, are very noisy, and the nanoparticles themselves are very small in size, and, moreover, several nanoparticles can be located very close and even partially overlap each other.
8In our previous work (Boiko, 2022) the Exponential approximation (EA) method was proposed to detect nanoparticles.According to experiments, it showed the best quality of nanoparticle detection compared to other methods.The main disadvantage of EA method consists in that it is time-consuming.
9In this connection we propose here a two-level parallel computing scheme and a corresponding high-performance python+MPI implementation of the EA method.The choice of software implementation tools was significantly limited by the python programming language, in which the sequential version of the EA algorithm was previously implemented.
10Experiments have shown that the developed parallel implementation can significantly speed up the computational process.
EXPONENTIAL APPROXIMATION (EA) METHOD FOR NANOPARTICLES DETECTION
11The exponential approximation (EA) method is based on two assumptions.The first assumption is that the visual representation of each nanoparticle in the image can be modeled quite well using an exponential brightness function with a maximum at the center of the nanoparticle.The second assumption is that the parameters of the approximating functions found for small image fragments will differ for fragments containing and not containing a nanoparticle.
12EA method for one image processing consists of five stages: preprocessing, extracting small image fragments, performing exponential approximation for each image fragment, detecting fragments containing a nanoparticle, and determining the radius of each particle.
Preprocessing
13To exclude too bright (exposed) areas of the image, Top-Hat (Bright, 1987) is performed before the main processing.
Extracting small image fragments
14According to EA method, at this stage, square image fragments of a small fixed size f size are selected, the center of which corresponds to the supposed centers of the nanoparticles (with the exception of fragments close to the image borders -they are truncated and have a displaced center).To reduce the number of calculations, a threshold is used to pre-filter fragments T h pref .
15Fragments, the brightness at the central point of which is below this threshold, are excluded from consideration due to the low probability that the center of the nanoparticle has a low brightness value.The threshold T h pref is a structural parameter of the method.
Performing exponential approximation for each image fragment
16Let f = [f (xi, yj) , i, j = 1, ..., f size] be a small image fragment having size f size.For all fragments, we use the same element indexing xi, yj ∈ {− ⌊f size/2⌋ , ⌊f size/2⌋}, constructed with respect to the center with coordinates x ⌊f size/2⌋ = 0 and y ⌊f size/2⌋ = 0.
17To approximate each fragment, an exponential function of the form
18The approximation is carried out in two steps.At the first step, for each value of the parameter b from some finite set b ∈ {b1, .., bn} the optimal value of the parameter is determined as an argument that provides the minimum value of the root-mean-square approximation criterion
19where
20In this case, according to the least squares method, the optimal value of the parameter a can be easily calculated by the formula:
21At the second step, those values of the parameters b k and a(b k ), which provide the minimum value of the criterion, are taken as the optimal values of the desired parameters
22of approximating function 1.
Detecting fragments containing a nanoparticle
23As a result of exponential approximation of image fragments, we get two matrices of coefficients a opt = [a opt i,j ] and b opt = [b opt i,j ], i = 1, ..., sizeX, j = 1, ..., sizeY , the size of which matches the size of the analyzed image.
24To determine the fragments containing nanoparticles, we find all local maxima of the a opt matrix and take only those of them whose value exceeds the value of the adaptive threshold
25where mean(LM (a opt )) is the average value of all found local maxima and the coefficient Cf detect ∈ [0; 1], which is another structural parameter of the exponential approximation method.
Determining the radius of each particle
26The radius of the nanoparticle centered at the point (i, j) is determined by the corresponding value b opt i,j according to the formula:
273. TWO-LEVEL PARALLEL COMPUTING SCHEME
Level 1: Parallel detecting nanoparticles in a single image
28It is easy to see that stages 2, 3 and 5 of the exponential approximation method that is described in the previous section are a set of independent calculations aimed at processing individual fragments of the analyzed image.However, the organization of parallel computing turns out to be appropriate only for the most time-consuming third stage -the stage of directly exponential approximation, while the computational complexity of the second and fifth stages is low, as a result of which the overhead costs associated with the organization of parallel computing at these stages turn out to be higher than the possible effect of parallelization.The corresponding scheme of parallel computing is shown in Figure 1.It should be noted that applied research may require the simultaneous processing of hundreds and even thousands of images, while saving the processing results in the form of text and graphic files.A large number of images requiring processing, together with the low disk performance while saving the results, makes it relevant to use additionally the second level of parallelism, which corresponds to parallel image processing.
29The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLVIII-2/W3-2023 ISPRS Intl.Workshop "Photogrammetric and computer vision techniques for environmental and infraStructure monitoring, Biometrics and Biomedicine" PSBB23, 24-26 April 2023, Moscow, Russia
Software implementation of a two-level scheme of parallel computing
30Important condition for the development of a parallel implementation of the exponential approximation method, which impose significant restrictions on the structure of a parallel computing scheme and on the choice of implementation tools, was the using python programming language, which is the language for implementing the sequential version of the algorithm.
31Since the distribution of intensive computations between python threads does not provide performance improvement because of the global interpreter lock (GIL), within the framework of this work, parallelization using processes is used at both of levels.
32Namely, at the level 1 the python multiprocessing pool is used.This implementation of multiprocessing is convenient for use when there is a set of tasks, each of which can be solved independently of the others.In this case, such tasks are the tasks of exponential approximation for each of the selected small fragments of the analyzed image at the level 1.
33To organize the parallel execution of exponential approximation of individual image fragments, a task pool is formed, in which each task is characterized by initial data (image fragment), as well as a set of parameters and the results of some auxiliary computations.Due to the overhead costs of organizing parallel computing, it turns out to be more expedient to use the number of processes, which is significantly less than the number of tasks, distributing the work among the processes as evenly as possible.
34After the completion of the calculations, the results of solving problems for each problem (in this case, the coordinates of the center of the processed fragment and the found optimal values of the approximation parameters) are stored in a common list in the space of the main process.After the list is fully formed, the information contained in it is used to fill in the matrices of optimal parameter values, on the basis of which, in the next steps, fragments containing nanoparticles are determined and their radii are calculated.
35To implement parallel image processing at the level 2 Message Passing Interface (MPI) technology is used.It should be noted that the between-process information exchange in this case (in contrast to the level 1) is not required.And MPI technology actually is used to start independent tasks of image processing, ensuring the most uniform processors loading.
Characteristics of computing systems
36An experimental study of the developed parallel software tool was carried out on two computing systems, the main characteristics of which are given in The operation time of EA method depends on the number of nanoparticles in the image.In this regard, three types of SEMimages, containing a significantly different amount of nanoparticles, were chosen for the experiments (Figure 2).In all experiments of this paper, the exponential approximation method was run with parameters that ensured the best quality of nano-particle detection according to preliminary studies (Boiko, 2022): fragment size for approximation f size = 7; possible values of nanoparticle radii from 1 to 7 with a step of 0.1; thresh-
37The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLVIII-2/W3-2023 ISPRS Intl.Workshop "Photogrammetric and computer vision techniques for environmental and infraStructure monitoring, Biometrics and Biomedicine" PSBB23, 24-26 April 2023, Moscow, Russia old for pre-filtering fragments T h pref = 10; adaptive coefficient for detecting fragments containing nanoparticles Cf detect = 0.4.All experiments of this section were made on the System1 whose characteristics are presented in the Table 1.
38For each image, EA method was run using a different number of processes p ∈ {1, 2, 4, 6, 8, 10, 12, 14, 16}.For each run, the time of the method was fixed.The quality of nanoparticle detection does not change with a change in the number of processes, therefore, in this case, it is of no interest.
39Table 2 contains the average running times of the proposed algorithm over 5 runs, as well as obtained speedup S and efficiency E of the use of processor time.
40The speedup shows the ratio of the execution time of the best sequential algorithm to the execution time of the parallel algorithm (for a fixed number of processes) and is calculated by the formula:
41where T1 is the running time of the sequential algorithm, Tp is the running time of the parallel algorithm on p processes.
42Another important characteristic of a parallel computing process is efficiency.It shows the ratio of speedup to the corresponding number of processes:
43where S is the algorithm speedup for p processes.
44Efficiency can take values from 0 to 1.The ideal efficiency value is E = 1, which means that all processors are fully loaded throughout the entire computational process.The obtained dependencies are graphically presented in Figure 3.As we can see, in all cases the average running time decreases significantly with an increase in the number of processes used up to 12, providing a fairly high speedup (almost 10 times) and good efficiency in using processor time (the best possible value is 1).A further increase in the number of processes turns out to be inexpedient due to presence of sequential parts and an overhead of collecting results obtained by different processes.
Performance study of image pool processing
45In this experiment we study performance of the proposed parallel algorithm with two levels of parallelism.
46SEM images data set of 322 images of material S1 of data base (Boiko, 2020) was used.
47For all parameters of the EA method, the same values were set as in the experiment from section 4.2.
48For the full data set of 322 images the proposed method was run with different number of processes p1 (for level 1) and p2 (for level 2) on the System2, whose main characteristics are specified at the Table 1.The resulted times (in minutes) and the respective speedups that were computed relatively to the sequential processing time of 1239,70 minutes are presented at the Table 3.As we can see from the Table 3 and figures 4 -7, the organization of parallel computing both at the stage of detecting nanoparticles and at the stage of processing the pool of images makes it possible to increase the performance of the developed software and, accordingly, significantly reduce the time required for processing the pool of images.At the same time, it should be noted that the greatest speedup can be achieved due to the proposed and implemented in this paper the two-level parallel computing scheme.While the use of parallel processing only at one of the levels, which corresponds to the number of cores in the system and, accordingly, the maximum number of parallel processes.Thus, the proposed two-level system allows us to fully use all computing resources of the system and get the maximum possible acceleration.
49Interestingly, for a fixed number of processes p2 at the image level, an increase in the number of processes p1 at the level of nanoparticles (even if the total number of processes exceeds the available number of processor cores) makes it possible to reduce the total operating time .However, the optimal number of processes at each level, according to this experimental study, is 12.
CONCLUSION
50This paper proposes a two-level parallel computing scheme and a corresponding high-performance python+MPI implementation of the Exponential Approximation method for anoparticles detection in scanning electron microscope images.Experiments on the real data set of 322 SEM images on the the high-performing server and the supercomputer system (Voevodin, 2019) show that the proposed computing scheme and its implementation allows essentially reduce the computing time.
51At that the highest acceleration corresponds to the number of cores in the system and, accordingly, the maximum number of parallel processes.Thus, the proposed two-level computing scheme allows us to fully use all resources of the computing system and get the maximum possible acceleration.
Figure 1 :
52Figure 1: Parallel computing scheme at the level of detecting nanoparticles
Figure 2 :
53Figure 2: SEM-images to study performance of parallel detecting nanoparticles
Figure 3 :
54Figure 3: Dependencies of average time, acceleration (speedup) and efficiency on the number of processes for parallel nanoparticles detection
Figure 4 :
55Figure 4: Dependencies of time on the number of processes at the level of detecting nanoparticles
Figure 5 :
56Figure 5: Dependencies of speedup on the number of processes at the level of detecting nanoparticles
The
57International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLVIII-2/W3-2023 ISPRS Intl.Workshop "Photogrammetric and computer vision techniques for environmental and infraStructure monitoring, Biometrics and Biomedicine" PSBB23, 24-26 April 2023, Moscow, Russia
Figure 7 :
58Figure 7: Dependencies of speedup on the number of processes at the level of image processing pool
Table 1 :
59Main characteristics of computing systems 4.2 Performance study of parallel detection of nanoparticles on a single image
Table 2 :
60Performance evaluation results for parallel nanoparticale detection in a single image
Table 3 :
61The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Volume XLVIII-2/W3-2023 ISPRS Intl.Workshop "Photogrammetric and computer vision techniques for environmental and infraStructure monitoring, Biometrics and Biomedicine" PSBB23, 24-26 April 2023, Moscow, Russia Performance evaluation results for parallel nanoparticale detection in a single image
62Figures 4 and 5 presents respectively dependencies of time (in minutes) and speedup on the number of processes p2 at the level of image processing pool.Different charts at these figures corresponds to different number of processes p1 at the level of detecting naoparticles in a single image.Figures 6 and 7presents
참고문헌 12건
- TSEM Advances in imaging and electron physics · Academic Press · 2012 10.1016/b978-0-12-394297-5.00006-4
- Spatial imaging of carbon reactivity centers in Pd/C catalytic systems Chemical Science · Royal Society of Chemistry · 2015 10.1039/c5sc00802f
- Two‐dimensional top hat filter for extracting spots and spheres from digital images Journal of Microscopy · Wiley · 1987 10.1111/j.1365-2818.1987.tb01340.x
- Electronic and plasmonic phenomena at graphene grain boundaries Nature Nanotechnology · Nature Portfolio · 2013 10.1038/nnano.2013.197
- Pd/C: An Old Catalyst for New Applications – Its Use for the Suzuki–Miyaura Reaction European Journal of Organic Chemistry · Wiley · 2006 10.1002/ejoc.200501004
- Development of the Applications of Palladium on Charcoal in Organic Synthesis Advanced Synthesis & Catalysis · Wiley · 2018 10.1002/adsc.201800343
- Pd/C: An Old Catalyst for New Applications — Its Use for the Suzuki—Miyaura Reaction ChemInform · Wiley · 2006 10.1002/chin.200638227
- Supercomputer Lomonosov-2: Large Scale, Deep Monitoring and Fine Analytics for the User Community Supercomputing Frontiers and Innovations · Publishing center of the South Ural State University · 2019 10.14529/jsfi190201
- Deep neural network analysis of nanoparticle ordering to identify defects in layered carbon materials Chemical Science · Royal Society of Chemistry · 2021 10.1039/d0sc05696k
- Recent Advances of Pd/C-Catalyzed Reactions Catalysts · Multidisciplinary Digital Publishing Institute · 2021 10.3390/catal11091078
- Automated Recognition of Nanoparticles in Electron Microscopy Images of Nanoscale Palladium Catalysts Nanomaterials · Multidisciplinary Digital Publishing Institute · 2022 10.3390/nano12213914
- Electron microscopy dataset for the recognition of nanoscale ordering effects and location of nanoparticles — Dataset 1 (ordered) Figshare · Figshare (United Kingdom) · 2020 10.6084/m9.figshare.11783661