Signal detection method and apparatus for optical sensing image, and device and storage medium

By detecting the contour information of the micro-detection area of ​​the micro-optical sensing image and conducting classification model training, the problem of low efficiency and accuracy in signal detection of the micro-optical sensing image is solved, automatic positioning and identification are realized, and the detection speed is improved. and intuitiveness of results.

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

Patent Information

Application Number
PCT/CN2023/137645
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 existing micro-optical sensing image signal detection methods have problems such as low signal counting efficiency and accuracy, cumbersome operations, and poor stability and consistency.

Method used

Use the findcontours function to detect the contour information of the micro-detection area in the optical sensing image, cut it into a single sample image, and train and label it through a classification model to generate signal detection results. Use the directional gradient histogram to extract feature vectors to achieve automated positioning and identification. .

Benefits of technology

The accuracy and efficiency of signal detection are improved, manual intervention is reduced, the detection speed is faster, the results are more intuitive, and the problems of low signal counting efficiency and accuracy in the existing technology are solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023137645_12092024_PF_FP_ABST
    Figure CN2023137645_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a signal detection method and apparatus for an optical sensing image, and a device and a storage medium. The method comprises: building a digital optical biosensor under an optical microscope, and using the optical microscope to collect an optical sensing image of a detection target object; performing contour information detection on micro-detection areas in the optical sensing image, cropping the micro-detection areas according to contour information to obtain single sample images with a set size, and performing signal presence and absence labeling on the sample images to obtain a sample data set for model training; extracting a feature vector of each sample image from the sample data set, and inputting the feature vector into a classification model for training, so as to obtain a trained classification model; and using the trained classification model to classify an optical sensing image to be tested. The embodiments of the present application solve the technical problems in the prior art of the signal counting efficiency and accuracy being relatively low, and the operation being cumbersome.
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 regions arrayed in an array. When target molecules are present in the detection region, 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] Build a digital optical biosensor under an optical microscope and use the optical microscope to collect optical sensing images of the detection target;

[0010] Use the findcontours function to detect contour information of the micro-detection area in the optical sensing image, crop the micro-detection area according to the contour information to obtain a single sample image of a set size, and mark the sample image as having or not having a signal to obtain a sample data set for training the model;

[0011] Extracting a feature vector of each sample image from the sample data set, inputting the feature vector into a classification model for training, and obtaining a trained classification model;

[0012] The trained classification model is used to classify the optical sensor image to be detected, and the position and signal presence or absence of the micro-detection area in the optical sensor image to be detected are marked based on the classification result of the classification model to generate a signal detection result of the optical sensor image to be detected.

[0013] The technical solution adopted in the embodiment of the present application further includes: the optical sensing image of the detection target object collected by using an optical microscope also includes:

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

[0015] The technical solution adopted in the embodiment of the present application further includes: before using the findcontours function to detect contour information of the micro-detection area in the optical sensing image, it also includes:

[0016] Converting the optical sensing image into a grayscale image;

[0017] Calculating the image gradient of the grayscale image to obtain an image gradient map;

[0018] The image gradient map is binarized in OTSU mode to obtain a binarized image that only retains edge information and background noise point information of the micro-detection area.

[0019] The technical solution adopted in the embodiment of the present application further includes: using the findcontours function to detect contour information of the micro-detection area in the optical sensor image, and cropping the micro-detection area according to the contour information to obtain a single sample image of a set size. Specifically,

[0020] Use the findcontours function to detect the contour information in each binary image and remove the contour information whose area is smaller than the set threshold;

[0021] Calculating the center point of the contour information of each binary image respectively, and removing overlapping contour information according to the center point, so that only one contour information is retained in the micro-detection area in each binary image;

[0022] The optical sensing image is segmented according to the center point of the contour information to obtain a single sample image of a set size.

[0023] The technical solution adopted by the embodiment of the present application further includes: extracting the feature vector of each sample image from the sample data set is specifically:

[0024] Performing grayscale histogram equalization processing on the sample data set;

[0025] A directional gradient histogram is extracted from each sample image after the grayscale histogram equalization process, and the directional gradient histogram is used as a feature vector of each sample image.

[0026] The technical solution adopted in the embodiment of the present application further includes: marking the position and the presence or absence of signals of the micro-detection area in the optical sensor image to be detected based on the classification result of the classification model, and generating the signal detection result of the optical sensor image to be detected specifically as follows:

[0027] The micro detection area in the optical sensing image is positioned according to the center point of the contour information, and the position and the presence or absence of a signal of the micro detection area are marked according to the positioning result to generate a visual signal detection result of the optical sensing image.

