Method for detecting targets on the smooth endoplasmic reticulum of embryonic cells

By performing feature fusion and noise purification on images of embryonic cells' smooth endoplasmic reticulum, and combining low-level and high-level features, a target positioning confidence probability distribution function is generated, which solves the problem of inaccurate detection of embryonic cells' smooth endoplasmic reticulum and improves efficiency. Detection accuracy and stability.

CN118247637BActive Publication Date: 2024-10-15WUHAN MUTUAL UNITED TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410426893.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-10
Publication Date
2024-10-15
Estimated Expiration
2044-04-10

AI Technical Summary

Technical Problem

In the existing technology, the smooth endoplasmic reticulum of embryonic cells is highly similar to the background, resulting in inaccurate target detection and affecting embryo quality assessment.

Method used

Features are extracted by downsampling 6 times of smooth endoplasmic reticulum images of embryonic cells, and feature fusion is performed. Combined with noise purification processing and adaptive weighting switches, the complementary information of low-level features and high-level features is used to generate target positioning confidence probability distributions. function, and improve detection accuracy through loss function optimization.

Benefits of technology

It effectively solves the boundary blur and uncertainty problems where the smooth endoplasmic reticulum is highly similar to the background, improves the accuracy and stability of target detection, provides more comprehensive information, and reduces information loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118247637B_ABST
    Figure CN118247637B_ABST
Patent Text Reader

Abstract

The present invention provides an embryonic cell smooth endoplasmic reticulum target detection method, comprising the following steps: step S1: performing 6 downsamplings on the embryonic cell smooth endoplasmic reticulum image to be detected to extract features, and obtaining feature maps #imgabs0# and #imgabs1# in sequence; step S2: performing feature fusion on #imgabs2# and #imgabs3# to obtain a first fusion feature, fusion on #imgabs4# and #imgabs5# to obtain a second fusion feature, fusion on #imgabs6# and #imgabs7# to obtain a third fusion feature, and fusion on #imgabs8# and the first fusion feature to obtain a fourth fusion feature; the fourth fusion feature is respectively fused with the second fusion feature, the third fusion feature and #imgabs9# to obtain a result, and sent to a detection head to obtain a detection result. The present invention captures edge features in low-level features, and then fuses them with the global information of the highest level to form complementary information, effectively solving the problems of poor target detection effect and instability caused by the high similarity between the smooth endoplasmic reticulum target and the background.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of embryonic cell detection, and in particular to a method for detecting smooth endoplasmic reticulum targets of embryonic cells. Background Art

[0002] In addition to mature red blood cells, the endoplasmic reticulum is an important organelle present in various eukaryotic cells. Depending on whether there are ribosomes attached to its membrane, the endoplasmic reticulum can be divided into rough endoplasmic reticulum and smooth endoplasmic reticulum. In oocytes, the presence of the endoplasmic reticulum is essential. However, if a large amount of smooth endoplasmic reticulum aggregates in the center of the oocyte cytoplasm, this is considered a cytoplasmic malformation. Existing studies have shown that the smooth endoplasmic reticulum is associated with changes in the cytoskeleton and affects the physiological functions of oocytes, leading to abnormal calcium signals and mitochondrial respiration during oocyte activation. Therefore, it is necessary to detect the smooth endoplasmic reticulum of embryonic cells.

[0003] By using advanced computer vision technology to build a detection model, doctors can better understand the specific situation of the smooth endoplasmic reticulum in embryonic cells and make more accurate judgments. However, the current target detection method for the smooth endoplasmic reticulum of embryonic cells still has some problems to be solved: because the photos generated under an electron microscope are grayscale photos. Through observation of the data set, it was found that the smooth endoplasmic reticulum in the generated embryonic cell photos is highly similar to the background, resulting in blurred or uncertain boundaries, which greatly affects the accuracy of smooth endoplasmic reticulum target detection. This problem will affect the model's judgment of smooth endoplasmic reticulum cells, and thus affect the assessment of embryo quality. Summary of the invention

