[go: up one dir, main page]

CN114359325A - An accurate segmentation method of cell images based on digital holographic imaging technology - Google Patents

An accurate segmentation method of cell images based on digital holographic imaging technology Download PDF

Info

Publication number
CN114359325A
CN114359325A CN202111656138.3A CN202111656138A CN114359325A CN 114359325 A CN114359325 A CN 114359325A CN 202111656138 A CN202111656138 A CN 202111656138A CN 114359325 A CN114359325 A CN 114359325A
Authority
CN
China
Prior art keywords
image
cell
algorithm
segmentation
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111656138.3A
Other languages
Chinese (zh)
Inventor
左超
张晓磊
陈钱
胡岩
江伟
李卓识
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University Of Technology Intelligent Computing Imaging Research Institute Co ltd
Original Assignee
Nanjing University Of Technology Intelligent Computing Imaging Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University Of Technology Intelligent Computing Imaging Research Institute Co ltd filed Critical Nanjing University Of Technology Intelligent Computing Imaging Research Institute Co ltd
Priority to CN202111656138.3A priority Critical patent/CN114359325A/en
Publication of CN114359325A publication Critical patent/CN114359325A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

本发明公开了一种基于数字全息成像技术的细胞图像的准确分割方法,包括获取细胞图像、对图像进行预处理、提取图像中的细胞区域,识别单个细胞及对细胞图像进行分割五个步骤。本发明方法能够快速获得细胞样本的动态信息,并且不会对细胞样本造成损害;同时,对于细胞图像中存在细胞重叠、细胞粘连等现象,能够实现对单个细胞的准确分割。

Figure 202111656138

The invention discloses an accurate segmentation method of a cell image based on digital holographic imaging technology, which includes five steps of acquiring a cell image, preprocessing the image, extracting the cell area in the image, identifying a single cell and segmenting the cell image. The method of the invention can quickly obtain the dynamic information of the cell sample without causing damage to the cell sample; meanwhile, for the phenomenon of cell overlap, cell adhesion and the like in the cell image, the accurate segmentation of a single cell can be realized.

Figure 202111656138

Description

一种基于数字全息成像技术的细胞图像的准确分割方法An accurate segmentation method of cell images based on digital holographic imaging technology

技术领域technical field

本发明涉及数字全息成像、细胞分割技术领域,具体涉及一种基于数字全息成像技术的细胞图像的准确分割方法。The invention relates to the technical fields of digital holographic imaging and cell segmentation, in particular to an accurate segmentation method of cell images based on digital holographic imaging technology.

背景技术Background technique

从十九世纪早期细胞理论建立以来,人们就认识到了细胞是生命的基本构成单位,生物学家们试图解释细胞组成生命的基础理论。在过去的数十年中,生物学家们已经有了很多惊人的发现和研究成果,但是一直到今天,人们仍然在加大投入,开发出更加复杂的工具来试图进一步理解细胞的工作机制,并且研究如何通过细胞来改善人体的健康。Since the establishment of cell theory in the early nineteenth century, people have recognized that cells are the basic building blocks of life, and biologists have tried to explain the basic theory that cells make up life. In the past few decades, biologists have made many amazing discoveries and research results, but until today, people are still investing more and developing more complex tools to try to further understand the working mechanism of cells, And study how to improve human health through cells.

细胞生物学的进步在很大程度上依赖显微镜的发展,16世纪晚期,人类发明了第一台光学显微镜。这一伟大发明的出现,为人类打开了通向一个全新世界的大门,结束了只靠肉眼观察世界的时代。显微镜从发明以来一直是一种重要的科学仪器,被广泛地用于生物、化学、物理、冶金、酿造等多个领域,对人类发展做出了巨大而卓越的贡献。从发明至今的多年时间里,随着科学技术发展和人们对观察要求的提高,显微镜技术得到了不断的发展与改进,其发展大体可以分为光学显微镜,电子显微镜,扫描隧道显微镜,扫描探针显微镜这样几个历程。数字全息显微镜是数字全息技术在显微领域的应用,也被称为全息显微术。与其他显微技术相比,数字全息显微镜并不直接记录被观测物体的图像,而是记录含有被观测物体波前信息的全息图,再通过计算机对所记录的全息图进行数值重建来得到被测物体的相位和振幅(光强)信息,进而完成数字三维重构。用这种技术能够快速获得细胞样本的动态信息,并且不会对细胞样本造成损害。Advances in cell biology have largely relied on the development of microscopes, and in the late 16th century, humans invented the first optical microscope. The emergence of this great invention has opened the door to a whole new world for human beings, ending the era of observing the world only with the naked eye. The microscope has been an important scientific instrument since its invention, and has been widely used in many fields such as biology, chemistry, physics, metallurgy, brewing, etc., and has made great and outstanding contributions to the development of human beings. In the years since its invention, with the development of science and technology and the improvement of people's requirements for observation, microscope technology has been continuously developed and improved. Its development can be roughly divided into optical microscopes, electron microscopes, scanning tunneling microscopes, scanning probes Microscope such several processes. Digital holographic microscope is the application of digital holographic technology in the field of microscopy, also known as holographic microscopy. Compared with other microscopy techniques, the digital holographic microscope does not directly record the image of the observed object, but records the hologram containing the wavefront information of the observed object, and then numerically reconstructs the recorded hologram through the computer to obtain the image of the observed object. Measure the phase and amplitude (light intensity) information of the object, and then complete the digital three-dimensional reconstruction. With this technique, dynamic information of the cell sample can be obtained quickly without causing damage to the cell sample.