[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 build a digital optical biosensor under an optical microscope, and use the optical microscope to collect optical sensing images of the detection target;

[0030] Image segmentation module: used to detect contour information of the micro-detection area in the optical sensing image using the findcontours function, crop the micro-detection area according to the contour information to obtain a single sample image of a set size, and mark the sample image as having or not having a signal to obtain a sample data set for training the model;

[0031] Feature extraction module: used to extract the feature vector of each sample image from the sample data set, input the feature vector into the classification model for training, and obtain a trained classification model;

[0032] Image detection module: used to classify the optical sensor image to be detected using the trained classification model, and mark the position and signal presence or absence of the micro-detection area in the optical sensor image to be detected based on the classification results of the classification model, and generate the signal detection result of the optical sensor image to be detected.

[0033] The technical solution adopted by the embodiment of the present application further includes: the feature extraction module extracts the feature vector of each sample image from the sample data set specifically as follows:

[0034] Grayscale histogram equalization is performed on the sample data set, directional gradient histogram is extracted from each sample image after the grayscale histogram equalization, and the directional gradient histogram is used as a feature vector of each sample image.

[0035] 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:

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

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

[0038] 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.

[0039] 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 embodiments of the present application obtain a high-resolution optical sensor image of the detection target through an optical microscope, and after obtaining the contour information of each micro-detection area in the image, the optical sensor image is cropped into a single sample image of a set size using the contour information, all sample images are annotated and proofread, a data set for model training is generated, the prepared data set is put into the classification model for classification, and position information is added to the classification result to generate the signal detection effect of the optical sensor image. Without relying on additional hardware facilities and manual intervention, the embodiments of the present application are based on the idea of ​​target detection and use image analysis methods to quickly locate and identify optical sensor images, 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. There is no need to match position information with the image again, providing a more convenient solution for signal detection of optical sensor images. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0042] FIG3 is a schematic diagram showing a visualization of signal counting according to an embodiment of the present application;

[0043] FIG4 is a schematic diagram of experimental results of a signal detection method for an optical sensing image according to an embodiment of the present application;

[0044] FIG5 is a schematic structural diagram of a signal detection device for optical sensing images according to an embodiment of the present application;

[0045] FIG6 is a schematic diagram of the device structure of an embodiment of the present application;

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

[0047] 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.

[0048] 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.

[0049] 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.

[0050] 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:

[0051] S100: Build a digital optical biosensor under an optical microscope and use the optical microscope to collect optical sensing images of the target object;

[0052] S110: Using the findcontours function to detect contour information of the micro-detection area in the optical sensing image, cropping the micro-detection area according to the contour information to obtain a single sample image of a set size, and marking the sample image as having or not having a signal to obtain a sample data set for training the model;

[0053] S120: extracting a feature vector of each sample image from the sample data set, inputting the feature vector into a classification model for training, and obtaining a trained classification model;

[0054] S130: using the trained classification model to classify the optical sensor image to be detected, and marking the position and presence or absence of signals of the micro-detection area in the optical sensor image to be detected based on the classification result of the classification model, thereby generating a signal detection result of the optical sensor image to be detected.

[0055] 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:

[0056] 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;

[0057] 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 an optical sensing 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 sensing images but are also applicable to other microscopic images.

[0058] S210: converting the optical sensing image into a grayscale image;

[0059] In this step, the grayscale image conversion algorithm includes but is not limited to the weighted method, the mean method or the maximum method, wherein the weighted method is: GRAY==0.3*R+0.59*G+0.11*B, the mean method is: GRAY==(R+G+B) / 3, and the maximum value is: max(R,G,B).

[0060] S220: Calculating the image gradient of the grayscale image to obtain an image gradient map, and performing binarization processing on the image gradient map in the OTSU mode to obtain a binarized image that only retains edge information of the micro-detection area and background noise point information;

[0061] In this step, the image gradient represents the rate of change of the image grayscale value. For an image, the grayscale values ​​on both sides of the edge are significantly different, and the gradient value is also large. Therefore, calculating the image gradient of the grayscale image can highlight the edge information of the image. Specifically, the grayscale image can be regarded as a two-dimensional discrete function. Calculating the image gradient of the grayscale image is equivalent to taking the derivative of the two-dimensional discrete function:

[0062] Image gradient: G(x,y)=dx(i,j)+dy(i,j); dx(i,j)=I(i+1,j)-I(i,j); dy(i,j)=I(i,j+1)-I(i,j);

[0063] Where I is the value of the image pixel and (i, j) is the coordinate of the pixel.

