Optical sensing image signal detection method and apparatus, device and storage medium

The sliding window method and deep learning model YOLOv5 are used to automatically process microscopic optical sensing images, which solves the problems of low signal detection efficiency and insufficient accuracy in the existing technology, achieves fast and accurate signal identification and positioning, and reduces The impact of human intervention.

WO2024183380A1PCT designated stage expired Publication Date: 2024-09-12SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/137615
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-09
Filing Date
2023-12-08
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

The signal detection method of microscopic optical sensing images in the existing technology is inefficient, low in accuracy and cumbersome in operation, resulting in poor stability and consistency of signal counting, and relies on manual intervention, which increases time consumption and uncertainty.

Method used

The sliding window method is used to segment the optical sensing images, and the labelme tool is used for manual annotation to generate a data set for training. The deep learning model YOLOv5 is used for signal detection to achieve automated and rapid signal identification and positioning.

Benefits of technology

It improves the efficiency and accuracy of signal detection, reduces the time consumption and uncertainty of manual work, and provides a more convenient signal detection solution with faster detection speed and more intuitive visual display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023137615_12092024_PF_FP_ABST
    Figure CN2023137615_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to an optical sensing image signal detection method and apparatus, a device, and a storage medium. The method comprises: collecting an optical sensing image of a detection target object; segmenting the optical sensing image using a sliding window method, to obtain a set number of image blocks, and annotating the presence or absence of signals in the image blocks, to generate a data set for training a model; inputting the data set into a deep learning model and performing training, to obtain a trained target detection model; using the target detection model to perform signal detection on an optical sensing image to be detected. Embodiments of the present application do not rely on additional hardware and manual intervention to perform rapid signal recognition and localization on discrete optical sensing images produced by a digital optical biosensor on the basis of a target detection concept, and by combining a sliding window method and a deep learning-based target detection model. This solves the technical problems in existing technology of low efficiency and accuracy in signal counting, and complicated operation.
Need to check novelty before this filing date? Find Prior Art

Description

Signal detection method, device, equipment and storage medium for optical sensing images Technical Field

[0001] The present application belongs to the technical field of optical sensing image processing, and in particular relates to a signal detection method, device, equipment and storage medium for optical sensing images. Background Art

[0002] In digital optical biosensors, the sensing area consists of a large number of spatially spaced micro-detection areas arranged in an array. When a target object is present within the detection area, an optical signal is generated. A microscopic optical sensing image can be captured under a microscope. Detecting the target signal in the optical sensing image can be applied to medical fields such as early disease screening, auxiliary diagnosis, and disease detection. Currently, there are several signal detection (recognition) methods for microscopic optical sensing images:

[0003] 1. Manual counting: Relying on manual experience or aided by Image J software, the method involves repeated image comparisons to confirm and calculate signal counts. This method provides convenient and rapid signal detection for images with clear and uniform targets. However, variations in image quality and target size, as well as operator subjective judgment, can lead to deviations in the final statistical results. Furthermore, this method is inefficient, increases sample analysis time, and reduces the stability and consistency of signal counting.

[0004] Second, cell counting based on image processing: This method first binarizes the microscopic optical sensor image, presets cell area parameters, identifies the cell region in the binarized image, and finally counts the number of fluorescent images based on the cell region. Although this method can batch process microscopic optical sensor images, it has poor robustness and noise immunity. It requires adjusting appropriate thresholds for different signals to obtain reasonable results. This method also results in low counting efficiency and accuracy, and is relatively cumbersome to operate.

[0005] Summary of the Invention

[0006] The present application provides a signal detection method, apparatus, device and storage medium for optical sensing images, aiming to solve at least one of the above-mentioned technical problems in the prior art to a certain extent.

[0007] In order to solve the above problems, this application provides the following technical solutions:

[0008] A signal detection method for an optical sensing image, comprising:

[0009] Collecting optical sensing images of detection targets;

[0010] Segmenting the optical sensor image using a sliding window method to obtain a set number of image blocks, annotating the image blocks with presence or absence and signals to generate a data set for training the model;