[0004] The present invention proposes a method for detecting the smooth endoplasmic reticulum target of embryonic cells to solve the technical problem that the smooth endoplasmic reticulum is highly similar to the background, resulting in inaccurate detection.

[0005] In order to solve the above technical problems, the present invention provides a method for detecting smooth endoplasmic reticulum targets of embryonic cells, comprising the following steps:

[0006] Step S1: Downsample the image of the smooth endoplasmic reticulum of the embryonic cell to be detected six times to extract features, and obtain feature maps in sequence , ;

[0007] Step S2: and Perform feature fusion to obtain the first fusion feature. and Fusion obtains the second fusion feature, and Fusion obtains the third fusion feature, and the first fusion feature to obtain a fourth fusion feature; the fourth fusion feature is respectively combined with the second fusion feature, the third fusion feature and The fusion result is sent to the detection head to obtain the detection result.

[0008] Preferably, in step S2, noise purification is performed before feature fusion.

[0009] Preferably, the noise purification method comprises: sequentially performing a group of Convolution, regularization and activation function operations are expressed as:

[0010] ;

[0011] In the formula, Representation feature map The characteristic graph after purification, is the convolution operation; is the regularization operation; Indicates the activation function operation.

[0012] Preferably, and When performing feature fusion, adaptive weighting switch , adaptively learn the different attentions seen in the low-level features, and then and Respectively Perform cascade fusion.

[0013] Preferably, the adaptive weighted switch The expression is:

[0014] ;

[0015] In the formula, is the convolution operation, Indicates the activation function operation. Represents the product operation;

[0016] The expression for cascade fusion is:

[0017] ;

[0018] In the formula, represents a convolution operation with 32 filters, Indicates a cascade operation.

[0019] Preferably, the expression for feature fusion is:

[0020] ;

[0021] In the formula, and Represents two different feature maps, Indicates that the parameter is θ The convolutional layer, represents the bilinear interpolation operation, Indicates the activation function operation.

[0022] Preferably, when performing target detection, a prediction box is generated through probability distribution, and the prediction box is converted into a target location confidence probability distribution function, and optimized through a loss function to obtain a detection result.

[0023] Preferably, the target location confidence probability distribution function The expression is:

[0024] ;

[0025] In the formula, is a set of learnable parameters, is the bounding box position to be estimated, is the input location coordinate, Represents the standard deviation of the target confidence probability distribution function.

[0026] Preferably, during the training process, the update expression of IOU is:

[0027] ;

[0028] In the formula, represents the updated intersection-over-union ratio, SP is the predicted area, and ST is the actual area.

[0029] Preferably, the loss function is expressed as:

[0030] ;

[0031] ;

[0032] In the formula, represents minimizing the KL divergence function, represents the probability of the true distribution, Represents the true target frame position, represents the Dirac function and H represents the entropy function.

[0033] The beneficial effects of the present invention include at least: the present invention extracts features by downsampling the smooth endoplasmic reticulum image of the embryonic cell to be detected six times. and Feature fusion is performed to capture edge features hidden in low-level features, and then they are fused with the global information of the highest level to form complementary information. While reducing information loss due to the top-down fusion process, a more comprehensive information is provided, which effectively solves the problems of poor and unstable target detection caused by the high similarity between the smooth endoplasmic reticulum target and the background. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of a method flow chart of an embodiment of the present invention;

[0035] Figure 2 This is a schematic diagram of an embryonic cell image generated under an electron microscope according to an embodiment of the present invention;

[0036] Figure 3 This is a comparison diagram of target detection results in an embodiment of the present invention;

[0037] Figure 4 This is a schematic diagram of the CBR module structure of an embodiment of the present invention;

[0038] Figure 5 This is a schematic diagram of the network structure after adding the purification module CBR in the embodiment of the present invention;