[0064] It can be understood that the embodiment of the present application only takes the above algorithm as an example, and other gradient algorithms can also be used for calculation, such as the median difference algorithm.

[0065] S230: using the findcontours function to detect contour information in each binary image, and removing contour information with an area smaller than a set threshold;

[0066] In this step, the findcontours function is a function that implements contour detection in OpenCV. It uses an image processing algorithm to find the contour of an object in an image. It accepts a single-channel binary image as input and returns a series of contour information, each contour being represented in the form of a point. In the embodiment of the present application, the findContours function is first used to detect all the contour information in the binary image. At this time, there are a certain number of interfering contours in the contour information. Since the size of the micro-detection area obtained by shooting is relatively fixed within a range under a fixed objective lens magnification, and contour information with an area smaller than the range is considered to be an interfering contour, an area threshold of the contour information is set and the area threshold is used to filter all contour information, thereby removing contour information smaller than the area threshold, thereby removing the background noise while also removing the interfering contours generated in the micro-detection area.

[0067] S240: Calculating the center point of the contour information of each binary image respectively, and removing overlapping contour information according to the center point, so that only one contour information is retained in the micro-detection area in each binary image;

[0068] In this step, the center point of the contour information is calculated as follows:

[0069] Among them, x1, y1 are the horizontal and vertical coordinates of the upper left corner point of each contour information, respectively, and w, h are the width and height of each contour information, respectively. The distance between the center points of the two contour information is calculated pairwise. If the distance is less than half of its own width or height, it is determined that the two contour information share the same center point, and the smaller of the two contour information is removed as overlapping contour information, so that only one contour information is retained within the range of one center point. This cycle is repeated, and eventually only one contour information is retained in the micro-detection area of ​​each binary image, and this contour information contains the entire micro-detection area of ​​each binary image. The image gradient map of the embodiment of the present application extracts contour information, and locates the micro-detection area based on the contour information, which can improve the positioning accuracy of the micro-detection area.

[0070] S250: Segmenting the optical sensor image according to the center point of the contour information to obtain a single sample image of a set size, and annotating and proofreading all the sample images to obtain a sample data set for training the model;

[0071] In this step, we first obtain the position information of each micro-detection area in the optical sensing image according to the center point of the contour information, and then crop the micro-detection area into a single image of size 40*40 (the specific image size can be set according to the actual application scenario) based on the position information. It is marked whether there is a signal above the micro-detection area and the corresponding label is added to obtain sample images with signal and sample images without signal, and produce a sample data set for model training.

[0072] S260: performing grayscale histogram equalization on the sample data set, and performing HOG (Histogram of Oriented Gradient) extraction on each sample image after the grayscale histogram equalization processing, and using the extracted HOG as a feature vector;

[0073] In this step, before extracting the HOG feature vector, grayscale histogram equalization processing is performed on each sample image in the sample data set, which can reduce the impact of different brightness on the sample image when photographing with an optical microscope.

[0074] S270: Input the extracted HOG feature vector into the classification model for training, obtain a trained classification model, and output the classification result;

[0075] In this step, the embodiment of the present application adopts a support vector machine as a classification model, and uses the extracted HOG feature vector as training data to train the classification model. After the training is completed, the trained classification model can be directly used to quickly classify the input image, and the classification results output by the classification model include two types: signal and no signal. It can be understood that the embodiment of the present application is not limited to the use of a support vector machine as a classification model, and other classification models such as decision trees, random forests, and restricted discriminant analysis can also be used. The classification model can also be trained using other features such as Haar (Haar features) or LBP (Local Binary Pattern, local binary features), which can be specifically set according to the actual application scenario.

[0076] S280: Based on the classification result output by the classification model, the micro-detection area in the optical sensor image is located according to the center point of the contour information, and the position and signal presence / absence of the micro-detection area are marked according to the positioning result, thereby generating a visual signal detection result of the optical sensor image;

[0077] In this step, for the same group of optical sensor images of the detection target taken once within a period of time under an optical microscope, the position of the micro-detection area of ​​the detection target remains unchanged. Therefore, the contour information of the micro-detection area can also be determined based on the first frame of the optical sensor image in the same group. The micro-detection area of ​​the group of optical sensor images is positioned based on the contour information. At the same time, it is determined whether a signal is generated above the micro-detection area in the same position in the group of optical sensor images, thereby obtaining the number of signal generation times in the same micro-detection area within a period of time, thereby calculating the concentration information of the detection target, and at the same time, quantifying the signal intensity of the micro-detection area that generates the signal, and statistically analyzing the signal intensity distribution law, thereby calculating the particle size and other information of the detection target, so that the final signal detection result visual display is more intuitive without the need to match the position information and the image again. Specifically, as shown in Figure 3, it is a schematic diagram of the signal counting visualization display of the embodiment of the present application. The embodiment of the present application can also be applied to signal statistics and detection and identification of signals generated by chemiluminescent molecules, fluorescent molecules, quantum dots, viruses and other nanoparticles.