[0011] Inputting the data set into a deep learning model for training to obtain a trained object detection model;

[0012] The target detection model is used to perform signal detection on the optical sensing image to be detected.

[0013] The technical solution adopted in the embodiment of the present application also includes: the optical sensing image of the detection target is specifically collected as follows:

[0014] A digital optical biosensor is constructed under an optical microscope, and the optical microscope is used to collect optical sensing images of the detection target object.

[0015] The technical solution adopted in the embodiment of the present application further includes: after collecting the optical sensor image of the detection target object, it also includes:

[0016] An optical sensing image having a complete micro detection area is screened out from the optical sensing images.

[0017] The technical solution adopted in the embodiment of the present application further includes: before segmenting the optical sensor image using the sliding window method, the following steps are also included:

[0018] The screened optical sensing image is manually annotated using the labelme tool so that the manually annotated annotation box includes the entire micro-detection area.

[0019] The technical solution adopted in the embodiment of the present application further includes: after the optical sensor image is segmented using the sliding window method to obtain a set number of image blocks, the following steps are further included:

[0020] The image patches containing the annotation boxes are collected from all image patches.

[0021] The technical solution adopted in the embodiment of the present application further includes: the image blocks are labeled with presence or absence and signals to generate a data set for training the model, specifically:

[0022] Modifying the position of the annotation box in the collected image block according to the size of the image block to generate a re-annotated image block;

[0023] A dataset is created based on the re-labeled image patches.

[0024] The technical solution adopted in the embodiment of the present application also includes: the signal detection of the optical sensor image to be detected by using the target detection model is specifically as follows:

[0025] Performing sliding window processing on the optical sensor image to be predicted using a sliding window method to generate n image blocks;

[0026] Inputting the n image blocks into the target detection model in sequence for signal detection, and outputting the signal detection result of each image block through the target detection model;

[0027] The signal detection results of the n image blocks are merged to obtain the signal detection result of the entire optical sensing image to be predicted, and the signal detection result is visualized.

[0028] Another technical solution adopted by the embodiment of the present application is: a signal detection device for optical sensing images, comprising:

[0029] Image acquisition module: used to acquire optical sensor images of detection targets;

[0030] Image segmentation module: used to segment the optical sensor image using a sliding window method to obtain a set number of image blocks, mark the image blocks with presence or absence and signals, and generate a data set for training the model;

[0031] Model training module: used to input the data set into the deep learning model for training to obtain a trained target detection model;

[0032] Signal detection module: used to perform signal detection on the optical sensing image to be detected using the target detection model.

[0033] Another technical solution adopted by the embodiment of the present application is: a device, the device comprising a processor and a memory coupled to the processor, wherein:

[0034] The memory stores program instructions for implementing the signal detection method of the optical sensing image;

[0035] The processor is configured to execute the program instructions stored in the memory to control signal detection of an optical sensor image.

[0036] Another technical solution adopted by the embodiment of the present application is: a storage medium storing program instructions executable by a processor, wherein the program instructions are used to execute the signal detection method of the optical sensing image.

[0037] Compared with the prior art, the beneficial effects of the embodiments of the present application are as follows: the signal detection method, device, equipment and storage medium of the optical sensor image of the embodiment of the present application obtains a high-resolution optical sensor image of the detection target through an optical microscope, uses the labelme tool to manually label the screened optical sensor image, uses the sliding window method to segment the manually labeled optical sensor image according to the set window size, generates a data set for model training, trains the prepared data set to obtain a target detection model, and uses the target detection model to perform signal detection on the predicted optical sensor image. The embodiment of the present application, based on the idea of ​​target detection, combines the sliding window method and the YOLOv5 target detection model based on deep learning to quickly identify and locate the discretized optical sensor image generated by the digital optical biosensor without relying on additional hardware facilities and manual intervention, solves the technical problems of low signal counting efficiency and accuracy and cumbersome operation in the prior art, has strong repeatability, faster detection speed, and more intuitive visual display, reduces the time consumption and uncertainty caused by manual work, and provides a more convenient solution for signal detection of optical sensor images. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] FIG1 is a flow chart of a signal detection method for an optical sensing image according to a first embodiment of the present application;

