Microbiological image processing method, device and system

Through pre-trained neural network and oblique detection frame technology, microscopic organisms are detected, which solves the problem of false detection of similar microscopic organisms in traditional methods, improves detection accuracy, and ensures the reliability of water environment monitoring.

CN117611513BActive Publication Date: 2024-09-06ZHENGZHOU INSIGHTS RIVERS ECOLOGICAL ENVIRONMENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211393317.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-08
Publication Date
2024-09-06
Estimated Expiration
2042-11-08

AI Technical Summary

Technical Problem

Traditional microscopic biological detection methods have difficulty in distinguishing individual microscopic organisms with diverse shapes due to similar morphologies in microscope electron imaging, resulting in false detections or missed detections, which affects the accuracy of water environment quality detection.

Method used

Pre-trained neural networks are used to detect microscopic biological images of sampled water bodies. By deduplicating oblique detection frames and combining frame information and tilt angles, the categories of microscopic organisms are determined to achieve accurate detection of multiple microscopic organisms.

Benefits of technology

It effectively avoids false detection and missed detection, improves the accuracy of microscopic biological detection, and ensures the accuracy of biomass data for aquatic ecological environment monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117611513B
    Figure CN117611513B
Patent Text Reader

Abstract

The present application provides a method, device and system for processing microscopic biological images, which relate to the field of microscopic biological monitoring technology. The microscopic biological image processing method includes: obtaining multiple microscopic biological images of the sampled water body, using a pre-trained neural network to detect the multiple microscopic biological images respectively, and obtaining the detection results of the multiple microscopic biological images; according to the frame information, tilt angle and vertical position corresponding to the multiple microscopic biological images of the oblique detection frame of each microscopic biological image, the oblique detection frames of the multiple microscopic biological images are deduplicated to obtain the target oblique detection frame; according to the frame information of the target oblique detection frame and the corresponding microscopic biological category, the microscopic biological detection result of the sampled water body is determined. The method of the present application can effectively realize the accurate detection of microscopic organisms, avoid the occurrence of false detection or missed detection, so that the final detection data does not match the actual situation, and cannot provide good data support for the detection of the sampled water body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of microscopic organism monitoring technology, and in particular to a microscopic organism image processing method, device and system. Background Art

[0002] Microscopic organisms are widely present in various water bodies. They are difficult to observe with the human eye and require the use of auxiliary tools such as microscopes to detect them. The detection of microscopic organisms plays an important role in the water environment and aquatic ecosystems. With the gradual advancement of micro-ecological monitoring, traditional manual monitoring has gradually become incompatible with the development needs of the times due to its low efficiency.

[0003] When the currently used equipment detects microscopic organisms that are tiny and diverse in morphology, false detections or missed detections may occur, resulting in poor detection results and affecting the final water environment quality detection, because different microscopic organisms have highly similar morphologies in the electronic imaging of the microscope and are difficult to distinguish.

[0004] Therefore, it is necessary to propose a microscopic biological detection method to avoid false detection and missed detection, while improving the accuracy of detection. Summary of the invention

[0005] The purpose of the present invention is to provide a method, device and system for processing microscopic organism images in order to achieve accurate detection of microscopic organisms in multiple sampled water bodies in order to address the deficiencies in the above-mentioned prior art.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, the present application provides a method for processing microscopic biological images, comprising:

[0008] Acquire multiple microscopic biological images of the sampled water body, each microscopic biological image corresponding to a vertical position of the sampled water body on a preset vertical coordinate axis; the preset vertical coordinate axis is a coordinate axis perpendicular to the focal plane of the lens;

[0009] Using a pre-trained neural network, the plurality of microscopic organism images are respectively detected to obtain detection results of the plurality of microscopic organism images, wherein the detection result of each microscopic organism image includes: information of oblique detection frames of the plurality of microscopic organisms, wherein the information of the oblique detection frames includes: frame information, an inclination angle, and a corresponding microscopic organism category;

[0010] Deduplication of the oblique detection frame of each microscopic biological image is performed according to the frame body information and the tilt angle of the oblique detection frame of each microscopic biological image to obtain a candidate oblique detection frame of each microscopic biological image;

[0011] Deduplication of the candidate oblique detection frames of the different microscopic biological images is performed according to the frame information of the candidate oblique detection frames of the different microscopic biological images and the vertical positions corresponding to the multiple microscopic biological images to obtain a target oblique detection frame;

[0012] The microscopic organism detection result of the sampled water body is determined according to the frame information of the target oblique detection frame and the corresponding microscopic organism category.

[0013] In an optional embodiment, the step of deduplicating the oblique detection frame of each microscopic biological image according to the frame information and frame angle of the oblique detection frame of each microscopic biological image to obtain a candidate oblique detection frame of each microscopic biological image includes:

[0014] Calculating the overlap rate of each two oblique detection frames according to the frame information of each two oblique detection frames in each microscopic biological image;

[0015] Calculating an angle deviation between the two oblique detection frames according to the frame angles of the two oblique detection frames;

[0016] According to the overlap rate of each two oblique detection frames and the angle deviation of each two oblique detection frames, the oblique detection frames of each microscopic biological image are deduplicated to obtain candidate oblique detection frames of each microscopic biological image.

[0017] In an optional embodiment, the step of deduplicating the candidate oblique detection frames of the different microscopic biological images according to the frame information of the candidate oblique detection frames of the different microscopic biological images and the vertical positions corresponding to the multiple microscopic biological images to obtain the target oblique detection frame includes:

[0018] Determine the longest side size of each of the two candidate oblique detection frames in the different microscopic biological images according to the long side size of the frame information of each of the two candidate oblique detection frames;

[0019] Calculating vertical position deviations of the different microscopic biological images according to the vertical positions corresponding to the different microscopic biological images;

[0020] According to the longest side size and the vertical position deviation, the candidate oblique detection frames of the different microscopic biological images are deduplicated to obtain the target oblique detection frame.

[0021] In an optional embodiment, the acquiring of multiple microscopic biological images of the sampled water body comprises:

[0022] Acquire a plurality of images of the sampled water body by a microscope;

[0023] Performing bubble detection on the multiple images to obtain bubble detection results of the multiple images;

[0024] According to the bubble detection results of the multiple images, all images in the multiple images that are in the same field of view as the image with bubbles are discarded to obtain the multiple microscopic biological images.

[0025] In an optional embodiment, the target oblique detection frame includes: a first detection frame of a known microscopic organism category, and a second detection frame of an unknown microscopic organism category; the method further includes:

[0026] Calculate first feature information of the individual microscopic organism corresponding to the first detection frame according to the detection information of the first detection frame; the detection information of the first detection frame includes: at least one of the category index, color information, texture information and size information of the individual microscopic organism of the known microscopic organism;

[0027] Calculate the second feature information of the microscopic organism individual corresponding to the second detection frame according to the detection information of the second detection frame; the detection information of the second detection frame includes: at least one of the category index, color information, texture information and size information of the unknown microscopic organism individual;

[0028] The microscopic organism category corresponding to the second detection frame is determined according to the first feature information and the second feature information.

[0029] In an optional embodiment, the sampled water body is any sampled water body of at least one sampled water body pre-loaded and placed on a loading platform of a microscope; the step of acquiring multiple microscopic biological images of the sampled water body comprises:

[0030] Controlling a preset lens of the microscope to focus on the upper surface of the sampled water body;

[0031] After focusing is completed, the preset lens is controlled to scan the sampled water body to obtain the multiple microscopic biological images of the sampled water body.

[0032] In an optional embodiment, the plurality of microscopic biological images include: microscopic biological images of a plurality of fields of view, and different microscopic biological images of each field of view correspond to different vertical positions;

[0033] The controlling the preset lens to scan the sampled water body to obtain a plurality of microscopic biological images of the sampled water body includes:

[0034] Determining a lens scanning mode according to the sizes of the plurality of microscopic organisms to be detected;

[0035] By adopting the lens scanning method, the preset lens is controlled to capture images of the sampled water body in a field of view based on a preset focus position on the preset vertical coordinate axis, and image capture is performed in the switched field of view until a preset stop condition is reached, thereby obtaining microscopic biological images of the multiple fields of view.

[0036] In an optional embodiment, the lens scanning method is used to control the preset lens to capture images of the sampled water body in a field of view based on a preset focus position on the preset vertical coordinate axis, and to capture images in the switched field of view until a preset stop condition is reached, to obtain microscopic biological images of the multiple fields of view, including:

[0037] If the lens scanning mode is the first scanning mode, the preset lens is controlled to collect images within a field of view, based on a preset direction, for a range between a preset focus position and a preset lowest position on the preset vertical coordinate axis;

[0038] The preset lens is controlled to capture images of the range between the preset lowest position and the preset focus position within the switched field of view based on the reverse direction of the preset direction until the preset stop condition is reached, thereby obtaining microscopic biological images of the multiple fields of view.

[0039] In an optional embodiment, the lens scanning method is used to control the preset lens to capture images of the sampled water body in a field of view based on a preset focus position on the preset vertical coordinate axis, and to capture images in the switched field of view until a preset stop condition is reached, to obtain microscopic biological images of the multiple fields of view, including:

[0040] If the lens scanning mode is the second scanning mode, the first lens is controlled to collect images of a range between a first focus position and a first lowest position on the preset vertical coordinate axis within a field of view based on a preset direction;

[0041] Controlling the second lens to perform image sampling on a range between a second lowest position and a second focus position on the preset vertical coordinate axis within the one field of view based on the reverse direction of the preset direction;

[0042] Controlling the first lens to collect images of a range between the first focus position and the first lowest position within the switched field of view based on the preset direction;

[0043] The second lens is controlled to acquire images of the range between the second lowest position and the second focusing position within the switched field of view based on the reverse direction of the preset direction until the preset stop condition is reached, thereby obtaining microscopic biological images of the multiple fields of view.

[0044] In an optional embodiment, the image acquisition is performed under the switched field of view until a preset stop condition is reached to obtain the microscopic biological images of the multiple fields of view, including:

[0045] The switched field of view is randomly determined from the horizontal area of ​​the sampled water body, and image acquisition is performed under the switched field of view until the number of scanned fields of view reaches a preset number of fields of view, thereby obtaining microscopic biological images of the multiple fields of view.

[0046] In an optional embodiment, the image acquisition is performed under the switched field of view until a preset stop condition is reached to obtain the microscopic biological images of the multiple fields of view, including:

[0047] The field of view adjacent to the one field of view is determined as the switched field of view from the horizontal area of ​​the sampled water body, and image acquisition is performed under the switched field of view until the range of the scanned field of view covers the horizontal area, thereby obtaining microscopic biological images of the multiple fields of view.

[0048] In an optional embodiment, the image acquisition is performed under the switched field of view until a preset stop condition is reached to obtain the microscopic biological images of the multiple fields of view, including:

[0049] The switched field of view is randomly determined in the horizontal area of ​​the sampled water body, and image acquisition is performed under the switched field of view until the information obtained by detection based on the images collected within the scanned field of view meets preset conditions, thereby obtaining the microscopic biological images of the multiple fields of view.

[0050] In an optional embodiment, the controlling a preset lens of the microscope to focus on the sampled water body comprises:

[0051] Using multiple threads to simultaneously extract features from each image block in the microscope image collected from the sampled water body during the relative movement of the preset lens on the preset vertical coordinate axis, to obtain the number of feature points in each image block;

[0052] During the relative movement process, if the number of image blocks whose feature points reach a preset feature number threshold or their change pattern reaches a preset condition, it is determined that the preset lens focusing is completed to indicate that the focal plane of the preset lens reaches above the sampled water body.

[0053] In an optional embodiment, before acquiring a plurality of microscopic biological images of the sampled water body, the method comprises:

[0054] Acquire a plurality of microscope images collected by a microscope, wherein the plurality of microscope images are: images acquired sequentially according to vertical positions;

[0055] Microscope images having image detail information and having a vertical interval between two adjacent microscope images greater than or equal to a preset vertical interval are selected from the multiple microscope images as the multiple microscopic biological images.