[0039] Figure 6 A schematic diagram of a network structure in which an edge fusion module EDM is added according to an embodiment of the present invention;

[0040] Figure 7 Generate candidate boxes of various sizes, proportions and positions for the region proposal algorithm (RPN) of an embodiment of the present invention;

[0041] Figure 8 Schematic diagram of a target location confidence probability distribution function and a true target frame probability distribution function according to an embodiment of the present invention;

[0042] Fig. 9 A schematic diagram of a probability distribution loss function adjustment process according to an embodiment of the present invention;

[0043] Fig.10 This is a comparison diagram of target detection results before and after adding the target location confidence probability loss function in the embodiment of the present invention;

[0044] Fig.11 Schematic diagram of the detection results of an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.

[0046] Smooth endoplasmic reticulum is related to the differentiation, growth and development of embryonic cells. However, if a large amount of smooth endoplasmic reticulum accumulates, it may cause consequences in cell biology and physiology. Therefore, the detection of smooth endoplasmic reticulum in embryonic cells is very important. However, under the irradiation of an electron microscope, due to the relatively high transparency of the cytoplasm and the nucleus, and the high water content in the cells, the embryonic cells appear transparent or translucent, which may increase the difficulty of detection. Figure 2 As shown in the figure, from the generated detection image, since it is a grayscale photo, there is a problem that the smooth endoplasmic reticulum target and the background are highly similar, and it is difficult for the naked eye to distinguish the foreground and background at once. This situation not only creates great difficulties for the annotation of the data set, but also brings severe challenges to the target detection algorithm, because the purpose of target detection is to find the location of the target in the image and give a bounding box of its size and shape. Due to the existence of the problem that the smooth endoplasmic reticulum target and the background are highly similar, it makes it difficult for the algorithm to accurately determine the boundary. How to design a smooth endoplasmic reticulum target detection architecture to address the boundary fuzziness and uncertainty caused by the high similarity between the smooth endoplasmic reticulum and the background is undoubtedly a huge challenge.

[0047] The two main problems in target detection are classification and positioning. For this single-class smooth endoplasmic reticulum target detection, the most important one is positioning, because Figure 2 It can be seen that the smooth endoplasmic reticulum target is highly similar to the background, and it is difficult for the naked eye to clearly distinguish the target from the background at once. Therefore, how to enable the network architecture model to accurately locate the target is very important for the detection of the smooth endoplasmic reticulum. The edge is the boundary between the target and the background, and between the targets in the image. The edge information can provide key features such as the shape, direction, and texture of the target object. By extracting edge information, the important features in the image can be highlighted to achieve the purpose of improving the accuracy of target detection. When Res2Net (Residual Network) is used as the backbone network, the edge information is extracted by checking the edges in the image through feature mathematical operations. When the smooth endoplasmic reticulum target is highly similar to the background, the edge information of the smooth endoplasmic reticulum cannot be detected well. Therefore, how to fully extract and utilize edge detail information to distinguish foreground and background has an important impact on improving the performance of the network model.

[0048] The smooth surface ER target has a similar texture to the background environment, which poses a serious obstacle to the smooth surface ER target detection task. However, there are subtle texture differences between the smooth surface ER target and the background, such as subtle differences in color and brightness, which provide a method to obtain edge detail features to distinguish the target from the background. First of all, from the basic deep learning knowledge, we know that the low-level features contain a large number of edge detail features, such as color, texture, and contour.