[0039] FIG2 is a flow chart of a signal detection method for an optical sensing image according to a second embodiment of the present application;

[0040] FIG3 is a schematic diagram of the YOLOv5 model structure of an embodiment of the present application;

[0041] FIG4 is a schematic diagram showing a visualization of signal detection results according to an embodiment of the present application;

[0042] FIG5 is a schematic diagram of a precision-recall curve for model evaluation according to an embodiment of the present application;

[0043] FIG6 is a schematic structural diagram of a signal detection device for an optical sensing image according to an embodiment of the present application;

[0044] FIG7 is a schematic diagram of the device structure of an embodiment of the present application;

[0045] FIG8 is a schematic diagram of the structure of a storage medium according to an embodiment of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0047] The terms "first," "second," and "third" in this application are used only for descriptive purposes and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of such features. In the description of this application, "multiple" means at least two, for example, two, three, etc., unless otherwise specifically defined. All directional indications in the embodiments of this application (such as up, down, left, right, front, back...) are only used to explain the relative positional relationship, movement, etc. between the components under a specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indications also change accordingly. In addition, the terms "including" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products, or devices.

[0048] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0049] Specifically, please refer to FIG1 , which is a flow chart of the optical sensing image signal detection method according to the first embodiment of the present application. The optical sensing image signal detection method according to the first embodiment of the present application comprises the following steps:

[0050] S100: Acquire an optical sensor image of a detection target object;

[0051] S110: Segmenting the optical sensor image using a sliding window method to obtain a set number of image blocks, annotating the image blocks with presence or absence and signals, and generating a data set for training a model;

[0052] S120: Inputting the data set into a deep learning model for training to obtain a trained object detection model;

[0053] S130: Perform signal detection on the optical sensing image to be detected using the target detection model.

[0054] Please refer to FIG2 , which is a flow chart of a method for detecting optical sensor image signals according to a second embodiment of the present application. The method for detecting optical sensor image signals according to the second embodiment of the present application comprises the following steps:

[0055] S200: Building a digital optical biosensor under an optical microscope, then using the optical microscope to collect optical sensing images of the detection target object, and screening optical sensing images with complete micro-detection areas from all optical sensing images;

[0056] In this step, the digital optical biosensor has a large array of spatially spaced micro-detection regions in its sensing area. When a target object is present within a micro-detection region, an optical signal is generated, and a raw optical image of the target object is captured under an optical microscope. It should be understood that the embodiments of this application are not limited to optical sensor images but are also applicable to other microscopic images.

[0057] S210: manually labeling the filtered optical sensing image using the labelme tool so that the manually labeled labeling box includes the entire micro-detection area, and calibrating the labeling result;

[0058] In this step, labelme is a graphical image annotation tool written in Python that can be used to annotate images in the form of polygons, rectangles, circles, polylines, line segments, points, or flags. In this embodiment, labelme is used to annotate the micro-detection areas in the optical sensor image with or without signals and assign corresponding labels, thereby obtaining sample images with and without signals. After manually annotating the optical sensor image using labelme, the annotation results can be manually calibrated by the experimenter to reduce errors caused by visual observation.

[0059] Furthermore, since each optical microscope field of view contains a large number of micro-detection areas, each micro-detection area is very small, the optical signal generated is even smaller, and the position of the optical signal generated is random relative to the micro-detection area. Therefore, when manually annotating an optical sensor image using the labelme tool, each micro-detection area is annotated. In order to ensure that the position of each micro-detection area that generates an optical signal can be detected during signal detection, the embodiments of the present application, when manually annotating, make the manually annotated annotation box as complete as possible to include the entire micro-detection area, for example, the edge of the manually annotated annotation box is tangent to the edge of the micro-detection area, thereby ensuring that each signal detection can obtain a more accurate position.

[0060] S220: Segmenting the manually annotated optical sensor image using a sliding window method according to a set window size to obtain a certain number of image blocks, collecting image blocks containing annotated frames from all the image blocks, modifying the position and size of the annotated frames according to the sizes of the collected image blocks, and generating re-annotated image blocks;