[0056] In an optional embodiment, the determining the microscopic organism detection result of the sampled water body according to the frame information of the target oblique detection frame and the corresponding microscopic organism category includes:

[0057] According to the frame information of the target oblique detection frame in each field of view and the corresponding microscopic organism category, the target microscopic organism information in each field of view is counted;

[0058] The microscopic organism detection result of the sampled water body is obtained according to the target microscopic organism information under multiple fields of view.

[0059] In an optional implementation, the counting of target microscopic organism information in each field of view according to the frame information of the target oblique detection frame in each field of view and the corresponding microscopic organism category includes:

[0060] According to the frame information of the target oblique detection frame of each lens in each field of view and the corresponding microscopic organism category, the microscopic organism information in each field of view of each lens is counted;

[0061] According to the microscopic biological information of multiple lenses in each field of view, the target microscopic biological information in each field of view is obtained.

[0062] In an optional embodiment, obtaining the target microscopic biological information in each field of view according to the microscopic biological information in each field of view of multiple lenses includes:

[0063] Taking the magnification of a preset reference lens among the multiple lenses as a reference, performing unit conversion on the microscopic biological information of other lenses in each field of view;

[0064] According to the microscopic biological information of the preset reference lens in each field of view and the microscopic biological information of the other lenses in each field of view after unit conversion, the target microscopic biological information in each field of view is obtained.

[0065] In an optional embodiment, the method further comprises:

[0066] Filling pixels in an area corresponding to the first oblique detection frame in a preset microscopic organism base image according to the detection confidence of the first oblique detection frame of the first microscopic organism image in each field of view and the pixel value corresponding to the first oblique detection frame in the first microscopic organism image;

[0067] If the detection confidence of the second oblique detection frame in the second microscopic biological image in each field of view that is at the same position as the first oblique detection frame is greater than the detection confidence of the first oblique detection frame, then the pixel value corresponding to the second oblique detection frame in the preset microscopic biological base map is re-filled with pixels; wherein the second microscopic biological image and the first microscopic biological image are any two vertically different microscopic biological images among the multiple microscopic biological images in each field of view;

[0068] According to the detection confidence of the second oblique detection frame in the second microscopic organism image that is different from the first oblique detection frame in position and the pixel value corresponding to the second oblique detection frame in position, pixel filling is performed on the area corresponding to the oblique detection frame in position different in the preset microscopic organism base map to obtain the detection image of the sampled water body;

[0069] Output and display the detection image of the sampled water body.

[0070] In a second aspect, an embodiment of the present application further provides a computer device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the computer device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the microscopic biological image processing method as described in any one of the first aspects.

[0071] In a third aspect, an embodiment of the present application further provides a microscopic biological monitoring system, comprising: a microscope and a computer device, wherein the microscope and the computer device are communicatively connected, the microscope is used to collect multiple microscopic biological images of the sampled water body, and the computer device is used to execute the steps of the microscopic biological image processing method as described in any one of the first aspects.

[0072] The beneficial effects of this application are:

[0073] The present application provides a method, device and system for processing microscopic biological images. The method can obtain multiple microscopic biological images of a sampled water body, each microscopic biological image corresponding to a vertical position of the sampled water body on a preset vertical coordinate axis, and use a pre-trained neural network to detect the multiple microscopic biological images respectively to obtain detection results of the multiple microscopic biological images. First, the oblique detection frame of each microscopic biological image is deduplicated according to the frame information and the tilt angle of the oblique detection frame of each microscopic biological image to obtain a candidate oblique detection frame of each microscopic biological image; further, the candidate oblique detection frames of different microscopic biological images are deduplicated according to the frame information of the candidate oblique detection frames of different microscopic biological images and the vertical positions corresponding to the multiple microscopic biological images to obtain a target oblique detection frame; and then the microscopic biological detection result of the sampled water body is determined according to the frame information of the target oblique detection frame and the corresponding microscopic biological category. In the method provided in this embodiment, a neural network can be used to detect multiple microscopic organism images of the sampled water body respectively to obtain information of an oblique detection frame including multiple microscopic organisms. Compared with a traditional detection frame, the oblique detection frame has more complete and accurate detection information, better reflects the morphological characteristics of the microscopic organisms in the corresponding area of ​​the frame, and effectively avoids the misdetection of the microscopic organisms. Secondly, when using a neural network of an oblique detection frame to detect microscopic organisms, the oblique detection frame detected for each microscopic organism image can be deduplicated in combination with the frame information and frame angle of the oblique detection frame, and the candidate oblique detection frames corresponding to different microscopic organism images can be deduplicated in combination with the frame information and corresponding vertical position of the candidate oblique detection frame after deduplication of each microscopic organism image, so that the target oblique detection frame retained after deduplication can be made more accurate, avoiding misdetection or missed detection, and then making the microscopic organism detection results of the sampled water body more accurate, ensuring that the biomass data for the water ecological environment monitoring corresponding to the sampled water body is supported, thereby achieving accurate monitoring of the water ecological environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0075] Figure 1 A schematic diagram of a microscopic biological monitoring system provided in an embodiment of the present application;

[0076] Figure 2 A schematic diagram of a process for processing microscopic biological images provided in an embodiment of the present application;

[0077] Figure 3A schematic diagram of a flow chart of a method for obtaining a candidate oblique detection frame provided in an embodiment of the present application;

[0078] Figure 4 A schematic diagram of a flow chart of a method for obtaining an oblique target detection frame provided in an embodiment of the present application;

[0079] Figure 5 A schematic diagram of a flow chart of a bubble detection method provided in an embodiment of the present application;

[0080] Figure 6 A schematic diagram of another microscopic biological image processing method provided in an embodiment of the present application;

[0081] Figure 7 A schematic diagram of a process flow of another microscopic biological image processing method provided in an embodiment of the present application;

[0082] Figure 8 A schematic diagram of a process for obtaining microscopic biological images provided in an embodiment of the present application;

[0083] Fig. 9 A flowchart of acquiring a microscopic biological image based on a first scanning method provided in an embodiment of the present application;

[0084] Fig.10 A schematic diagram of a scanning path of a first scanning mode provided in an embodiment of the present application;

[0085] Fig.11 A flowchart of acquiring a microscopic biological image based on a second scanning method provided in an embodiment of the present application;

[0086] Fig.12 A schematic diagram of a scanning path of a second scanning mode provided in an embodiment of the present application;

[0087] Fig.13 A flowchart of a lens focusing method provided in an embodiment of the present application;

[0088] Fig.14 A schematic diagram of a microscopic biostatistics method provided in an embodiment of the present application;

[0089] Fig.15 A schematic diagram of a process for obtaining a sampled water body detection image provided in an embodiment of the present application;

[0090] Fig.16 A schematic diagram of another process of microscopic biological image processing provided in an embodiment of the present application;

[0091] Fig.17 A schematic diagram of the functional modules of a microscopic biological image processing device provided in an embodiment of the present application;

[0092] Fig.18 A schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0093] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.

[0094] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0095] In the description of the present application, it should be noted that if the terms "upper", "lower", etc. appear, the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, or is the orientation or position relationship in which the product of the application is usually placed when used. It is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application.

[0096] In addition, the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and 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 necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0097] It should be noted that, in the absence of conflict, the features in the embodiments of the present application may be combined with each other.

[0098] In order to realize the processing of microscopic biological images, the microscopic biological images can be detected and processed by an oblique frame neural network, and the oblique detection frames obtained by detecting the microscopic biological images by the oblique frame neural network are deduplicated, so that the microscopic biological detection results in the sampled water body are more accurate and the interference of similar oblique detection frames on the microscopic biological detection results is reduced. Before describing the microscopic biological image processing method provided in the embodiment of the present application, the embodiment of the present application can first explain its microscopic biological monitoring system in the preset water body. Figure 1 A schematic diagram of a microscopic biological monitoring system provided in an embodiment of the present application. Figure 1 As shown, the microscopic biological monitoring system 100 includes: a microscope 110, and a computer device 120. The microscope 110 is an optical microscope, which has a loading platform and at least one lens. The loading platform is used to place a sample to collect an image of the sample through the lens. In this embodiment, the sample can be, for example, a sampled water body. In actual applications, the sample can be placed on the loading platform through a sample clamp.

[0099] For example, the sampled water can be added to the flow channel in the sample clamp manually or automatically through a pipette. The sample clamp may have at least one flow channel to accommodate at least one sampled water, and each flow channel in the sample clamp has upper and lower covers made of transparent materials, and the internal space is a sealed flow channel of a preset shape. It should be noted that before adding the sampled water to the sample clamp, the sampled water can be shaken evenly, and then added to the flow channel on the sample clamp through a pipette. In this embodiment, the sample clamp can be used only once, which can avoid the residue inside the sample clamp from interfering with the microbial monitoring of the sampled water.

[0100] If the microscope 110 has multiple lenses, for example, two lenses, the multiple lenses are lenses with different magnifications. The microscope 110 can be directly connected to the computer device 120 for communication, or it can be connected to the computer device 120 for communication through other intermediate devices. The computer device 120 can process the microscopic biological images collected by the microscope, and can also control the microscope 110 to control the microscope 110 to focus, scan, rotate and switch lenses, etc. When the computer device 120 controls the microscope 110, it controls the microscope 110 to perform corresponding operations through the controller of the microscope 110.

[0101] The following is a detailed explanation of the method for executing microscopic biological image processing, lens focusing, scanning, data statistics, etc. performed by the computer equipment in the microscopic biological monitoring system through multiple embodiments in combination with the accompanying drawings.

[0102] In order to enable a computer device to execute the microscopic biological image processing method, a pre-trained neural network and a computer program for corresponding operations can be pre-integrated and installed in the computer device, which can be implemented by running an algorithm or software. The computer device can be, for example, a server or a terminal, and the terminal can be a user computer. Figure 2 A schematic diagram of a process flow of a microscopic biological image processing method provided in an embodiment of the present application. Figure 2 As shown, the method includes:

[0103] S201, obtaining multiple microscopic biological images of the sampled water body.

[0104] Each microscopic biological image corresponds to a vertical position of the sampled water body on a preset vertical coordinate axis, where the preset vertical coordinate axis is a coordinate axis perpendicular to the focal plane of the lens. The preset vertical coordinate axis can be, for example, the Z axis of a microscope.

[0105] In this embodiment, multiple microscopic biological images of the sampled water body can be directly obtained from the microscope, or multiple microscopic biological images of the sampled water body can be obtained from a preset data storage area corresponding to the microscope. In a possible implementation, the images collected by the microscope can be first placed in a preset data storage area, and a preset image screening method is used to screen each microscopic biological image in the data storage area, and the screened microscopic biological images are placed in the data area to be processed for processing by the neural network.

[0106] The following is an explanation of the process of acquiring multiple microscopic biological images in an image screening manner.

[0107] For example, a plurality of microscope images captured by a microscope can be first obtained, where the plurality of microscope images are images acquired sequentially according to vertical positions, and microscope images having image detail information and whose vertical position intervals are greater than or equal to preset vertical intervals are selected from the plurality of microscope images as a plurality of microscopic biological images.

[0108] In this example, the preset vertical interval can be, for example, 1um, and images with image detail information, that is, images with image detail information not equal to 0, and microscope images with vertical intervals greater than or equal to 1um taken out in sequence can be retained, and images without image detail information can be eliminated, or microscope images with vertical intervals less than 1um can be eliminated, to obtain multiple microscopic biological images. Therefore, each of the multiple microscopic biological images obtained has image detail information, and the vertical interval between two adjacent microscopic biological images sorted by vertical position is greater than or equal to the preset vertical interval.

[0109] Assuming that the height of the sampled water body on the preset vertical coordinate axis is 0.3 mm, then at most 300 microscope images of the sampled water body in one field of view can be selected as the microscopic biological images to be processed in the field of view.

[0110] For the microscope images of sampled water bodies collected by a microscope, in this embodiment, image detail information and position intervals can also be combined for image screening, which not only meets the detection requirements of the sampled water bodies, but also reduces the number of microscopic biological images to be processed, avoids the memory load for detecting microscopic biological images, and ensures the detection efficiency of microscopic biological images.