目前为止,数字全息显微镜在细胞学研究上已经得到了广泛应用,比如对于细胞形态的研究,对于细胞行为的研究,这些研究都需要对细胞进行量化分析,比如细胞的尺寸测量,细胞计数,还有细胞的跟踪等,而这些量化分析都非常依赖对于细胞图像的准确分割。So far, digital holographic microscopy has been widely used in cytological research, such as the study of cell morphology, and the study of cell behavior. These studies require quantitative analysis of cells, such as cell size measurement, cell counting, and There are cell tracking, etc., and these quantitative analyses are very dependent on accurate segmentation of cell images.

细胞分割是指根据灰度、彩色、几何形状等特征把细胞图像划分成若干个互不相交的区域,使得这些特征在同一区域中,表现出一致性或相似性,而在不同区域间表现出明显的不同。细胞分割是医学图象处理中最为基础和重要的领域之一,它是对细胞图像进行识别和计数的基本前提,同时如何提高细胞分割的精度和分割速度是目前细胞分割领域的一个关键问题。Cell segmentation refers to dividing the cell image into several disjoint regions according to features such as grayscale, color, geometric shape, etc., so that these features in the same region show consistency or similarity, while in different regions Noticeably different. Cell segmentation is one of the most basic and important fields in medical image processing. It is the basic premise of identifying and counting cell images. At the same time, how to improve the accuracy and speed of cell segmentation is a key issue in the field of cell segmentation.

在细胞分割的研究中,根据细胞图像的不同特征,研巧人员提出了许多细胞图像的分割算法。传统的的分割方法主要有如下几种:In the research of cell segmentation, according to the different characteristics of cell images, researchers have proposed many segmentation algorithms of cell images. The traditional segmentation methods mainly include the following:

(一)阈值分割(1) Threshold segmentation

阈值分割是一种传统的图像分割方法,它实现简单、计算量小、性能较为稳定,尤其适合于目标和背景占据不同灰度级范围的图像。在很多情况下,是进行细胞分割、细胞识别之前必要的图像预处理过程。Shirin Nasr-Isfahani等提出的一种聚堆细胞的新方法中,就是先使用组合图像分割算法和阈值分割来提取前景对象并转化为二值图像的。阈值分割法的主要局限在于,最简单形式的阈值法只能产生二值图像来区分两个类,而且它只考虑像素本身,一般都不考虑图像的空间特性,这样就对噪声很敏感。Threshold segmentation is a traditional image segmentation method, which is simple to implement, less computationally expensive, and more stable in performance. It is especially suitable for images with objects and backgrounds occupying different gray levels. In many cases, it is a necessary image preprocessing process before cell segmentation and cell identification. A new method of clustering cells proposed by Shirin Nasr-Isfahani et al. uses a combination of image segmentation algorithm and threshold segmentation to extract foreground objects and convert them into binary images. The main limitation of the threshold segmentation method is that the simplest form of the threshold method can only generate binary images to distinguish two classes, and it only considers the pixels themselves, and generally does not consider the spatial characteristics of the image, so it is very sensitive to noise.

(二)基于边缘检测的方法(2) Method based on edge detection

