Laser deinsectization method

By combining infrared image and visible light image recognition technology with target detection models, accurate identification and killing of insects and eggs is achieved, which solves the problems of low efficiency and complex equipment of existing laser pest removal methods, improves pest killing efficiency and reduces reduces the difficulty of operation and maintenance.

CN118840591APending Publication Date: 2024-10-25INST OF LASER MFG HENAN ACAD OF SCI
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410865126.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

Existing laser insect removal methods only rely on insect phototaxis, have low insect removal efficiency, cannot identify and kill insect eggs, and different insects have poor sensitivity to lasers. The equipment costs are high and operation and maintenance are complex.

Method used

Use infrared image and/or visible light image recognition technology, combined with target detection models (such as the YoloV5 model), to collect field insect and egg images in real time, perform preprocessing and annotation, build the optimal weight model, optimize image recognition and positioning, and formulate pest control formulas. Strategy, control the laser device for precise killing.

Benefits of technology

It expands the types of pest killing, improves the efficiency of pest killing, and reduces the difficulty of operating and maintaining laser equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840591A_ABST
    Figure CN118840591A_ABST
Patent Text Reader

Abstract

The invention discloses a laser deinsectization method, relates to the technical field of agricultural biological control and laser, and aims to solve the problems of fewer types of killed pests in farmland, lower pest killing efficiency and higher operation and maintenance difficulty of laser equipment. The laser deinsectization method comprises the following steps: initializing working parameters of the laser deinsectization device, the lighting equipment and the shooting equipment; acquiring images of eggs and insects in the field in real time by using shooting equipment; the image is preprocessed, and data set division is carried out; carrying out a plurality of times of iterative training by utilizing the target detection model; acquiring the center coordinate and the width and height of the minimum detection frame; real-time field map information is constructed, and a deinsectization strategy is formulated; controlling the laser deinsectization device to kill eggs and insects; through the technical scheme of infrared image and / or visible light image recognition, recognition of insects and / or eggs is achieved, laser is used for killing, the pest killing variety is expanded, the pest killing efficiency is improved, and the operation and maintenance difficulty of laser equipment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the fields of agricultural biological control and laser technology, and in particular to a laser pest control method. Background Art

[0002] At present, the traditional method of dealing with insect pests in agriculture is mainly to use various pesticides. The biggest disadvantage of using pesticides is that pesticide residues will be produced on the leaves or stems of crops and in the soil, which will cause health and environmental damage. As time goes by, the residues will gradually accumulate, and various crops and poultry and livestock will further produce bioaccumulation, which will cause serious harm to people's health. Therefore, in order to address the defects of the existing technology, it is urgent to provide an efficient, non-toxic and environmentally friendly pest control method.

[0003] Patent No. CN2022106715905 discloses a laser fiber weeding and pest control system, which includes a ground mobile device, an optical fiber and a flying device. The ground mobile device includes a ground mobile body and a laser arranged inside the ground mobile body. The flying device includes a drone body and a laser emission lens module arranged on the drone body. One end of the optical fiber is connected to the laser, and the other end is connected to the laser emission lens module, so that the laser energy emitted by the laser can be transmitted to the laser emission lens module mounted on the drone body through the optical fiber, so that the laser emission lens module can emit laser to the target object, and perform unmanned and automated weeding and pest control operations. The above invention helps to reduce the adverse effects of the use of chemical agents on the environment and climate.

[0004] Patent No. CN2023111941597 discloses a method and device for pest control by burning based on ultrasound and line laser. The pest control method includes the following steps: S1: Detect the land conditions and obtain the first information of the land; S2: Burn the land, and adjust the burning operation in real time according to the first information in S1; S3: Detect the land conditions, classify the land conditions, and obtain the second information of the land that is different from the first information; S4: Turn the soil of the burned land, and adjust the turning operation in real time according to the second information; S5: Adjust the burning operation according to the second information. The above application detects the conditions of the land before burning and turning the soil, and adjusts the burning and turning operations according to the conditions of the land to better remove pests from the land, and avoids the use of pesticide treatment in the prior art, reducing the harm caused by pesticide spraying to the human body and the environment, which can effectively reduce manpower and material costs and improve pest control efficiency.