[0049] In previous target detection, many network architectures have ignored the edge information from low-level features. The present invention believes that the boundary information in low-level features is very important for the target detection task where the smooth endoplasmic reticulum is very similar to the background information. Because when the smooth endoplasmic reticulum is highly similar to the background, the high-level features extracted by deeper convolution alone may not be enough to distinguish them, because high-level features often contain global information. When the detection target is highly similar to the background and the background is dominant, high-level features often have difficulty distinguishing the differences between the background and the smooth endoplasmic reticulum in key features such as shape, direction, and texture. However, the underlying features focus on the low-level structure of the image, and they usually focus on the local information of the image. Using the edge information of the low-level features can provide a more stable and reliable basis for distinction. Therefore, strengthening the extraction of the underlying features will help solve the problem of the high similarity between the smooth endoplasmic reticulum and the background.

[0050] Therefore, if Figure 1 As shown, the embodiment of the present invention provides a method for detecting smooth endoplasmic reticulum targets of embryonic cells based on a deep learning network, comprising the following steps:

[0051] Step S1: Downsample the image of the smooth endoplasmic reticulum of the embryonic cell to be detected six times to extract features, and obtain feature maps in sequence , .

[0052] Step S2: and Perform feature fusion to obtain the first fusion feature. and Fusion obtains the second fusion feature, and Fusion obtains the third fusion feature, and the first fusion feature to obtain a fourth fusion feature; the fourth fusion feature is respectively combined with the second fusion feature, the third fusion feature and The fusion result is sent to the detection head to obtain the detection result.

[0053] Specifically, firstly, a pair of size The image is input into the Res2Net backbone network and downsampled in turn to extract 6 feature maps, which are represented as , the size is .

[0054] because It is too close to the input and the receptive field is too small. Therefore, the embodiment of the present invention abandons processing this feature map and then converts the resolution of the encoder into of and resolution is of The features of are taken as input and fused to capture the edge features hidden in the low-level features.

[0055] However, the goal of the embodiment of the present invention is to use the detailed edge information to guide the target detection algorithm to better extract the feature information of the smooth endoplasmic reticulum object to achieve more accurate target detection. Therefore, for a target detection algorithm, it is impossible to meet the requirements of the target detection algorithm for detection accuracy by relying solely on low-level features or high-level features. Therefore, it is not enough to only obtain the edge detail information from Conv2 and Conv3, and high-level semantic information and position information are also required.

[0056] However, when information is gradually returned to the lower layers like the U-Net architecture, the high-level position information will be gradually diluted in the fusion process. Therefore, in view of this situation, and considering the influence of the largest receptive field and the most accurate position of the top layer, the embodiment of the present invention designs a bottom-up position propagation to propagate the top-level position information to the lower layers, making full use of the smooth endoplasmic reticulum object feature information of the multi-resolution high-level position to achieve more accurate target detection.

[0057] In order to prevent too much high-level information from disappearing, the embodiment of the present invention adopts the following formula for fusion when performing feature fusion:

[0058] ;

[0059] In the formula, Representation feature map The characteristic graph after purification, and Represents two different feature maps, Indicates that the parameter is θ The purpose of the convolution layer is to change the number of feature channels. Represents a bilinear interpolation operation, which aims to convert samples Increase to Same size, Indicates the activation function operation.

[0060] The above method uses the detailed edge information to guide the target detection algorithm to extract the feature information of the smooth endoplasmic reticulum object. The smooth endoplasmic reticulum object feature information at high-level positions with multiple resolutions is fully utilized. In order to reduce the loss of high-level information, the embodiment of the present invention extracts the low-level features and and Perform feature fusion to obtain the first fusion feature, and directly Fusion is performed to obtain the fourth fusion feature that complements the detailed edge information and high-level feature information , that is, complementary information, and then and Both are fused downward to obtain the second fusion feature and the third fusion feature .

[0061] The test results are as follows Figure 3 As shown, the leftmost image represents the input image, and the middle image is the one that adds complementary information. The previous target detection result picture, the last one is adding complementary information The target detection result diagram after that. It can be seen that adding complementary information Before fusion, due to the lack of further feature extraction and full utilization of the edge information of the smooth endoplasmic reticulum, the generated target frame does not include the area in the upper part of the input image that is very similar to the background, resulting in poor target detection results. After fusion, the detection results are relatively ideal. From the comparison, it can be seen that for smooth endoplasmic reticulum target detection under highly similar background conditions, further feature extraction and full combination and utilization of detailed edge information can improve the accuracy of smooth endoplasmic reticulum target detection.