[0111] The multiple microscopic biological images of the sampled water body obtained in this embodiment actually include: microscopic biological images of the sampled water body in at least one field of view, each field of view having at least two microscopic biological images. The following neural network detection and detection frame deduplication operation can be performed for at least two microscopic biological images in each field of view.

[0112] S202, using a pre-trained neural network to detect multiple microscopic biological images respectively, and obtain detection results of the multiple microscopic biological images.

[0113] Specifically, the pre-trained neural network can be a multi-classification neural network based on an image, which can realize the classification detection of multiple preset microorganisms. The multiple preset microorganisms can include, for example: multiple different algae microorganisms, and / or, multiple different protozoa. The neural network can be, for example, an oblique frame neural network. The oblique frame neural network is used to detect each microorganism image, so that the detection result of each microorganism image can include: the information of the oblique detection frame of multiple microorganisms. The oblique detection frame is the minimum circumscribed rectangle of the detection target in the corresponding area of ​​the microorganism image where it is located. Among them, the information of the oblique detection frame includes: frame information, frame angle and corresponding microorganism category. The frame information includes: frame size and frame coordinates, wherein the frame size includes: the long side size and short side size of the oblique detection frame, and the frame coordinates are: the coordinates of the preset reference point in the oblique detection frame, such as the coordinates of the center point of the oblique detection frame, the coordinates of each vertex in the oblique detection frame, or the coordinates of the preset vertex in the oblique detection frame. The frame angle is the angle between a preset reference side in the oblique detection frame and a preset reference direction in the image, for example, the angle between the long side of the frame in the oblique detection frame and the horizontal direction of the image, or the angle between the short side of the frame and the vertical direction of the image.

[0114] The category of the microscopic organisms corresponding to the oblique detection frame is used to indicate: the category to which the microscopic organisms in the area corresponding to the oblique detection frame belong.

[0115] S203 , according to the frame information and frame angle of the oblique detection frame of each microscopic organism image, deduplicate the oblique detection frame of each microscopic organism image to obtain a candidate oblique detection frame of each microscopic organism image.

[0116] For all oblique detection frames detected in each microscopic organism image, it is possible to determine whether the corresponding areas of each two oblique detection frames are the same microscopic organism based on the frame information and frame angle of each two oblique detection frames. If they are the same microscopic organism, deduplication is performed on those that meet the deduplication conditions based on the detection confidence of each two oblique detection frames; if they are not the same microscopic organism, no further deduplication judgment is required. When the above operations are performed on all oblique detection frames of each microscopic organism image, a candidate oblique detection frame of each microscopic organism image can be obtained.

[0117] S204, according to the frame information of the candidate oblique detection frames of different microscopic biological images and the vertical positions corresponding to the multiple microscopic biological images, deduplicate the candidate oblique detection frames of different microscopic biological images to obtain a target oblique detection frame.

[0118] For the candidate oblique detection frames of different microscopic biological images, it is necessary to further perform deduplication judgment on each two candidate oblique detection frames based on the frame information of each two candidate oblique detection frames and the vertical positions corresponding to the microscopic biological images where each two candidate oblique detection frames are located. Then, after deduplication of the candidate detection frames that meet the deduplication conditions, the target oblique detection frame is obtained.

[0119] S205 , determining the microscopic organism detection result of the sampled water body according to the frame information of the target oblique detection frame and the corresponding microscopic organism category.

[0120] When the target oblique detection frame is obtained after executing the above S203 and S204 to perform deduplication operations on the oblique detection frame detected by the neural network, the microbial information can be statistically analyzed based on the frame information of the target oblique detection frame retained by deduplication and the corresponding microbial category to obtain the microbial detection result of the sampled water body.

[0121] In summary, the present application provides a method for processing microscopic biological images, which can obtain multiple microscopic biological images of a sampled water body, each microscopic biological image corresponding to a vertical position of the sampled water body on a preset vertical coordinate axis, and use a pre-trained neural network to detect the multiple microscopic biological images respectively to obtain detection results of the multiple microscopic biological images. First, according to the frame information and the tilt angle of the oblique detection frame of each microscopic biological image, the oblique detection frame of each microscopic biological image is deduplicated to obtain a candidate oblique detection frame of each microscopic biological image; further, according to the frame information of the candidate oblique detection frames of different microscopic biological images and the vertical positions corresponding to the multiple microscopic biological images, the candidate oblique detection frames of different microscopic biological images are deduplicated to obtain a target oblique detection frame; then, according to the frame information of the target oblique detection frame and the corresponding microscopic biological category, the microscopic biological detection result of the sampled water body is determined. In the method provided in this embodiment, a neural network can be used to detect multiple microscopic organism images of the sampled water body respectively to obtain information of an oblique detection frame including multiple microscopic organisms. Compared with a traditional detection frame, the oblique detection frame has more complete and accurate detection information, better reflects the morphological characteristics of the microscopic organisms in the corresponding area of ​​the frame, and effectively avoids the misdetection of the microscopic organisms. Secondly, when the neural network of the oblique detection frame is used for microscopic organism detection, the oblique detection frame detected for each microscopic organism image can be deduplicated in combination with the frame information and frame angle of the oblique detection frame, and the candidate oblique detection frames corresponding to different microscopic organism images can be deduplicated in combination with the frame information and corresponding vertical position of the candidate oblique detection frame after deduplication of each microscopic organism image, so that the target oblique detection frame retained after deduplication can be made more accurate, avoiding misdetection or missed detection, and then making the microscopic organism detection result of the sampled water body more accurate, thereby ensuring that the biomass data for the water ecological environment monitoring corresponding to the sampled water body is supported, thereby achieving accurate monitoring of the water ecological environment.

[0122] On the basis of the microscopic organism image processing method provided in the above-mentioned embodiment, the embodiment of the present application also provides a possible implementation example of deduplication of the oblique detection frame of each microscopic organism image. Figure 3 A schematic diagram of a method for obtaining a candidate oblique detection frame provided in an embodiment of the present application. Figure 3 As shown, according to the frame information and frame angle of the oblique detection frame of each microscopic biological image, the oblique detection frame of each microscopic biological image is deduplicated to obtain a candidate oblique detection frame of each microscopic biological image, including:

[0123] S301. Calculate the overlap rate of every two oblique detection frames according to the frame information of every two oblique detection frames in each microscopic biological image.

[0124] In this embodiment, the overlap rate of every two oblique detection frames may be calculated according to the frame information of every two oblique detection frames, which includes: frame size and frame position.

[0125] S302: Calculate the angle deviation between each two oblique detection frames according to the frame angles of each two oblique detection frames.

[0126] In this embodiment, the angle deviation between every two oblique detection frames may be calculated according to the difference between the frame angles of every two oblique detection frames.

[0127] S303 , according to the overlap rate of every two oblique detection frames and the angle deviation of every two oblique detection frames, deduplicate the oblique detection frames of each microscopic biological image to obtain candidate oblique detection frames of each microscopic biological image.

[0128] The information of the oblique detection frame output by the neural network as shown above also includes: the frame confidence of the oblique detection frame, and the category confidence of the corresponding microscopic organism category. For each oblique detection frame, the confidence of the oblique detection frame can be calculated based on the frame confidence and the category confidence.

[0129] In a possible implementation, the overlap rate of each two oblique detection frames can be compared with a preset overlap threshold, and the angle deviation of each two oblique detection frames can be compared with a preset angle difference threshold. Then, based on the overlap comparison result and the comparison result of the angle difference threshold, it is determined whether the microscopic organisms corresponding to each two oblique detection frames are the same microscopic organism; if they are the same microscopic organism, the oblique detection frames with high detection confidence are retained, and the oblique detection frames with low detection confidence are removed, thereby obtaining candidate oblique detection frames for each microscopic organism image.

[0130] If the overlap rate of two oblique detection frames is less than a preset overlap threshold such as 0.3 or 0.4, and the angle deviation is less than a preset angle difference threshold such as 2° or 3°, it is determined that the microscopic organisms corresponding to the two oblique detection frames are the same microscopic organism, and the oblique detection frame with high confidence is retained as a candidate oblique detection frame, and the other oblique detection frame is removed.

[0131] If the overlap rate of two oblique detection frames is greater than or equal to a preset overlap threshold, and / or the angle deviation is greater than or equal to a preset angle difference threshold, it is determined that the microscopic organisms corresponding to the two oblique detection frames are different microscopic organisms, and the two oblique detection frames are retained. The retained oblique detection frame is the candidate oblique detection frame of the microscopic organism image.

[0132] In the method provided in the embodiment of the present application, for the oblique detection frame of each microscopic organism image, the oblique detection frame of each microscopic organism image can be deduplicated according to the overlap rate of each two oblique detection frames and the angle deviation of each two oblique detection frames, thereby achieving accurate screening of candidate oblique detection frames for each microscopic organism image, avoiding false detection or missed detection, and thus making the microscopic organism detection results of the sampled water body more accurate.

[0133] The embodiment of the present application also provides a possible implementation example of deduplication of candidate oblique detection frames for different microscopic biological images. Figure 4 A flowchart of a method for obtaining a target oblique detection frame provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, according to the frame information of the candidate oblique detection frames of different microscopic biological images and the vertical positions corresponding to the multiple microscopic biological images, the candidate oblique detection frames of different microscopic biological images are deduplicated to obtain the target oblique detection frame, including:

[0134] S401 . Determine the longest side size of every two candidate oblique detection frames according to the long side size in the frame information of every two candidate oblique detection frames in different microscopic biological images.

[0135] In an embodiment of the present application, every two candidate oblique detection frames in different microscopic biological images can be used as deduplication objects, and the long side dimensions in the frame information of every two candidate oblique detection frames can be compared to determine the longest side dimension of every two candidate oblique detection frames.

[0136] S402, calculating vertical position deviations of different microscopic biological images according to vertical positions corresponding to different microscopic biological images.

[0137] S403 , according to the longest side size and the vertical position deviation, the candidate oblique detection frames of different microscopic biological images are deduplicated to obtain the target oblique detection frame.

[0138] In a possible implementation, the visual vertical deviation can be calculated based on the vertical position deviation and the preset visual gain rate, and the longest side size and the visual vertical deviation can be compared. Based on the comparison results, the oblique detection frames that meet the deduplication conditions in the candidate oblique detection frames of different microscopic biological images are deduplicated to obtain the target oblique detection frame.

[0139] For example, the vertical position deviation and the preset visual gain rate can be multiplied to calculate the visual vertical deviation, and the preset visual gain rate r can be, for example, 2.0. The preset visual gain rate means that the vertical position on the preset vertical coordinate axis does not reach the position of a certain microscopic organism, but the certain microscopic organism can be seen visually. The ratio of the vertical amount seen in advance to the longest side of the microscopic object is called the visual gain rate.

[0140] If the longest side size is greater than or equal to the visual vertical deviation, it is determined that the microorganisms corresponding to the two candidate oblique detection frames are different microorganisms, and there is no need to perform deduplication operation, and both candidate oblique detection frames are retained; if the longest side size is less than the visual vertical deviation, it is determined that the microorganisms corresponding to the two candidate oblique detection frames are the same microorganism, and the candidate oblique detection frame with higher confidence is retained as the target oblique detection frame, and the other candidate oblique detection frame is removed.

[0141] In the method provided in the embodiment of the present application, the candidate oblique detection frames of different microscopic organism images are deduplicated according to the longest side size and vertical position deviation of every two candidate oblique detection frames in different microscopic organism images to obtain the target oblique detection frame, thereby achieving accurate screening of the candidate oblique detection frames of different microscopic organism images, avoiding false detection or missed detection, and thus making the microscopic organism detection results of the sampled water body more accurate.

[0142] Since bubbles are inevitably generated when the sampled water is added to the sample clamp on the loading platform, in order to achieve accurate microscopic biological images, the embodiment of the present application also provides a microscopic biological image processing method to discard images with bubbles. Figure 5 A schematic diagram of a bubble detection method provided in an embodiment of the present application. Figure 5 As shown, multiple microscopic biological images of the sampled water are obtained, including:

[0143] S501, obtaining multiple images of the sampled water body through a microscope.

[0144] S502: Perform bubble detection on multiple images to obtain bubble detection results for the multiple images.

[0145] In a possible implementation, bubble detection can be performed on multiple images according to a preset bubble detection algorithm to obtain bubble detection results for multiple images; or a pre-trained neural network for bubble detection can be used to perform bubble detection on multiple images to obtain bubble detection results for multiple images. The neural network for bubble detection can be a separately trained neural network, or it can be the above-mentioned neural network for multiple microscopic biological detection, in which bubble detection is used as a classification in the neural network.

[0146] The method for performing bubble detection on an image provided in the embodiment of the present application is not limited to the above possible method, and may also be other possible implementation methods, which are not limited in the embodiment of the present application.

[0147] S503. According to the bubble detection results of the multiple images, all images in the same field of view as the image with bubbles are discarded to obtain multiple microscopic biological images.

[0148] According to the bubble detection results of multiple images, when there is an image with bubbles in the bubble detection results of multiple images, all images in the field of view where the image is located are discarded and no subsequent detection is performed, thereby obtaining multiple microscopic biological images.

[0149] In the method provided in the embodiment of the present application, bubble detection is performed on the multiple images acquired, and then the multiple images are screened to retain the images without bubbles, thereby obtaining multiple microscopic biological images. Since bubbles are morphologically similar to certain microscopic organisms, discarding all images in the field of view where bubbles exist can avoid interference of bubbles with microscopic biological detection in microscopic biological images, thereby effectively improving the accuracy of the detection results.

[0150] For each detection frame output by the neural network, some detection frames correspond to known microorganism categories, such as any one of multiple microorganism categories. In addition, there are some oblique detection frames whose corresponding microorganism categories are unknown, that is, it is uncertain which category of the multiple microorganism categories the microorganisms in the area corresponding to the oblique detection frame belong to. Therefore, for the second detection frame of the unknown microorganism category, the first detection frame based on the known microorganism category is needed as a reference to determine the specific category of the microorganism corresponding to the second detection frame.

[0151] The embodiment of the present application provides a possible implementation example of clarifying that the second detection frame corresponds to the category of unknown microscopic organisms. Figure 6 A schematic diagram of another microscopic biological image processing method provided in an embodiment of the present application. Figure 6 As shown, the target oblique detection frame includes: a first detection frame of a known microscopic organism category, and a second detection frame of an unknown microscopic organism category, and the method further includes:

[0152] S601. Calculate first characteristic information of the microscopic biological individual corresponding to the first detection frame according to the detection information of the first detection frame.

[0153] In this embodiment, for each oblique detection frame output by the neural network, the information of the oblique detection frame also includes: color information, texture information, and microscopic organism individual size information of the area corresponding to the oblique detection frame. Then, for the first detection frame, its detection information may include: at least one of the category index, color information, texture information, and microscopic organism individual size information of the known microscopic organism.

[0154] In a possible implementation, a feature information of the first oblique detection frame can be calculated based on each piece of information of the first oblique detection frame; and weighted according to at least one piece of feature information of the first oblique detection frame to obtain the first feature information of the microscopic biological individual corresponding to the first detection frame.

[0155] S602: Calculate second feature information of the microscopic organism individual corresponding to the second detection frame based on the detection information of the second detection frame.

[0156] Similar to the detection information of the first oblique detection frame mentioned above, the detection information of the second oblique detection frame may include: category index of unknown microscopic organisms, color information, texture information and at least one of the individual size information of the microscopic organisms. The difference is that for the second oblique detection frame, its category index is the category index of the unknown microscopic organisms.

[0157] In a possible implementation, a feature information of the second oblique detection frame can be calculated based on each piece of information of the second oblique detection frame; and weighted according to at least one piece of feature information of the second oblique detection frame to obtain the second feature information of the microscopic biological individual corresponding to the second detection frame.

[0158] S603: Determine the microscopic organism category corresponding to the second detection frame according to the first feature information and the second feature information.

[0159] In a possible implementation, based on the first feature information and the second feature information, a preset similarity algorithm is used to calculate the feature similarity. If the feature similarity exceeds a preset similarity threshold, it is determined that the microscopic organisms corresponding to the second detection frame are similar to the microscopic organisms corresponding to the first detection frame. Therefore, the category of microscopic organisms corresponding to the second oblique detection frame can be determined based on the known category of microscopic organisms in the first oblique detection frame.

[0160] Assume that there are two first oblique detection frames, and their corresponding category indexes are index 0 and index 1, which correspond to different microscopic organisms respectively. The index category of the second oblique detection frame is index 2, to indicate that its microscopic organism category is an unknown microscopic organism category. In this case, if the similarity between the second feature information of the second oblique detection frame and index 0 in the first oblique detection frame is higher than the similarity between the remaining index 1s, then it is determined that the microscopic organism category corresponding to the second oblique detection frame is the microscopic organism category corresponding to index 0, and the category index in the detection information of the second oblique detection frame can be modified to index 0.

[0161] In a specific implementation scenario, for the target oblique detection frame, the detection information of the first detection frame of the known microscopic organism category and the second detection frame of the unknown microscopic organism category in the target oblique detection frame can be first stored in a preset temporary database, and the corresponding detection information can be obtained from the temporary database to execute the above S601-S603. After the microscopic organism category corresponding to the second detection frame is determined, the category index of the microscopic organism category corresponding to the second oblique detection frame in the temporary database can be modified according to the index of the determined microscopic organism category.

[0162] It should be noted that in actual application scenarios, for the oblique detection frame of the target in one field of view, the implementation method provided by S601-S603 above can be used to determine the category of unknown microscopic organisms, and obtain the detection result in one field of view. For multiple fields of view, the detection result of at least one detected field of view can be combined, and the implementation method provided by S601-S603 above can be used to determine the category of unknown microscopic organisms in the oblique detection frame of the target in the current field of view, thereby realizing the detection of microscopic organisms in the current field of view and realizing the perception of the internal space of the sampled water body in multiple fields of view.

[0163] In the method provided in the present application, by combining the detection information of the first oblique detection frame in the target oblique detection frame where the category of the microscopic organisms is known, the category of the known microscopic organisms is determined to determine the specific category of the microscopic organisms corresponding to the second oblique detection frame where the category of the microscopic organisms is unknown, thereby avoiding manual secondary identification, reducing manual workload, improving the automation and intelligence of the equipment, and making the detection results more accurate.

[0164] The embodiment of the present application also provides a possible implementation example of acquiring microscopic biological images. Figure 7 A flow chart of another microscopic biological image processing method provided in an embodiment of the present application. The sampled water body shown above is any sampled water body among at least one sampled water body pre-loaded and placed on the microscope's loading platform, that is, for each sampled water body, multiple microscopic biological images need to be obtained to perform microscopic biological detection on each sampled water body respectively. Figure 7 As shown, the method of obtaining multiple microscopic biological images of the sampled water body described in the above embodiment includes:

[0165] S701, controlling the preset lens of the microscope to focus on the upper surface of the sampled water body.

[0166] In this embodiment, the top of the sampled water body may be a preset plane above the upper surface of the sampled water body. Taking the sampled water body placed in the flow channel in the sample holder as an example, the top of the sampled water body may be, for example, a preset plane above the lower surface of the cover glass of the flow channel where the sampled water body is located in the sample holder. For at least one sampled water body placed on the loading platform, the preset lens of the microscope needs to be controlled to focus on the top of each sampled water body.

[0167] Assuming that the microscope has one lens, then one lens is directly controlled to focus on the upper surface of the sampled water body; if the microscope has multiple lenses, for example, two lenses with different magnifications, then the multiple lenses can be controlled to focus on the upper surface of the sampled water body respectively.

[0168] S702: After focusing is completed, control the preset lens to scan the sampled water body to obtain multiple microscopic biological images of the sampled water body.

[0169] After the preset lens of the microscope has focused on the top of one of the at least one sampled water bodies, the preset lens is controlled to scan the sampled water body to obtain multiple microscopic biological images of the sampled water body. After the preset lens is used to scan a sampled water body, the preset lens is re-controlled to focus and scan another sampled water body on the carrier platform in turn and obtain multiple microscopic biological images of another sampled water body, until at least one sampled water body is scanned, thereby obtaining multiple microscopic biological images of multiple sampled water bodies. Among them, the specific implementation of focusing on the top of each sampled water body is specifically referred to the description in S701 above, and the specific implementation of scanning each sampled water body can be referred to the description in S702, which will not be repeated here.

[0170] If the microscope has one lens, then the lens is directly controlled to scan the sampled water body after focusing is completed; if the microscope has multiple lenses, then the multiple lenses can be controlled to scan the sampled water body, that is, the multiple microscopic biological images of each sampled water body are the microscopic biological images collected by multiple lenses scanning the sampled water body.

[0171] In the method provided in the embodiment of the present application, after controlling the preset lens of the microscope to focus on the top of any sampled water body on the loading platform, the preset lens is controlled to scan the sampled water body, thereby obtaining multiple microscopic biological images of the sampled water body. Therefore, at least one sampled water body on the loading platform is actually focused and scanned one by one, respectively, so that the lens focus is more accurate, thereby making the quality of the microscopic biological image obtained for each sampled water body better, and thus making the detection result of the microscopic organisms in the sampled water body more accurate.

[0172] As shown in any of the above embodiments, the multiple microscopic biological images for any sampled water body include: microscopic biological images of multiple fields of view, that is, microscopic biological images of the sampled water body under multiple fields of view. Different microscopic biological images under each field of view correspond to different vertical positions. Therefore, in this embodiment, a possible implementation example of obtaining microscopic biological images of multiple fields of view by scanning is also provided. Figure 8 A schematic diagram of a process for obtaining microscopic biological images provided in an embodiment of the present application. Figure 8 As shown, the preset lens is controlled to scan the sampled water body to obtain multiple microscopic biological images of the sampled water body, including:

[0173] S801. Determine a lens scanning mode according to the sizes of the multiple microscopic organisms to be detected.

[0174] In the embodiment of the present application, the size deviation between the multiple microscopic organisms to be detected is determined according to the size of the multiple microscopic organisms, and the scanning mode of the lens is determined according to the size deviation. If the size deviation of the multiple microscopic organisms to be detected meets the first size deviation condition, such as the size deviation is small, the lens scanning mode is determined to be the first scanning mode; if the size deviation of the multiple microscopic organisms to be detected meets the second size deviation condition, such as the size deviation is large, the second scanning mode is determined to be used.

[0175] Among them, the first scanning method can be, for example, a three-dimensional scanning method, that is, a method of using a lens to scan in three directions corresponding to preset three-dimensional coordinate axes. The preset three-dimensional coordinate axes can, for example, include: a vertical coordinate axis, namely the Z axis, and two mutually perpendicular horizontal coordinate axes, namely the X and Y axes.

[0176] The second scanning method may be, for example, a four-dimensional scanning method, that is, a method of using multiple lenses to scan in three directions corresponding to preset three-dimensional coordinate axes and in the direction of a preset lens rotation axis. The preset three-dimensional coordinate axes may include, for example: a vertical coordinate axis, namely the Z axis, two mutually perpendicular horizontal coordinate axes, namely the X and Y axes, and the lens rotation axis may be, for example, the R axis.

[0177] S802. Using a lens scanning method, control a preset lens to capture images of the sampled water body at a preset focus position on a preset vertical coordinate axis in a field of view, and perform image capture in a switched field of view until a preset stop condition is reached, thereby obtaining microscopic biological images of multiple fields of view.

[0178] After determining the specific lens scanning method, the preset lens on the microscope can be controlled to sequentially capture images for multiple fields of view in the sampled water body. The specific scanning method is: first capture images based on the preset focus position in one field of view, and after the field of view capture is completed, switch to the next field of view, and continue to capture images based on the preset focus position in the next field of view until the preset stop condition is reached, thereby obtaining microscopic biological images of multiple fields of view. Among them, the preset focus position is the position of the lens focal plane on the preset vertical coordinate axis after the preset lens has completed focusing on the sampled water body.