边缘检测的目的是标识数字图像中亮度变化明显的点。它可以快速准确地找到边缘,从而通过边缘确定区域内的灰度或颜色信息,从而达到对图像的快速分割。边缘点的判定是基于所检测点的本身和它的一些邻近点,主要包括局部微分算子,如Roberts梯度算子、Sobel梯度算子和Canny算子等。Roberts梯度算子有利于对具有陡峭边缘的低噪声图像的分割;Laplacian算子具有各向同性的特点;Prewitt梯度算子、Sobel梯度算子等有利于对具有较多噪声且灰度渐变图像的分割。针对不同的细胞图像,还有许多其他不同的算子或方法来检测这些边缘点。如翁秀梅等人提出了一种利用相位一致性模型检测图像边缘,获得图像主要几何结构的方法。而李天钢等人将多尺度小波变换运用于胃癌细胞图像的边缘检测中,解决了具有复杂纹理的医学病理细胞图像的分割问题。一个好的边缘检测算子不仅具有微分特性以获得灰度变化信息,它还应该能够根据需要适合任何尺度下的边缘检测,因为图像中的灰度是以不同尺度发生变化的。实验发现,边缘检测方法获得的边缘信息往往会因这些信息不够突出而产生间隙,不能形成包围细胞的封闭曲线,这就要求根据这些离散的边缘点采用一定的跟踪、连接算法勾勒出有意义的细胞边界。The purpose of edge detection is to identify points in a digital image with significant changes in brightness. It can quickly and accurately find the edge, so as to determine the gray or color information in the region through the edge, so as to achieve the rapid segmentation of the image. The determination of edge points is based on the detected point itself and some of its neighboring points, mainly including local differential operators, such as Roberts gradient operator, Sobel gradient operator and Canny operator. The Roberts gradient operator is beneficial to the segmentation of low-noise images with steep edges; the Laplacian operator is isotropic; the Prewitt gradient operator, the Sobel gradient operator, etc. segmentation. For different cell images, there are many other different operators or methods to detect these edge points. For example, Weng Xiumei et al. proposed a method to detect the edge of the image using the phase consistency model and obtain the main geometric structure of the image. Li Tiangang et al. applied multi-scale wavelet transform to edge detection of gastric cancer cell images to solve the segmentation problem of medical pathological cell images with complex textures. A good edge detection operator not only has the differential characteristic to obtain the grayscale change information, it should also be suitable for edge detection at any scale as needed, because the grayscale in the image changes at different scales. The experiment found that the edge information obtained by the edge detection method often produces gaps because the information is not prominent enough, and cannot form a closed curve surrounding the cells. cell boundaries.

近年来,研究者们为解决上述传统细胞分割中存在的问题对于各种新的细胞图像分割算法进行了深入的研究,基于区域生长和区域分裂和合并技术的分割算法以及分水岭分割算法等技术逐渐成为了主流。由此可见,通过研究人员的不断努力,细胞分割技术已经取得了非常丰富的科研成果,细胞分割在生物研究领域的运用越来越广泛,这无疑将会使这项技术向更广阔的方向发展。In recent years, researchers have conducted in-depth research on various new cell image segmentation algorithms in order to solve the above-mentioned problems in traditional cell segmentation. became mainstream. It can be seen that through the continuous efforts of researchers, cell segmentation technology has achieved very rich scientific research results, and the application of cell segmentation in the field of biological research is becoming more and more extensive, which will undoubtedly make this technology develop in a broader direction .

发明内容SUMMARY OF THE INVENTION

本发明公开了一种数字全息成像技术的细胞图像的准确分割方法,用于提高细胞图像的分割准确度和分割速度。The invention discloses an accurate segmentation method of a cell image by digital holographic imaging technology, which is used for improving the segmentation accuracy and segmentation speed of the cell image.

本发明的技术方案如下:一种基于数字全息成像技术的细胞图像的准确分割方法,步骤如下:The technical scheme of the present invention is as follows: an accurate segmentation method of cell images based on digital holographic imaging technology, the steps are as follows:

步骤一,从数字全息成像系统中获取细胞图像;Step 1, acquiring a cell image from a digital holographic imaging system;

步骤二,对图像进行预处理,设置阈值去除图像噪声点;Step 2: Preprocess the image and set a threshold to remove image noise points;

步骤三,提取图像中的细胞区域,通过自适应梯度阈值前景分割算法将整个细胞区域从背景中分离出来;Step 3: Extract the cell area in the image, and separate the entire cell area from the background through an adaptive gradient threshold foreground segmentation algorithm;

步骤四,识别单个细胞,采用距离变换算法和H-minima变换算法识别细胞中心,进而完成对单个细胞的识别;Step 4: Identify a single cell, use the distance transformation algorithm and the H-minima transformation algorithm to identify the center of the cell, and then complete the identification of the single cell;

步骤五,对细胞图像进行分割,通过标记符控制的分水岭算法实现细胞图像的分割。Step 5, segment the cell image, and realize the segmentation of the cell image through a marker-controlled watershed algorithm.

优选的,步骤一使用基于数字全息成像技术的三维动态显微成像系统,包括光学成像系统和软件算法系统;Preferably, step 1 uses a three-dimensional dynamic microscopic imaging system based on digital holographic imaging technology, including an optical imaging system and a software algorithm system;