[0062] Finally, in order to obtain better and more accurate smooth endoplasmic reticulum target detection and make full use of complementary feature information , the present invention will fuse information and , and Perform the same fusion as above to achieve more complete information fusion and thus achieve better target detection.

[0063] Based on the above detection method, the embodiment of the present invention also proposes the following improvements.

[0064] Embodiment 1:

[0065] The feature map extracted in step S1 Due to the influence of some noise, the first embodiment of the present invention provides a purification module CBR, and the structure of the purification module CBR is as follows: Figure 4 As shown in Figure 2, the overall network structure after adding the purification module CBR is as follows: Figure 5 As shown, before feature fusion, the feature map The noise contained in the image is purified. At the same time, each feature map output by CBR maintains the original channel size. and Take the CBR processing process as an example, the specific process is shown in formula (1):

[0066] ;

[0067] In the formula, Representation feature map The characteristic graph after purification, is the convolution operation; is the regularization operation; Indicates the activation function operation.

[0068] Embodiment 2:

[0069] Since low-level features contain interference information, this will have a certain negative impact on subsequent results. Therefore, Embodiment 2 of the present invention designs an edge fusion module EDM to strengthen the extraction of low-level detail features and remove more redundant and noise features, thereby further improving the performance of the embodiment of the present invention. The network structure with the edge fusion module EDM is as follows: Figure 6 shown.

[0070] When using, and The image is sent to the edge fusion module EDM to further suppress background noise and retain more edge information. The suppression of background noise is mainly achieved through adaptive weighted switching. , adaptively learn the different attentions seen in the low-level features. EDM edge fusion module processing, as shown in formula (2):

[0071] (2)

[0072] in: Represents the product operation; is the convolution operation; Indicates the activation function operation.

[0073] Finally, in and Respectively Cascade fusion is performed to obtain more edge clues, thereby ultimately extracting low-level feature edge detail information.

[0074] Finally, the output feature is obtained by the method shown in formula (3) :

[0075]

[0076] in: Indicates a cascade operation; This is a convolution operation with 32 filters, the purpose is to reduce the number of channels.

[0077] EDM can fully extract the edge information of low-level features to provide a more stable and reliable basis for the positioning of smooth endoplasmic reticulum targets.

[0078] Embodiment 1 and Embodiment 2 may be processed by selecting one of them or processing them together, which is not intended to limit the embodiments of the present invention.

[0079] The training process of the embodiment of the present invention is described below.

[0080] Data collection and preprocessing stage:

[0081] The embodiment of the present invention uses 30,000 images from a reproductive center, covering the period from 2014 to 2022. These images are all obtained in a time-difference incubator, and each embryo image is carefully labeled by multiple professional embryo experts. The labeling adopts the method of expert voting, and the label with the most votes is selected as the final label of the image. In view of the different aerial positions of the embryos in the time-difference incubator, the present invention expands the image data through rotation and flipping in image processing technology. This processing not only increases the recognition ability of embryonic cells, but also improves the accuracy of subsequent target detection algorithms.

[0082] Finally, the dataset is cleverly divided into training set, validation set, and test set in a ratio of 7:1:2. This division ensures that the model fully utilizes the data for learning during the training process and is fully evaluated on the validation set and test set. Through this dataset division, the performance and generalization ability of the model can be effectively evaluated.

[0083] In the training process of target detection, after extracting information from the input image through convolution operation, target positioning is required.