[0061] In this step, since the original optical sensor image is 1024*2048 in size, it cannot be directly put into the model for training, and since the number of collected optical sensor images is small, it cannot meet the sample requirements of model training. Therefore, the embodiment of the present application adopts the sliding window method to segment the manually annotated optical sensor image according to the set window size, and collects the image blocks containing the manually annotated annotation boxes from the segmented image blocks. Since the manually annotated annotation boxes are based on the position information of the 1024*2048-sized optical sensor image, in the process of image segmentation using the sliding window method, it is also necessary to modify the position of the annotation boxes according to the size of the segmented image blocks to obtain re-annotated image blocks, thereby greatly expanding the number of samples in the data set. In the embodiment of the present application, the window size of the sliding window method is set to 512*512, and the step size is 128. The specific setting can be based on the actual application scenario.

[0062] S230: Creating a data set for model training based on the re-labeled image blocks;

[0063] In this step, we assume that 537 optical sensor images were manually annotated using the LabelMe tool. After segmenting and re-annotating these annotated images using a sliding window method with a 512*512 window size, we obtain a total of 4192 annotated image blocks as the dataset for model training. This dataset is then divided into a training set and a test set in an 8:2 ratio. It is understood that the above values ​​can be set based on the actual application scenario.

[0064] S240: Input the data set into the deep learning model for training, obtain a trained object detection model, and output a prediction result;

[0065] In this step, the deep learning model used in the embodiment of the present application is the YOLOv5 model. Specifically, Figure 3 is a schematic diagram of the YOLOv5 model structure in the embodiment of the present application. The YOLOv5 model is an end-to-end deep learning model for object detection. It detects objects in an image through a network and predicts the object's location and category. The YOLOv5 model is based on the PyTorch framework and uses efficient architectures such as CSP+PANet. It can directly output prediction results based on the image without any additional preprocessing steps, while achieving high detection accuracy and speed.

[0066] In the embodiment of the present application, the target detection model divides the prediction results into four categories: TP (True Positive), FP (False Positive), TN (True Negative) and FN (False Negative), wherein the true positive class refers to the positive class that is actually classified as positive by the model, the false positive class refers to the negative class that is actually classified as positive by the model, the true negative class refers to the negative class that is actually classified as negative by the model, and the false negative class refers to the positive class that is actually classified as negative by the model. Specifically, the three indicators of precision (Precision), recall (Recall) and average precision (Average Precision, AP) are calculated respectively according to the four categories of prediction results to evaluate the prediction results of the target detection model. Among them, the precision rate represents the proportion of correctly predicted positives to all predicted positives, and the recall rate represents the proportion of correctly predicted positives to all positive samples. The calculation formulas of each indicator are as follows:

[0067] S250: Inputting the optical sensing image to be predicted into the trained target detection model for signal detection;

[0068] In this step, when the optical sensor image to be predicted is input, the optical sensor image to be predicted is first processed using the sliding window method to generate n image blocks, and then the n image blocks are sequentially input into the target detection model for signal detection. The signal detection result of each image block is output by the target detection model, and finally the signal detection results of the n image blocks are merged to obtain the signal detection result of the entire optical sensor image to be predicted, and the signal detection result is visualized, so that the final signal detection result visual display is more intuitive. As shown in Figure 4, it is a schematic diagram of the visual display of the signal detection result of the embodiment of the present application, wherein the left side is an image manually labeled using the labelme tool, and the right side is the signal detection result output by the target detection model. By comparing the left and right images, it can be seen that the signal detection result output by the target detection model is consistent with the manually labeled signal. After the signal detection is completed, the concentration, particle size and other information of the detection target can be obtained based on the number of times the optical signal is generated in the optical sensor image obtained by a single shot and the overall shooting time. The embodiment of the present application can also be applied to signal statistics and detection and recognition of signals generated by chemiluminescent molecules, fluorescent molecules, quantum dots, viruses and other nanoparticles.