光学成像系统包括:照明模块,氦氖激光器;成像模块,四个不同倍率的显微物镜;分光模块,非偏振分束立方体;图像采集模块,CCD工业相机。The optical imaging system includes: illumination module, helium-neon laser; imaging module, four microscope objective lenses with different magnifications; beam splitting module, non-polarized beam splitting cube; image acquisition module, CCD industrial camera.

软件算法系统的算法包括:基于离轴全息干涉的定量相位恢复和三维重构算法;基于主成分分析的相位像差校准算法;频谱亚像素位移像差补偿算法;微分干涉相衬显示算法。The algorithm of the software algorithm system includes: quantitative phase recovery and three-dimensional reconstruction algorithm based on off-axis holographic interference; phase aberration calibration algorithm based on principal component analysis; spectral sub-pixel displacement aberration compensation algorithm; differential interference phase contrast display algorithm.

优选的,步骤二具体为:设定一个阈值th,灰度值小于阈值th的像素点的灰度值置为0,灰度值大于或等于阈值的像素点的灰度值则不变,th取0.45。Preferably, step 2 is specifically as follows: setting a threshold th, the gray value of the pixel whose gray value is less than the threshold th is set to 0, and the gray value of the pixel whose gray value is greater than or equal to the threshold is unchanged, and th Take 0.45.

优选的,步骤三具体为:Preferably, step 3 is specifically:

步骤3.1,将整幅大小为m×n的图像分为M×N个子块,m和n分别为M和N的整数倍;Step 3.1: Divide the entire image of size m×n into M×N sub-blocks, where m and n are integer multiples of M and N respectively;

步骤3.2,通过Sobel算子计算每个图像子块的梯度直方图,即计算每个子图像中像素点的梯度分布;Step 3.2, calculate the gradient histogram of each image sub-block by the Sobel operator, that is, calculate the gradient distribution of the pixels in each sub-image;

步骤3.3,对每幅子图像进行Otsu分割,得到各个子图像的最优分割阈值,通过阈值识别细胞区域。Step 3.3, perform Otsu segmentation on each sub-image to obtain the optimal segmentation threshold of each sub-image, and identify cell regions through the threshold.

优选的,步骤四具体为:Preferably, step 4 is specifically:

步骤4.1,细胞图像二值化,步骤三中提取到的细胞区域设为白色,外部背景区域设为黑色;Step 4.1, the cell image is binarized, the cell area extracted in step 3 is set to white, and the external background area is set to black;

步骤4.2,将二值化后的细胞图像通过距离变换算法计算,识别到初始的细胞中心坐标并返回得到距离图像;Step 4.2, calculate the binarized cell image through the distance transformation algorithm, identify the initial cell center coordinates and return to obtain the distance image;

步骤4.3,通过H-minima算法抑制距离图像中灰度差值小于阈值h的局部极大值,h取2.3;Step 4.3, use the H-minima algorithm to suppress the local maximum value in the distance image whose grayscale difference is less than the threshold h, and h is taken as 2.3;

步骤4.4,通过计算图像中连通分量的质心得到细胞中心的坐标,完成单个细胞的识别。In step 4.4, the coordinates of the cell center are obtained by calculating the centroid of the connected components in the image to complete the identification of a single cell.

优选的,步骤五具体为:Preferably, step 5 is specifically:

步骤5.1,对步骤四中的细胞梯度图像利用形态学开闭运算重构图像,并对重构后的图像提取局部最小值进行标记,即为内部标记符;Step 5.1, use the morphological opening and closing operation to reconstruct the image of the cell gradient image in step 4, and mark the local minimum value extracted from the reconstructed image, which is an internal marker;

步骤5.2,利用传统的分水岭算法对步骤四中经过距离变换和H-minima算法运算得到的距离图进行分割,即为外部标记符;Step 5.2, use the traditional watershed algorithm to segment the distance map obtained by the distance transformation and H-minima algorithm operation in step 4, which is the external marker;

步骤5.3,对经过步骤5.1和步骤5.2产生的内部标记图像和外部标记图像,利用强制最小技术产生梯度图像的局部最小值;Step 5.3, using the forced minimum technique to generate the local minimum value of the gradient image for the internal marked image and the external marked image generated through step 5.1 and step 5.2;

步骤5.4,对修改后的梯度图像做分水岭分割得到最终的细胞分割图像。Step 5.4, perform watershed segmentation on the modified gradient image to obtain the final cell segmentation image.

本发明与现有技术相比,具有如下优点:(1)能够快速获得细胞样本的动态信息,并且不会对细胞样本造成损害;(2)对于细胞图像中存在细胞重叠、细胞粘连等现象,能够实现对单个细胞的准确分割。Compared with the prior art, the present invention has the following advantages: (1) the dynamic information of the cell sample can be quickly obtained without causing damage to the cell sample; (2) for the phenomenon of cell overlap and cell adhesion in the cell image, Accurate segmentation of single cells can be achieved.