[0179] The horizontal area of ​​the sampled water body can be gridded according to a pre-set single grid size, and the selection and switching of the field of view can be determined in the multiple grids after division, so that each field of view contains at least one divided grid.

[0180] In the method provided in the embodiment of the present application, the lens scanning method is determined according to the sizes of multiple microscopic organisms, so that microscopic organisms of different sizes can be scanned in a targeted manner, thereby obtaining multiple microscopic organism images that are more consistent with the sizes of the microscopic organisms.

[0181] Based on the method of acquiring a microscopic biological image provided in the above-mentioned embodiment, an embodiment of the present application provides a possible implementation example of acquiring a microscopic biological image in a first scanning mode. Fig. 9 A flowchart of acquiring a microscopic biological image based on a first scanning method provided in an embodiment of the present application; Fig.10 A schematic diagram of a scanning path of a first scanning mode provided in an embodiment of the present application. Fig.10 The first scanning mode is further described by an example of Fig. 9 As shown, a lens scanning method is adopted to control a preset lens to acquire images of the sampled water body at a preset focus position on a preset vertical coordinate axis in a field of view, and to acquire images in the switched field of view until a preset stop condition is reached, thereby obtaining microscopic biological images of multiple fields of view, including:

[0182] S901: If the lens scanning mode is the first scanning mode, control the preset lens to collect images within a field of view, based on a preset direction, for a range between a preset focus position and a preset lowest position on a preset vertical coordinate axis.

[0183] In the embodiment of the present application, the preset direction may be a direction from top to bottom on a preset vertical coordinate axis, or may be a direction from bottom to top on a preset vertical coordinate axis. The preset lowest position may be the lowest position of the preset vertical coordinate axis, for example, a preset position below the upper surface of the glass slide of the flow channel where the sampled water body is located.

[0184] S902, controlling the preset lens to collect images of the range between the preset lowest position and the preset focus position in the field of view after switching based on the reverse direction of the preset direction until the preset stop condition is reached, thereby obtaining microscopic biological images of multiple fields of view.

[0185] If the preset lens completes image acquisition of the range between the preset focus position and the preset lowest position in a field of view, the microscope loading platform can be controlled to move horizontally to achieve the field of view switching of the preset lens. At this time, the field of view of the preset lens changes from one field of view to the center position of the field of view after switching. After the field of view of the preset lens is switched, the preset lens can be controlled to acquire images of the range between the preset lowest position movement and the preset focus position based on the reverse direction of the preset direction. If the preset direction is: from top to bottom, then the reverse direction of the preset direction is: from bottom to top; if the preset direction is: from bottom to top, then the reverse direction of the preset direction is: from top to bottom.

[0186] The preset stop condition may be, for example, a preset stop condition of the lens scanning, which may be a condition related to the number of fields of view or a condition related to the information within the field of view.

[0187] Reference Fig.10 In one example, if the lens scanning mode is the first scanning mode, that is, the three-dimensional scanning mode, the preset lens can be controlled to move from a preset focus position to a preset lowest position in a field of view along a direction from top to bottom, and image acquisition is performed during the movement, thereby realizing image acquisition in a field of view within the range between the preset focus position and the preset lowest position. After scanning a field of view, the field of view of the preset lens is switched. After the field of view of the preset lens is switched, the preset lens can be controlled to move from a preset lowest position to a preset focus position in a field of view after switching, and image acquisition is performed during the movement, thereby realizing image acquisition in the field of view after switching within the range between the preset focus position and the preset lowest position, until the preset stop condition is reached, the scanning ends, and microscopic biological images of multiple fields of view are obtained.

[0188] In the method provided by the present application, when the lens scanning mode is the first scanning mode, the preset lens can be controlled to acquire images of the range between the preset focus position and the preset lowest position on the preset vertical coordinate axis in a field of view based on a preset direction, and then the field of view is switched, and the preset lens can be controlled to acquire images of the range between the preset lowest position and the preset focus position based on the reverse direction of the preset direction in the field of view after switching, thereby obtaining microscopic biological images of multiple fields of view. Through this method, the preset lens does not perform redundant mechanical actions when scanning and acquiring images from a field of view to a field of view after switching, saving a lot of scanning time.

[0189] Based on the method of acquiring microscopic biological images provided in the above-mentioned embodiment, the embodiment of the present application also provides a possible implementation example of acquiring microscopic biological images under the second lens scanning mode. Fig.11 A flowchart of acquiring a microscopic biological image based on a second scanning method provided in an embodiment of the present application; Fig.12 A schematic diagram of a scanning path of a second scanning method provided in an embodiment of the present application. Fig.12 The first scanning mode is further described by an example. Fig.11 As shown, a lens scanning method is adopted to control a preset lens to acquire images of the sampled water body at a preset focus position on a preset vertical coordinate axis in a field of view, and to acquire images in the switched field of view until a preset stop condition is reached, thereby obtaining microscopic biological images of multiple fields of view, including:

[0190] S1101: If the lens scanning mode is the second scanning mode, control the first lens to collect images of a range between a first focus position and a first lowest position on a preset vertical coordinate axis within a field of view based on a preset direction.

[0191] In the embodiment of the present application, the preset direction may be a direction from top to bottom on the preset vertical coordinate axis, or may be a direction from bottom to top on the preset vertical coordinate axis. The first focus position is a focus position of the first lens on the preset vertical coordinate axis, and the first lowest position may be the lowest position corresponding to the first lens on the preset vertical coordinate axis.

[0192] S1102: Control the second lens to perform image sampling on a range between a second lowest position and a second focus position on a preset vertical coordinate axis in a field of view based on a direction opposite to the preset direction.

[0193] After the first lens completes scanning a field of view, the first lens can be switched to the second lens by controlling the rotating shaft motor of the microscope, and the second lens is used to collect images of a field of view. When the first lens is in the first focus position, after the lens is switched, the second lens is in the second focus position; when the first lens is in the first lowest position, after the lens is switched, the second lens is in the second lowest position. Among them, the second focus position is the focus position of the second lens on the preset vertical coordinate axis, and the second lowest position can be the lowest position corresponding to the second lens on the preset vertical coordinate axis.

[0194] Therefore, after the lens is switched, the second lens can be controlled to perform image sampling on the range between the second lowest position and the second focus position within a field of view.

[0195] S1103: Control the first lens to collect images of a range between a first focusing position and a first lowest position in a field of view after switching based on a preset direction.

[0196] If the first lens completes image acquisition of the range between the first focus position and the first lowest position in one field of view, and the second lens completes image acquisition of the range between the second focus position and the second lowest position in one field of view, the platform can be controlled to move horizontally to achieve field of view switching. In this case, the rotary shaft motor is controlled to switch the second lens to the first lens. At this time, the center position of the first lens changes from one field of view to the field of view after switching due to the movement of the platform. The image acquisition process of the first lens in the field of view after switching can be similar to the image acquisition process of the first lens in one field of view, and the details are shown in the relevant description of the above step S1101.

[0197] S1104, controlling the second lens to collect images of a range between the second lowest position and the second focus position in the field of view after switching based on the reverse direction of the preset direction until a preset stop condition is reached, thereby obtaining microscopic biological images of multiple fields of view.

[0198] When the first lens completes image acquisition of the range between the first focus position and the first lowest position in the switched field of view, the rotary shaft motor can be controlled to switch the first lens to the second lens, and the second lens can be controlled to acquire images of the range between the second lowest position and the second focus position in the switched field of view based on the reverse direction of the preset direction. The image acquisition process of the second lens in the switched field of view can be similar to the image acquisition process of the second lens in a field of view, and the details are described in the above step S1102.

[0199] Reference Fig.12 In one example, if the lens scanning mode is the second scanning mode, that is, the four-dimensional scanning mode, the first lens can be controlled to move from the first focus position to the first lowest position in a field of view along the direction from top to bottom, and image acquisition is performed during the movement, thereby realizing the first lens to acquire images of the range between the first focus position and the first lowest position in a field of view. After the first lens completes the image acquisition of the range between the first focus position and the first lowest position in a field of view, the first lens can be controlled to switch to the second lens, and the second lens can be controlled to acquire images of the range from the second lowest position to the second focus position in a field of view along the direction from bottom to top, thereby realizing the second lens to acquire images of the range between the second focus position and the second lowest position in a field of view.

[0200] After the second lens completes image acquisition in the range between the second focus position and the second lowest position in a field of view, the field of view is switched, and the second lens is controlled to switch to the first lens, at which time the first lens is in the first focus position, and the first lens is controlled to move from the first focus position to the first lowest position along the top to bottom direction in the field of view after switching, and image acquisition is performed during the movement, thereby realizing image acquisition of the first lens in the range between the first focus position and the first lowest position in the field of view after switching.

[0201] When the first lens moves to the first lowest position and the image acquisition of the first lens within the switched field of view is completed, the rotating shaft motor can be controlled to switch the first lens to the second lens. At this time, the second lens is in the second lowest position, and the second lens can be controlled to acquire images from the second lowest position to the second focusing position in the switched field of view from bottom to top, thereby realizing the image acquisition of the second lens within the switched field of view within the range between the second focusing position and the second lowest position until the preset stop condition is reached, and the scanning ends, and microscopic biological images of multiple fields of view are obtained.

[0202] The method provided by the present application adopts a second scanning mode, firstly controls the first lens to capture images of the range between the first focus position and the first lowest position on the preset vertical coordinate axis based on a preset direction within a field of view, then switches the first lens to the second lens, controls the second lens to capture images of the range between the second lowest position and the second focus position on the preset vertical coordinate axis based on the reverse direction of the preset direction within a field of view, and switches the field of view, and switches the second lens to the first lens, and then controls the first lens to capture images of the range between the first focus position and the first lowest position within the switched field of view based on the preset direction, and after switching the first lens to the second lens, controls the second lens to capture images of the range between the second lowest position and the second focus position within the switched field of view based on the reverse direction of the preset direction, and obtains microscopic biological images of multiple fields of view. The method of this embodiment can capture images of each field of view by using two lenses. Since different lenses are lenses with different magnifications, the details of multiple microscopic biological images within each field of view can be made more complete, and the scanning results can be made more accurate, so that the detection results of the microscopic biological images under each field of view can be effectively guaranteed.

[0203] The embodiments of the present application also provide a variety of methods for determining preset stop conditions, and provide examples to explain the end conditions of the lens scan.

[0204] In a first possible implementation, as shown above, performing image acquisition under the switched field of view until a preset stop condition is reached to obtain microscopic biological images of multiple fields of view may include:

[0205] The switched field of view is randomly determined from the horizontal area of ​​the sampled water body, and image acquisition is performed under the switched field of view until the number of scanned fields of view reaches the preset number of fields of view, thereby obtaining microscopic biological images of multiple fields of view.

[0206] In this implementation, the field of view scanning mode is a random field of view mode. In this mode, the switched field of view is a randomly selected field of view, and the number of fields of view is a preset fixed field of view number. For example, a preset random algorithm can be used to determine the center position information of the switched field of view from the horizontal area of ​​the sampled water body, and according to the randomly selected center position of the switched field of view, the loading platform is controlled to move forward and backward and / or left and right to achieve field of view switching. After the field of view is switched, the preset lens can be controlled to perform image acquisition under the switched field of view until the number of scanned fields of view reaches the preset number of fields of view, that is, the preset number of fixed fields of view selected, to obtain microscopic biological images of multiple fields of view.

[0207] In a second possible implementation, as shown above, performing image acquisition under the switched field of view until a preset stop condition is reached to obtain microscopic biological images of multiple fields of view may include:

[0208] A field of view adjacent to a field of view is determined from the horizontal area of ​​the sampled water body as the field of view after switching, and image acquisition is performed under the field of view after switching until the range of the scanned field of view covers the horizontal area, thereby obtaining microscopic biological images of multiple fields of view.