[0005] Although the above patents all use laser systems to remove pests on the leaves or stems of crops in farmland, the existing laser pest control only uses the phototaxis of insects to achieve pest control, and has the following defects: on the one hand, it is only effective against phototactic adult insects, but the pest control efficiency is low and it is impossible to achieve insect identification and insect egg killing; on the other hand, different types of insects have different sensitivities to lasers, and it is necessary to select appropriate laser parameters and scanning methods for different pests; at the same time, the cost of laser equipment is high, and the operation and maintenance are relatively complicated. Summary of the invention

[0006] The purpose of the present invention is to provide a laser pest control method, which can identify insects and / or insect eggs through the technical solution of infrared image and / or visible light image recognition, and use laser to kill them, so as to expand the types of pests to be killed, improve the efficiency of pest killing, and reduce the difficulty of operation and maintenance of laser equipment.

[0007] The present invention utilizes the following technical solutions:

[0008] A laser pest control method comprises the following steps:

[0009] S1: Initialize the working parameters of the laser insect removal device, lighting equipment and shooting equipment;

[0010] The working parameters of the laser pest control device include but are not limited to the power of each laser, the scanning width of each laser head, the scanning speed of each laser head, the scanning distance of each laser head and the moving speed of each laser head; the working parameters of the lighting equipment include but are not limited to the height, brightness and irradiation range of the visible light source and / or infrared light source; the working parameters of the shooting equipment include but are not limited to the height and focal length parameters of the camera;

[0011] S2: using a camera to collect images of insect eggs and insects in the field in real time; the images include visible light images and / or infrared images;

[0012] S3: Preprocess the image and complete the image annotation, and then divide the processed image into a training data set and a verification data set;

[0013] S4: Input the training data set into the target detection model for several iterations of training to obtain an unverified weight matrix;

[0014] S5: Use the dynamic correction function combined with the verification data set to verify and update the unverified weight matrix to build the optimal weight model;

[0015] S6: using the constructed optimal weight model to identify and locate the eggs and insects in the real-time collected images, obtain the initial center coordinates of the minimum detection frame of the eggs and insects, and optimize the final center coordinates and four corner coordinates of the minimum detection frame;

[0016] S7: constructing real-time field map information according to the obtained four-corner coordinates and center coordinates of the minimum detection frame;

[0017] S8: Formulate pest control strategies based on real-time field map information;

[0018] S9: Control the laser insect removal device to kill insect eggs and insects according to the insect removal strategy and the center coordinates.

[0019] Preferably, in step S1, the lighting device includes a visible light source and / or an infrared light source; the light source structure of the lighting device includes any one of a point light source, a parallel light source and a ring light source; the shooting device includes several cameras, and the functions of the cameras include visible light, infrared band and / or thermal imaging detection.

[0020] Preferably, in step S2 and step S3, the process of preprocessing the image is:

[0021] A: De-noise the visible light image and / or infrared image using an image denoising algorithm;

[0022] B: For the visible light image that has been denoised, the image correction algorithm is used to perform geometric correction and radiation correction, and for the infrared image, the Fourier transform algorithm is used to perform image transformation to distinguish the significant part from the non-significant part of the infrared image;

[0023] C: Extract the structure tensor of the infrared image that has completed the transformation, and measure the local gradient similarity to obtain the local gradient value of the infrared image; for the visible light image, reconstruct the spatial sub-image of the visible light image, and calculate the global weight value of the visible light image;

[0024] D: For infrared images, the horizontal gradient map and vertical gradient map of the infrared image are extracted according to the local gradient value; for visible light images, the visible light image is divided into a salient map, a weighted map, and a non-salient map according to the global weight value;

[0025] E: For infrared images, the horizontal gradient map and vertical gradient map of the infrared image are registered using the image registration algorithm; for visible light images, the saliency map, weight map and non-saliency map of the visible light image are registered using the image registration algorithm; finally, the corresponding initial fusion image is generated;

[0026] F: extracting target areas of the initial fused image and the corresponding unprocessed visible light image and / or infrared image respectively, and simultaneously performing fusion verification on the target areas of the above images to generate a fusion verification value;