[0069] Based on the above, the signal detection method for optical sensor images of the second embodiment of the present application obtains a high-resolution optical sensor image of the detection target through an optical microscope, manually labels the screened optical sensor image using the labelme tool, and uses the sliding window method to segment the manually labeled optical sensor image according to a set window size to generate a data set for model training. The prepared data set is trained to obtain a target detection model, and the target detection model is used to perform signal detection on the predicted optical sensor image. Without relying on additional hardware facilities and manual intervention, the embodiment of the present application is based on the idea of ​​target detection, combines the sliding window method with the YOLOv5 target detection model based on deep learning, and performs rapid signal recognition and positioning on the discretized optical sensor image generated by the digital optical biosensor. It solves the technical problems of low signal counting efficiency and accuracy and cumbersome operation in the prior art, has strong repeatability, faster detection speed, and more intuitive visual display, reduces the time consumption and uncertainty caused by manual work, and provides a more convenient solution for signal detection of optical sensor images.

[0070] In order to verify the feasibility and effectiveness of the embodiments of the present application, the following embodiments experimented with the above-mentioned signal detection method for optical sensor images. After collecting 537 optical sensor images and manually annotating them, the annotated images were segmented using a sliding window method with a window size of 512*512, resulting in 4192 annotated images as a data set. The data set was divided into a training set and a test set according to a division ratio of 8:2 and the model was trained. When the threshold was 0.5, the average precision (AP) reached 0.965. The specific experimental results are shown in Figure 5, which is a schematic diagram of the precision-recall curve for model evaluation of the embodiment of the present application.

[0071] Please refer to FIG6 , which is a schematic diagram of the structure of the optical sensor image signal detection device according to an embodiment of the present application. The optical sensor image signal detection device 40 according to the embodiment of the present application includes:

[0072] Image acquisition module 41: used to capture an optical image of the target object. Specifically, capturing the optical image of the target object by image acquisition module 41 includes: constructing a digital optical biosensor under an optical microscope, then using the optical microscope to capture an optical image of the target object, and selecting from all optical images an optical image with a complete micro-detection area. In a digital optical biosensor, the sensing area comprises a large number of spatially spaced micro-detection areas arrayed together. When a target object is present within a micro-detection area, an optical signal is generated, and a raw optical image of the target object can be captured under the optical microscope. It should be understood that the embodiments of the present application are not limited to optical images but are also applicable to other microscopic images.

[0073] Image segmentation module 42: Used to segment the optical sensor image using a sliding window method to obtain a set number of image blocks, annotate the image blocks with presence or absence and signal, and generate a data set for training the model; the image segmentation module 42 specifically segments the optical sensor image by: first, manually annotating the filtered optical sensor image using the labelme tool, so that the manually annotated annotation box includes the entire micro-detection area, and calibrating the annotation result; then, using the sliding window method to segment the manually annotated optical sensor image according to the set window size to obtain a certain number of image blocks, and collecting image blocks containing the annotation box from all image blocks, modifying the position of the annotation box according to the size of the collected image blocks, and generating re-annotated image blocks. Labelme is a graphic image annotation tool written in Python that can be used to annotate images in the form of polygons, rectangles, circles, polylines, line segments, points, or flags. The embodiment of the present application uses the labelme tool to mark the presence or absence of signals in the micro-detection area of ​​the optical sensor image and label it accordingly to obtain a sample image with a signal and a sample image without a signal. After the optical sensor image is manually labeled using the labelme tool, the labeling result can be manually calibrated by the experimenter to reduce the error caused by naked eye observation. However, since the original optical sensor image is 1024*2048 in size, it cannot be directly put into the model for training, and since the number of collected optical sensor images is small, it cannot meet the sample requirements of model training. Therefore, the embodiment of the present application uses a sliding window method to segment the manually labeled optical sensor image according to the set window size, and collects image blocks containing manually labeled annotation boxes from the segmented image blocks. Since the manually labeled annotation boxes are determined based on the position information of the 1024*2048-sized optical sensor image, in the process of image segmentation using the sliding window method, it is also necessary to modify the position of the annotation boxes according to the size of the segmented image blocks to obtain re-labeled image blocks, thereby greatly expanding the number of samples in the data set. In the embodiment of the present application, the window size of the sliding window method is set to 512*512, and the step size is 128, which can be specifically set according to the actual application scenario.