[0078] Based on the above, the signal detection method for optical sensor images in the second embodiment of the present application obtains a high-resolution optical sensor image of the detection target through an optical microscope, obtains the contour information of each micro-detection area in the image, and then uses the contour information to crop the optical sensor image into a single sample image of a set size. All sample images are annotated and proofread to generate a data set for model training. The prepared data set is placed into a classification model for classification, and position information is added to the classification result to generate the signal detection effect of the optical sensor image. Without relying on additional hardware facilities and manual intervention, the embodiment of the present application uses an image analysis method based on the concept of target detection to quickly locate and identify optical sensor images, 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. There is no need to re-match the position information and image, providing a more convenient solution for signal detection of optical sensor images.

[0079] To verify the feasibility and effectiveness of the embodiments of this application, the following experiments were conducted on the aforementioned optical sensing image signal detection method. By collecting a total of 1290 40*40 micro-detection area images, using a 9:1 training-test ratio and selecting a linear kernel function, and using a penalty coefficient C = 1.0, a classification accuracy of 0.934 and an AUC (area under the curve) of 0.98 were achieved using cross-validation. The experimental results are shown in Figure 4.

[0080] Please refer to FIG5 , 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 comprises:

[0081] Image acquisition module 41: used to build a digital optical biosensor under an optical microscope, and use the optical microscope to acquire an optical sensing image of the detection target;

[0082] Image segmentation module 42: configured to detect contour information of a micro-detection area in the optical sensing image using a findcontours function, crop the micro-detection area according to the contour information to obtain a single sample image of a set size, and label the sample image as having or not having a signal to obtain a sample data set for training the model;

[0083] Feature extraction module 43: used to extract the feature vector of each sample image from the sample data set, input the feature vector into the classification model for training, and obtain a trained classification model;

[0084] Image detection module 44: used to classify the optical sensor image to be detected using the trained classification model, and mark the position and presence or absence of signals of the micro-detection area in the optical sensor image to be detected based on the classification results of the classification model, and generate the signal detection result of the optical sensor image to be detected.

[0085] 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, and after obtaining the contour information of each micro-detection area in the image, uses the contour information to crop the optical sensor image into a single sample image of a set size, annotates and proofreads all sample images, generates a data set for model training, puts the prepared data set into a classification model for classification, and adds position information to the classification result to generate the effect of signal detection of the optical sensor image. Without relying on additional hardware facilities and manual intervention, the embodiment of the present application adopts the image analysis method based on the idea of ​​target detection to quickly locate and identify the optical sensor image, 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. There is no need to match the position information with the image again, providing a more convenient solution for signal detection of optical sensor images.

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

[0087] A memory 51 storing executable program instructions;

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

[0089] The processor 52 is used to call the executable program instructions stored in the memory 51 and perform the following steps: building a digital optical biosensor under an optical microscope, and using the optical microscope to collect an optical sensing image of the detection target; using the findcontours function to detect contour information of the micro-detection area in the optical sensing image, cropping the micro-detection area according to the contour information to obtain a single sample image of a set size, and marking the sample image with or without a signal to obtain a sample data set for training the model; extracting a feature vector of each sample image from the sample data set, inputting the feature vector into a classification model for training to obtain a trained classification model; using the trained classification model to classify the optical sensing image to be detected, and marking the position and the presence or absence of a signal of the micro-detection area in the optical sensing image to be detected based on the classification result of the classification model to generate a signal detection result of the optical sensing image to be detected.

[0090] 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.

[0091] Please refer to Figure 7, 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 capable of implementing the following steps: building a digital optical biosensor under an optical microscope, and using the optical microscope to collect an optical sensor image of a detection target; using the findcontours function to detect contour information of a micro-detection area in the optical sensor image, cropping the micro-detection area according to the contour information to obtain a single sample image of a set size, and marking the sample image with or without a signal to obtain a sample data set for training a model; extracting a feature vector of each sample image from the sample data set, inputting the feature vector into a classification model for training to obtain a trained classification model; using the trained classification model to classify the optical sensor image to be detected, and marking the position and the presence or absence of a signal of the micro-detection area in the optical sensor image to be detected based on the classification result of the classification model to generate a signal detection result of 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 a number of instructions for enabling 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 various implementation methods 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 it can be 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 (CDNs), and big data and artificial intelligence platforms.