[0027] G: judge the fusion verification value and the conditional threshold; if the fusion verification value is greater than or equal to the conditional threshold, deconstruct the initial fusion image into the final fusion image using the variational method, and then enter step H; if the fusion verification value is less than the conditional threshold, after repeating steps B to E, judge using step G;

[0028] H: Use image smoothing algorithm and image enhancement algorithm to perform edge smoothing and contrast enhancement on the final fused image in sequence;

[0029] I: Using the watershed algorithm to mark the target objects in the final fused image after contrast enhancement to complete image annotation; the target objects include but are not limited to insects, insect eggs, weeds and crops.

[0030] Preferably, in step S4 and step S5, the target detection model is a YoloV5 model; the dynamic correction function adjusts the original training data set and the verification data set division ratio and the original training learning rate in turn according to the verification update result, and uses them as the data set division ratio and training learning rate for the next iterative training: the verification update result includes but is not limited to precision, recall, hit rate, accuracy and average precision mean;

[0031]

[0032] Among them, k ′ represents the updated ratio of the training data set to the validation data set, k represents the original ratio of the training data set to the validation data set, Pre represents the precision, Re represents the recall, HR represents the hit rate, and Auc represents the accuracy;

[0033]

[0034] Among them, η ′ represents the updated training learning rate, η represents the original training learning rate, and MAP represents the average precision mean.

[0035] Preferably, in step S6, the minimum detection frame uses the aggregation and / or individual position of insects and / or eggs as the initial center coordinates, and determines the four-corner rectangular frame according to the horizontal and vertical directions of the instrument, and determines the minimum detection frame with the most protruding points of the four corners, and then obtains the four-corner coordinates, which are the coordinates of the most protruding points of the four corners, and then calculates the center coordinates of the minimum detection frame again to obtain the final center coordinates; the most protruding points of the four corners are the vertices of each corner that do not intersect with the aggregation and / or individual positions of other insects and / or eggs without exceeding the leaf surface of the crop.

[0036] Preferably, in step S9, the laser pest control device includes a laser assembly and several lasers; the laser assembly includes a laser field mirror, an adjustable beam expander and a galvanometer; the laser field mirror and the adjustable beam expander are used to focus and collimate the laser; the galvanometer is used to control the laser path for pest control; the laser is provided with several laser heads; the relationship between the distance a1 between two adjacent laser heads and the distance a2 between the galvanometer amplitudes of the laser heads is:

[0037] a1=a2-x (3)

[0038] Here, x represents the distance difference.

[0039] Preferably, in step S9, the laser assembly adjusts the light emission duty cycle of the laser so that the laser energy generated by the laser is concentrated in the central coordinate area of ​​the insect and egg mapping in the final fused image.

[0040] The present invention realizes the identification of insects and / or insect eggs through the technical solution of infrared image and / or visible light image recognition, and uses laser to kill them, thereby expanding the types of pests to be killed, improving the efficiency of pest killing, and reducing the difficulty of operation and maintenance of laser equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0042] Figure 1 This is a principle block diagram of the laser pest control method;

[0043] Figure 2 Flow chart of laser pest control method. DETAILED DESCRIPTION

[0044] The present invention is described in detail below with reference to the accompanying drawings and embodiments:

[0045] like Figure 1-Figure 2 As shown, a laser pest control method according to the present invention comprises the following steps:

[0046] S1: Initialize the working parameters of the laser insect removal device, lighting equipment and shooting equipment;

[0047] The working parameters of the laser pest control device include but are not limited to the power of each laser, the scanning width of each laser head, the scanning speed of each laser head, the scanning distance of each laser head and the moving speed of each laser head; the working parameters of the lighting equipment include but are not limited to the height, brightness and irradiation range of the visible light source and / or infrared light source; the working parameters of the shooting equipment include but are not limited to the height and focal length parameters of the camera;

[0048] In the present invention, the lighting device includes a visible light source and / or an infrared light source; the light source structure of the lighting device includes any one of a point light source, a parallel light source and a ring light source; the shooting device includes a plurality of cameras, and the functions of the cameras include visible light, infrared band and / or thermal imaging detection;