[0074] Model training module 43: used to input the dataset into a deep learning model for training, thereby obtaining a trained object detection model. The deep learning model used in the present embodiment is the YOLOv5 model. YOLO is an end-to-end deep learning model for object detection that uses a network to detect objects in an image and predict their location and category. The YOLOv5 model is based on the PyTorch framework and utilizes efficient architectures such as CSP+PANet. It can directly output prediction results based on the image without any additional preprocessing steps, while achieving high detection accuracy and speed.

[0075] In the embodiment of the present application, the target detection model divides the prediction results into four categories: TP (True Positive), FP (False Positive), TN (True Negative), and FN (False Negative). According to the four types of prediction results, the three indicators of precision (Precision), recall (Recall), and average precision (AP) are calculated to evaluate the prediction results of the target detection model. Among them, the precision rate represents the proportion of correctly predicted positives to all predicted positives, and the recall rate represents the proportion of correctly predicted positives to all positive samples. The calculation formulas for each indicator are as follows:

[0076] Signal detection module 44: used to perform signal detection on the optical sensor image to be detected using the target detection model; wherein, when the optical sensor image to be predicted is input, the optical sensor image to be predicted is first processed using a sliding window method to generate n image blocks, and then the n image blocks are sequentially input into the target detection model for signal detection, and the target detection model outputs the signal detection result of each image block, and finally the signal detection results of the n image blocks are merged to obtain the signal detection result of the entire optical sensor image to be predicted, and the signal detection result is visualized to make the final signal detection result visually more intuitive. After the signal detection is completed, the concentration, particle size and other information of the detection target can be obtained based on the number of times the optical signal is generated in the optical sensor image obtained by a single shot and the overall shooting time. The embodiment of the present application can also be applied to the signal statistics and detection and identification of signals generated by chemiluminescent molecules, fluorescent molecules, quantum dots, viruses and other nanoparticles.

[0077] Based on the above, the signal detection device for optical sensor images of the embodiment of the present application obtains a high-resolution optical sensor image of the detection target through an optical microscope, manually labels the screened optical sensor image using the labelme tool, and segments the manually labeled optical sensor image according to a set window size using a sliding window method to generate a data set for model training. The prepared data set is trained to obtain a target detection model, and the target detection model is used to perform signal detection on the predicted optical sensor image. Without relying on additional hardware facilities and manual intervention, the embodiment of the present application, based on the idea of ​​target detection, combines the sliding window method and the YOLOv5 target detection model based on deep learning to quickly identify and locate signals in the discrete optical sensor image generated by the digital optical biosensor, solving the technical problems of low signal counting efficiency and accuracy and cumbersome operation in the prior art. It has strong repeatability, faster detection speed, and more intuitive visual display, reducing the time consumption and uncertainty caused by manual work, and providing a more convenient solution for signal detection of optical sensor images.

[0078] Please refer to Figure 7, which is a schematic diagram of the device structure of an embodiment of the present application. The device 50 includes:

[0079] A memory 51 storing executable program instructions;

[0080] a processor 52 connected to the memory 51;

[0081] The processor 52 is used to call the executable program instructions stored in the memory 51 and perform the following steps: collect an optical sensor image of the detection target; use a sliding window method to segment the optical sensor image to obtain a set number of image blocks, mark the image blocks with presence or absence and signals, and generate a data set for training the model; input the data set into a deep learning model for training to obtain a trained target detection model; use the target detection model to perform signal detection on the optical sensor image to be detected.

[0082] The processor 52 may also be referred to as a CPU (Central Processing Unit). The processor 52 may be an integrated circuit chip having signal processing capabilities. The processor 52 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor may be a microprocessor or any conventional processor.