[0084] When locating a target, the region proposal algorithm (RPN) is generally used to achieve it. RPN can generate candidate boxes of various sizes, proportions, and positions. Figure 7 As shown. Then the classification model is used to determine whether each box contains an object. Finally, non-maximum suppression (NMS) is used to reduce the number of predicted candidate boxes to the number of real objects in the figure. Non-maximum suppression is mainly achieved by calculating the overlap between bounding boxes. Intersection Over Union (IOU) is usually used as a metric to calculate the overlap between two bounding boxes. If the overlap between two boxes exceeds a certain threshold, the lower box is suppressed and the box with the higher score is retained as the final detection result.

[0085] However, for the smooth endoplasmic reticulum detection target this time, since the smooth endoplasmic reticulum target is highly similar to the background, the smooth endoplasmic reticulum target in the image is difficult to be clearly identified, and it will cause target blur and uncertainty in the target boundary, making it difficult for the model to generate a prediction box that is close to the real target box.

[0086] In the case of uncertainty in the target boundary, it is very important because the target being detected is highly similar to the background. Because the boundary is blurred and difficult to distinguish from the background, the pre-selected box generated in this case has great uncertainty. The traditional target detection algorithm only selects the most likely one among all the pre-selected boxes as the final target box. However, for this problem, the other pre-selected boxes are also very important for target detection. Because in the case of blurred boundaries and uncertain target boundaries, the algorithm that generates the final target box through some judgments such as IOU, the pre-selected box with the highest probability does not represent the best and most correct candidate box.

[0087] Therefore, an embodiment of the present invention proposes a probability distribution to represent the predicted bounding box. This method allows the network to learn the uncertainty of the bounding box position because the probability distribution can cover the area where the target may appear. It converts each generated prediction box into a target location confidence probability distribution function, rather than just a single fixed box. And a loss function using KL divergence loss as a metric is added. By optimizing the network parameters, the predicted probability distribution is made closer to the true probability distribution, thereby improving the accuracy and robustness of target detection. The target location confidence probability distribution function is shown in the following formula 6:

[0088] (6)

[0089] in is a set of learnable parameters. is the bounding box position to be estimated, is the input position coordinate, standard deviation Represents the uncertainty of the position. The generation of involves the training and optimization process of the model. It is learned and estimated by the fully connected network based on the input features, indicating the uncertainty of the position, which is related to IOU.

[0090] Since the target detection target of the embodiment of the present invention is the smooth endoplasmic reticulum and the background are highly similar, the standard deviation of the target confidence probability distribution function The generation of is related to IOU. In this smooth endoplasmic reticulum target detection, when IOU is used as a basis for judgment, due to the fuzziness of the target and the uncertainty of the boundary position, it is sometimes impossible to select the most appropriate position or size of the pre-selection box based on the extracted feature information, so that it is easy to cause the generated pre-selection box to not contain all the targets, but the score determined by the IOU algorithm is higher. For example, a candidate box may only cover a part of the smooth endoplasmic reticulum target, but because the IOU algorithm only focuses on the overlapping area of ​​the box class, it may give a relatively high score. However, IOU plays a key role in the selection of the pre-selection box, which can improve the accuracy and efficiency of target detection. Therefore, in view of this situation, the present invention makes the following modifications to IOU, as shown in formula (7):

[0091] (7)

[0092] in represents the updated intersection-over-union ratio, SP is the predicted area, and ST is the true area. The purpose of modifying IOU is to reduce its weight and its impact on standard deviation while retaining the effect of IOU. In addition, in order to make the generated prediction box as close as possible to the real target box, the embodiment of the present invention also designs the probability of the real target box, where the probability formula of the real distribution is shown in the following formula (8):

[0093] (8)

[0094] represents the Dirac function, Represents the true target box position. The Dirac function is any real number other than 0. The values ​​of are all zero. This just matches the probability distribution of the true target frame. The probability distribution function of the target location confidence and the probability distribution function of the true target frame are distributed as follows: Figure 8 As shown, the x-axis represents the position of the target frame, and the p-axis represents the confidence level of the target frame position. The larger the p-axis is, the greater the confidence level of the target frame at that position is.