[0049] S2: using a camera to collect images of insect eggs and insects in the field in real time; the images include visible light images and / or infrared images;

[0050] S3: Preprocess the image and complete the image annotation, and then divide the processed image into a training data set and a verification data set;

[0051] In the present invention, the process of preprocessing the image is as follows:

[0052] A: De-noise the visible light image and / or infrared image using an image denoising algorithm;

[0053] B: For the visible light image that has been denoised, the image correction algorithm is used to perform geometric correction and radiation correction, and for the infrared image, the Fourier transform algorithm is used to perform image transformation to distinguish the significant part from the non-significant part of the infrared image;

[0054] C: Extract the structure tensor of the infrared image that has completed the transformation, and measure the local gradient similarity to obtain the local gradient value of the infrared image; for the visible light image, reconstruct the spatial sub-image of the visible light image, and calculate the global weight value of the visible light image;

[0055] D: For infrared images, the horizontal gradient map and vertical gradient map of the infrared image are extracted according to the local gradient value; for visible light images, the visible light image is divided into a salient map, a weighted map, and a non-salient map according to the global weight value;

[0056] E: For infrared images, the horizontal gradient map and vertical gradient map of the infrared image are registered using the image registration algorithm; for visible light images, the saliency map, weight map and non-saliency map of the visible light image are registered using the image registration algorithm, and finally the corresponding initial fusion image is generated;

[0057] F: extracting target areas of the initial fused image and the corresponding unprocessed visible light image and / or infrared image respectively, and performing fusion verification on the target areas of the above images to generate a fusion verification value;

[0058] G: judge the fusion verification value and the conditional threshold; if the fusion verification value is greater than or equal to the conditional threshold, deconstruct the initial fusion image into the final fusion image using the variational method, and then enter step H; if the fusion verification value is less than the conditional threshold, after repeating steps B to E, judge using step G;

[0059] H: Use image smoothing algorithm and image enhancement algorithm to perform edge smoothing and contrast enhancement on the final fused image in sequence;

[0060] I: Use the watershed algorithm to mark the target objects in the final fused image after contrast enhancement to complete image annotation; the target objects include but are not limited to insects, insect eggs, weeds and crops;

[0061] S4: Input the training data set into the target detection model for several iterations of training to obtain an unverified weight matrix;

[0062] S5: Use the dynamic correction function combined with the verification data set to verify and update the unverified weight matrix to build the optimal weight model;

[0063] In the present invention, the target detection model is the YoloV5 model; the dynamic correction function adjusts the original training data set and the verification data set division ratio and the original training learning rate in turn according to the verification update result, and uses them as the data set division ratio and training learning rate for the next iterative training: the verification update result includes but is not limited to precision rate, recall rate, hit rate, accuracy rate and average precision mean;

[0064]

[0065] Among them, k ′ represents the updated ratio of the training data set to the validation data set, k represents the original ratio of the training data set to the validation data set, Pre represents the precision, Re represents the recall, HR represents the hit rate, and Auc represents the accuracy;

[0066]

[0067] Among them, η ′ represents the updated training learning rate, η represents the original training learning rate, and MAP represents the average precision mean;

[0068] S6: using the constructed optimal weight model to identify and locate the eggs and insects in the real-time collected images, obtain the initial center coordinates of the minimum detection frame of the eggs and insects, and optimize the final center coordinates and four corner coordinates of the minimum detection frame;

[0069] In the present invention, the minimum detection frame uses the aggregation and / or monomer position of insects and / or eggs as the initial center coordinates, and determines the four-corner rectangular frame according to the instrument horizontally and vertically, and determines the minimum detection frame with the most protruding points of the four corners, and then obtains the four-corner coordinates, which are the coordinates of the most protruding points of the four corners, and then calculates the center coordinates of the minimum detection frame again to obtain the final center coordinates; the most protruding points of the four corners are the vertices of each corner that do not intersect with the aggregation and / or monomer position of other insects and / or eggs without exceeding the leaf surface of the crop;

[0070] S7: constructing real-time field map information according to the obtained four-corner coordinates and center coordinates of the minimum detection frame;