[0083] Please refer to Figure 8, which is a schematic diagram of the structure of the storage medium of an embodiment of the present application. The storage medium of the embodiment of the present application stores program instructions 61 that can implement the following steps: collecting an optical sensor image of the detection target; segmenting the optical sensor image using a sliding window method to obtain a set number of image blocks, annotating the image blocks with presence or absence and signals, and generating a data set for training the model; inputting the data set into a deep learning model for training to obtain a trained target detection model; and using the target detection model to perform signal detection on the optical sensor image to be detected. Among them, the program instructions 61 can be stored in the above-mentioned storage medium in the form of a software product, including several instructions for causing a device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program instructions, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or a terminal device such as a computer, a server, a mobile phone, or a tablet. Among them, the server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0084] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, 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 can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0085] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. The above is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A signal detection method for an optical sensing image, characterized in that: include: Collecting optical sensing images of detection targets; Segmenting the optical sensor image using a sliding window method to obtain a set number of image blocks, annotating the image blocks with or without signals, and generating a data set for training a model; Inputting the data set into a deep learning model for training to obtain a trained target detection model; The target detection model is used to perform signal detection on the optical sensing image to be detected.

2. The signal detection method of optical sensing image according to claim 1, characterized in that: The optical sensing image of the target object is collected and detected as follows: A digital optical biosensor is constructed under an optical microscope, and the optical microscope is used to collect an optical sensing image of a detection target object.

3. The signal detection method of optical sensing image according to claim 2, characterized in that: After acquiring the optical sensor image of the detection target object, the method further includes: The optical sensing images are screened out from the optical sensing images, the optical sensing images having the complete micro detection area.

4. The signal detection method of optical sensing image according to claim 3, characterized in that: Before the optical sensor image is segmented by the sliding window method, the method further includes: The screened optical sensing image is manually annotated using the labelme tool, so that the manually annotated annotation box includes the entire micro-detection area.

5. The signal detection method of optical sensing image according to claim 4, characterized in that: After the optical sensor image is segmented by the sliding window method to obtain a set number of image blocks, the method further includes: The image patches containing the annotation box are collected from all the image patches.

6. The signal detection method of optical sensing image according to claim 5, characterized in that: The step of marking the image blocks with or without signals to generate a data set for training the model is as follows: Modifying the position of the annotation box in the collected image block according to the size of the image block to generate a re-annotated image block; A dataset is created based on the re-labeled image patches.

7. The signal detection method of optical sensing image according to any one of claims 1 to 6, characterized in that: The use of the target detection model to perform signal detection on the optical sensor image to be detected is specifically as follows: Performing sliding window processing on the optical sensor image to be predicted by using a sliding window method to generate n image blocks; Inputting the n image blocks into the target detection model in sequence for signal detection, and outputting the signal detection result of each image block through the target detection model; The signal detection results of the n image blocks are combined to obtain the signal detection result of the entire optical sensing image to be predicted, and the signal detection result is visualized.

8. A signal detection device for optical sensing images, characterized in that: include: Image acquisition module: used to acquire optical sensing images of detection targets; Image segmentation module: used to segment the optical sensor image using a sliding window method to obtain a set number of image blocks, annotate the image blocks with or without signals, and generate a data set for training the model; Model training module: used to input the data set into the deep learning model for training to obtain a trained target detection model; Signal detection module: used to perform signal detection on the optical sensing image to be detected using the target detection model.

9. A device, characterized in that: The device comprises a processor and a memory coupled to the processor, wherein: The memory stores program instructions for implementing the signal detection method of the optical sensing image according to any one of claims 1 to 7; The processor is used to execute the program instructions stored in the memory to control signal detection of the optical sensing image.

10. A storage medium, characterized in that: The device stores program instructions executable by a processor, wherein the program instructions are used to execute the signal detection method of the optical sensing image according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Dense stacking target detection method based on automatic labeling and transfer learning

    CN110866476A

  • Image analysis method and system

    CN113096080A

  • Behavior detection method and device, equipment and storage medium

    CN114596532A

  • Emulsion droplet recognition system and method, computer equipment and storage medium

    CN114639101A

  • Spine Cobb angle measuring method, device and equipment and storage medium

    CN115239700A