附图说明Description of drawings

图1是本发明的一种基于数字全息成像技术的细胞图像的准确分割方法的流程图。FIG. 1 is a flow chart of an accurate segmentation method of a cell image based on digital holographic imaging technology according to the present invention.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

如图1所示,为本实施例的一种基于数字全息成像技术的细胞图像的准确分割方法的流程图。具体步骤如下。As shown in FIG. 1 , it is a flowchart of an accurate segmentation method of a cell image based on the digital holographic imaging technology according to this embodiment. Specific steps are as follows.

步骤一,首先从数字全息成像系统中获取细胞图像。Step 1, first acquire cell images from a digital holographic imaging system.

本实施例使用的数字全息成像系统主要由光学成像系统和软件算法系统两大核心部分组成。光学成像系统主要负责获取精确稳定的全息图像,该部分可细分为:(1)照明模块:氦氖激光器;(2)成像模块:四个不同倍率的显微物镜(Olympus RMS4X、RMS10X、RMS20X、 RMS40X);(3)分光模块:非偏振分束立方体(BS019);(4)图像采集模块:CCD 工业相机。软件算法系统是整套系统的关键,负责实现图像信息的恢复重构和分析等,具体的算法包括:(1)基于离轴全息干涉的定量相位恢复和三维重构算法;(2)基于主成分分析的相位像差校准算法;(3)频谱亚像素位移像差补偿算法;(4)微分干涉相衬显示算法。The digital holographic imaging system used in this embodiment is mainly composed of two core parts, an optical imaging system and a software algorithm system. The optical imaging system is mainly responsible for acquiring accurate and stable holographic images, which can be subdivided into: (1) Illumination module: He-Ne laser; (2) Imaging module: four microscope objectives with different magnifications (Olympus RMS4X, RMS10X, RMS20X , RMS40X); (3) Spectral module: non-polarized beam splitter cube (BS019); (4) Image acquisition module: CCD industrial camera. The software algorithm system is the key to the whole system, which is responsible for the restoration, reconstruction and analysis of image information. The specific algorithms include: (1) quantitative phase recovery and three-dimensional reconstruction algorithms based on off-axis holographic interference; (2) based on principal components Analyzed phase aberration calibration algorithm; (3) spectral sub-pixel displacement aberration compensation algorithm; (4) differential interference contrast display algorithm.

使用该数字全息成像系统的具体操作流程可分为以下两步:(1)连接并调试设备:将显微镜部分与计算机连接,样品贴近相机摆放,相机采集到像面的图像后,通过USB将采集的图像传输到电脑;(2)启动成像算法:将采集到的图像通过数字全息定量相位恢复算法进行DIC(数字微分干涉相衬显示)显示,即可实现细胞图像的获取;The specific operation process of using the digital holographic imaging system can be divided into the following two steps: (1) Connect and debug the device: connect the microscope part to the computer, place the sample close to the camera, and after the camera captures the image of the image plane, connect the The collected image is transmitted to the computer; (2) Start the imaging algorithm: the collected image is displayed by DIC (Digital Differential Interference Contrast Display) through the digital holographic quantitative phase recovery algorithm, and then the acquisition of the cell image can be realized;

步骤二,对图像进行预处理。The second step is to preprocess the image.

考虑到为了消除数字全息成像系统照明模块密封性不佳可能会带来的亮度不均匀和空气中灰尘等其它因素的影响,导致成像信息夹杂多余的噪声,因此要对数字全息成像系统获取的细胞图像进行降噪处理。为了保护原始图像的信息,本发明将通过设置阈值对获取到的细胞图像进行降噪处理。阈值处理类似于分段函数处理,设定一个阈值th,灰度值小于阈值th的像素点的灰度值置为0,灰度值大于或等于阈值的像素点的灰度值则不变,本发明通过大量实验发现阈值th为0.45较合适。Considering that in order to eliminate the influence of other factors such as uneven brightness and dust in the air that may be caused by poor sealing of the illumination module of the digital holographic imaging system, the imaging information is mixed with extra noise. The image is denoised. In order to protect the information of the original image, the present invention will perform noise reduction processing on the acquired cell image by setting a threshold. Threshold processing is similar to piecewise function processing. A threshold th is set. The gray value of the pixel whose gray value is less than the threshold th is set to 0, and the gray value of the pixel whose gray value is greater than or equal to the threshold is unchanged. The present invention finds that the threshold th is 0.45 is more suitable through a large number of experiments.