[0209] In this implementation, the field of view scanning mode is a full-film field of view mode. In this mode, the switched fields of view are fields of view selected in sequence, and the number of fields of view depends on the range of the horizontal area. For example, if the current field of view scan is completed, the carrier platform is controlled to move forward and backward and / or left and right to switch the field of view to the adjacent field of view, and the adjacent field of view is the field of view after switching. After the field of view is switched, the preset lens can be controlled to collect images under the switched field of view until the range of the scanned field of view covers the horizontal area, thereby obtaining microscopic biological images of multiple fields of view.

[0210] In a third possible implementation, as shown above, performing image acquisition under the switched field of view until a preset stop condition is reached to obtain microscopic biological images of multiple fields of view may include:

[0211] The switched field of view is determined from the horizontal area of ​​the randomly sampled water body, and image acquisition is performed under the switched field of view until the information obtained by detection based on the images collected in the scanned field of view meets the preset conditions, thereby obtaining microscopic biological images of multiple fields of view.

[0212] In this implementation, the field of view scanning mode is an intelligent field of view mode. Different from the above-mentioned random field of view mode, in this mode, although the switched field of view is also a randomly selected field of view, the number of fields of view is not a preset fixed number of fields of view, but depends on the information of the scanned field of view detection.

[0213] For example, after determining the field of view after switching from the horizontal area of ​​the randomly sampled water body, image acquisition is performed under the field of view after switching, and detection is performed based on the acquired image to obtain the detection information under the field of view after switching. In this case, the detection information under the field of view after switching can be stored in a pre-set array. Among them, the array is a predetermined fixed array length, such as 20, for storing: the field of view detection information of multiple fields of view arranged in sequence closest to the current field of view, such as the individual cell density of microscopic biological samples, for example, the field of view detection information of the current field of view, such as the individual cell density of 40, then the individual cell density stored in the predetermined array is (40, 39, 38, ..., 21) in sequence. The standard deviation of the array can be calculated and divided by the mean of the array. If the value is less than the preset threshold and the number of current fields of view reaches the preset stop condition, the scanning is stopped. The preset threshold can be set to 0.1.

[0214] This embodiment can provide a variety of field of view modes and respectively constrain the stop conditions during the lens scanning process, so that the lens scanning is more flexible and the lens scanning efficiency is improved.

[0215] The embodiment of the present application also provides a lens focusing method to focus a preset lens before the lens scans. Fig.13 The following is a flowchart of a lens focusing method provided in an embodiment of the present application. Fig.13 As shown, the preset lens of the microscope is controlled to focus on the upper surface of the sampled water body, including:

[0216] S1301, using multiple threads to simultaneously extract features from each image block in a microscope image collected for a sampled water body during a relative movement of a preset lens on a preset vertical coordinate axis, to obtain the number of feature points in each image block.

[0217] In the embodiment of the present application, the collected microscope image can be divided into multiple image blocks, and multiple threads are used to perform feature extraction on each image block based on a preset feature extraction method to calculate the number of feature points in each image block, which can be used to characterize the clarity of the microscope image. Among them, the feature extraction method can be, for example, a feature point detection and extraction (Oriented FAST and Rotated BRIEF, ORB) algorithm.

[0218] S1302. During the relative movement process, if the number of image blocks whose feature points reach a preset feature number threshold or their changing pattern reaches a preset condition, it is determined that the preset lens focusing is completed to indicate that the focal plane of the preset lens reaches the top of the sampled water body.

[0219] During the relative movement, the upward movement of the loading platform can be controlled to achieve the relative downward movement of the preset lens relative to the loading platform to the top of the sampled water body. At this time, during the relative movement, the number of feature points will increase sharply, and then decrease sharply. If the number of feature points of the detected image block reaches the preset feature number threshold, and the number of image blocks that reach the preset feature number threshold or their change pattern reaches the preset condition, it is determined that the preset lens focus is completed. Specifically, the number of feature points of the detected image block reaches the preset feature number threshold, where the preset feature number threshold can be set with two thresholds, including: a maximum threshold and a minimum threshold. For example, if the number of feature points detected from an image block exceeds the maximum threshold, it can be set to 300, and then the number of feature points detected is reduced to the minimum threshold, which proves that the number of feature points of the image block has reached the preset feature number threshold.

[0220] Among them, the number of image blocks whose number of feature points reaches the preset feature number threshold has met the preset conditions, which can be: the number of image blocks in the sampled water body has a preset ratio, for example, the number of feature points of more than half of the image blocks has reached the preset feature number threshold. At this time, it can be determined that the preset lens focus is completed, and at this time the focal plane of the preset lens reaches above the sampled water body.

[0221] The change pattern of the number of image blocks whose number of feature points reaches the preset feature number threshold has met the preset conditions, which may be: the number of image blocks in the sampled water body has a preset ratio, for example, greater than half of the number of image blocks, and the number of feature points first increases sharply and then decreases sharply. At this time, it can also be determined that the preset lens focus is completed, and at this time, the focal plane of the preset lens reaches above the sampled water body.

[0222] If there are multiple lenses, the multiple lenses can be focused separately and their focus positions can be recorded separately.

[0223] The method provided in the present application detects feature points of image blocks through a grid focusing method. When the number of image blocks whose feature points reach a preset feature number threshold reaches a preset condition, it is determined that the preset lens focus is completed. Through this method, the feature points will be more evenly distributed in each grid, and processing different image blocks of the same image through multiple threads will increase the speed of feature point detection.

[0224] The embodiment of the present application also provides a possible implementation example of a microscopic biological information statistical method. Fig.14 A schematic diagram of a microscopic biological information statistical method provided in an embodiment of the present application. Fig.14 As shown, according to the frame information of the target oblique detection frame and the corresponding microscopic organism category, the microscopic organism detection result of the sampled water body is determined, including:

[0225] S1401. Count the target microscopic organism information in each field of view according to the frame information of the target oblique detection frame in each field of view and the corresponding microscopic organism category.

[0226] Optionally, according to the frame information of the oblique target detection frame of each lens in each field of view and the corresponding microscopic organism category, the microscopic organism information in each field of view of each lens is counted.

[0227] Specifically, the microscopic biological information of each lens in each field of view is counted. For the first scanning mode, the preset lens is controlled to count the microscopic biological information in each field of view; for the second scanning mode, the two lenses are controlled to count the microscopic biological information in each field of view respectively, and the microscopic biological information under the two lenses is combined to obtain the total microscopic biological information in the field of view, and the microscopic biological information includes cell concentration, cell number, biomass and other microscopic biological information. Among them, by scanning each field of view with a lens, the number of cells in each field of view can be obtained, and the volume size of the current lens in each field of view is obtained according to the range size of each field of view and the scanning height, and then converted to obtain the number of cells per unit volume.

[0228] Optionally, obtaining target microscopic biological information in each field of view according to the microscopic biological information of multiple lenses in each field of view may include:

[0229] Taking the magnification of a preset reference lens among multiple lenses as a reference, unit conversion is performed on the microscopic biological information of other lenses in each field of view; and based on the microscopic biological information of the preset reference lens in each field of view and the microscopic biological information of other lenses in each field of view after unit conversion, the target microscopic biological information in each field of view is obtained.

[0230] If the multiple lenses are the first lens and the second lens, the number of cells and the cell concentration of the first lens and the second lens in each field of view are counted respectively. However, due to the different magnifications of the first lens and the second lens, the corresponding volumes in each field of view are also different. Therefore, the first lens or the second lens needs to be used as a preset reference lens. If the first lens is used as the preset reference lens, the magnification of the first lens is used as a reference, and the unit of the second lens is converted to obtain the number of cells per unit volume. Then, the number of cells per unit volume of the first lens and the second lens are added together to obtain the number of cells in each field of view.

[0231] S1402. Obtain the microbial detection results of the sampled water body according to the target microbial information under multiple fields of view.

[0232] When executing the above S1401 to obtain the target microscopic biological information in each field of view, the microscopic biological detection result of the sampled water body can be obtained based on the target microscopic biological information in multiple fields of view, that is, the overall microscopic biological detection result of the sampled water body.

[0233] In the method provided in the embodiment of the present application, by statistically analyzing the frame information of the target oblique detection frame of each lens in each field of view and the corresponding microscopic organism category, the target microscopic organism information in each field of view is obtained, thereby obtaining the microscopic organism detection result of the sampled water body. Since there will be microscopic organism information of multiple lenses with different magnifications in each field of view, it is necessary to use the magnification of the preset reference lens among the multiple lenses as a reference to perform unit conversion on the microscopic organism information of other lenses in each field of view, and then obtain the target microscopic organism information in each field of view based on the microscopic organism information of the preset reference lens in each field of view and the microscopic organism information of other lenses in each field of view after unit conversion, thereby obtaining the target microscopic organism information in multiple fields of view, so that the microscopic organism detection result of the sampled water body is more accurate.

[0234] The embodiment of the present application also provides a method of sampling a detection image of a water body by filling pixels in an area corresponding to an oblique detection frame in a preset microscopic biological base map. Fig.15 A schematic diagram of a process for obtaining a sampled water body detection image provided in an embodiment of the present application. Fig.15 As shown, the method also includes:

[0235] S1501, according to the detection confidence of the first oblique detection frame of the first microscopic organism image in each field of view and the pixel value corresponding to the first oblique detection frame in the first microscopic organism image, pixel filling is performed on the area corresponding to the first oblique detection frame in the preset microscopic organism base image.

[0236] In this embodiment, pixels are filled in the corresponding area of ​​the first oblique detection frame in the preset microscopic organism base map according to the detection confidence of the first oblique detection frame of the first microscopic organism image in each field of view and the corresponding pixel value, wherein the detection confidence of the first oblique detection frame includes the frame body confidence of the first oblique detection frame and the category confidence of the corresponding microscopic organism category; the preset microscopic organism base map can be the first image collected in each field of view, or the first image in which image information is detected in each field of view, and the corresponding area of ​​the first oblique detection frame can be the area framed by the frame body of the first oblique detection frame, or the area framed after the frame body of the first oblique detection frame is expanded.

[0237] S1502. If the detection confidence of the second oblique detection frame in the second microscopic organism image in each field of view that has the same position as the first oblique detection frame is greater than the detection confidence of the first oblique detection frame, then the pixel corresponding to the first oblique detection frame in the preset microscopic organism base image is re-filled according to the pixel value corresponding to the second oblique detection frame in the same position.

[0238] The second microscopic biological image and the first microscopic biological image are any two vertically different microscopic biological images among the multiple microscopic biological images in each field of view.

[0239] If the detection confidence of the second oblique detection frame in the second microscopic biological image, which is located at the same position as the first oblique detection frame, is less than or equal to the detection confidence of the first oblique detection frame, pixel filling is not performed on the area corresponding to the first oblique detection frame in the preset microscopic biological base image.

[0240] S1503. Based on the detection confidence of the second oblique detection frame in the second microscopic biological image that is different from the first oblique detection frame and the pixel value corresponding to the second oblique detection frame in the different position, pixel filling is performed on the corresponding area of ​​the oblique detection frame in the different position in the preset microscopic biological base map to obtain a detection image of the sampled water body.

[0241] S1504: Output and display the detection image of the sampled water body.

[0242] In the method provided in the embodiment of the present application, the area corresponding to the first oblique detection frame in the preset microscopic biological base map is pixel-filled by the detection confidence and the corresponding pixel value of the first oblique detection frame of the first microscopic biological image in each field of view. If the second oblique detection frame in the second microscopic biological image appears in each field of view and has the same position as the first oblique detection frame, and the detection confidence is greater than the detection confidence of the first oblique detection frame, then the pixel-filling of the corresponding area of ​​the first oblique detection frame in the preset microscopic biological base map is performed again according to the pixel value corresponding to the second oblique detection frame in the same position. If the second oblique detection frame in the second microscopic biological image is in a different position from the first oblique detection frame, then the pixel-filling of the corresponding area of ​​the oblique detection frame in a different position in the preset microscopic biological base map is performed according to the detection confidence and the corresponding pixel value of the second oblique detection frame to obtain a detection image of the sampled water body, and the detection image of the sampled water body is output and displayed in real time.