[0095] The goal of the embodiment of the present invention is to use the minimization of KL divergence as a new loss function to minimize the difference between the probability distribution of the model prediction and the probability distribution of the actual target box position. In this process, the model can be gradually learned and approached to the actual bounding box position distribution. The implementation process is shown in the following formulas (9) and (10):

[0096] (9)

[0097] (10)

[0098] in is the sample size, represents the loss function, represents the minimization of KL divergence function, H represents the entropy function, is the bounding box position to be estimated, Represents standard deviation.

[0099] Because KL divergence measures the difference between two probability distributions, the embodiment of the present invention converts all predicted boxes into target location confidence probabilities according to their confidence scores, and then converts the true target box positions into true target box probabilities using the Dirac function, and minimizes the loss function During the process, the model parameters are updated to enable the model to gradually learn and approach the actual bounding box position distribution, thereby improving the accuracy of detection. The specific update process is as follows:

[0100] if The larger the value of , the greater the difference between the predicted position and the actual position. This is because the optimization algorithm will The value of is small, showing a high-thin state, which will make the model pay more attention to the accuracy of the predicted position and let the model adjust .

[0101] if When the value of is small, it means that the difference between the predicted position and the true position is small, then the optimization algorithm may make The value of is large, showing a short and fat state, so the model will pay more attention to the uncertainty modeling of the position. In the subsequent Various fine-tuning is performed so that a predicted distribution close to the true distribution can be obtained. Partial schematic diagram of the adjustment process, such as Fig. 9 As shown in the figure, as the loss function iterates, the probability distribution of the predicted box position slowly approaches the probability distribution of the true target box.

[0102] In this target detection task, due to the high similarity between the smooth endoplasmic reticulum target and the background, the predicted position often does not match the actual position, and the generated prediction box has great uncertainty. Based on this situation, this time we use probability distribution to represent the predicted bounding box, and make a specific design for IOU according to this problem. Allow the network to learn the uncertainty of the bounding box position. In view of the uncertainty and positioning error of the predicted bounding box position, a new loss function is proposed, which takes into account the uncertainty and positioning error of the predicted bounding box position. Specifically, this loss function measures the difference between the predicted position and the true position by comparing the KL divergence between the probability distribution of the bounding box position predicted by the model and the probability distribution of the actual target box. The characteristic of this loss function is that it not only focuses on the accuracy of the predicted position, but also on the modeling of position uncertainty. By optimizing the network parameters, the predicted probability distribution is closer to the true probability distribution, thereby improving the accuracy and robustness of target detection. Fig.10 To join the existing network Before and after comparison of target detection results. The leftmost image represents the input image, and the middle image represents the added The target detection result diagram before the loss function, the last one is added The target detection result after the loss function. It can be seen that adding Before the loss function, due to the uncertainty of the border caused by the high similarity between the detected target and the background and the shortcomings of the original method of generating prediction boxes in this case, the final target box is generated, which is different from adding The loss function is relatively inadequate. The comparison of target detection results can well illustrate this. Role in smooth endoplasmic reticulum target detection.

[0103] Based on the above technology, a network model named BSER (Detection of smooth endoplasmicreticulum with similar background) is finally generated for the following target detection process.

[0104] The set training set and validation set were input into BSER for training. The hardware used was NVIDIA GeForce RTX4090 with 32G memory. The number of training rounds was set to 1000 times. The number of samples selected for one training was 64. The type was identified as smooth endoplasmic reticulum. The actual training time was 4 hours, and finally the configuration file required for smooth endoplasmic reticulum detection was obtained.