步骤三,提取图像中的细胞区域。Step 3, extract the cell area in the image.

本实施例通过自适应梯度阈值前景分割算法将整个细胞区域从背景中分离出来,其主要靠针对图像梯度特征的分布不同产生合适的阈值进行前景分割,具体步骤如下:(1)将整幅大小为m×n的图像分为M×N个子块,m和n分别为M和N的整数倍;(2)通过Sobel算子计算每个图像子块的梯度直方图,即计算每个子图像中像素点的梯度分布。这样做的目的是仅考虑子图像中与边缘信息有关的像素点,从而使所得直方图与原始直方图之间相比,双峰基本保持不变,而谷底变得更深;(3)对每幅子图像进行Otsu分割。由于在步骤(1)中,使直方图的谷底得到了强化,继续使用Otsu分割方法,可以容易地得到各个子图像的最优分割阈值,最后通过阈值识别细胞区域。This embodiment separates the entire cell area from the background through an adaptive gradient threshold foreground segmentation algorithm, which mainly relies on generating an appropriate threshold for the different distribution of image gradient features to perform foreground segmentation. The specific steps are as follows: (1) The size of the entire image The image of m×n is divided into M×N sub-blocks, and m and n are integer multiples of M and N respectively; (2) Calculate the gradient histogram of each image sub-block by the Sobel operator, that is, calculate the gradient histogram of each sub-image. Gradient distribution of pixels. The purpose of this is to only consider the pixel points related to the edge information in the sub-image, so that compared with the original histogram, the double peaks remain basically unchanged, and the valleys become deeper; (3) For each The sub-images are subjected to Otsu segmentation. Since in step (1), the valley bottom of the histogram has been strengthened, and by continuing to use the Otsu segmentation method, the optimal segmentation threshold of each sub-image can be easily obtained, and finally the cell region is identified by the threshold.

步骤四,识别单个细胞。Step four, identify single cells.

本实施例采用距离变换算法和H-minima变换算法识别细胞中心,进而完成对单个细胞的识别,具体步骤如下:(1)将细胞图像二值化,步骤三中提取到的细胞区域设为白色,外部背景区域设为黑色;(2)将二值化后的细胞图像通过距离变换算法计算,识别到初始的细胞中心坐标并返回得到距离图像。距离变换的基本含义是计算一个图像中非零像素点到最近的零像素点的距离,也就是到零像素点的最短距离,找到最短距离的最大值,并记录下位置,即可得到细胞中心坐标;(3)通过H-minima算法抑制距离图像中灰度差值小于阈值h的局部极大值,本发明通过大量实验发现阈值h为2.3较为合适;(4)通过计算图像中连通分量的质心得到细胞中心的坐标,即完成单个细胞的识别。In this embodiment, the distance transformation algorithm and the H-minima transformation algorithm are used to identify the cell center, and then the identification of a single cell is completed. The specific steps are as follows: (1) Binarize the cell image, and set the cell region extracted in step 3 as white , the external background area is set to black; (2) The binarized cell image is calculated by the distance transformation algorithm, and the initial cell center coordinates are identified and returned to obtain the distance image. The basic meaning of distance transformation is to calculate the distance from a non-zero pixel in an image to the nearest zero pixel, that is, the shortest distance to the zero pixel, find the maximum value of the shortest distance, and record the position to get the cell center. Coordinate; (3) suppress the local maximum value in the distance image with the grayscale difference less than the threshold h by the H-minima algorithm, the present invention finds that the threshold h is 2.3 is more suitable through a large number of experiments; (4) by calculating the connected components in the image. The centroid obtains the coordinates of the center of the cell, that is, the identification of a single cell is completed.

步骤五,对细胞图像进行分割。Step 5, segment the cell image.