[0243] The embodiment of the present application also provides a flow chart of a complete microscopic biological image processing method. Fig.16 This is another schematic diagram of a microscopic biological image processing process provided by the present application embodiment. Fig.16 As shown, the method includes:

[0244] S1601. Add the sampled water into the flow channel in the sample holder.

[0245] Specifically, the sampled water can be added to the flow channel in the sample clamp manually or automatically through a pipette, and the sampled water can be shaken evenly before adding it to the sample clamp. At the same time, the sample clamp can be used only once to avoid residues inside the sample clamp that interfere with the microbial monitoring of the sampled water.

[0246] S1602, controlling the preset lens of the microscope to focus on the upper surface of the sampled water body.

[0247] The specific implementation method of this step can be found in the above Fig.13 The related description shown will not be repeated here.

[0248] S1603, controlling a preset lens to scan the sampled water body to obtain multiple microscopic biological images of the sampled water body.

[0249] The specific implementation method of this step can be found in the above Figure 8-Figure 12 The related description shown will not be repeated here.

[0250] S1604, performing image screening on microscopic biological images of multiple fields of view.

[0251] First, a plurality of microscope images captured by a microscope are obtained, where the plurality of microscope images are images acquired sequentially according to vertical positions, and microscope images having image detail information and whose vertical position intervals are greater than or equal to a preset vertical interval are selected from the plurality of microscope images as a plurality of microscopic biological images. The specific implementation method can be found in the above-mentioned step S201 and will not be elaborated here.

[0252] Then, bubble detection is performed on the multiple images to obtain bubble detection results of the multiple images. According to the bubble detection results of the multiple images, all images in the multiple images that are in the same field of view as the image with bubbles are discarded to obtain multiple microscopic biological images. The specific implementation method can be seen in the above steps S501-S503 and will not be repeated here.

[0253] S1605, deduplicate the oblique detection frames of multiple microscopic biological images.

[0254] The specific implementation method of this step can be found in the above Figure 3 and Figure 4 The related description shown will not be repeated here.

[0255] S1606. Determine the microscopic organism category corresponding to the second detection frame according to the first feature information of the first detection frame in the deduplicated oblique detection frame and the second feature information of the second detection frame.

[0256] The specific implementation method of this step can be found in the above Figure 6 The related description shown will not be repeated here.

[0257] S1607. Count the target microscopic biological information under multiple fields of view to obtain the microscopic biological detection results of the sampled water body.

[0258] The specific implementation method of this step can be found in the above Fig.14 The related description shown will not be repeated here.

[0259] S1608, pixel filling is performed on the area corresponding to the oblique detection frame in the preset microscopic biological base map to obtain a detection image of the sampled water body and output it for display.

[0260] The specific implementation method of this step can be found in the above Fig.15 The related description shown will not be repeated here.

[0261] The following is a corresponding explanation of the microscopic biological image processing device and computer equipment provided by any of the above embodiments of the present application. Its specific implementation process and the technical effects produced are the same as those of the corresponding method embodiments mentioned above. For the sake of brief description, the parts not mentioned in this embodiment can refer to the corresponding contents in the method embodiments.

[0262] Fig.17 This is a functional module diagram of a microscopic biological image processing device provided in an embodiment of the present application. Fig.17 As shown, the microscopic biological image processing device 200 includes:

[0263] The acquisition module 210 is used to acquire multiple microscopic biological images of the sampled water body, each microscopic biological image corresponds to a vertical position of the sampled water body on a preset vertical coordinate axis; the preset vertical coordinate axis is a coordinate axis perpendicular to the focal plane of the lens;

[0264] The detection module 220 is used to detect multiple microscopic organism images respectively using a pre-trained neural network to obtain detection results of multiple microscopic organism images, wherein the detection result of each microscopic organism image includes: information of oblique detection frames of multiple preset microscopic organisms, and the information of the oblique detection frames includes: frame information, frame angle, and corresponding microscopic organism category;

[0265] A first deduplication module 230 is used to deduplicate the oblique detection frame of each microscopic biological image according to the frame information and frame angle of the oblique detection frame of each microscopic biological image, so as to obtain a candidate oblique detection frame of each microscopic biological image;

[0266] A second deduplication module 240 is used to deduplicate the candidate oblique detection frames of different microscopic biological images according to the frame information of the candidate oblique detection frames of different microscopic biological images and the vertical positions corresponding to the plurality of microscopic biological images, so as to obtain a target oblique detection frame;

[0267] The determination module 250 is used to determine the microscopic organism detection result of the sampled water body according to the frame information of the target oblique detection frame and the corresponding microscopic organism category.

[0268] In an optional embodiment, the first deduplication module 230 is further used to calculate the overlap rate of each two oblique detection frames according to the frame information of each two oblique detection frames in each microscopic biological image, calculate the angle deviation of each two oblique detection frames according to the frame angles of each two oblique detection frames, and deduplicate the oblique detection frames of each microscopic biological image according to the overlap rate of each two oblique detection frames and the angle deviation of each two oblique detection frames to obtain candidate oblique detection frames for each microscopic biological image.

[0269] In an optional embodiment, the second deduplication module 240 is also used to determine the longest side size of each two candidate slant detection frames based on the long side size in the frame information of each two candidate slant detection frames in different microscopic biological images, calculate the vertical position deviation of different microscopic biological images based on the corresponding vertical positions of different microscopic biological images, and deduplicate the candidate slant detection frames of different microscopic biological images based on the longest side size and the vertical position deviation to obtain the target slant detection frame.

[0270] In an optional embodiment, the acquisition module 210 is also used to acquire multiple images of the sampled water body with a microscope, perform bubble detection on the multiple images, and obtain multiple bubble detection results. Based on the bubble detection results of the multiple images, all images in the multiple images that are in the same field of view as the image with bubbles are discarded to obtain multiple microscopic biological images.

[0271] In an optional embodiment, the microscopic biological image processing device 200 further includes:

[0272] A determination module is used to calculate first feature information of individual microscopic organisms corresponding to the first detection frame based on detection information of the first detection frame; the detection information of the first detection frame includes: category index, color information, texture information and at least one item of size information of the known microscopic organisms; calculate second feature information of the individual microscopic organisms corresponding to the second detection frame based on detection information of the second detection frame; the detection information of the second detection frame includes: category index, color information, texture information and at least one item of size information of the unknown microscopic organisms; determine the category of the microscopic organisms corresponding to the second detection frame based on the first feature information and the second feature information.

[0273] In an optional embodiment, the microscopic biological image processing device 200 further includes:

[0274] The scanning module is used to control the preset lens of the microscope to focus on the top of the sampled water body. After the focusing is completed, the preset lens is controlled to scan the sampled water body to obtain multiple microscopic biological images of the sampled water body.

[0275] In an optional embodiment, the scanning module is also used to determine the lens scanning mode according to the sizes of multiple microscopic organisms to be detected, and adopt the lens scanning mode to control the preset lens to capture images of the sampled water body in a preset focus position based on a preset vertical coordinate axis in a field of view, and perform image capture in the switched field of view until a preset stop condition is reached, thereby obtaining images of microscopic organisms in multiple fields of view.

[0276] In an optional embodiment, the scanning module is also used to control the preset lens to capture images of the range between a preset focus position and a preset minimum position on a preset vertical coordinate axis within a field of view based on a preset direction if the lens scanning mode is the first scanning mode; and to control the preset lens to capture images of the range between a preset minimum position and a preset focus position within the field of view after switching based on a direction opposite to the preset direction, until a preset stop condition is reached, thereby obtaining microscopic biological images of multiple fields of view.

[0277] In an optional embodiment, the scanning module is also used to control the first lens to capture images of the range between the first focus position and the first lowest position on the preset vertical coordinate axis within a field of view based on a preset direction if the lens scanning mode is the second scanning mode; control the second lens to capture images of the range between the second lowest position and the second focus position on the preset vertical coordinate axis within a field of view based on the opposite direction of the preset direction; control the first lens to capture images of the range between the first focus position and the first lowest position within the field of view after switching based on the preset direction; control the second lens to capture images of the range between the second lowest position and the second focus position within the field of view after switching based on the opposite direction of the preset direction, until the preset stop condition is reached, thereby obtaining microscopic biological images of multiple fields of view.

[0278] In an optional embodiment, the scanning module is also used to randomly determine the switched field of view from the horizontal area of ​​the sampled water body, and perform image acquisition under the switched field of view until the number of scanned fields of view reaches a preset number of fields of view, thereby obtaining microscopic biological images of multiple fields of view.

[0279] In an optional embodiment, the scanning module is also used to determine a field of view adjacent to a field of view in the horizontal area of ​​the sampled water body as a switched field of view, and to perform image acquisition under the switched field of view until the range of the scanned field of view covers the horizontal area, thereby obtaining microscopic biological images of multiple fields of view.

[0280] In an optional embodiment, the scanning module is also used to determine the switched field of view from the horizontal area of ​​the randomly sampled water body, and to perform image acquisition under the switched field of view until the information obtained by detection based on the images acquired within the scanned field of view meets preset conditions, thereby obtaining microscopic biological images of multiple fields of view.

[0281] In an optional embodiment, a focusing module is used to use multiple threads to simultaneously perform feature extraction on each image block in the microscope image collected for the sampled water body during the relative movement of the preset lens on a preset vertical coordinate axis to obtain the number of feature points in each image block. During the relative movement process, if it is detected that the number of image blocks whose number of feature points reaches a preset feature number threshold or its change pattern reaches a preset condition, it is determined that the focusing of the preset lens is completed to indicate that the focal plane of the preset lens has reached the top of the sampled water body.

[0282] In an optional embodiment, the acquisition module 210 is also used to acquire multiple microscope images collected by the microscope, and the multiple microscope images are: images acquired in sequence according to the vertical position, and microscope images with image detail information are selected from the multiple microscope images, and the interval between the vertical positions of two adjacent microscope images is greater than or equal to the preset vertical interval as multiple microscopic biological images.

[0283] In an optional embodiment, the determination module 250 is also used to count the target microscopic organism information under each field of view based on the frame information of the target oblique detection frame under each field of view and the corresponding microscopic organism category, and obtain the microscopic organism detection result of the sampled water body based on the target microscopic organism information under multiple fields of view.

[0284] In an optional embodiment, the determination module 250 is also used to count the microscopic organism information in each field of view of each lens based on the frame information of the target oblique detection frame of each lens in each field of view and the corresponding microscopic organism category, and obtain the target microscopic organism information in each field of view based on the microscopic organism information in each field of view of multiple lenses.

[0285] In an optional embodiment, the determination module 250 is also used to use the magnification of a preset reference lens among multiple lenses as a reference to perform unit conversion on the microscopic biological information of other lenses in each field of view, and obtain the target microscopic biological information in each field of view based on the microscopic biological information of the preset reference lens in each field of view and the microscopic biological information of other lenses in each field of view after unit conversion.

[0286] In an optional embodiment, the microscopic biological image processing device 200 further includes:

[0287] The display module is used to fill pixels in the area corresponding to the first oblique detection frame in the preset microbial base map according to the detection confidence of the first oblique detection frame of the first microbial image in each field of view and the pixel value corresponding to the first oblique detection frame in the first microbial image; if the detection confidence of the second oblique detection frame in the second microbial image in each field of view, which is at the same position as the first oblique detection frame, is greater than the detection confidence of the first oblique detection frame, then the pixel corresponding to the area of ​​the first oblique detection frame in the preset microbial base map is re-filled according to the pixel value corresponding to the second oblique detection frame at the same position; wherein the second microbial image and the first microbial image are any two vertically different microbial images in the multiple microbial images of each field of view; according to the detection confidence of the second oblique detection frame in the second microbial image, which is at a different position from the first oblique detection frame, and the pixel value corresponding to the second oblique detection frame at a different position, the pixel corresponding area of ​​the oblique detection frame at a different position in the preset microbial base map is filled with pixels to obtain a detection image of the sampled water body; and the detection image of the sampled water body is output and displayed.