[0092] 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.

[0093] 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: Build a digital optical biosensor under an optical microscope, and use the optical microscope to collect optical sensing images of the detection target; Use the findcontours function to detect contour information of the micro-detection area in the optical sensing image, crop the micro-detection area according to the contour information to obtain a single sample image of a set size, and mark the sample image as having or not having a signal to obtain a sample data set for training the model; Extracting a feature vector of each sample image from the sample data set, inputting the feature vector into a classification model for training, and obtaining a trained classification model; The trained classification model is used to classify the optical sensor image to be detected, and the position and the presence or absence of signals of the micro-detection area in the optical sensor image to be detected are marked based on the classification result of the classification model to generate the signal detection result of the optical sensor image to be detected.

2. The signal detection method of optical sensing image according to claim 1, characterized in that: The method of collecting an optical sensing image of the detection target object using an optical microscope also includes: The optical sensing images are screened out from the optical sensing images, the optical sensing images having the complete micro detection area.

3. The signal detection method of optical sensing image according to claim 2, characterized in that: Before using the findcontours function to detect contour information of the micro-detection area in the optical sensing image, the method further includes: Converting the optical sensing image into a grayscale image; Calculating the image gradient of the grayscale image to obtain an image gradient image; The image gradient map is subjected to binarization processing in OTSU mode to obtain a binarized image that only retains edge information and background noise point information of the micro-detection area.

4. The signal detection method of optical sensing image according to claim 3, characterized in that: The use of the findcontours function to detect contour information of the micro-detection area in the optical sensing image, and the clipping of the micro-detection area according to the contour information to obtain a single sample image of a set size is specifically: Use the findcontours function to detect the contour information in each binary image and remove the contour information whose area is smaller than the set threshold; Calculating the center point of the contour information of each binary image respectively, and removing the overlapping contour information according to the center point, so that only one contour information is retained in the micro-detection area in each binary image; The optical sensing image is segmented according to the center point of the contour information to obtain a single sample image of a set size.

5. The signal detection method of optical sensing image according to any one of claims 1 to 4, characterized in that: The feature vector of each sample image extracted from the sample data set is specifically: Performing grayscale histogram equalization processing on the sample data set; A directional gradient histogram is extracted from each sample image after the grayscale histogram equalization process, and the directional gradient histogram is used as a feature vector of each sample image.

6. The signal detection method of optical sensing image according to claim 4, characterized in that: The position and signal presence / absence marking of the micro-detection area in the optical sensor image to be detected are performed based on the classification result of the classification model to generate the signal detection result of the optical sensor image to be detected, specifically: The micro detection area in the optical sensing image is positioned according to the center point of the contour information, and the position and the presence or absence of a signal of the micro detection area are marked according to the positioning result to generate a visual signal detection result of the optical sensing image.

7. A signal detection device for optical sensing images, characterized in that: include: Image acquisition module: used to build a digital optical biosensor under an optical microscope, and use the optical microscope to collect optical sensing images of the detection target object; Image segmentation module: used to detect contour information of the micro-detection area in the optical sensing image using the findcontours function, crop the micro-detection area according to the contour information to obtain a single sample image of a set size, and mark the sample image with or without a signal to obtain a sample data set for training the model; Feature extraction module: used to extract the feature vector of each sample image from the sample data set, input the feature vector into the classification model for training, and obtain a trained classification model; Image detection module: used to classify the optical sensor image to be detected using the trained classification model, and mark the position and the presence or absence of signals of the micro-detection area in the optical sensor image to be detected based on the classification result of the classification model, so as to generate the signal detection result of the optical sensor image to be detected.

8. The optical sensing image signal detection device according to claim 7, characterized in that: The feature extraction module extracts the feature vector of each sample image from the sample data set as follows: Grayscale histogram equalization is performed on the sample data set, directional gradient histogram is extracted from each sample image after the grayscale histogram equalization, and the directional gradient histogram is used as a feature vector of each sample image.

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 6; 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 6.

Citation Information

Patent Citations

  • Method and apparatus for determining position information of target image in test image

    CN110264523A

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

    CN110866476A

  • Radon gas concentration detection method based on opencv

    CN111127403A

  • Multicellular sphere recognition and classification method based on deep learning

    CN112017208A

  • Cashmere and wool optical microscope image recognition method based on generative adversarial network

    CN112927180A