WO2024119321A1 - 细胞分割的处理方法、装置及电子设备 - Google Patents
细胞分割的处理方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2024119321A1 WO2024119321A1 PCT/CN2022/136657 CN2022136657W WO2024119321A1 WO 2024119321 A1 WO2024119321 A1 WO 2024119321A1 CN 2022136657 W CN2022136657 W CN 2022136657W WO 2024119321 A1 WO2024119321 A1 WO 2024119321A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- gene expression
- mask image
- image
- map
- connected domain
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16B—BIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
- G16B20/00—ICT specially adapted for functional genomics or proteomics, e.g. genotype-phenotype associations
- G16B20/30—Detection of binding sites or motifs
Definitions
- the present application relates to the field of data processing technology, and in particular to a method, device and electronic equipment for processing cell segmentation.
- Cell segmentation is an important part of extracting intracellular gene expression in spatiotemporal omics technology. Segmenting cells to obtain the corresponding gene expression at the corresponding spatial position is an indispensable step in the analysis process.
- the present application provides a cell segmentation processing method, device and electronic device, the main purpose of which is to improve the technical problems that the current existing cell segmentation methods will affect the efficiency and accuracy of cell segmentation processing and also increase the technical cost.
- the present application provides a method for processing cell segmentation, comprising:
- a watershed algorithm based on distance transformation is used to segment the connected domain where cell adhesion exists, so as to obtain a segmented mask image.
- the present application provides a cell segmentation processing device, comprising:
- an acquisition module configured to acquire a gene expression profile of a cell
- a processing module is configured to preprocess the gene expression graph to obtain a preprocessed graph
- the segmentation module is configured to perform binarization processing on the pre-processed image to obtain an initial mask image; based on the initial mask image, a watershed algorithm based on distance transformation is used to segment the connected domain with cell adhesion to obtain a segmented mask image.
- the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the cell segmentation processing method described in the first aspect.
- the present application provides an electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the cell segmentation processing method described in the first aspect when executing the computer program.
- the present application provides a method, device and electronic device for processing cell segmentation.
- the present application provides a solution for performing cell segmentation directly based on the gene expression map.
- the gene expression map of the cell is first preprocessed to obtain a preprocessed map; then the preprocessed map is binarized to obtain an initial mask map; then, according to the initial mask map, a watershed algorithm based on distance transformation is used to segment the connected domains where cell adhesion exists to obtain a segmented mask map.
- Cell segmentation does not rely on the image map, and does not require the additional introduction of technology for aligning the image map with the gene expression map, which eliminates the introduction of additional errors, while saving overall operation time and technical costs, and can improve the efficiency and accuracy of cell segmentation processing.
- FIG1 is a schematic diagram showing a process flow of a cell segmentation processing method provided in an embodiment of the present application
- FIG2 is a schematic diagram showing a flow chart of another cell segmentation processing method provided in an embodiment of the present application.
- FIG3 shows a schematic diagram of an example process flow based on the method of this embodiment provided in an embodiment of the present application
- FIG4 shows an example diagram of the effect of the gene expression graph provided in an embodiment of the present application.
- FIG5 shows an example diagram of a sharpened image obtained through sharpening processing provided by an embodiment of the present application
- FIG6 is a schematic diagram showing the effect of an initial mask image provided by an embodiment of the present application.
- FIG7 is a schematic diagram showing the effect of an output mask image provided by an embodiment of the present application.
- FIG8 shows a schematic structural diagram of a cell segmentation processing device provided in an embodiment of the present application.
- this embodiment provides a cell segmentation processing method, as shown in FIG1 , the method includes:
- Step 101 Obtain a gene expression map of a cell.
- a gene expression map, or gene expression atlas, can be obtained based on gene expression data.
- Step 102 preprocess the gene expression map of the cell to obtain a preprocessed map.
- the gene expression map is a scatter plot, it is not convenient for cell segmentation, so preprocessing is required to process the gene expression map of the cell to obtain a preprocessed map with enhanced boundary effect.
- Step 103 binarize the preprocessed image to obtain an initial mask image.
- the Otsu method may be used to perform binarization processing on the preprocessed image to obtain an initial mask image.
- Step 104 According to the initial mask image, a watershed algorithm based on distance transformation is used to segment the connected domain where the cells are adhered, so as to obtain a segmented mask image.
- the watershed algorithm considers image segmentation based on the composition of the watershed.
- this embodiment provides a solution for cell segmentation directly based on gene expression maps, which uses a combination of multiple image processing methods to provide more reliable cell segmentation results.
- Cell segmentation does not rely on image maps, and does not require the introduction of additional technology to align image maps with gene expression maps, eliminating the introduction of additional errors, while saving overall operation time and technical costs, and can improve the efficiency and accuracy of cell segmentation processing.
- this embodiment provides a specific method as shown in FIG. 2, which includes:
- Step 201 Obtain a gene expression matrix including spatial positions.
- a gene expression matrix including spatial positions is obtained from gene expression data of the cell.
- the gene expression data may include gene identifiers, coordinate positions and total gene expression amounts of the corresponding coordinate positions of multiple genes.
- Step 202 Generate a gene expression map of the cell based on the gene expression matrix.
- step 202 may specifically include: first obtaining the coordinate position of the expressed gene in the gene expression matrix and the total gene expression amount at the corresponding coordinate position; then generating a gene expression map based on the coordinate position of the expressed gene and the total gene expression amount at the corresponding coordinate position, wherein the gene expression map is a grayscale map, and the grayscale value of the pixel point in the gene expression map is the total gene expression amount at the coordinate position corresponding to the pixel point.
- the gene expression map of the cell can be accurately generated.
- a gene expression matrix containing spatial positions is input, and an expression image is generated based on the coordinate positions of the expressed genes and the total gene expression amounts at the corresponding positions.
- the specific form of the image is a grayscale image, and the grayscale value of the coordinate point is the total amount of gene expression at the coordinate.
- step 202 may specifically include: drawing a gene expression map of the cell according to the gene expression matrix and the segmented mask map, wherein the spatial position in the gene expression matrix corresponds to the spatial position in the segmented mask map.
- a cell-based expression map is drawn according to the gene expression matrix and the segmented mask map, and the spatial position in the gene expression matrix may correspond to the spatial position in the segmented mask map.
- step 203 Since the generated gene expression image is a scatter plot, it is not easy to segment and needs to be processed. Specifically, the process shown in step 203 can be performed.
- Step 203 pre-process the gene expression graph to obtain a median graph, and sharpen the median graph to obtain a sharpened graph.
- the gene expression graph is a scatter plot, it is not convenient to perform cell segmentation, so preprocessing is required.
- the gene expression graph of the cell is first processed into a median graph. Then, the median graph can be sharpened using a Laplacian operator to enhance the boundary effect of the median graph, thereby obtaining a sharpened graph.
- the gene expression map is preprocessed to obtain a median map, which may specifically include: first, using a convolution kernel of a preset size (such as 13*13) to perform a convolution operation on the gene expression map so that the scattered points in the gene expression map are adhered to obtain a first convolution map; then detecting the local maximum point of the first convolution map according to the two-dimensional grayscale peak of the image; obtaining the pth percentile of the local maximum point, wherein p is a preset value, such as the pth percentile may be a 98% percentile value, or a 99% percentile value, etc.; if the pth percentile is within a preset range, using a first median filter to perform median filtering on the first convolution map to obtain a median map, wherein the filter size of the first median filter is determined according to the preset size.
- a convolution kernel of a preset size such as 13*13
- the method of this embodiment may also include: if the pth percentile is outside the preset range, determining the new size of the convolution kernel based on the pth percentile and the preset size; performing a convolution operation on the gene expression graph using the convolution kernel of the new size, so that the scattered points in the gene expression graph are adhered to obtain a second convolution graph; performing a median filtering on the second convolution graph using a second median filter to obtain a median graph, wherein the filter size of the second median filter is determined based on the new size.
- a convolution kernel of size 13*13 (empirical value) to perform a convolution operation on the original image of the gene expression map to make the scatter plot stick together to obtain the first convolution map; then detect the local maximum point of the first convolution map according to the two-dimensional grayscale peak of the image, and take out the 99% quantile value R of all the local maximum points. If the R value is too different from a set empirical threshold (too high or too low, it will affect subsequent processing), it is considered that the 13*13 convolution kernel is not suitable for the original image.
- the median filter used above is relatively large, and the grayscale boundary of the median image may be relatively blurred.
- the laplacian operator is used to sharpen the median image to enhance the grayscale boundary, and a sharpened image is obtained to complete the preprocessing.
- the cell segmentation process is performed, and specifically, the process shown in steps 204 to 207 can be executed.
- Step 204 binarize the sharpened image to obtain an initial mask image.
- the sharpened image obtained in the previous step is binarized using the Otsu method to obtain the initial mask image.
- Step 205 Filter the connected domains in the initial mask image whose areas do not meet the preset conditions to obtain a filtered mask image.
- step 205 may specifically include: filtering the connected domains in the initial mask image whose area is greater than a first preset threshold or the connected domains whose area is less than a second preset threshold to obtain a filtered mask image, wherein the first preset threshold is greater than the second preset threshold.
- a first preset threshold For example, an empirical threshold is used to filter the connected domains in the initial mask whose area is too small or too large to obtain a filtered mask image.
- Step 206 traverse each connected domain in the filter mask image, extract the area where the connected domain is located based on the minimum circumscribed rectangle of the connected domain, and use the watershed algorithm to segment the connected domain with cell adhesion to obtain a segmented mask image.
- step 206 may specifically include: setting the grayscale value of each pixel in each connected domain in the filter mask image to a first value, and setting the grayscale value of each pixel outside the connected domain to a second value; for each target pixel in the connected domain whose grayscale value is the first value, remapping the grayscale value of the target pixel to the distance from the target pixel to the nearest pixel whose grayscale value is the second value, to obtain a distance map of the connected domain; binarizing the distance map of the connected domain to obtain a preset number of pixels in the connected domain that are farthest from the pixel whose grayscale value is the second value; using the preset number of pixels as injection points of the watershed algorithm, and using the watershed function to perform watershed segmentation on the original mask of the connected domain in the filter mask image to obtain a segmented target connected domain, and covering the target connected domain with the filter mask image to obtain a segmented mask image.
- each connected domain in the filter mask image For example, traverse each connected domain in the filter mask image, extract the area where the connected domain is located based on the minimum circumscribed rectangle of the connected domain, and use the watershed algorithm based on distance transformation to further segment the connected domain where cell adhesion may exist.
- the specific steps are as follows:
- Step a For each connected domain area extracted, the grayscale value of the points in the target connected domain is set to 1, and the grayscale value of the points outside the connected domain is set to 0 (including background and non-target connected domains). A distance transformation is performed on each point with a value of 1, and its grayscale value is remapped to the distance from the point to the nearest point with a value of 0 (the distance between adjacent points is 1), thereby obtaining a distance map of the connected domain.
- Step b Use an empirical threshold to binarize the distance map to obtain the farthest points from the point with a distance value of 0 in the connected domain (since each connected domain is different, the number of points is not fixed).
- Step c Use the several points obtained in the previous step as water injection points of the watershed algorithm, use the watershed function in OpenCV to perform watershed segmentation on the original mask of the connected domain, obtain the segmented target connected domain, and overlay the result onto the filter mask image.
- Step d perform the above steps on each connected domain traversed to obtain a segmented mask image.
- Step 207 Perform a closure operation on the segmented mask image to obtain a mask image of the cell segmentation result.
- the segmented mask is closed to obtain the final mask map. Finally, the final mask map can be output and saved for subsequent biological analysis at the cell level in combination with the original expression matrix.
- FIG3 it is a schematic diagram of an example flow chart based on the method of this embodiment.
- a gene expression matrix can be input, and a gene expression image can be generated based on the matrix, as shown in FIG4.
- a 13*13 convolution kernel is used to perform a convolution operation on the gene expression map, so that the scattered points in the gene expression map are adhered to obtain a first convolution map.
- a threshold that is, the local maximum point of the first convolution map is detected according to the two-dimensional grayscale peak of the image, and the 99% quantile value R of all the local maximum points is taken out.
- the 13*13 convolution kernel is not suitable for the original image, and a new convolution kernel size is calculated using a ratio, and then the new convolution kernel is used to process the original image to obtain a second convolution map, and the median filter size is calculated using this ratio, and then the second convolution map is processed with a median filter of this size to obtain a median map. If the R value is within the allowable range, the first convolution map is used, and the first convolution map is processed with a median filter of size 35 to obtain a median map.
- the laplacian operator is used to sharpen the median image to obtain a sharpened image, as shown in Figure 5.
- the sharpened image is binarized using the large law method to obtain the initial mask image, as shown in Figure 6, and then the adhesion cells are segmented by area filtering and watershed algorithm. Finally, the cell mask image is output and saved, as shown in Figure 7.
- this embodiment provides a solution for cell segmentation directly based on gene expression maps, which uses a combination of multiple image processing methods to provide more reliable cell segmentation results.
- Cell segmentation does not rely on image maps, and does not require the introduction of additional technology to align image maps with gene expression maps, eliminating the introduction of additional errors, while saving overall operation time and technical costs, and can improve the efficiency and accuracy of cell segmentation processing.
- this embodiment provides a cell segmentation processing device, as shown in FIG. 8 , the device includes: an acquisition module 31 , a processing module 32 , and a segmentation module 33 .
- An acquisition module 31 is configured to acquire a gene expression profile of a cell
- a processing module 32 is configured to preprocess the gene expression graph to obtain a preprocessed graph
- the segmentation module 33 is configured to perform binarization processing on the pre-processed image to obtain an initial mask image; based on the initial mask image, use a watershed algorithm based on distance transformation to segment the connected domain with cell adhesion to obtain a segmented mask image.
- the segmentation module 33 is specifically configured to filter out the connected domains in the initial mask image whose areas do not meet the preset conditions to obtain a filtered mask image; traverse each connected domain in the filtered mask image, extract the area where the connected domain is located based on the minimum circumscribed rectangle of the connected domain, and use the watershed algorithm to segment the connected domain with cell adhesion to obtain a segmented mask image.
- the segmentation module 33 is further configured to set the grayscale value of each pixel in each connected domain in the filter mask image to a first value, and set the grayscale value of each pixel outside the connected domain to a second value; for each target pixel in the connected domain whose grayscale value is the first value, remap the grayscale value of the target pixel to the distance from the target pixel to the pixel whose grayscale value is the second value closest to it, to obtain a distance map of the connected domain; binarize the distance map of the connected domain to obtain a preset number of pixels in the connected domain that are farthest from the pixel whose grayscale value is the second value; use the preset number of pixels as injection points of the watershed algorithm, and use the watershed function to perform watershed segmentation on the original mask of the connected domain in the filter mask image to obtain a segmented target connected domain, and cover the target connected domain with the filter mask image to obtain a segmented mask image.
- the segmentation module 33 is further configured to filter the connected domains in the initial mask image whose area is greater than a first preset threshold, or the connected domains whose area is less than a second preset threshold, to obtain the filtered mask image, wherein the first preset threshold is greater than the second preset threshold.
- the processing module 32 is specifically configured to pre-process the gene expression graph to obtain a median graph; and perform sharpening processing on the median graph to obtain a sharpened graph.
- the segmentation module 33 is specifically configured to perform binarization processing on the sharpening image to obtain an initial mask image.
- the processing module 32 is further configured to perform a convolution operation on the gene expression map using a convolution kernel of a preset size, so that the scattered points in the gene expression map are adhered to obtain a first convolution map; detect the local maximum point of the first convolution map according to the two-dimensional grayscale peak of the image; obtain the pth percentile of the local maximum point, wherein p is a preset value; if the pth percentile is within a preset range, perform median filtering on the first convolution map using a first median filter to obtain the median map, wherein the filter size of the first median filter is determined according to the preset size.
- the processing module 32 is further configured to, after obtaining the pth percentile in the local maximum point, if the pth percentile is outside a preset range, determine a new size of the convolution kernel according to the pth percentile and the preset size; perform a convolution operation on the gene expression map using the convolution kernel of the new size so that the scattered points in the gene expression map are adhered to obtain a second convolution map; perform a median filtering on the second convolution map using a second median filter to obtain the median map, wherein the filter size of the second median filter is determined based on the new size.
- the acquisition module 31 is specifically configured to acquire a gene expression matrix including spatial positions; and generate the gene expression graph based on the gene expression matrix.
- the acquisition module 31 is specifically configured to obtain the coordinate position of the expressed gene in the gene expression matrix and the total gene expression amount of the corresponding coordinate position; based on the coordinate position of the expressed gene and the total gene expression amount of the corresponding coordinate position, generate the gene expression map, wherein the gene expression map is a grayscale map, and the grayscale value of the pixel point in the gene expression map is the total gene expression amount of the coordinate position corresponding to the pixel point.
- the acquisition module 31 is further configured to draw a gene expression map of the cell based on the gene expression matrix and the segmented mask map, wherein the spatial position in the gene expression matrix corresponds to the spatial position in the segmented mask map.
- the segmentation module 33 is further configured to perform a closure operation on the segmented mask image to obtain a mask image of a cell segmentation result.
- this embodiment further provides a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the above method as shown in FIG. 1 and FIG. 2 is implemented.
- the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.
- a non-volatile storage medium which can be a CD-ROM, USB flash drive, mobile hard disk, etc.
- a computer device which can be a personal computer, server, or network device, etc.
- the embodiment of the present application also provides an electronic device, which can be a personal computer, a laptop computer, etc., and the device includes a storage medium and a processor; the storage medium is used to store computer programs; the processor is used to execute the computer program to implement the above method shown in Figures 1 and 2.
- the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc.
- the user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc.
- the network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
- the storage medium may also include an operating system and a network communication module.
- the operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and/or programs.
- the network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.
- this embodiment provides a solution for cell segmentation directly based on gene expression maps, using a combination of multiple image processing methods to provide more reliable cell segmentation results.
- Cell segmentation does not rely on image maps, and does not require the additional introduction of technology for aligning image maps with gene expression maps, eliminating the introduction of additional errors, while saving overall operation time and technical costs, and can improve the efficiency and accuracy of cell segmentation processing.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Theoretical Computer Science (AREA)
- Proteomics, Peptides & Aminoacids (AREA)
- Evolutionary Biology (AREA)
- Genetics & Genomics (AREA)
- Molecular Biology (AREA)
- Analytical Chemistry (AREA)
- Bioinformatics & Computational Biology (AREA)
- Biotechnology (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Chemical & Material Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Image Processing (AREA)
Abstract
Description
Claims (15)
- 一种细胞分割的处理方法,其特征在于,包括:获取细胞的基因表达图;对所述基因表达图进行预处理,得到预处理图;将所述预处理图进行二值化处理,得到初始掩模图;根据所述初始掩模图,利用基于距离变换的分水岭算法对存在细胞粘连的连通域进行分割,得到分割后的掩模图。
- 根据权利要求1所述的方法,其特征在于,所述根据所述初始掩模图,利用基于距离变换的分水岭算法对存在细胞粘连的连通域进行分割,得到分割后的掩模图,包括:过滤所述初始掩模图中面积不符合预设条件的连通域,得到过滤掩模图;遍历所述过滤掩模图中的每个连通域,基于连通域的最小外接矩形提取连通域所在区域,利用所述分水岭算法对存在细胞粘连的连通域进行分割,得到分割后的掩模图。
- 根据权利要求2所述的方法,其特征在于,所述遍历所述过滤掩模图中的每个连通域,基于连通域的最小外接矩形提取连通域所在区域,利用所述分水岭算法对存在细胞粘连的连通域进行分割,得到分割后的掩模图,包括:将所述过滤掩模图中的每个连通域内的像素点的灰度值设置为第一数值,并将在每个连通域外的像素点的灰度值设置为第二数值;针对连通域内每个灰度值为所述第一数值的目标像素点,将所述目标像素点的灰度值重新映射为所述目标像素点到距其最近的灰度值为所述第二数值的像素点的距离,得到连通域的距离图谱;对连通域的距离图谱进行二值化处理,获得连通域中距离灰度值为所述第二数值的像素点最远的预设个数像素点;将所述预设个数像素点作为分水岭算法的注水点,利用分水岭函数对所述过滤掩模图中连通域的原始掩模进行分水岭分割,得到分割后的目标连通域,并将所述目标连通域覆盖到所述过滤掩模图,得到分割后的掩模图。
- 根据权利要求2所述的方法,其特征在于,所述过滤所述初始掩模图中面积不符合预设条件的连通域,得到过滤掩模图,包括:将所述初始掩模图中面积大于第一预设阈值的连通域、或面积小于第二预设阈值的连通域进行过滤,得到所述过滤掩模图,其中,所述第一预设阈值大于所述第二预设阈值。
- 根据权利要求1所述的方法,其特征在于,所述对所述基因表达图进行预处理,得到预处理图,包括:对所述基因表达图进行预处理,得到中值图;将所述中值图进行锐化处理,得到锐化图;所述将所述预处理图进行二值化处理,得到初始掩模图,包括:将所述锐化图进行二值化处理,得到初始掩模图。
- 根据权利要求5所述的方法,其特征在于,所述对所述基因表达图进行预处理,得到中值图,包括:利用预设尺寸的卷积核对所述基因表达图进行卷积操作,使得所述基因表达图中的散点粘连,得到第一卷积图;根据图像二维灰度峰值检测所述第一卷积图的局部最大值点;获取所述局部最大值点中的第p百分位数,其中,所述p为预设数值;若所述第p百分位数在预设范围内,则利用第一中值滤波器对所述第一卷积图进行中值过滤,得到所述中值图,其中,所述第一中值滤波器的滤波器大小是根据所述预设尺寸确定得到的。
- 根据权利要求6所述的方法,其特征在于,在所述获取所述局部最大值点中的第p百分位数之后,所述方法还包括:若所述第p百分位数在预设范围外,则根据所述第p百分位数和所述预设尺寸,确定卷积核的新尺寸;利用所述新尺寸的卷积核对所述基因表达图进行卷积操作,使得所述基因表达图中的散点粘连,得到第二卷积图;利用第二中值滤波器对所述第二卷积图进行中值过滤,得到所述中值图,其中,所述第二中值滤波器的滤波器大小是根据所述新尺寸确定得到的。
- 根据权利要求7所述的方法,其特征在于,所述根据所述第p百分位数和所述预设尺寸,确定卷积核的新尺寸,包括:按照公式K=N*(N/R),计算得到卷积核的新尺寸,其中,K*K表示卷积核的新尺寸,N*N表示所述预设尺寸,R表示所述第p百分位数。
- 根据权利要求1所述的方法,其特征在于,所述获取细胞的基因表达图,包括:获取包含空间位置的基因表达矩阵;基于所述基因表达矩阵,生成所述基因表达图。
- 根据权利要求9所述的方法,其特征在于,所述基于所述基因表达矩阵,生成所述基因表达图,包括:获取所述基因表达矩阵中的表达基因的坐标位置及相应坐标位置的总基因表达量;根据所述表达基因的坐标位置及相应坐标位置的总基因表达量,生成所述基因表达图,其中,所述基因表达图为灰度图,所述基因表达图中像素点的灰度值为与所述像素点对应坐标位置的总基因表达量。
- 根据权利要求9所述的方法,其特征在于,所述基于所述基因表达矩阵,生成所述基因表达图,包括:根据所述基因表达矩阵和分割的掩码图,绘制细胞的基因表达图,其中,所述基因表达矩阵中的空间位置与所述分割的掩码图中的空间位置相对应。
- 根据权利要求1至11中任一项所述的方法,其特征在于,在所述根据所述初始掩模图,利用基于距离变换的分水岭算法对存在细胞粘连的连通域进行分割,得到分割后的掩模图之后,所述方法还包括:对所述分割后的掩模图进行闭包操作,得到细胞分割结果的掩模图。
- 一种细胞分割的处理装置,其特征在于,包括:获取模块,被配置为获取细胞的基因表达图;处理模块,被配置为对所述基因表达图进行预处理,得到预处理图;分割模块,被配置为对所述预处理图进行二值化处理,得到初始掩模图;根据所述初始掩模图,使用基于距离变换的分水岭算法对存在细胞粘连的连通域进行分割,得到分割后的掩模图。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至12中任一项所述的方法。
- 一种电子设备,包括存储介质、处理器及存储在存储介质上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至12中任一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202280099770.9A CN119836649A (zh) | 2022-12-05 | 2022-12-05 | 细胞分割的处理方法、装置及电子设备 |
| PCT/CN2022/136657 WO2024119321A1 (zh) | 2022-12-05 | 2022-12-05 | 细胞分割的处理方法、装置及电子设备 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2022/136657 WO2024119321A1 (zh) | 2022-12-05 | 2022-12-05 | 细胞分割的处理方法、装置及电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024119321A1 true WO2024119321A1 (zh) | 2024-06-13 |
Family
ID=91378358
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/136657 Ceased WO2024119321A1 (zh) | 2022-12-05 | 2022-12-05 | 细胞分割的处理方法、装置及电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN119836649A (zh) |
| WO (1) | WO2024119321A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118552570A (zh) * | 2024-07-25 | 2024-08-27 | 湖南军芃科技股份有限公司 | X射线矿石图像分割方法、装置、设备及介质 |
| CN119540950A (zh) * | 2025-01-23 | 2025-02-28 | 江西农业大学 | 一种食用菌表型参数获取方法及系统 |
| CN119723574A (zh) * | 2025-02-26 | 2025-03-28 | 深圳赛陆医疗科技有限公司 | 基于空间组学测序的细胞分割方法、设备、存储介质及程序产品 |
| CN120219427A (zh) * | 2025-04-25 | 2025-06-27 | 河北面乡食品有限公司 | 基于图像的食品自动计数方法及装置 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040114800A1 (en) * | 2002-09-12 | 2004-06-17 | Baylor College Of Medicine | System and method for image segmentation |
| CN102073799A (zh) * | 2011-01-28 | 2011-05-25 | 重庆大学 | 基于基因表达谱的肿瘤基因识别方法 |
| CN112330690A (zh) * | 2020-11-02 | 2021-02-05 | 腾讯科技(深圳)有限公司 | 基于显微图像的细胞分割方法、装置、设备及存储介质 |
| CN113781515A (zh) * | 2021-09-16 | 2021-12-10 | 广州安方生物科技有限公司 | 细胞图像分割方法、装置和计算机可读存储介质 |
| CN114496099A (zh) * | 2022-01-26 | 2022-05-13 | 腾讯科技(深圳)有限公司 | 细胞功能注释方法、装置、设备及介质 |
| CN114862877A (zh) * | 2022-05-27 | 2022-08-05 | 四川大学华西医院 | 基于置信度评分的细胞粘连分割方法和装置 |
-
2022
- 2022-12-05 WO PCT/CN2022/136657 patent/WO2024119321A1/zh not_active Ceased
- 2022-12-05 CN CN202280099770.9A patent/CN119836649A/zh active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040114800A1 (en) * | 2002-09-12 | 2004-06-17 | Baylor College Of Medicine | System and method for image segmentation |
| CN102073799A (zh) * | 2011-01-28 | 2011-05-25 | 重庆大学 | 基于基因表达谱的肿瘤基因识别方法 |
| CN112330690A (zh) * | 2020-11-02 | 2021-02-05 | 腾讯科技(深圳)有限公司 | 基于显微图像的细胞分割方法、装置、设备及存储介质 |
| CN113781515A (zh) * | 2021-09-16 | 2021-12-10 | 广州安方生物科技有限公司 | 细胞图像分割方法、装置和计算机可读存储介质 |
| CN114496099A (zh) * | 2022-01-26 | 2022-05-13 | 腾讯科技(深圳)有限公司 | 细胞功能注释方法、装置、设备及介质 |
| CN114862877A (zh) * | 2022-05-27 | 2022-08-05 | 四川大学华西医院 | 基于置信度评分的细胞粘连分割方法和装置 |
Non-Patent Citations (2)
| Title |
|---|
| WUHUA ZHANG, LI QIANG, GUAN XIN: "Detection of Pneumonia Lesions in X-Ray Images Based on Multi-Scale Convolutional Neural Networks", LASER & OPTOELECTRONICS PROGRESS, vol. 57, no. 8, 23 September 2019 (2019-09-23), pages 081020 - 081020-8, XP093179076 * |
| YINGRONG YOU, FAN YINGLE, PANG QUAN: "Separate Algorithm for Overlapping Cell Images Based on Distance Transformation", COMPUTER ENGINEERING AND APPLICATIONS, no. 20, 11 July 2005 (2005-07-11), pages 206 - 208, XP093179075 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118552570A (zh) * | 2024-07-25 | 2024-08-27 | 湖南军芃科技股份有限公司 | X射线矿石图像分割方法、装置、设备及介质 |
| CN119540950A (zh) * | 2025-01-23 | 2025-02-28 | 江西农业大学 | 一种食用菌表型参数获取方法及系统 |
| CN119723574A (zh) * | 2025-02-26 | 2025-03-28 | 深圳赛陆医疗科技有限公司 | 基于空间组学测序的细胞分割方法、设备、存储介质及程序产品 |
| CN120219427A (zh) * | 2025-04-25 | 2025-06-27 | 河北面乡食品有限公司 | 基于图像的食品自动计数方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119836649A (zh) | 2025-04-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024119321A1 (zh) | 细胞分割的处理方法、装置及电子设备 | |
| CN103984958B (zh) | 宫颈癌细胞分割方法及系统 | |
| CN111986183B (zh) | 一种染色体散型图像自动分割识别系统及装置 | |
| WO2020107866A1 (zh) | 一种文字区域获取方法、装置、存储介质及终端设备 | |
| CN110458855B (zh) | 图像提取方法及相关产品 | |
| CN111145209A (zh) | 一种医学图像分割方法、装置、设备及存储介质 | |
| CN108090511B (zh) | 图像分类方法、装置、电子设备及可读存储介质 | |
| CN108334879B (zh) | 一种区域提取方法、系统及终端设备 | |
| CN106951895A (zh) | 确定图像中的感兴趣区域的轮廓的方法和系统 | |
| CN113689412B (zh) | 甲状腺图像处理方法、装置、电子设备及存储介质 | |
| WO2024001051A1 (zh) | 空间组学单细胞数据获取方法及装置和电子设备 | |
| CN106326895A (zh) | 图像处理装置和图像处理方法 | |
| CN114862889A (zh) | 基于遥感图像的道路边缘提取方法和装置 | |
| CN114255352B (zh) | 一种河道提取方法、装置及计算机可读存储介质 | |
| CN116580397A (zh) | 病理图像识别方法、装置、设备及存储介质 | |
| CN117425914A (zh) | 细胞图像处理方法、电子设备以及存储介质 | |
| CN110263778A (zh) | 一种基于图像识别的抄表方法及装置 | |
| CN117726599A (zh) | 基于伪标签半监督学习的乳腺肿块检测方法、设备及介质 | |
| CN114529570A (zh) | 图像分割方法、图像识别方法、用户凭证补办方法及系统 | |
| CN112580629A (zh) | 一种基于深度学习的车牌字符识别方法以及相关装置 | |
| CN117094974A (zh) | 基于图像的缺陷检测方法、装置、电子设备及存储介质 | |
| US10579896B2 (en) | Mark detection system and method | |
| CN114580487B (zh) | 基于深度学习的染色体识别方法、装置、设备和存储介质 | |
| CN111209792A (zh) | 增值税普通发票的图像识别方法及装置 | |
| CN110598575A (zh) | 表格版面分析与提取方法及相关装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22967484 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202280099770.9 Country of ref document: CN |
|
| WWP | Wipo information: published in national office |
Ref document number: 202280099770.9 Country of ref document: CN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22967484 Country of ref document: EP Kind code of ref document: A1 |