[0071] S8: Formulate pest control strategies based on real-time field map information;

[0072] S9: Control the laser insect removal device to kill insect eggs and insects according to the insect removal strategy and the center coordinates;

[0073] In the present invention, the laser pest control device includes a laser assembly and a plurality of lasers; the laser assembly includes a laser field mirror, an adjustable beam expander and a galvanometer; the laser field mirror and the adjustable beam expander are used to focus and collimate the laser; the galvanometer is used to control the laser path for pest control; the laser is provided with a plurality of laser heads; the relationship between the distance a1 between two adjacent laser heads and the distance a2 between the galvanometer amplitudes of the laser heads is:

[0074] a1=a2-x (3)

[0075] Among them, x represents the distance difference;

[0076] In this embodiment, the laser assembly adjusts the duty cycle of the laser light emission so that the laser energy generated by the laser is concentrated in the central coordinate area of ​​the insect and the egg mapping in the final fused image;

[0077] In this embodiment, the method is also applicable to obtaining information about weeds and crops in the field, and performing laser ablation on the weeds in the field to complete field weeding;

[0078] The present invention also includes a laser pest control device, including an acquisition module and an adjustment module;

[0079] An acquisition module, used for acquiring images of insect eggs and insects in the field;

[0080] The adjustment module annotates the images collected by the acquisition module and divides them into a training data set and a verification data set; then, the preset target detection model is optimized using the training data set and the verification data set to obtain an optimal weight model, and then the eggs and insects in the real-time collected images are identified and located using the optimal weight model, and real-time field map information is constructed. Finally, a pest control strategy is formulated based on the real-time field map information and a laser pest control device is controlled to kill the eggs and insects;

[0081] The adjustment module performs image annotation, data set division, optimal weight model acquisition, identification and positioning of eggs and insects in the image, construction of field map information and control of the laser pest control device according to the laser pest control method described above, which will not be repeated here.

[0082] In the present invention, image denoising algorithm, image correction algorithm, Fourier transform algorithm, image registration algorithm, image smoothing algorithm, image enhancement algorithm, watershed algorithm and YoloV5 model are all commonly used technical means in this field and will not be described in detail here.

[0083] Example:

[0084] When using laser pest control, first initialize the power of each laser, the scanning width of each laser head, the scanning speed of each laser head, the scanning distance of each laser head and the moving speed of each laser head in the laser pest control device; and initialize the height, brightness and irradiation range of the visible light illumination and / or infrared illumination in the lighting device; and initialize the height and focal length parameters of the camera in the shooting device;

[0085] Then, the visible light images and / or infrared images of insect eggs and insects in the field are collected in real time by using the shooting equipment, and the visible light images and / or infrared images are preprocessed respectively: the visible light images and / or infrared images are denoised respectively by using the image denoising algorithm, the geometric correction and radiation correction are performed on the visible light images that have completed the denoising by using the image correction algorithm, and the image transformation is performed on the infrared images by using the Fourier transform algorithm to distinguish the significant parts from the non-significant parts of the infrared images; the structural tensor of the infrared images that have completed the transformation is extracted, and the local gradient similarity is calculated to obtain the local gradient value of the infrared image; for the visible light image, the spatial domain sub-image of the visible light image is reconstructed, and the global weight value of the visible light image is calculated; for the infrared image, the horizontal gradient map and the vertical gradient map of the infrared image are extracted according to the local gradient value; for the visible light image, the visible light image is divided into a significant map, a weight map and a non-significant map according to the global weight value; for the infrared image, the image registration algorithm is used The method is to register the horizontal gradient map and the vertical gradient map of the infrared image; for the visible light image, the image registration algorithm is used to register the salient map, the weight map and the non-salient map of the visible light image, and finally generate the corresponding initial fused image; the target areas of the initial fused image and the unprocessed visible light image and / or infrared image are extracted respectively, and the target areas of the above images are fused and verified to generate a fusion verification value; the fusion verification value is judged with the conditional threshold; until the fusion verification values ​​are all greater than or equal to the conditional threshold, the initial fused image is deconstructed into the final fused image by the variational method, and then the image smoothing algorithm and the image enhancement algorithm are used to perform edge smoothing and contrast enhancement on the final fused image in turn; then the watershed algorithm is used to mark the target objects in the final fused image after contrast enhancement to complete the image annotation (the target objects include but are not limited to insects, insect eggs, weeds and crops); at the same time, the processed image is divided into a training data set and a verification data set;

