A visually assisted method for large-scale cell culture counting
By performing blocking, edge detection and division coefficient analysis on cell images, the clustering results are optimized, which solves the problem of inaccurate counting under the influence of cell biological morphology in the existing technology and improves the accuracy of cell counting.
Patent Information
- Application Number
- CN202410986884.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Existing visual-assisted cell counting methods are not accurate enough due to changes in cell biological morphology. In particular, it is difficult to accurately distinguish two cells during cell division, resulting in incorrect counting results.
By acquiring the grayscale image of the cell image, determine the aggregation index after dividing into blocks, perform edge detection and morphological distortion analysis, calculate the division coefficient of the cell edge, and optimize the clustering results to improve counting accuracy.
It effectively avoids the influence of cell biological morphology on counting, improves the accuracy of cell counting, and ensures accurate counting during cell division.
Smart Images

Figure CN118520900B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of image analysis, and in particular to a visually assisted large-scale cell culture counting method. Background Art
[0002] The visually assisted cell counting method is a common and effective biotechnology application. Its implementation process is as follows: after optimizing the segmentation of the original cell culture image, the edge detail area of the cell culture image is highlighted and enhanced, and then the artificial intelligence image clustering algorithm is used to count and analyze the cell data in the cell culture image to finally obtain the counting result.
[0003] In the existing visually assisted cell counting methods, it is taken into account that cells may present a variety of biological forms in the image. For example, due to changes in the culture environment and conditions, distortions such as stretching or shrinking of cell edges may occur. At the same time, during the cell division process, two cells may appear to be closely connected. At this time, the external appearance of the cells is also similar to the stretching or shrinking state of a single cell. Therefore, using the clustering results of the existing clustering algorithm for cell counting cannot accurately distinguish between the two cells in the process of division, which ultimately leads to errors in the cell counting results. Summary of the invention
[0004] The object of the present invention is to provide a visually assisted large-scale cell culture counting method for solving the problem that the cell counting is not accurate enough according to the existing clustering results due to the influence of the cell biological morphology.
[0005] In order to solve the above technical problems, in a first aspect, the present invention provides a visually assisted large-scale cell culture counting method, comprising the following steps:
[0006] Obtaining a grayscale image of a cell image to be counted, dividing the grayscale image into blocks, and obtaining each image block;
[0007] Determining a clustering degree index of the image block according to relevant information of corner points in the image block, and determining a clustered image block among all the image blocks according to the clustering degree index;
[0008] Performing edge detection on the clustered image block to determine edge pixels and cell edges in the clustered image block, and determining a morphological distortion amount corresponding to the clustered image block according to the distribution of the edge pixels in the clustered image block;
[0009] Determine the splitting coefficient corresponding to each cell edge in the aggregated image block according to the morphological distortion amount corresponding to the aggregated image block and the distribution of each cell edge in the aggregated image block;
[0010] According to the division coefficient corresponding to each cell edge in the clustered image block, each cell edge in the clustered image block is clustered, and the cell count is performed according to the clustering result.
[0011] In combination with the first aspect, in some possible implementations, determining the aggregation degree index of the image block includes:
[0012] Determining an abnormality scoring index for each corner point in the image block according to a difference between position information of each corner point in the image block;
[0013] Determining the degree of cell stacking corresponding to each corner point in the image block according to the amplitude and the abnormality scoring index of each corner point in the image block, wherein both the amplitude and the abnormality scoring index are positively correlated with the degree of cell stacking;
[0014] The aggregation degree index of the image block is determined according to the cell stacking degree corresponding to each corner point in the image block and the number of each corner point in the image block.
[0015] In combination with the first aspect, in some possible implementations, determining an abnormality score index of each corner point in the image block includes:
[0016] According to the position information of each corner point in the image block, a Z-score algorithm is used to calculate the Z score of each corner point in the image block, and the absolute value of the Z score is determined as the abnormality scoring index of each corner point in the image block.
[0017] In combination with the first aspect, in some possible implementations, determining the morphological distortion amount corresponding to the clustered image block includes:
[0018] Taking any pixel point in the clustered image block as a target pixel point, determining the occurrence probability of edge pixels within a set neighborhood of the target pixel point in the corresponding clustered image block;
[0019] Determine each straight line segment passing through the target pixel point, the angles formed between adjacent straight line segments are the same, and determine a weight coefficient of the occurrence probability corresponding to the target pixel point according to the difference between the numbers of edge pixels appearing on each straight line segment of the target pixel point in the aggregated image block;
[0020] According to the occurrence probability and weight coefficient corresponding to each pixel point in the clustered image block, a weighted information entropy is determined, and the weighted information entropy is determined as the morphological distortion amount corresponding to the clustered image block.
[0021] In combination with the first aspect, in some possible implementations, determining a weight coefficient of the occurrence probability corresponding to the target pixel point includes:
[0022] Determine the difference in the number of edge pixels corresponding to each of the two adjacent straight line segments of the target pixel point according to the difference in the number of edge pixels appearing on each of the two adjacent straight line segments of the target pixel point in the aggregated image block;
[0023] A negative correlation mapping process is performed on the difference in the number of edge pixels, and a weight coefficient of the occurrence probability corresponding to the target pixel is determined according to an average distribution level of all negative correlation mapping process results corresponding to the target pixel.
[0024] In combination with the first aspect, in some possible implementations, determining the splitting coefficient corresponding to each cell edge in the clustered image block includes:
[0025] Determine each edge segment of each cell edge in the clustered image block, and determine a straight line fitting rate corresponding to the edge segment;
[0026] Determine the maximum straight line fitting rate among all straight line fitting rates corresponding to each cell edge in the clustered image block, and determine the maximum straight line fitting rate as the linear arrangement degree corresponding to each cell edge in the clustered image block;
[0027] According to the linear arrangement degree corresponding to each cell edge in the clustered image block and the morphological distortion amount corresponding to the clustered image block, the splitting coefficient corresponding to each cell edge in the clustered image block is determined, the linear arrangement degree is positively correlated with the splitting coefficient, and the morphological distortion amount is negatively correlated with the splitting coefficient.
[0028] In combination with the first aspect above, in some possible implementations, clustering the edges of cells in the clustered image blocks includes:
[0029] Determining the distance between any two cell edges in the clustered image block;
[0030] Normalizing the splitting coefficient corresponding to each cell edge in the clustered image block to obtain a normalized value;
[0031] According to the normalized processing value corresponding to each cell edge in the aggregated image block, the distance between any two cell edges in the aggregated image block is corrected to obtain a corrected distance between the any two cell edges;
[0032] Clustering is performed on each cell edge in the clustered image block according to the corrected distance between any two cell edges in the clustered image block.
[0033] In combination with the first aspect above, in some possible implementations, correcting the distance between any two cell edges includes:
[0034] If the normalized processing value corresponding to any cell edge in the clustered image block is greater than the set processing value threshold, the corresponding cell edge is determined as a split edge;
[0035] If there is a split edge between any two cell edges in the clustered image block, the product of the distance between the arbitrary two cell edges and the normalized processing value corresponding to each split edge in the arbitrary two cell edges is determined as the corrected distance between the arbitrary two cell edges.
[0036] In combination with the first aspect above, in some possible implementations, the method further includes:
[0037] According to the morphological distortion amount corresponding to the aggregated image block, the filter parameters of the edge detection operator used for edge detection of the aggregated image block are modified to obtain the modified filter parameters;
[0038] According to the modified filtering parameters, edge detection is performed on the clustered image blocks using an edge detection operator.
[0039] In combination with the first aspect, in some possible implementations, determining the aggregated image block among all the image blocks includes:
[0040] It is determined whether the aggregation degree index of each image block is within a set range, and the image blocks whose aggregation degree index is within the set range are determined as aggregated image blocks.
[0041] In order to solve the above technical problems, in a second aspect, the present invention also provides a visually assisted large-scale cell culture counting device, the device comprising:
[0042] An image block acquisition module is used to: acquire a grayscale image of a cell image to be counted, divide the grayscale image into blocks, and acquire each image block;
[0043] A clustered image block acquisition module is used to: determine a clustering degree index of the image block according to relevant information of corner points in the image block, and determine a clustered image block among all the image blocks according to the clustering degree index;
[0044] A morphological distortion amount acquisition module is used to: perform edge detection on the aggregated image block, determine edge pixels and cell edges in the aggregated image block, and determine the morphological distortion amount corresponding to the aggregated image block according to the distribution of the edge pixels in the aggregated image block;
[0045] A split coefficient acquisition module, used to determine the split coefficient corresponding to each cell edge in the aggregated image block according to the morphological distortion amount corresponding to the aggregated image block and the distribution of each cell edge in the aggregated image block;
[0046] The counting module is used to cluster the cell edges in the clustered image block according to the split coefficient corresponding to each cell edge in the clustered image block, and count the cells according to the clustering result.
[0047] To solve the above technical problems, in a third aspect, the present invention further provides a visually assisted large-scale cell culture counting system, which includes a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the device executes the method in the above first aspect or any possible implementation of the first aspect.
[0048] To solve the above technical problems, in a fourth aspect, the present invention further provides a computer program product, which includes: a computer program code, when the computer program code runs on a computer, enables the computer to execute the method in the above first aspect or any possible implementation of the first aspect.
[0049] The present invention has the following beneficial effects: in order to facilitate the analysis of the degree of cell aggregation in the local area of the grayscale image of the cell image to be counted, the grayscale image is divided into blocks, and cells with the same characteristics are divided into an image block to obtain each image block. Due to cell division and the influence of factors such as culture conditions, the cell morphology is distorted by stretching, shrinking, etc., which are all manifested as densely arranged cells, while other cells present relatively normal morphological characteristics. Therefore, according to the relevant information of the corner points in the image block, the degree of cell aggregation arrangement in the image block is analyzed to determine the aggregated image block in which the cells are highly aggregated. Next, in order to distinguish the morphological stretching and shrinking distortions caused by the two situations of cell division and cell density, according to the distribution of edge pixels in the aggregated image block, the cell morphology in the image block area is characteristically analyzed to obtain the corresponding morphological distortion amount. The larger the morphological distortion amount, the higher the degree of disorder of the distribution of edge pixels in the corresponding aggregated image block, and the morphological characteristics of cells in the process of division are usually manifested as the close arrangement of two cells presenting a linear characteristic distribution. Therefore, for the aggregated image block with a higher morphological distortion amount, the division coefficient of the internal cell edge should be lower. At the same time, specifically for the edge of a single cell, the higher the degree of linear arrangement between the cell edges, that is, the more consistent with the cell morphological characteristics during the division process, the higher the corresponding division coefficient. Therefore, the degree of linear arrangement between the cell edges can be analyzed in combination with the morphological distortion amount corresponding to each clustered image block and the distribution of each cell edge in the clustered image block, so as to determine the division coefficient corresponding to each cell edge in the clustered image block. For each cell edge in each clustered image block, since the larger the division coefficient, the closer the cell edge is to the cell biological morphology such as extension produced by the cell during the division process, in order to make the morphological result not affect the cell clustering and counting results, it is necessary to optimize the clustering result in combination with the division coefficient corresponding to each cell edge in the clustered image block, that is, for such cell edges, when participating in clustering, it can be used as a separate clustering cluster for additional cell counting, thereby preventing the two divided cells from being counted as one cell, and ensuring the counting accuracy. The present invention analyzes the distortions such as morphological stretching and contraction caused by cell division and cell density, so that in the clustering process, the cell edges belonging to cell division can be used as a separate cluster for additional cell counting, effectively avoiding the influence of cell biological morphology on cell counting and improving the accuracy of cell counting. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 A flowchart of the steps of a visually assisted large-scale cell culture counting method according to an embodiment of the present invention;
[0052] Figure 2 is a schematic diagram of a grayscale image obtained after grayscale processing according to an embodiment of the present invention;
[0053] Figure 3 A flowchart of the steps of determining the aggregation index of an image block according to an embodiment of the present invention;
[0054] Figure 4 A flowchart of the steps of determining the morphological distortion amount corresponding to the clustered image block according to an embodiment of the present invention;
[0055] Figure 5 A flowchart of the steps of determining the splitting coefficient corresponding to each cell edge in a clustered image block according to an embodiment of the present invention;
[0056] Figure 6 A flowchart of the steps of clustering the edges of each cell in a clustered image block according to an embodiment of the present invention;
[0057] Figure 7 Schematic diagram of the structure of a visually assisted large-scale cell culture counting system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0058] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the technical solutions proposed by the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. In addition, all parameters or indicators in the formulas involved in this article are normalized values that eliminate the influence of dimensions.
[0060] In order to solve the problem that the existing cell counting is not accurate based on the existing clustering results due to the influence of cell biological morphology, an embodiment of the present invention provides a visually assisted large-scale cell culture counting method, which determines the aggregated image blocks with high cell aggregation in the cell image, determines the morphological distortion amount according to the cell edge characteristics in the aggregated image blocks, and determines the split coefficient corresponding to the cell edge in the aggregated image blocks in combination with the degree of linear arrangement between cells. Based on the split coefficient, the cell edge clustering in the aggregated image blocks is optimized, thereby achieving accurate cell counting.
[0061] A visually assisted large-scale cell culture counting method provided by an embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0062] Figure 1 A basic flow chart of a visually assisted large-scale cell culture counting method provided by an embodiment of the present invention is as follows: Figure 1 As shown, the method specifically comprises the following steps:
[0063] Step S1: obtaining a grayscale image of a cell image to be counted, dividing the grayscale image into blocks, and obtaining each image block.
[0064] Since the embodiment of the present invention needs to analyze the cell image of the cell culture fluid under the microscope, and perform algorithm analysis on it, and finally obtain the cell counting data, it is preferred to culture the cells. In the cell culture process, taking the culture of human umbilical cord mesenchymal stem cells as an example, the experimental instruments and equipment required for culture include but are not limited to: water-jacketed carbon dioxide incubator, centrifuge, inverted fluorescence microscope, clean bench, Mini fully automatic cell counting instrument and other equipment are various tools used for laboratory work. Among them, water-jacketed carbon dioxide incubator, centrifuge and clean bench and other equipment are mainly used for large-scale culture of stem cells, while inverted fluorescence microscope and Mini fully automatic cell counting instrument are used to monitor cells.
[0065] During the large-scale culture of umbilical cord mesenchymal stem cells, after freezing, resuscitation and passage of the cell suspension, large-scale culture samples of umbilical cord mesenchymal stem cells at different culture days can be obtained. In this process, cell culture samples at different culture days will be obtained, flow cytometry antibodies will be added to each sample, and a blank control without the addition of flow cytometry antibodies will be designed. After adding the corresponding antibodies, mix well, incubate and wash on ice in a dark place, obtain resuspended cells, and then perform flow cytometry detection. Through the flow cytometry detection results, the cell labeling results can be obtained for subsequent analysis.
[0066] After the cell culture is completed, an image of the cells to be counted in the culture medium under a microscope is obtained. In order to facilitate subsequent image analysis and reduce the amount of data processing, the obtained cell image is preprocessed to obtain a preprocessed image, that is, the cell image is grayed to obtain a gray image; at the same time, in order to facilitate the subsequent calculation and analysis of cell morphology, the gray image is histogram equalized to increase the contrast between the cell edge and the background. At this time, the preprocessed image refers to the gray image after the histogram equalization process. Figure 2 The figure shows a grayscale image obtained after grayscale processing in a specific embodiment of the present invention.
[0067] In order to facilitate the subsequent analysis of the degree of aggregation of cells in the local area of the grayscale image after histogram equalization, the grayscale image is segmented using superpixel segmentation, and cells with the same characteristics are segmented together to obtain various superpixel blocks, each of which is a local area, and the local area is referred to as an image block. The algorithm used for superpixel segmentation can be reasonably selected as needed. In a specific embodiment of the present invention, a simple linear iterative clustering algorithm (SLIC) is used to segment the grayscale image to obtain various superpixel blocks.
[0068] Step S2: determining a clustering index of the image block according to relevant information of corner points in the image block, and determining clustered image blocks among all the image blocks according to the clustering index.
[0069] When cells divide, their morphological characteristics are shown as two cells closely arranged and showing a linear characteristic distribution; at the same time, because of the high culture density or the influence of factors such as culture conditions, the cell morphology will also be stretched, contracted and distorted, and its morphology is similar to that of cells in the process of division. At this time, in the cell image to be detected, except for the densely distributed cells and cells in division, other cells show relatively normal morphological characteristics, and abnormal morphological characteristics (i.e. cell division and cell density) are similar in the image. Therefore, using the clustering results of the existing clustering algorithm for cell counting cannot accurately distinguish cells in the process of division, resulting in errors in the cell counting results.
[0070] In order to avoid distortions such as morphological stretching and contraction caused by the inability to distinguish between cell division and cell density, which may lead to errors in clustering and the final counting results, the embodiment of the present invention selects to screen out image block areas with a higher degree of aggregation based on the relevant information of the image block corners, and performs feature analysis on the cell morphology in the image block area, and identifies the causes of cell morphology based on its specific features. Furthermore, in order to perform effective identification, the edge features of all cells are first analyzed and calculated to obtain the corresponding morphological distortion amount. The higher the morphological distortion amount, the higher the degree of crowding between cells in the aggregated image block, the more chaotic the distribution of cell edges, and the more chaotic and irregular morphologies such as stretching and contraction are presented. The morphological features of cells in the process of division are usually manifested as the close arrangement of two cells presenting a linear feature distribution. Therefore, for aggregated image blocks with higher morphological distortion, the division coefficient of the internal cell edges should be lower. Furthermore, guided by the morphological distortion of the entire clustered image block, in order to accurately identify the distortion caused by cell division, the degree of linear arrangement is calculated, because during cell division, two cells are usually closely linearly arranged. The higher the degree of linear arrangement, the more likely it is that the distortion is caused by cell division, and the higher the corresponding division coefficient is, which serves the purpose of identifying the two situations. Finally, based on the division coefficient, the image block clustering is improved, so that in the clustering process, the cell edges belonging to cell division can be used as a separate cluster for additional cell counting, thereby ultimately achieving accurate cell counting.
[0071] Based on the above analysis, firstly, in order to facilitate the subsequent identification of the causes of different distorted cell morphologies, it is necessary to select image blocks with a higher degree of aggregation for feature analysis, while image blocks with a lower degree of aggregation have normal cell morphological distribution and will not have morphological distortions, etc. In order to screen out image blocks with a higher degree of aggregation, it is necessary to analyze the relevant information of the corner points in the image blocks to determine the aggregation index of the image blocks. When the aggregation index is smaller, it indicates that the degree of aggregation of cells in the image block is higher, and vice versa, it indicates that the degree of aggregation of cells in the image block is lower. In this way, the aggregated image blocks among all image blocks can be determined, that is, the image blocks with a higher degree of aggregation.
[0072] like Figure 3 As shown, in an embodiment of the present invention, the aggregation index of the image block is determined according to the relevant information of the corner points in the image block, and the implementation steps include:
[0073] Step S201: determining an abnormality scoring index of each corner point in the image block according to the difference between the position information of each corner point in the image block;
[0074] Step S202: determining the cell stacking degree corresponding to each corner point in the image block according to the amplitude and the abnormality scoring index of each corner point in the image block, wherein both the amplitude and the abnormality scoring index are positively correlated with the cell stacking degree;
[0075] Step S203: determining the aggregation index of the image block according to the cell stacking degree corresponding to each corner point in the image block and the number of each corner point in the image block.
[0076] For the above steps, the SIFT (Scale-invariant feature transform) corner point detection operator is used to perform corner point detection on each image block to determine the relevant information of each corner point in the image block, which includes the position information of the corner point in the corresponding image block and the amplitude of the corner point, which refers to the extreme value of the extreme point corresponding to the corner point in the process of using the SIFT corner point detection operator to perform corner point detection. When the amplitude of each corner point in the image block is larger, it indicates that the difference between the corner point position and other position areas is greater, that is, the greater the stacking degree between cells in the image block, the greater the grayscale difference between it and other position areas. At the same time, when the position of a corner point in the image block is more abnormal than the position distribution of other corner points, that is, the more abnormal the distribution position of the cells is, the reference of the amplitude of the corresponding corner point should be stronger. Therefore, in a specific embodiment of the present invention, according to the position information of each corner point in the image block, the Z score of each corner point in the image block is calculated using the Z-score algorithm, and the absolute value of the Z score is determined as the abnormality scoring index of each corner point in the image block. Furthermore, by correcting the amplitude of each corner point in the image block according to the abnormality scoring index of the corner point, the degree of cell stacking corresponding to each corner point in the image block can be determined. The larger the amplitude and the larger the abnormality scoring index, the larger the value of the corresponding cell stacking degree.
[0077] In addition, the more corner points there are in an image block, the greater the overlap between the edges of cells in the image block, and the greater the degree of deformation between cells. Because cell deformation or overlap will cause a series of corner points, the more corner points there are, the more complex the distribution between cells is, and the higher the degree of cell aggregation in the image block. Therefore, the aggregation index of the image block can be determined by combining the degree of cell stacking corresponding to each corner point in the image block and the number of each corner point in the image block.
[0078] In a specific embodiment of the present invention, the aggregation index of the image block is determined, and the corresponding calculation formula is:
[0079] ;
[0080] in, Indicates The aggregation index of image blocks; Indicates In the image block The degree of cell stacking at each corner point; Indicates In the image block Anomaly scoring indicators for corner points; Indicates In the image block The amplitude of each corner point; represents a first correction parameter, which is used to prevent the denominator from being zero. In a specific embodiment of the present invention, ; Indicates The total number of corner points in the image block; Represents the normalization function.
[0081] In the above formula, In the image block The larger the abnormal score index and amplitude of the corner point, the The value of the cell stacking degree at each corner point The larger the The higher the cell stacking degree at each corner point, the higher the When the cell stacking degree at each corner point in the image block is high, The smaller the value of the aggregation index of an image block, the more The higher the degree of cell aggregation in the image block, the higher the degree of cell aggregation in the image block. The larger the number of corner points in the first image block, the larger the The higher the degree of cell stacking in the image block, the The smaller the value of the aggregation index of the image block is, the smaller the value of the aggregation index of the image block is.
[0082] Based on the formula for constructing the above-mentioned aggregation index, it can be known that the smaller the value of the aggregation index is, the higher the degree of cell aggregation in the corresponding image block is. Therefore, in order to determine the aggregated image blocks among all image blocks, that is, the image blocks with a higher degree of aggregation, it is determined whether the aggregation index of each image block is within the set range, and the image blocks whose aggregation index is within the set range are determined as aggregated image blocks, so that the aggregated image blocks among all image blocks can be determined. It should be understood that the set range can be reasonably set according to actual conditions. In this embodiment, the value of the set range is set to 0-0.2.
[0083] Step S3: performing edge detection on the clustered image block to determine edge pixels and cell edges in the clustered image block, and determining the morphological distortion amount corresponding to the clustered image block according to the distribution of the edge pixels in the clustered image block.
[0084] After determining each clustered image block, in order to obtain an accurate amount of morphological distortion, it is necessary to analyze each clustered image block to determine the edge morphology result. Therefore, an edge detection operator is used to perform edge detection on each clustered image block to determine the edge pixels and cell edges in the clustered image block. In a specific embodiment of the present invention, a canny operator is used to perform edge detection on the clustered image block to determine each edge pixel in the clustered image block. At the same time, a continuity analysis is performed on each edge pixel in the clustered image block to determine each cell edge formed by the edge pixel points, and one cell edge corresponds to one cell. Since the specific implementation process of determining each edge pixel point and cell edge belongs to the prior art, it will not be repeated here.
[0085] Furthermore, since the cells in the clustered image blocks are relatively concentrated, some cell edges may overlap severely. Therefore, in order to eliminate the poor edge detection effect caused by such severe overlap, that is, to eliminate the problem of low credibility of edge detection results due to chaotic noise caused by overlap, it is also necessary to analyze the degree of aggregation of cells in the clustered image blocks. The higher the degree of aggregation, the larger the scale of the edge detection operator needs to be, in order to eliminate the chaotic noise caused by overlap, thereby improving the accuracy of edge detection results. In a specific embodiment of the present invention, since Gaussian filtering is required in the process of edge detection of the clustered image blocks by the canny operator, the higher the degree of aggregation of cells in the clustered image blocks, the higher the filtering parameters of the Gaussian filter, that is, the Gaussian parameters The smaller it needs to be, the larger the filtering scale of the Gaussian filter will be. The scale of the Gaussian filter and the Gaussian parameters Inversely proportional to the value of the edge detection function, the edge detection result will be clearer and less affected by overlapping noise.
[0086] Based on the above analysis, for each clustered image block, the filtering parameters of the edge detection operator used for edge detection of the clustered image block are corrected using the clustering degree index of the clustered image block to obtain the corrected filtering parameters, and the edge detection operator is used to perform edge detection on the clustered image block according to the corrected filtering parameters. In a specific embodiment of the present invention, since the smaller the clustering degree index of the clustered image block, the higher the degree of aggregation of cells in the clustered image block, the clustering degree index of each clustered image block and the Gaussian parameter in the Canny operator are calculated. The product of is used as the modified filtering parameter, and based on the modified filtering parameter, the Canny operator is used to perform edge detection on the clustered image block, so as to obtain the edge pixels and cell edges in the clustered image block.
[0087] It should be understood that, without considering the influence of the degree of aggregation of cells in the aggregated image block on the edge detection result of the aggregated image block, in other implementations of the present invention, the edge detection operator can be directly used to perform edge detection on the aggregated image block. In this case, there is no need to use the aggregation degree index of the aggregated image block to correct the filtering parameters of the edge detection operator.
[0088] For clustered image blocks with a higher degree of aggregation, the less regular the edge detection results are, that is, the less regular the distribution of edge pixels in the clustered image blocks is, the higher the corresponding cell morphology distortion is, and the more likely the cells are in a state of division. The division coefficient of these cells is analyzed, and the final recognition result is obtained based on the division coefficient value.
[0089] like Figure 4 As shown, in a specific embodiment of the present invention, the morphological distortion amount corresponding to the clustered image block is determined according to the distribution of edge pixels in the clustered image block, and the implementation steps include:
[0090] Step S301: taking any pixel point in the clustered image block as a target pixel point, and determining the occurrence probability of edge pixels within a set neighborhood of the target pixel point in the corresponding clustered image block;
[0091] Step S302: determining each straight line segment passing through the target pixel point, wherein the angles formed between adjacent straight line segments are the same, and determining a weight coefficient of the occurrence probability corresponding to the target pixel point according to the difference between the numbers of edge pixels appearing on each straight line segment of the target pixel point in the aggregated image block;
[0092] Step S303: Determine the weighted information entropy according to the occurrence probability and weight coefficient corresponding to each pixel point in the clustered image block, and determine the weighted information entropy as the morphological distortion amount corresponding to the clustered image block.
[0093] For the above steps, for any pixel point in each aggregated image block, the pixel point is called a target pixel point, and the probability of occurrence of edge pixels within the eight-neighborhood of the target pixel point is determined. The occurrence probability refers to the ratio of the number of edge pixels within the eight-neighborhood of the target pixel point to the total number of pixels in the aggregated image block.
[0094] The information entropy is determined based on the probability of occurrence of each pixel in each clustered image block. The larger the value of the information entropy, the more chaotic the distribution of edge pixels in the corresponding clustered image block. The higher the chaotic distribution, the greater the morphological distortion of the corresponding clustered image block. In other words, the higher the degree of crowding between cells in the clustered image block, the more chaotic the distribution of cell edges, the more chaotic and irregular the stretching, contraction and other forms, and the greater the corresponding morphological distortion.
[0095] Furthermore, considering the distribution characteristics of cell edges, in the process of calculating the information entropy based on the occurrence probability corresponding to each pixel point in the clustered image block, it is necessary to add the corresponding weight coefficient to the occurrence probability, so as to increase the credibility of the entropy value result.
[0096] To this end, in a specific embodiment of the present invention, a straight line segment passing through the target pixel and distributed horizontally is determined, and the straight line segment is continuously rotated counterclockwise, and the angle of each rotation is 2π / K. After each rotation, a new straight line segment is obtained, and K straight line segments corresponding to the target pixel are obtained by continuous rotation K-1 times. The value of K can be reasonably set as needed, and K=24 is set in the embodiment of the present invention.
[0097] Determine the number of edge pixels that appear on each straight line segment corresponding to the target pixel in the aggregated image block, that is, the number of edge pixels that each straight line segment corresponding to the target pixel passes through in the aggregated image block. When the difference between the number of edge pixels that appear on different straight lines is small, it means that the target pixel has several edge points in different directions, that is, the aggregated image block does not have a relatively regular distribution of edge pixels. Regular distribution of edge pixels means that edge pixels are distributed in only one direction, such as only in the horizontal or vertical angle. In other words, the smaller the difference between the number of edge pixels that appear on different straight lines, the more crowded or concentrated the cell distribution in the aggregated image block is. At this time, the edge results obtained after edge detection of the cells are relatively chaotic, and there may be a corresponding number of edge pixels in different directions, because after the cell edges are stretched or squeezed, there are a certain number of distributions in different areas.
[0098] As a weight coefficient, for edge pixels with regular distribution, they should have a larger weight coefficient when calculating information entropy, so that their probability becomes larger, then the entropy value will become lower and the morphological distortion will also become lower. When the distribution of cell edge points is more chaotic, that is, the number of edge pixels appearing on different straight line segments is closer, then the probability value should remain unchanged.
[0099] Based on the above analysis, in a specific embodiment of the present invention, the weight coefficient of the occurrence probability corresponding to the target pixel point is determined according to the difference between the number of edge pixels appearing on each two adjacent straight line segments of the target pixel point in the clustered image block, and the corresponding calculation formula is:
[0100] ;
[0101] in, Indicates the position of the clustered image block The weight coefficient of the occurrence probability corresponding to the target pixel at ; Indicates that the target pixel is The number of edge pixels that appear on a straight line segment; Indicates that the target pixel is The number of edge pixels that appear on a straight line segment; represents a second correction parameter, which is used to prevent the denominator from being zero. In a specific embodiment of the present invention, ; represents an exponential function with the natural constant e as the base; K represents the total number of straight line segments corresponding to the target pixel point. In a specific embodiment of the present invention, .
[0102] In the above formula, when the number of edge pixels of the target pixel appearing on each two adjacent straight line segments is relatively close, it means that the distribution of the cell edge pixels in the corresponding clustered image block is more chaotic, and the weight coefficient is closer to 1 at this time, so the corresponding probability of occurrence of the target pixel remains basically unchanged when calculating the information entropy; on the contrary, when the number of edge pixels of the target pixel appearing on each two adjacent straight line segments is quite different, it reflects that the distribution of the cell edge pixels in the corresponding clustered image block is more regular, and the weight coefficient is closer to 2 at this time, so the corresponding probability of occurrence of the target pixel becomes larger when calculating the information entropy, thereby achieving the purpose of reducing the information entropy value.
[0103] It should be understood that in other implementations of the present invention, based on the difference between the number of edge pixels appearing on each straight line segment of the target pixel in the aggregated image block, when the difference in the number of edge pixels appearing on each straight line segment is small, the determined weight coefficient is small and close to 1, and when the difference in the number of edge pixels appearing on each straight line segment is large, the determined weight coefficient is large. Under the premise of this purpose, other feasible implementations can be used to determine the weight coefficient of the probability of occurrence corresponding to the target pixel. For example, the absolute value of the difference between the number of edge pixels appearing on each two adjacent straight line segments and the ratio of the maximum value of the corresponding two edge pixel numbers can also be calculated, and the inverse of the ratio is used as the exponential function in the above-mentioned weight coefficient calculation formula. Alternatively, the variance of the number of edge pixels on each straight line segment can be calculated. When the variance is small, it means that the number of edge pixels on each straight line segment is close. In this case, the opposite of the variance is used as the exponential function. The index value is used to replace the index value in the above weight coefficient calculation formula. , and finally get the weight coefficient.
[0104] After determining the weight coefficient of the occurrence probability corresponding to each pixel point in each clustered image block in the above manner, the weighted information entropy is determined according to the occurrence probability corresponding to each pixel point in the clustered image block and its weight coefficient, that is, in the existing information entropy calculation formula, the accumulated item of the occurrence probability corresponding to each pixel point in the clustered image block is multiplied by the weight coefficient of the occurrence probability corresponding to the pixel point. Finally, the calculated weighted information entropy is used as the morphological distortion amount corresponding to the corresponding clustered image block.
[0105] Step S4: Determine the splitting coefficient corresponding to each cell edge in the aggregated image block according to the morphological distortion amount corresponding to the aggregated image block and the distribution of each cell edge in the aggregated image block.
[0106] Generally speaking, since the cells in the entire clustered image block have the same characteristics, the larger the morphological distortion corresponding to the clustered image block, the higher the degree of disorder in the distribution of edge pixels in the corresponding clustered image block. The morphological characteristics of cells in the process of division are characterized by the close arrangement of two cells with a linear characteristic distribution. Therefore, for clustered image blocks with higher morphological distortion, the division coefficient of the internal cell edges should be lower. At the same time, specifically for the edges of individual cells, the higher the degree of linear arrangement between the cell edges, that is, the more consistent with the morphological characteristics of cells in the division process, the higher the corresponding division coefficient. Therefore, the degree of linear arrangement between cell edges can be analyzed in combination with the morphological distortion corresponding to each clustered image block and the distribution of each cell edge in the clustered image block, so as to determine the division coefficient corresponding to each cell edge in the clustered image block.
[0107] like Figure 5 As shown, in a specific embodiment of the present invention, according to the morphological distortion amount corresponding to the clustered image block and the distribution of each cell edge in the clustered image block, the splitting coefficient corresponding to each cell edge in the clustered image block is determined, and the implementation steps include:
[0108] Step S401: determining each edge segment of each cell edge in the clustered image block, and determining a straight line fitting rate corresponding to the edge segment;
[0109] Step S402: determining the maximum straight line fitting rate among all straight line fitting rates corresponding to each cell edge in the clustered image block, and determining the maximum straight line fitting rate as the linear arrangement degree corresponding to each cell edge in the clustered image block;
[0110] Step S403: Determine the splitting coefficient corresponding to each cell edge in the clustered image block according to the linear arrangement degree corresponding to each cell edge in the clustered image block and the morphological distortion amount corresponding to the clustered image block, wherein the linear arrangement degree is positively correlated with the splitting coefficient, and the morphological distortion amount is negatively correlated with the splitting coefficient.
[0111] For the above steps, in each clustered image block, each cell edge is segmented, and the edge pixels with the same or similar change trends on the cell edge are divided into an edge segment, so that each edge segment of each cell edge can be obtained. Each edge segment is fitted with a straight line using the least squares method to obtain the corresponding straight line fitting rate, and the maximum straight line fitting rate among all the straight line fitting rates corresponding to each cell edge is determined. The larger the maximum straight line fitting rate, the more the corresponding cell edge conforms to the linear distribution during cell division. Therefore, the maximum straight line fitting rate is used as the linear arrangement degree corresponding to the cell edge, and the higher the division coefficient corresponding to the cell edge is.
[0112] It should be understood that in other implementations of the present invention, according to the distribution of each cell edge in each aggregated image block, in order to achieve the purpose that the more the cell edge conforms to the linear distribution during cell division, the greater the degree of linear arrangement corresponding to the cell edge, other feasible implementations can be used to determine the degree of linear arrangement corresponding to each cell edge in each aggregated image block. For example, the length of the edge segment corresponding to the above-mentioned maximum straight line fitting rate is determined. When the proportion of this length in the length of the entire cell edge is larger, it also reflects that the corresponding cell edge conforms to the linear distribution during cell division. Therefore, the sum of this proportion and the maximum straight line fitting rate is used as the degree of linear arrangement corresponding to the corresponding cell edge.
[0113] On this basis, the morphological distortion amount corresponding to each clustered image block and the linear arrangement degree corresponding to each cell edge in the clustered image block are combined to determine the splitting coefficient corresponding to each cell edge in the clustered image block. Among them, the linear arrangement degree and the splitting coefficient are positively correlated, and the morphological distortion amount and the splitting coefficient are negatively correlated.
[0114] In a specific embodiment of the present invention, the linear arrangement degree corresponding to each cell edge in each clustered image block is divided by the morphological distortion amount corresponding to the clustered image block, and the resulting quotient is the splitting coefficient corresponding to each cell edge in each clustered image block.
[0115] It should be understood that in other implementations of the present invention, under the premise of achieving the purpose that the determined splitting coefficient is positively correlated with the linear arrangement degree and negatively correlated with the morphological distortion amount, other feasible implementations can be used to determine the splitting coefficient corresponding to each cell edge in each clustered image block. For example, an exponential function can be used to perform negative correlation mapping processing on the morphological distortion amount, and the product of the negative correlation mapping processing result and the linear arrangement degree is determined as the splitting coefficient.
[0116] Step S5: clustering the cell edges in the clustered image block according to the split coefficient corresponding to each cell edge in the clustered image block, and counting cells according to the clustering result.
[0117] For the division coefficient corresponding to each cell edge in each clustered image block, the larger the division coefficient, the closer the cell edge is to the cell biological morphology such as extension produced during the cell division process. Therefore, in order to prevent the morphological result from affecting the cell clustering and counting results, it is necessary to optimize the clustering results in combination with the division coefficient corresponding to each cell edge in the clustered image block, that is, for such cell edges, when participating in clustering, they can be used as a separate cluster cluster for additional cell counting, thereby preventing two divided cells from being counted as one cell and ensuring the counting accuracy.
[0118] For this reason, Figure 6 As shown, in a specific embodiment of the present invention, in the existing process of clustering the edges of each cell in each clustered image block, the clustering process is improved according to the splitting coefficient corresponding to each cell edge in the clustered image block, and the implementation steps include:
[0119] Step S501: determining the distance between any two cell edges in the clustered image block;
[0120] Step S502: normalizing the splitting coefficient corresponding to each cell edge in the clustered image block to obtain a normalized value;
[0121] Step S503: correcting the distance between any two cell edges in the aggregated image block according to the normalized processing value corresponding to each cell edge in the aggregated image block to obtain a corrected distance between the any two cell edges;
[0122] Step S504: clustering the cell edges in the clustered image block according to the corrected distance between any two cell edges in the clustered image block.
[0123] For the above steps, the geometric center of each cell edge in each clustered image block is determined, and the Euclidean distance between the geometric centers of any two cell edges is calculated, and the Euclidean distance is the distance between any two cell edges. At the same time, the split coefficient corresponding to each cell edge in the clustered image block is normalized to obtain a normalized value. In a specific embodiment of the present invention, the normalized value is obtained by using Indicates that the normalization function normalizes the splitting coefficients.
[0124] For each cell edge in each clustered image block, when the normalized processing value of its corresponding division coefficient is greater than the set processing value threshold, the value of the set processing value threshold can be reasonably set as needed. In a specific embodiment of the present invention, the value of the set processing value threshold is set to 0.9, which indicates that the cells at the corresponding cell edge are in the process of cell division. Then, when they participate in clustering, their corresponding distance should be reduced, so as to achieve the purpose of treating them as a separate cluster for additional cell counting.
[0125] In a specific embodiment of the present invention, if the normalized processing value corresponding to any cell edge in the aggregated image block is greater than the set processing value threshold, the corresponding cell edge is determined as a split edge; if there is a split edge between any two cell edges in the aggregated image block, the product of the distance between the arbitrary two cell edges and the normalized processing value corresponding to each split edge in the arbitrary two cell edges is determined as the corrected distance between the arbitrary two cell edges. Of course, if there is no split edge between the arbitrary two cell edges, the distance between the arbitrary two cell edges is directly used as the corresponding corrected distance.
[0126] Based on the corrected distance between any two cell edges in the clustered image block determined above, each cell edge in the clustered image block is clustered using a clustering algorithm to obtain each cluster cluster. The clustering algorithm can be reasonably selected as needed. In a specific embodiment of the present invention, the DBSCAN algorithm (Density-Based Spatial Clustering of Application with Noise, density clustering algorithm) is used to cluster each cell edge in the clustered image block.
[0127] Based on each cluster cluster corresponding to each clustered image block determined as above, the number of cells in each cluster cluster is calculated, thereby realizing the cell counting of each clustered image block. In the process of calculating the number of cells in each cluster cluster, it is necessary to determine the split cluster clusters therein and perform cell counting separately. In a specific embodiment of the present invention, it is determined whether there is a cell edge in each cluster cluster whose normalized processing value of the division coefficient is greater than the above-set processing value threshold. If so, it means that the cells in the corresponding cluster cluster are cells in cell division, and therefore the corresponding cluster cluster is determined as a split cluster cluster. In addition, when counting separately, the number of cells in each split cluster cluster can be automatically calculated using image processing software or a written script, or the number of cells in each split cluster cluster can be manually calculated.
[0128] After determining the cell counts of each cluster corresponding to each clustered image block, it is also necessary to determine the cell counts in other image blocks in the grayscale image except for the clustered image block. The process of determining the cell counts in other image blocks belongs to the prior art and will not be described here. All cell counts are accumulated to finally obtain the total cell count. In practical applications, this process can be automatically completed by programming, such as using Python's data processing library (such as Pandas) to quickly aggregate and count data.
[0129] The present invention analyzes the distortions such as morphological stretching and contraction caused by cell division and cell density, so that in the clustering process, the cell edges belonging to cell division can be used as a separate cluster for additional cell counting, effectively avoiding the influence of cell biological morphology on cell counting and improving the accuracy of cell counting.
[0130] To solve the above technical problems, based on the same inventive concept, an embodiment of the present invention further provides a visually assisted large-scale cell culture counting device, the device comprising:
[0131] An image block acquisition module is used to: acquire a grayscale image of a cell image to be counted, divide the grayscale image into blocks, and acquire each image block;
[0132] A clustered image block acquisition module is used to: determine a clustering degree index of the image block according to relevant information of corner points in the image block, and determine a clustered image block among all the image blocks according to the clustering degree index;
[0133] A morphological distortion amount acquisition module is used to: perform edge detection on the aggregated image block, determine edge pixels and cell edges in the aggregated image block, and determine the morphological distortion amount corresponding to the aggregated image block according to the distribution of the edge pixels in the aggregated image block;
[0134] A split coefficient acquisition module, used to determine the split coefficient corresponding to each cell edge in the aggregated image block according to the morphological distortion amount corresponding to the aggregated image block and the distribution of each cell edge in the aggregated image block;
[0135] The counting module is used to cluster the cell edges in the clustered image block according to the split coefficient corresponding to each cell edge in the clustered image block, and count the cells according to the clustering result.
[0136] To solve the above technical problems, based on the same inventive concept, the present invention also provides a visually assisted large-scale cell culture counting system, illustratively, as Figure 7 As shown, the system includes: a memory 101, a processor 102, and a computer program 103 stored in the memory 101 and running on the processor 102, wherein when the processor 102 executes the computer program 103, the protection system can execute any one of the visually assisted large-scale cell culture counting methods introduced above.
[0137] The embodiment of the present invention can divide the system into functional modules according to the above method example. For example, each functional module can be corresponded to, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0138] To solve the above technical problems, based on the same inventive concept, an embodiment of the present invention further provides a computer program product. When the computer program product is run on a computer, the computer executes the above related steps to implement a visually assisted large-scale cell culture counting method provided in the above embodiment. Among them, the device, system, and computer program product provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here. Through the above description, the technicians in the relevant field can understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functional allocation can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0139] It should be noted that the above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A visually assisted large-scale cell culture counting method, characterized in that: The following steps are involved: Obtaining a grayscale image of the cell image to be counted, dividing the grayscale image into blocks, and obtaining individual image blocks; determining a clustering index of the image block according to relevant information of corner points in the image block, and determining clustered image blocks among all the image blocks according to the clustering index; Performing edge detection on the aggregated image block to determine edge pixels and cell edges in the aggregated image block, and determining a morphological distortion amount corresponding to the aggregated image block based on a distribution of the edge pixels in the aggregated image block; Determining a splitting coefficient corresponding to each cell edge in the aggregated image block according to a morphological distortion amount corresponding to the aggregated image block and a distribution of each cell edge in the aggregated image block; Clustering the cell edges in the clustered image block according to the splitting coefficient corresponding to each cell edge in the clustered image block, and performing cell counting based on the clustering result; Determining the aggregation index of the image block includes: Determining an abnormality scoring index for each corner point in the image block according to a difference between position information of each corner point in the image block; determining a cell stacking degree corresponding to each corner point in the image block according to an amplitude and an abnormality scoring index of each corner point in the image block, wherein both the amplitude and the abnormality scoring index are positively correlated with the cell stacking degree; determining an aggregation index of the image block according to a degree of cell stacking corresponding to each corner point in the image block and the number of each corner point in the image block; Determining the morphological distortion amount corresponding to the aggregated image block includes: Taking any pixel point in the aggregated image block as a target pixel point, determining the probability of occurrence of edge pixels within a set neighborhood of the target pixel point in the corresponding aggregated image block; Determining straight line segments passing through the target pixel point, wherein adjacent straight line segments have the same included angle, and determining a weight coefficient of the occurrence probability corresponding to the target pixel point based on a difference between the numbers of edge pixels appearing on the straight line segments of the target pixel point in the aggregated image block; Determining weighted information entropy according to the occurrence probability and weight coefficient corresponding to each pixel point in the clustered image block, and determining the weighted information entropy as the morphological distortion amount corresponding to the clustered image block; Determining a splitting coefficient corresponding to each cell edge in the aggregated image block includes: determining each edge segment of each cell edge in the aggregated image block, and determining a straight line fitting rate corresponding to the edge segment; determining a maximum straight line fitting rate among all straight line fitting rates corresponding to each cell edge in the aggregated image block, and determining the maximum straight line fitting rate as a linear arrangement degree corresponding to each cell edge in the aggregated image block; determining a splitting coefficient corresponding to each cell edge in the aggregated image block according to a linear arrangement degree corresponding to each cell edge in the aggregated image block and a morphological distortion amount corresponding to the aggregated image block, wherein the linear arrangement degree and the splitting coefficient are positively correlated, and the morphological distortion amount and the splitting coefficient are negatively correlated; Clustering each cell edge in the clustered image block includes: determining the distance between any two cell edges in the clustered image block; Normalizing the splitting coefficient corresponding to each cell edge in the clustered image block to obtain a normalized value; Correcting the distance between any two cell edges in the aggregated image block according to the normalized processing value corresponding to each cell edge in the aggregated image block to obtain a corrected distance between the any two cell edges; clustering the cell edges in the clustered image block according to the corrected distance between any two cell edges in the clustered image block; Perform cell counting based on clustering results, including: Calculate the number of cells in each cluster. In the process of calculating the number of cells in each cluster, determine whether there is a cell edge in each cluster whose normalized processing value of the division coefficient is greater than the set processing value threshold. If so, determine the corresponding cluster as a split cluster. Determine the split cluster among them and perform cell counting separately. The cell counts in the image blocks other than the clustered image block in the grayscale image are determined, and all the cell counts are accumulated to finally obtain the total cell count.
2. A visually assisted large-scale cell culture counting method according to claim 1, characterized in that: Determining an abnormality score index for each corner point in the image block, including: According to the position information of each corner point in the image block, the Z score of each corner point in the image block is calculated using the Z-score algorithm, and the absolute value of the Z score is determined as the abnormality scoring indicator of each corner point in the image block.
3. A visually assisted large-scale cell culture counting method according to claim 1, characterized in that: Determining the weight coefficient of the occurrence probability corresponding to the target pixel point includes: determining a difference in the number of edge pixels corresponding to each of the two adjacent straight line segments of the target pixel point according to a difference in the number of edge pixels appearing on each of the two adjacent straight line segments of the target pixel point in the aggregated image block; A negative correlation mapping process is performed on the difference in the number of edge pixels, and a weight coefficient of the occurrence probability corresponding to the target pixel is determined according to an average distribution level of all negative correlation mapping process results corresponding to the target pixel.
4. A visually assisted large-scale cell culture counting method according to claim 1, characterized in that: Correcting the distance between any two cell edges includes: If the normalized processing value corresponding to any cell edge in the clustered image block is greater than the set processing value threshold, the corresponding cell edge is determined as a split edge; If there is a split edge between any two cell edges in the aggregated image block, the product of the distance between the arbitrary two cell edges and the normalized processing value corresponding to each split edge in the arbitrary two cell edges is determined as the corrected distance between the arbitrary two cell edges.
5. A visually assisted large-scale cell culture counting method according to claim 1, characterized in that: The method further includes: According to the morphological distortion amount corresponding to the aggregated image block, the filter parameters of the edge detection operator used for edge detection of the aggregated image block are modified to obtain the modified filter parameters; An edge detection operator is used to perform edge detection on the clustered image blocks according to the modified filter parameters.
6. A visually assisted large-scale cell culture counting method according to claim 1, characterized in that: Determining a clustered image block among all the image blocks includes: It is determined whether the aggregation index of each image block is within a set range, and the image blocks whose aggregation index is within the set range are determined as aggregated image blocks.
Citation Information
Patent Citations
Image-based white blood cell counting method and system
CN108257124A
Artificial intelligence processing method for tumor pathological tissue image
CN118196789A