本实施例通过控制标记符的分水岭算法实现细胞图像的分割,具体步骤如下:(1)对步骤四中的细胞梯度图像利用形态学开闭运算重构图像,并对重构后的图像提取局部最小值进行标记,即为内部标记符;(2)利用传统的分水岭算法对步骤四中经过距离变换和H-minima算法运算得到的距离图进行分割,即为外部标记符;(3)对经过步骤(1)和步骤(2)产生的内部标记图像和外部标记图像,利用强制最小技术产生梯度图像的局部最小值;(4)对修改后的梯度图像做分水岭分割得到最终的细胞分割图像。This embodiment realizes the segmentation of the cell image by controlling the watershed algorithm of the markers. The specific steps are as follows: (1) The cell gradient image in step 4 is reconstructed by morphological opening and closing operation, and the reconstructed image is extracted locally. Mark the minimum value, which is the internal marker; (2) Use the traditional watershed algorithm to segment the distance map obtained by the distance transformation and H-minima algorithm in step 4, which is the external marker; The internal label image and the external label image generated in steps (1) and (2) use forced minimum technology to generate the local minimum value of the gradient image; (4) perform watershed segmentation on the modified gradient image to obtain the final cell segmentation image.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, this application is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A cell image accurate segmentation method based on a digital holographic imaging technology is characterized by comprising the following steps:
firstly, acquiring a cell image from a digital holographic imaging system;
preprocessing the image, and setting a threshold value to remove image noise points;
extracting a cell region in the image, and separating the whole cell region from the background through a self-adaptive gradient threshold foreground segmentation algorithm;
identifying single cells, and identifying cell centers by adopting a distance transformation algorithm and an H-minima transformation algorithm so as to complete the identification of the single cells;
and step five, segmenting the cell image, and realizing segmentation of the cell image through a watershed algorithm controlled by the marker.
2. The method for accurately segmenting the cell image based on the digital holographic imaging technology according to claim 1, wherein the step one uses a three-dimensional dynamic microscopic imaging system based on the digital holographic imaging technology, which comprises an optical imaging system and a software algorithm system;
the optical imaging system includes: an illumination module, a helium-neon laser; the imaging module is used for imaging the object; a beam splitting module, a non-polarizing beam splitting cube; an image acquisition module, a CCD industrial camera;
the algorithm of the software algorithm system comprises the following steps: quantitative phase recovery and three-dimensional reconstruction algorithm based on off-axis holographic interference; a phase aberration calibration algorithm based on principal component analysis; a spectral sub-pixel displacement aberration compensation algorithm; differential interference phase contrast display algorithm.
3. The method for accurately segmenting the cellular image based on the digital holography imaging technology according to the claim 1, wherein the second step is specifically as follows: setting a threshold th, setting the gray value of the pixel point with the gray value smaller than the threshold th as 0, and keeping the gray value of the pixel point with the gray value larger than or equal to the threshold unchanged, wherein th is 0.45.
4. The method for accurately segmenting the cellular image based on the digital holography imaging technology according to the claim 1, wherein the third step is specifically as follows:
step 3.1, dividing the whole image with the size of M multiplied by N into M multiplied by N subblocks, wherein M and N are integral multiples of M and N respectively;
step 3.2, calculating a gradient histogram of each image sub-block through a Sobel operator, namely calculating the gradient distribution of pixel points in each sub-image;
and 3.3, performing Otsu segmentation on each subimage to obtain the optimal segmentation threshold of each subimage, and identifying the cell area through the threshold.
5. The method for accurately segmenting the cellular image based on the digital holography imaging technology according to the claim 1, wherein the step four is specifically as follows:
step 4.1, carrying out binarization on the cell image, setting the cell area extracted in the step three as white, and setting the external background area as black;
step 4.2, calculating the binarized cell image through a distance transformation algorithm, identifying an initial cell center coordinate and returning to obtain a distance image;
step 4.3, restraining a local maximum value with a gray difference value smaller than a threshold H in the distance image through an H-minima algorithm, wherein H is 2.3;
and 4.4, obtaining the coordinates of the cell center by calculating the mass center of the connected component in the image, and finishing the identification of the single cell.
6. The method for accurately segmenting the cellular image based on the digital holography imaging technology according to the claim 1, wherein the step five is specifically as follows:
step 5.1, reconstructing the cell gradient image in the step four by using morphological open-close operation, extracting a local minimum value from the reconstructed image and marking the local minimum value to obtain an internal marker;
step 5.2, segmenting a distance map obtained by distance conversion and H-minima algorithm operation in the step four by using a traditional watershed algorithm to obtain an external marker;
step 5.3, generating local minimum values of the gradient images by using a forced minimum technology for the internal marker images and the external marker images generated in the step 5.1 and the step 5.2;
and 5.4, performing watershed segmentation on the modified gradient image to obtain a final cell segmentation image.
CN202111656138.3A 2021-12-31 2021-12-31 An accurate segmentation method of cell images based on digital holographic imaging technology Pending CN114359325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111656138.3A CN114359325A (en) 2021-12-31 2021-12-31 An accurate segmentation method of cell images based on digital holographic imaging technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111656138.3A CN114359325A (en) 2021-12-31 2021-12-31 An accurate segmentation method of cell images based on digital holographic imaging technology

Publications (1)

Publication Number Publication Date
CN114359325A true CN114359325A (en) 2022-04-15

Family

ID=81104745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111656138.3A Pending CN114359325A (en) 2021-12-31 2021-12-31 An accurate segmentation method of cell images based on digital holographic imaging technology

Country Status (1)