[0086] Subsequently, the training data set is input into the target detection model (YoloV5 model) for several iterative training to obtain an unverified weight matrix, and the unverified weight matrix is ​​verified and updated using a dynamic correction function combined with a verification data set to construct an optimal weight model; wherein the dynamic correction function adjusts the original training data set and verification data set division ratio and the original training learning rate in turn according to the verification update result, and uses them as the data set division ratio and training learning rate for the next iterative training;

[0087] Subsequently, the eggs and insects in the real-time collected images are identified and located using the optimal weight model that has been constructed, and the initial center coordinates of the minimum detection frame of the eggs and insects are obtained, and the final center coordinates and four-corner coordinates of the minimum detection frame are optimized; the minimum detection frame uses the aggregation and / or individual positions of insects and / or eggs as the initial center coordinates, and determines the four-corner rectangular frame according to the horizontal and vertical directions of the instrument, and determines the minimum detection frame with the most prominent points of the four corners, thereby obtaining the four-corner coordinates, and at the same time, the center coordinates of the minimum detection frame are calculated again to obtain the final center coordinates; the four-corner most prominent points are the vertices of each corner that do not intersect with the aggregation and / or individual positions of other insects and / or eggs without exceeding the leaf surface of the crop; based on the four-corner coordinates and center coordinates of the obtained minimum detection frame, real-time field map information is constructed to formulate pest control strategies;

[0088] Finally, the laser insecticide device is controlled according to the insecticide strategy and the central coordinates to kill eggs and insects. The laser insecticide device includes a laser component and several lasers; the laser component includes a laser field mirror, an adjustment beam expander and a galvanometer; the laser field mirror and the adjustment beam expander are used to focus and collimate the laser; the galvanometer is used to control the laser path for insecticide; the laser light output duty cycle of the laser is adjusted by the laser component so that the laser energy generated by the laser is concentrated in the central coordinate area mapped by insects and eggs in the final fusion image; the laser is provided with several laser heads.

Claims

1. A laser pest control method, characterized in that: The steps include: S1: Initialize the working parameters of the laser insect removal device, lighting equipment and shooting equipment; The working parameters of the laser pest control device include but are not limited to the power of each laser, the scanning width of each laser head, the scanning speed of each laser head, the scanning distance of each laser head and the moving speed of each laser head; the working parameters of the lighting equipment include but are not limited to the height, brightness and irradiation range of the visible light source and / or infrared light source; the working parameters of the shooting equipment include but are not limited to the height and focal length parameters of the camera; S2: using a camera to collect images of insect eggs and insects in the field in real time; the images include visible light images and / or infrared images; S3: Preprocess the image and complete the image annotation, and then divide the processed image into a training data set and a verification data set; S4: Input the training data set into the target detection model for several iterations of training to obtain an unverified weight matrix; S5: Use the dynamic correction function combined with the verification data set to verify and update the unverified weight matrix to build the optimal weight model; S6: using the constructed optimal weight model to identify and locate the eggs and insects in the real-time collected images, obtain the initial center coordinates of the minimum detection frame of the eggs and insects, and optimize the final center coordinates and four corner coordinates of the minimum detection frame; S7: constructing real-time field map information according to the obtained four-corner coordinates and center coordinates of the minimum detection frame; S8: Formulate pest control strategies based on real-time field map information; S9: Control the laser insect removal device to kill insect eggs and insects according to the insect removal strategy and the center coordinates.

2. The laser insect removal method according to claim 1, characterized in that: In step S1, the lighting device includes a visible light source and / or an infrared light source; the light source structure of the lighting device includes any one of a point light source, a parallel light source and a ring light source; the shooting device includes a plurality of cameras, and the functions of the cameras include visible light, infrared band and / or thermal imaging detection.