[0105] The trained model is used to detect the test set embryo images, and the test set prediction and result evaluation are performed. The embryo images to be identified are input into the embryo image smooth endoplasmic reticulum target detection network model, and the embryo cell smooth endoplasmic reticulum target detection algorithm is used to achieve detection. The detection results are shown in Figure 2. Fig.11 As shown, it can be seen that the network model can accurately locate the smooth endoplasmic reticulum target and generate the target box.

[0106] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. Only the preferred embodiments of the present invention are expressed. The description is more specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. As long as there is no contradiction in the combination of these technical features, they should be considered as the scope recorded in this specification.

[0107] It should be noted that, for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these modifications and improvements all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A method for detecting the smooth endoplasmic reticulum target of embryonic cells, characterized in that: The following steps are involved: Step S1: Downsample the image of the smooth endoplasmic reticulum of the embryonic cell to be detected six times to extract features, and obtain feature graphs C in turn. i , i=1,2,3,4,5,6; Step S2: Fusing C2 and C3 to obtain a first fused feature, fusing C4 and C5 to obtain a second fused feature, fusing C5 and C6 to obtain a third fused feature, and fusing C6 and the first fused feature to obtain a fourth fused feature; The fourth fusion feature is respectively fused with the second fusion feature, the third fusion feature and C6 to obtain a result which is sent to the detection head to obtain a detection result; When fusing features of C2 and C3, the adaptive weighted switch W s , adaptively learn the different attentions between low-level features, and then combine C2 and C3 with W s Perform cascade fusion; The adaptive weighted switch W s The expression is: In the formula, Conv(·) is the convolution operation, ReLU(·) represents the activation function operation, Represents the product operation; The expression for cascade fusion is: Where F(·) represents a convolution operation with 32 filters. Indicates a cascade operation; The expression for feature fusion is: C (i) =C i +Up(ReLU(Trans(C j ;θ));C i ); In the formula, C i and C j Represents two different feature maps, Trans(C j ;θ) represents the convolutional layer with parameter θ, Up(*;C i ) represents the bilinear interpolation operation, and ReLU(·) represents the activation function operation.

2. The method for detecting the smooth endoplasmic reticulum of an embryonic cell according to claim 1, characterized in that: In step S2, noise purification is performed before feature fusion.

3. The method for detecting the smooth endoplasmic reticulum target of an embryonic cell according to claim 2, characterized in that: The noise purification method includes: sequentially performing a set of 3×3 convolution, regularization and activation function operations, and the expression is: C i '=ReLU(BN(Conv(C i ))); In the formula, C i ' represents the feature map C i The feature map after purification, Conv(·) is the convolution operation; BN(·) is the regularization operation; ReLU(·) represents the activation function operation.

4. The method for detecting the smooth endoplasmic reticulum target of an embryonic cell according to claim 1, characterized in that: When performing target detection, a prediction box is generated through probability distribution, and the prediction box is converted into a target positioning confidence probability distribution function. The intersection-over-union (IOU) ratio is used as the measurement standard, and the loss function is used for optimization to obtain the detection result.

5. The method for detecting the smooth endoplasmic reticulum target of an embryonic cell according to claim 4, characterized in that: The target location confidence probability distribution function P Θ The expression is: Where Θ is a set of learnable parameters, x e is the bounding box position to be estimated, x is the input position coordinate, and σ represents the standard deviation of the target confidence probability distribution function.

6. The method for detecting the smooth endoplasmic reticulum target of an embryonic cell according to claim 5, characterized in that: The update expression of the intersection-over-union (IOU) is: IOU'=IOU*0.5+|SP-ST|*0.5; Where IOU' represents the updated intersection-over-union ratio, SP is the predicted area, and ST is the true area.

7. The method for detecting the smooth endoplasmic reticulum target of an embryonic cell according to claim 6, characterized in that: The expression of the loss function is: P G(x) =δ(x-x g ); Where D KL represents the minimization of the KL divergence function, P G(x) represents the probability of the true distribution, x g represents the true target box position, δ() represents the Dirac function, and H represents the entropy function.