[0288] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0289] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0290] Fig.18 This is a schematic diagram of a computer device provided in an embodiment of the present application, which can be used for microscopic biological image processing. Fig.18 As shown, the computer device 300 includes: a processor 310 , a storage medium 320 , and a bus 330 .

[0291] The storage medium 320 stores machine-readable instructions executable by the processor 310. When the computer device is running, the processor 310 communicates with the storage medium 320 via the bus 330, and the processor 310 executes the machine-readable instructions to perform the steps of the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0292] Optionally, the present application further provides a storage medium 320, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method embodiment are executed. The specific implementation method and technical effect are similar and will not be repeated here.

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

[0294] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0295] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0296] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

[0297] The above is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of rights of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and changes can be made without departing from the principle of the present invention, and these improvements and changes are also regarded as the protection scope of the present invention.

Claims

1. A method for processing microscopic biological images, It is characterized in that include: Acquire multiple microscopic biological images of the sampled water body, each microscopic biological image corresponding to a vertical position of the sampled water body on a preset vertical coordinate axis; The preset vertical coordinate axis is a coordinate axis perpendicular to the focal plane of the lens; Using a pre-trained neural network, the plurality of microscopic organism images are respectively detected to obtain detection results of the plurality of microscopic organism images, wherein the detection result of each microscopic organism image includes: information of oblique detection frames of a plurality of preset microscopic organisms, wherein the information of the oblique detection frames includes: frame information, frame angle, and corresponding microscopic organism category; Deduplication of the oblique detection frame of each microscopic biological image is performed according to the frame information and the frame angle of the oblique detection frame of each microscopic biological image to obtain a candidate oblique detection frame of each microscopic biological image; Deduplication of the candidate oblique detection frames of the different microscopic biological images is performed according to the frame information of the candidate oblique detection frames of the different microscopic biological images and the vertical positions corresponding to the multiple microscopic biological images to obtain a target oblique detection frame; Determining the microscopic organism detection result of the sampled water body according to the frame information of the target oblique detection frame and the corresponding microscopic organism category; The step of removing duplicates from the oblique detection frame of each microscopic biological image according to the frame information and frame angle of the oblique detection frame of each microscopic biological image to obtain a candidate oblique detection frame of each microscopic biological image includes: Calculating the overlap rate of each two oblique detection frames according to the frame information of each two oblique detection frames in each microscopic biological image; Calculating an angle deviation between the two oblique detection frames according to the frame angles of the two oblique detection frames; Deduplication of the oblique detection frames of each microscopic biological image is performed according to the overlap rate of each two oblique detection frames and the angle deviation of each two oblique detection frames to obtain a candidate oblique detection frame of each microscopic biological image; The step of removing duplicates from the candidate oblique detection frames of different microscopic biological images according to the frame information of the candidate oblique detection frames of different microscopic biological images and the vertical positions corresponding to the multiple microscopic biological images to obtain the target oblique detection frame includes: Determining the longest side size of each of the two candidate oblique detection frames in the different microscopic biological images according to the long side size in the frame information of each of the two candidate oblique detection frames; Calculating vertical position deviations of the different microscopic biological images according to the vertical positions corresponding to the different microscopic biological images; According to the longest side size and the vertical position deviation, the candidate oblique detection frames of the different microscopic biological images are deduplicated to obtain the target oblique detection frame.

2. The method according to claim 1, It is characterized in that The method of obtaining multiple microscopic biological images of the sampled water body comprises: Acquire a plurality of images of the sampled water body by a microscope; Performing bubble detection on the multiple images to obtain the multiple bubble detection results; According to the bubble detection results of the multiple images, all images in the multiple images that are in the same field of view as the image with bubbles are discarded to obtain the multiple microscopic biological images.

3. The method according to claim 1, It is characterized in that The target oblique detection frame includes: a first detection frame of a known microscopic organism category, and a second detection frame of an unknown microscopic organism category; The method further comprises: Calculate first feature information of the individual microscopic organism corresponding to the first detection frame according to the detection information of the first detection frame; the detection information of the first detection frame includes: at least one of the category index, color information, texture information and size information of the individual microscopic organism of the known microscopic organism; Calculate the second feature information of the microscopic organism individual corresponding to the second detection frame according to the detection information of the second detection frame; the detection information of the second detection frame includes: at least one of the category index, color information, texture information and size information of the unknown microscopic organism individual; The microscopic organism category corresponding to the second detection frame is determined according to the first feature information and the second feature information.

4. The method according to claim 1, It is characterized in that The sampled water body is any sampled water body among at least one sampled water body pre-loaded and placed on the loading platform of the microscope; the step of obtaining multiple microscopic biological images of the sampled water body comprises: Controlling a preset lens of the microscope to focus on the upper surface of the sampled water body; After focusing is completed, the preset lens is controlled to scan the sampled water body to obtain the multiple microscopic biological images of the sampled water body.

5. The method according to claim 4, It is characterized in that The multiple microscopic biological images include: microscopic biological images of multiple fields of view, and different microscopic biological images in each field of view correspond to different vertical positions; The controlling the preset lens to scan the sampled water body to obtain a plurality of microscopic biological images of the sampled water body includes: Determining a lens scanning mode according to the sizes of the plurality of microscopic organisms to be detected; By adopting the lens scanning method, the preset lens is controlled to capture images of the sampled water body in a field of view based on a preset focus position on the preset vertical coordinate axis, and image capture is performed in the switched field of view until a preset stop condition is reached, thereby obtaining microscopic biological images of the multiple fields of view.

6. The method according to claim 5, It is characterized in that The lens scanning method is adopted to control the preset lens to capture images of the sampled water body based on the preset focus position on the preset vertical coordinate axis in one field of view, and to capture images in the switched field of view until a preset stop condition is reached, to obtain microscopic biological images of the multiple fields of view, including: If the lens scanning mode is the first scanning mode, the preset lens is controlled to collect images within a field of view, based on a preset direction, for a range between a preset focus position and a preset lowest position on the preset vertical coordinate axis; The preset lens is controlled to capture images of the range between the preset lowest position and the preset focus position within the switched field of view based on the reverse direction of the preset direction until the preset stop condition is reached, thereby obtaining microscopic biological images of the multiple fields of view.

7. The method according to claim 5, It is characterized in that The lens scanning method is adopted to control the preset lens to capture images of the sampled water body based on the preset focus position on the preset vertical coordinate axis in one field of view, and to capture images in the switched field of view until a preset stop condition is reached, to obtain microscopic biological images of the multiple fields of view, including: If the lens scanning mode is the second scanning mode, the first lens is controlled to collect images of a range between a first focus position and a first lowest position on the preset vertical coordinate axis within a field of view based on a preset direction; Controlling the second lens to perform image sampling on a range between a second lowest position and a second focus position on the preset vertical coordinate axis within the one field of view based on the reverse direction of the preset direction; Controlling the first lens to collect images of a range between the first focus position and the first lowest position within the switched field of view based on the preset direction; The second lens is controlled to acquire images of the range between the second lowest position and the second focusing position within the switched field of view based on the reverse direction of the preset direction until the preset stop condition is reached, thereby obtaining microscopic biological images of the multiple fields of view.

8. The method according to claim 5, It is characterized in that The image acquisition is performed under the switched field of view until a preset stop condition is reached to obtain microscopic biological images of the multiple fields of view, including: The switched field of view is randomly determined from the horizontal area of ​​the sampled water body, and image acquisition is performed under the switched field of view until the number of scanned fields of view reaches a preset number of fields of view, thereby obtaining microscopic biological images of the multiple fields of view.

9. The method according to claim 5, It is characterized in that The image acquisition is performed under the switched field of view until a preset stop condition is reached to obtain microscopic biological images of the multiple fields of view, including: The field of view adjacent to the one field of view is determined as the switched field of view from the horizontal area of ​​the sampled water body, and image acquisition is performed under the switched field of view until the range of the scanned field of view covers the horizontal area, thereby obtaining microscopic biological images of the multiple fields of view.

10. The method according to claim 5, It is characterized in that The image acquisition is performed under the switched field of view until a preset stop condition is reached to obtain microscopic biological images of the multiple fields of view, including: The switched field of view is determined from the horizontal area of ​​the randomly sampled water body, and image acquisition is performed under the switched field of view until the information obtained by detection based on the images collected within the scanned field of view meets preset conditions, thereby obtaining the microscopic biological images of the multiple fields of view.

11. The method according to claim 4, It is characterized in that The preset lens of the control microscope is focused on the upper surface of the sampled water body, comprising: Using multiple threads to simultaneously extract features from each image block in the microscope image collected from the sampled water body during the relative movement of the preset lens on the preset vertical coordinate axis, to obtain the number of feature points in each image block; During the relative movement process, if the number of image blocks whose feature points reach a preset feature number threshold or their change pattern reaches a preset condition, it is determined that the preset lens focusing is completed to indicate that the focal plane of the preset lens reaches above the sampled water body.

12. The method according to claim 1, It is characterized in that The method of obtaining multiple microscopic biological images of the sampled water body comprises: Acquire a plurality of microscope images collected by a microscope, wherein the plurality of microscope images are: images acquired sequentially according to vertical positions; Microscope images having image detail information and having a vertical interval between two adjacent microscope images greater than or equal to a preset vertical interval are selected from the multiple microscope images as the multiple microscopic biological images.

13. The method according to claim 1, It is characterized in that The step of determining the microscopic organism detection result of the sampled water body according to the frame information of the target oblique detection frame and the corresponding microscopic organism category includes: According to the frame information of the target oblique detection frame in each field of view and the corresponding microscopic organism category, the target microscopic organism information in each field of view is counted; The microscopic organism detection result of the sampled water body is obtained according to the target microscopic organism information under multiple fields of view.

14. The method according to claim 13, It is characterized in that The method of counting the target microscopic organism information in each field of view according to the frame information of the target oblique detection frame in each field of view and the corresponding microscopic organism category includes: According to the frame information of the target oblique detection frame of each lens in each field of view and the corresponding microscopic organism category, the microscopic organism information in each field of view of each lens is counted; According to the microscopic biological information of multiple lenses in each field of view, the target microscopic biological information in each field of view is obtained.

15. The method according to claim 14, It is characterized in that The step of obtaining target microscopic biological information in each field of view according to the microscopic biological information in each field of view of the multiple lenses includes: Taking the magnification of a preset reference lens among the multiple lenses as a reference, performing unit conversion on the microscopic biological information of other lenses in each field of view; According to the microscopic biological information of the preset reference lens in each field of view and the microscopic biological information of the other lenses in each field of view after unit conversion, the target microscopic biological information in each field of view is obtained.

16. The method according to claim 1, It is characterized in that The method further comprises: Filling pixels in an area corresponding to the first oblique detection frame in a preset microscopic organism base image according to the detection confidence of the first oblique detection frame of the first microscopic organism image in each field of view and the pixel value corresponding to the first oblique detection frame in the first microscopic organism image; If the detection confidence of the second oblique detection frame in the second microscopic biological image in each field of view that is at the same position as the first oblique detection frame is greater than the detection confidence of the first oblique detection frame, then the pixel value corresponding to the second oblique detection frame in the preset microscopic biological base map is re-filled with pixels; wherein the second microscopic biological image and the first microscopic biological image are any two vertically different microscopic biological images among the multiple microscopic biological images in each field of view; According to the detection confidence of the second oblique detection frame in the second microscopic organism image that is different from the first oblique detection frame in position and the pixel value corresponding to the second oblique detection frame in position, pixel filling is performed on the area corresponding to the oblique detection frame in position different in the preset microscopic organism base map to obtain the detection image of the sampled water body; The detected image of the sampled water body is output and displayed.

17. A computer device, It is characterized in that include: A processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the computer device is running, the processor and the storage medium communicate through the bus, and the processor executes the program instructions to perform the steps of the microscopic biological image processing method as described in any one of claims 1 to 16.

18. A microscopic biological monitoring system, It is characterized in that include: A microscope and a computer device, wherein the microscope and the computer device are communicatively connected, the microscope is used to collect multiple microscopic biological images of sampled water bodies, and the computer device is used to execute the steps of the microscopic biological image processing method described in any one of claims 1 to 16 above.