3. The laser insect removal method according to claim 1, characterized in that: In step S2 and step S3, the process of preprocessing the image is as follows: A: De-noise the visible light image and / or infrared image using an image denoising algorithm; B: For the visible light image that has been denoised, the image correction algorithm is used to perform geometric correction and radiation correction, and for the infrared image, the Fourier transform algorithm is used to perform image transformation to distinguish the significant part from the non-significant part of the infrared image; C: Extract the structure tensor of the infrared image that has completed the transformation, and measure the local gradient similarity to obtain the local gradient value of the infrared image; for the visible light image, reconstruct the spatial sub-image of the visible light image, and calculate the global weight value of the visible light image; D: Extract the horizontal gradient map and vertical gradient map of the infrared image according to the local gradient value; or divide the visible light image into a salient map, a weighted map, and a non-salient map according to the global weight value; E: For infrared images, the horizontal gradient map and vertical gradient map of the infrared image are registered using the image registration algorithm; for visible light images, the saliency map, weight map and non-saliency map of the visible light image are registered using the image registration algorithm, and finally the corresponding initial fusion image is generated; F: extracting target areas of the initial fused image and the corresponding unprocessed visible light image and / or infrared image respectively, and simultaneously performing fusion verification on the target areas of the above images to generate a fusion verification value; G: judge the fusion verification value and the conditional threshold; if the fusion verification value is greater than or equal to the conditional threshold, deconstruct the initial fusion image into the final fusion image using the variational method, and then enter step H; if the fusion verification value is less than the conditional threshold, after repeating steps B to E, judge using step G; H: Use image smoothing algorithm and image enhancement algorithm to perform edge smoothing and contrast enhancement on the final fused image in sequence; I: Using the watershed algorithm to mark the target objects in the final fused image after contrast enhancement to complete image annotation; the target objects include but are not limited to insects, insect eggs, weeds and crops.

4. The laser insect removal method according to claim 1, characterized in that: In step S4 and step S5, the target detection model is a YoloV5 model; the dynamic correction function adjusts the original training data set and the verification data set division ratio and the original training learning rate in turn according to the verification update result, and uses them as the data set division ratio and training learning rate for the next iterative training: the verification update result includes but is not limited to precision, recall rate, hit rate, accuracy and average precision mean; Among them, k ′ represents the updated ratio of the training data set to the validation data set, k represents the original ratio of the training data set to the validation data set, Pre represents the precision, Re represents the recall, HR represents the hit rate, and Auc represents the accuracy; Among them, η ′ represents the updated training learning rate, η represents the original training learning rate, and MAP represents the average precision mean.

5. The laser insect removal method according to claim 1, characterized in that: In step S6, the minimum detection frame uses the aggregation and / or individual position of insects and / or eggs as the initial center coordinates, and determines the four-corner rectangular frame according to the horizontal and vertical directions of the instrument, and determines the minimum detection frame with the most protruding points of the four corners, thereby obtaining the four-corner coordinates, which are the coordinates of the most protruding points of the four corners, and then calculates the center coordinates of the minimum detection frame again to obtain the final center coordinates; the most protruding points of the four corners are the vertices of each corner that do not intersect with the aggregation and / or individual position of other insects and / or eggs without exceeding the leaf surface of the crop.

6. The laser pest control method according to claim 1, characterized in that: In step S9, the laser pest control device includes a laser assembly and several lasers; the laser assembly includes a laser field mirror, an adjustable beam expander and a galvanometer; the laser field mirror and the adjustable beam expander are used to focus and align the laser; the galvanometer is used to control the laser path for pest control; the laser is provided with several laser heads; the relationship between the distance a1 between two adjacent laser heads and the distance a2 between the galvanometer amplitudes of the laser heads is: a1=a2-x (3) Here, x represents the distance difference.

7. The laser pest control method according to claim 1 or 6, characterized in that: In step S9, the laser assembly adjusts the duty cycle of the laser light emission so that the laser energy generated by the laser is concentrated in the central coordinate area of ​​the insect and egg mapping in the final fused image.

Citation Information

Cited By

  • A pest control map generation system based on computer vision

    CN119741443A

  • Laser insecticidal system and high-precision winged insect identification model training method

    CN120419537A