Country Link
CN (1) CN114359325A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102881017A (en) * 2012-09-21 2013-01-16 四川师范大学 Cell separation method
US20150078648A1 (en) * 2013-09-13 2015-03-19 National Cheng Kung University Cell image segmentation method and a nuclear-to-cytoplasmic ratio evaluation method using the same
CN107909138A (en) * 2017-11-14 2018-04-13 江苏大学 A kind of class rounded grain thing method of counting based on Android platform
CN108596932A (en) * 2018-04-18 2018-09-28 哈尔滨理工大学 A Segmentation Method for Overlapped Cervical Cell Images
CN110838126A (en) * 2019-10-30 2020-02-25 东莞太力生物工程有限公司 Cell image segmentation method, device, computer equipment and storage medium
CN112614142A (en) * 2020-12-25 2021-04-06 华侨大学 Cell weak label manufacturing method and system based on multi-channel image fusion
CN113192082A (en) * 2021-05-04 2021-07-30 吴冰 Epithelial cell image centralization processing segmentation method
CN113781515A (en) * 2021-09-16 2021-12-10 广州安方生物科技有限公司 Cell image segmentation method, device and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102881017A (en) * 2012-09-21 2013-01-16 四川师范大学 Cell separation method
US20150078648A1 (en) * 2013-09-13 2015-03-19 National Cheng Kung University Cell image segmentation method and a nuclear-to-cytoplasmic ratio evaluation method using the same
CN107909138A (en) * 2017-11-14 2018-04-13 江苏大学 A kind of class rounded grain thing method of counting based on Android platform
CN108596932A (en) * 2018-04-18 2018-09-28 哈尔滨理工大学 A Segmentation Method for Overlapped Cervical Cell Images
CN110838126A (en) * 2019-10-30 2020-02-25 东莞太力生物工程有限公司 Cell image segmentation method, device, computer equipment and storage medium
CN112614142A (en) * 2020-12-25 2021-04-06 华侨大学 Cell weak label manufacturing method and system based on multi-channel image fusion
CN113192082A (en) * 2021-05-04 2021-07-30 吴冰 Epithelial cell image centralization processing segmentation method
CN113781515A (en) * 2021-09-16 2021-12-10 广州安方生物科技有限公司 Cell image segmentation method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
Li et al. Cytoplasm and nucleus segmentation in cervical smear images using Radiating GVF Snake
Bernal et al. Towards automatic polyp detection with a polyp appearance model
George et al. Automated cell nuclei segmentation for breast fine needle aspiration cytology
CN103761743B (en) A kind of solid wooden floor board detection method of surface flaw based on image co-registration segmentation
Oger et al. A general framework for the segmentation of follicular lymphoma virtual slides
CN108388853B (en) Stepwise reconstruction and counting method for leucocyte and platelet coexistence hologram
Shareef Breast cancer detection based on watershed transformation
CN115937158A (en) Stomach cancer focus region segmentation method based on layered attention mechanism
Vidyarthi et al. Classification of breast microscopic imaging using hybrid CLAHE-CNN deep architecture
CN116188786B (en) Image segmentation system for hepatic duct and biliary tract calculus
Abraham et al. Applications of artificial intelligence for image enhancement in pathology
Yang et al. Adversarial reconstruction CNN for illumination-robust frontal face image recovery and recognition
Qiao et al. Extraction and restoration of scratched murals based on hyperspectral imaging—a case study of murals in the East Wall of the sixth grotto of Yungang Grottoes, Datong, China
EP4367643A1 (en) Biopsy-free in vivo virtual histology of tissue using deep learning
CN114359325A (en) An accurate segmentation method of cell images based on digital holographic imaging technology
Chen et al. Image segmentation using iterative watersheding plus ridge detection
Krisha et al. CT Image Precise Denoising Model with Edge Based Segmentation with Labeled Pixel Extraction Using CNN Based Feature Extraction for Oral Cancer Detection.
Dickscheid et al. Towards 3D reconstruction of neuronal cell distributions from histological human brain sections
CN104850861A (en) Fungal keratitis image recognition method based on RX anomaly detection and texture analysis
Khan et al. Segmentation of single and overlapping leaves by extracting appropriate contours
Jaworek-Korjakowska et al. Skin_hair dataset: Setting the benchmark for effective hair inpainting methods for improving the image quality of dermoscopic images
Mahmoud et al. Novel feature extraction methodology based on histopathalogical images and subsequent classification by Support Vector Machine
Vucic Image Analysis for Nail-fold Capillaroscopy
Subba Rao CT Image Precise Denoising Model with Edge Based Segmentation with Labeled Pixel Extraction Using CNN Based Feature Extraction for Oral Cancer Detection
Leškovský et al. Point based registration of high-resolution histological slices for navigation purposes in virtual microscopy

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination