Jaeyoung Park* and Sangjoon Lee**A Study on an Automatic Multi-Focus System for Cell ObservationAbstract: This study is concerned with the mechanism and structure of an optical microscope and an automatic multi-focus algorithm for automatically selecting sharp images from multiple foci of a cell. To obtain precise cell images quickly, a z-axis actuator with a resolution of 0.1 μm was designed to control an optical microscope Moreover, a lighting control system was constructed to select the color and brightness of light that best suit the object being viewed. Cell images are captured by the instrument and the sharpness of each image is determined using Gaussian and Laplacian filters. Next, cubic spline interpolation and peak detection algorithms are applied to automatically find the most vivid points among multiple images of a single object. A cancer cell imaging experiment using propidium iodide staining confirmed that a sharp multipoint image can be obtained using this microscope. The proposed system is expected to save time and effort required to extract suitable cell images and increase the convenience of cell analysis. Keywords: Automatic Multi-Focus , Cell Observation , Cubic Spline Interpolation , Peak Detection 1. IntroductionFor cell observation, it is necessary to acquire suitable images from several foci, such as the cell surface, nucleus, and stained reagents, according to the observation purpose. We propose an automatic multifocus system that automatically selects sharp images of various foci of a single cell to save significant time and effort in performing cell observation and analysis [1,2]. Unlike an autofocusing system, which finds an existing sharply focused image, we designed a peak detection algorithm to find and select multiple focal points. Additionally, a cubic spline interpolation method is used to shorten the time required to select clear cell images. An optical microscope and lighting control system were constructed for the implementation of our system. It is expected that the proposed system will save significant time and effort in acquiring cell images for various purposes. 2. Automatic Multi-Focus System2.1 Optical Microscope Structure and Control SystemOur optical microscope was constructed based on a depth-of-focus scheme and cell images were captured by moving the camera phase in μm-resolution units to implement an automatic multi-focus system. Fig. 1 presents the structure of the optical microscope and Fig. 2 presents a hardware system diagram. Our system is designed to acquire images by selecting lens scale, lighting color, and brightness for cell observation purposes and automatically controlling the z-axis rotary actuator. 2.2 Lighting Color and Brightness Control SystemWhen observing cells, the color of the light depend on the reagent that are used for cell staining. Moreover, the brightness of the light should be set considering whether the cell is alive or whether a large number of clustered cells need to be visualized [3-5]. Fig. 3 shows the staining of the surface of mouse macrophages (RAW264.7) with Alexa Fluor 555 (red) and Alexa Fluor 488 (green), staining of the nucleus with DAPI (blue), and images of cell under light of different color. In Fig. 3(a), the green color staining was observed on the cell surface when illuminated with green light, and in Fig. 3(b) the blue reagent was stained on the nucleus when blue light was illuminated. Fig. 3(c) shows that when both red and green lights are used, yellow stain with a mixture of green and red staining can be seen on the cell surface, and only green stain penetrates into the nucleus. Fig. 3(d) shows that when red, green and blue are used at once, yellow with a mixture of green and red staining can be seen on the cell surface, and green and blue stains penetrates the nucleus. It can be seen that appropriate lighting should be used depending on the condition of the cells to be observed. 2.3 Automatic Multi-Focus AlgorithmThe proposed automatic multi-focus system converts the RGB values of each pixel of an image acquired using a light microscope into Laplacian values after an initial pass through a Gaussian filter. The Laplacian values for each pixel are summed to represent sharpness numerically and the points with the highest Laplacian sum values are selected using the cubic spline interpolation method and peak detection algorithm. Fig. 4 illustrates the process of executing the automatic multi-focus algorithm. In order to employ this algorithm the preprocessing is carried out, wherein the cells to be observed are placed on the constructed optical microscope the z-axis actuator is moved, and the image is scanned and binarized. Then, the sharpness is converted into a value and extracted for 100,000 images scanned through four stages including Gaussian filter, Laplacian filter, Laplacian mask, and median filter. Next, the cubic spline interpolation method and peak detection algorithm are used to finally select the image with the sharpest focus. In a conventional autofocusing system, it is time consuming to check images at intervals of 0.01 μm when capturing images using a lens with a magnification of 1000× or more. To compensate for these drawbacks, we applied the cubic spline interpolation equation to estimate the Laplacian values without scanning images using a 0.01 μm phase to improve the speed of the system [6,7]. The formula for cubic spline interpolation is shown in Eq. (1) and the explanation about the peak detection algorithm is shown in Fig. 5.
(1)[TeX:] $$f ( x ) = f ( x 0 ) + \frac { f ( x 1 ) - f ( x 0 ) } { x ( 1 ) - x ( 0 ) } ( x - x 0 )$$Eq. (1) represents the interpolation operation. This interpolation equation can be used to calculate an f(x) value between f(x0) and f(x1). In other words, in the cubic spline interpolation function, when Laplacian values from f(x0) to f(x1) are calculated for the phase from x(0) to x(1), the values of f(x) corresponding to x between x(0) and x(1) are also calculated. Therefore, x(0) and x(1) perform the interpolation to obtain the x-axis range, and f(x0) and f(x1) perform the interpolation and become the y-axis range in which f(x) is obtained. Conventional autofocusing systems find one image that is in clear focus. However, when observing a cell, it is necessary to find clear images at various foci, such as the cell surface, cell nucleus, and stained regions. For this purpose, the proposed system incorporates the peak detection algorithm, which automatically selects sharp images in various phases [8,9]. In the process of performing the peak detection algorithm, a smoothing filter removes the noise in the Laplacian transformation values obtained from cubic spline interpolation. Then, baseline correction of the peak detection reference point is performed using a baseline filter and moving average filter. The entire dataset is then shifted to select a peak detection criterion. In this process, shifted waveform analysis (SWA) algorithm is executed. The explanation of this algorithm is shown in detail in Eq. (2). The peak reference is selected through the SWA algorithm. Next, peak points that match the criterion are selected. Fig. 5 illustrates the process of the peak detection algorithm and Fig. 6 presents the graph resulting from the peak detection algorithm.
(2)[TeX:] $$ \left( Peak _ { Data }[ phase \right] = \left( Org _ { Data }[ phase]- ( Shift _ { Data }[ phase] - \sigma) \right) ^2 \\ (phase = [0-100,000], \delta = 2,000)$$Fig. 6 contains three peak points after applying the cubic spline interpolation and peak detection algorithms. Eq. (2) represents the SWA operation. This SWA equation can be used to detect a peak. The SWA procedure is shown in Fig 6, where ‘phase’ represents the range of phases for performing peak detection and δ represents the interval to shift in the [TeX:] $$Org_{Data}[ {phase} ]$$. The size of the δ can be experimented by freely setting the shift interval. The [TeX:] $$Org_{Data}[ {phase} ]$$ literally represents the original blue data, and the [TeX:] $$Shift_{Data}[ {phase} ]$$ represents the green data shifted by δ. Moreover, [TeX:] $$Peak_{Data}[ {phase} ]$$ represents the purple data that was finally obtained as a result of formula execution. As a result of Eq. (2), we could obtain the purple peak data of Fig. 6 and identify the three peaks denoted by red dots. Using this method, a clear image of multiple foci of a single cell can be obtained automatically, thereby increasing the convenience and efficiency of the system. Fig. 7 shows the images taken at the three peak points indicated by the red dots in Fig. 6. Fig. 7 presents images obtained from the three peak points after photographing cancer cells (MKN-28) stained with propidium iodide (PI) reagent and performing peak detection. Fig. 7(a) is the outline of the cell, Fig. 7(b) is the PI stained region, and Fig. 7(c) is the cell epidermis. These experimental results demonstrate that sharp images of multiple phases of a single cell can be detected automatically using the peak detection algorithm. From the three images in Fig. 7, it can be seen that the three peak points obtained in Fig. 6 accurately selected sharp images. 3. ConclusionIn this study, we constructed an optical microscope for accurate cell analysis and implemented an autofocusing algorithm that can automatically acquire the necessary images for cell analysis by focusing on the cell surface, cell nucleus, and dyed reagent. Fig. 8 illustrates the program user interface (UI) for executing the automatic multi-focus algorithm. In order to verify the system performance, we automatically captured three clear images of PI-stained cancer cells focusing on the cell surface, cell outline, and stained regions. In the future, it should be possible to use this method in a reliable automatic skin health diagnosis system by analyzing images of various skin disease cells and constructing a database according to cell health statuses. The proposed system can also be applied to a fluorescence phase-contrast microscope, where the time and effort required to capture cell images can be saved and a significant enhancement in cell analysis convenience is expected. BiographyJaeyoung Parkhttps://orcid.org/0000-0002-3932-9538He received B.S. degree in Department of Information and Communication Engineering from Sunmoon University in 2016. Since March 2017, he is with the Department of Information and Communication Engineering from Sunmoon University as a M.S. candidate. His research interests are embedded system, biosignal processing, pattern recognition, and biometric system with biosignals. BiographySangjoon Leehttps://orcid.org/0000-0002-9829-4822He received B.S. degree in measurement and control and M.S. degree in electron from the Myongji University, Korea, in 2001 and 2005, respectively, the Ph.D. degree in Electrical and Electronic Engineering (biomedical engineering) from Yonsei University, Korea, in 2011. He has been worked of Sunmoon University as a professor of Division of Smart Automotive Engineering. His research interests are embedded system, biosignal processing, pattern recognition, and biometric system with biosignals. References
|