WO2021056297A1 - Image processing method and device, unmanned aerial vehicle, system and storage medium - Google Patents

Image processing method and device, unmanned aerial vehicle, system and storage medium Download PDF

Info

Publication number
WO2021056297A1
WO2021056297A1 PCT/CN2019/107977 CN2019107977W WO2021056297A1 WO 2021056297 A1 WO2021056297 A1 WO 2021056297A1 CN 2019107977 W CN2019107977 W CN 2019107977W WO 2021056297 A1 WO2021056297 A1 WO 2021056297A1
Authority
WO
WIPO (PCT)
Prior art keywords
light intensity
image
spectral
multispectral camera
wavebands
Prior art date
Application number
PCT/CN2019/107977
Other languages
French (fr)
Chinese (zh)
Inventor
龚云
潘国秀
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/107977 priority Critical patent/WO2021056297A1/en
Priority to CN201980032030.1A priority patent/CN112106346A/en
Publication of WO2021056297A1 publication Critical patent/WO2021056297A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/3563Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light for analysing solids; Preparation of samples therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/359Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light using near infrared light
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/188Vegetation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N2021/1765Method using an image detector and processing of image signal
    • G01N2021/177Detector of the video camera type

Definitions

  • the present invention relates to the field of images, in particular to an image processing method, equipment, unmanned aerial vehicle, system and storage medium.
  • a drone when a drone is flying over an object, it can obtain an aerial image of the object. Due to some shooting reasons, the imaging effect of the image will be poor. In order to improve the imaging effect, the image can be compensated.
  • the UAV In order to effectively compensate for the aerial image, the UAV also needs to obtain multiple image compensation information when acquiring the aerial image, but not all the image compensation information can be obtained to compensate the image more accurately, which is easy to cause larger compensation error.
  • the present invention provides an image processing method, equipment, unmanned aerial vehicle, system and storage medium, which are used to solve the problem of more accurate image compensation.
  • the first aspect of the present invention is to provide an image processing method, including: acquiring the light intensity of multiple preset wavebands of the current environment; and determining at least the light intensity of the multispectral camera according to the light intensity of the multiple preset wavebands The light intensity corresponding to a spectral waveband; according to the light intensity corresponding to the spectral waveband of the multi-spectral camera, image compensation processing is performed on the current image acquired by the multi-spectral camera.
  • the second aspect of the present invention is to provide an image processing device, including: a light collection device for acquiring light intensity of multiple preset wavebands of the current environment; receiving light intensity of multiple incident wavebands; the image processing device It also includes: a memory and a processor, the memory is configured to store a computer program; the processor is configured to determine, according to the light intensity of the plurality of preset wavelength bands, at least one spectral band corresponding to the multispectral camera Light intensity; according to the light intensity corresponding to the spectral band of the multi-spectral camera, perform image compensation processing on the current image acquired by the multi-spectral camera.
  • the third aspect of the present invention is to provide an image processing device, including: an acquisition module for acquiring the light intensity of multiple preset wavebands of the current environment; The light intensity determines the light intensity corresponding to at least one spectral band of the multi-spectral camera; the compensation module is configured to perform image compensation on the current image acquired by the multi-spectral camera according to the light intensity corresponding to the spectral band of the multi-spectral camera deal with.
  • the fourth aspect of the present invention is to provide an unmanned aerial vehicle, including: a body and the image processing device according to the second aspect, the image processing device is provided on the body.
  • the fifth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the first aspect.
  • the sixth aspect of the present invention is to provide an image processing method, including: receiving, through a drone, the illumination intensity of multiple preset wavebands of the current environment and the illumination intensity corresponding to at least one spectral waveband of the multispectral camera, the at least The light intensity corresponding to a spectral waveband is determined according to the light intensity of the multiple preset wavebands; according to the light intensity corresponding to the spectral waveband of the multispectral camera, the current image acquired by the multispectral camera is imaged Compensation processing; when the processed image is an image of vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
  • the seventh aspect of the present invention is to provide an image processing system, including: a memory, a processor, and a communication component.
  • the memory is used to store a computer program;
  • the communication component is used to receive the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera through the drone, and the at least The light intensity corresponding to a spectral band is determined according to the light intensity of the multiple preset wavebands;
  • the processor is configured to perform a measurement on the multi-spectral camera according to the light intensity corresponding to the spectral waveband of the multi-spectral camera.
  • the current image acquired by the camera is subjected to image compensation processing; when the processed image is an image of vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
  • the eighth aspect of the present invention is to provide a computer-readable storage medium, characterized in that the storage medium is a computer-readable storage medium, and the computer-readable storage medium stores program instructions, and the program instructions are used for Implement the image processing method described in the sixth aspect.
  • the ninth aspect of the present invention is to provide an image processing device, including: a receiving module for receiving, through the drone, the illumination intensity of multiple preset wavebands of the current environment and the illumination corresponding to at least one spectral waveband of the multispectral camera Intensity, the light intensity corresponding to at least one spectral band is determined according to the light intensity of multiple preset bands; the compensation module is used to image the current image acquired by the multi-spectral camera according to the light intensity corresponding to the spectral band of the multi-spectral camera Compensation processing; extraction module, used when the processed image is an image of vegetation, and determine the vegetation growth index according to the band feature extraction of the processed image.
  • the image processing method, equipment, drone, system and storage medium provided by the invention can improve the imaging effect of the image.
  • FIG. 1 is a schematic flowchart of an image processing method provided by an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a process for determining light intensity according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a specific flow of image compensation processing provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a specific flow of image compensation processing provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of an image processing method provided by an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an image processing system provided by an embodiment of the present invention.
  • the drone can carry multiple imaging sensors.
  • the imaging sensor can generate the corresponding aerial image of the object through the reflected light of the object.
  • the UAV can also carry a light sensor.
  • the UAV can provide multiple real-time incident light intensity indexes of different bands. By selecting the real-time incident light intensity index, the aerial image can be compensated for compensation. Aerial image of the object behind. However, this compensation method is likely to cause large compensation errors, and the compensation effect often obtained is not ideal.
  • Fig. 1 is a schematic flowchart of an image processing method provided by an embodiment of the present invention
  • the method 100 provided by an embodiment of the present application can be executed by a flying device, such as a drone, and the drone can be provided with a light collection device, such as Light sensor.
  • Multiple image acquisition devices such as multiple image sensors, can also be provided on the drone.
  • Multiple image acquisition devices can be provided in the camera, and the camera can be provided on the drone.
  • the method 100 includes the following steps:
  • Step 101 Obtain the light intensity of multiple preset wavebands in the current environment.
  • Step 102 Determine the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the light intensity of multiple preset wavebands.
  • Step 103 Perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera.
  • the image processing method provided by the present invention determines the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the acquired light intensity of multiple preset wavebands; according to the light intensity corresponding to the spectral waveband of the multispectral camera,
  • the current image acquired by the multispectral camera is subjected to image compensation processing, thereby solving the problem that the light intensity of the preset waveband cannot meet the more accurate compensation of the current image.
  • it can be selected from the light intensity of multiple preset wavebands. It can more accurately compensate the light intensity of the image.
  • performing image compensation processing on the current image can make the compensated image more accurately approach the real image, reduce compensation errors, and improve the imaging effect of the image. So as to further provide more accurate data for data analysis in subsequent images.
  • the embodiments of this application can also be applied to other equipment with shooting requirements, such as cameras, mobile phones, computers, monitoring equipment, etc., no matter what kind of execution device, the execution device Both can have a light collection device, and can also have multiple image collection devices as well.
  • the drone when the drone executes the embodiments of the present application, it can capture aerial images of objects, especially aerial images of vegetation, so that the distribution and growth conditions of vegetation can be analyzed.
  • drones have better flexibility and automation compared to other execution equipment. And it can fly into a very harsh geographic environment to take images, which is not easy to do with other execution equipment.
  • Step 101 Obtain the light intensity of multiple preset wavebands in the current environment.
  • the band refers to the division of the electromagnetic spectrum, especially the division of the light spectrum, for example, the 840nm (nanometer) band.
  • the preset waveband also referred to as the incident waveband refers to multiple known wavebands that are directly incident or irradiated by light waves in the current environment, for example, the 860nm waveband.
  • the preset waveband that is, the light intensity of multiple preset wavebands is obtained from the light sensor
  • the light collection device provided on the drone.
  • the light collection device can provide multiple preset wavebands of light intensity, such as 18, then when the light collection device acquires the preset waveband, it can directly obtain the waveband that meets the preset waveband length, for example, the preset 18 wavebands . Or when the light collecting device can collect a waveband within a range of waveband length, it can sequentially obtain 18 preset wavebands existing in the waveband length in the order of receiving. It should be understood that one preset waveband corresponds to one light intensity.
  • Illumination intensity refers to the energy of visible light received per unit area, referred to as illuminance; it can be used to indicate the intensity of illumination and the amount of illumination of the surface area of an object.
  • Step 102 Determine the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the light intensity of multiple preset wavebands.
  • a multi-spectral camera refers to a camera that can receive multiple preset spectral bands (that is, spectral bands), and the camera can perform imaging according to the received multiple preset spectral bands.
  • the received spectral band also called the received reflection band
  • the received spectral band refers to the light wave irradiated on an object, such as vegetation, and the light wave band reflected by the vegetation, such as the 840nm (nanometer) band.
  • the light intensity of the spectral waveband can be obtained by using an image acquisition device provided in a multispectral camera, such as a narrowband image sensor.
  • Each image acquisition device corresponds to a spectral band, which can also be referred to as the working band of the image acquisition device.
  • FIG. 2 shows a method 200 for determining light intensity.
  • the method for determining light intensity corresponding to multiple spectral bands may include: Step 201: When multiple preset wavebands in the current environment and the multi-spectral camera receive When the two spectral bands do not match, two first preset wavebands are selected from a plurality of preset wavebands; Step 202: Determine the first light intensity corresponding to the first spectral waveband of the multispectral camera according to the two first preset wavebands.
  • the first spectral band belongs to one of the multiple spectral bands, and its light intensity is the first light intensity.
  • the first spectral band does not match each of the plurality of preset bands.
  • the first preset waveband is at least one waveband among a plurality of preset wavebands, and the first preset waveband does not match the first spectral waveband.
  • mismatch may be a complete mismatch or an incomplete match, that is, a partial mismatch and a partial match exist at the same time.
  • the first preset waveband is different from the first spectral waveband.
  • the UAV compares the narrowband bands (that is, spectral bands) corresponding to 5 narrowband image sensors with 18 different preset bands, when there are at least one narrowband band and 18 narrowband bands in the 5 narrowband bands.
  • Each of the different preset wavebands is different.
  • the narrowband waveband 840nm does not exist in the 18 different preset wavebands.
  • the UAV selects the light intensity of any two preset wavebands from the light intensity of 18 different preset wavebands, such as the light intensity of 860nm and the light intensity of 810nm. Determine the average value of the light intensity of the two preset wavebands as the first light intensity.
  • the method for determining the first light intensity may include the following two:
  • the linear interpolation method can be used to calculate the first light intensity according to the two first preset wavebands.
  • the linear interpolation method can be determined by the following formula 1):
  • x is the first spectral band
  • x 1 , x 2 are two different preset bands
  • f(x) is the first light intensity corresponding to the first spectral band
  • f(x 1 ) is x 1
  • the light intensity corresponding to the preset waveband x 1 , f(x 2 ) represents the light intensity corresponding to the preset wave band x 2.
  • the preset band x 1 ⁇ the preset band x 2 .
  • the UAV compares the narrowband bands (that is, spectral bands) corresponding to the 5 narrowband image sensors with 18 different preset bands.
  • Each of the preset wavebands is different.
  • the narrowband waveband 840nm does not exist in 18 different preset wavebands.
  • the drone selects the light intensity of any two different preset wavebands from the light intensity of 18 different preset wavebands, such as the light intensity of 860nm and the light intensity of 810nm.
  • the UAV determines the value of the first light intensity f(x) in the narrowband band of 840nm through the above formula 2).
  • the method of determining the first light intensity according to the ratio in the manner 2) can also be implemented through the specific implementation manner of the manner 1), which will not be repeated here.
  • the above-mentioned implementation basis for determining the light intensity has been able to determine the light intensity in the spectral band with a relatively precise degree.
  • the UAV can select the two presets closest to 840nm from the light intensity of the 18 different preset bands. Bands, 860nm and 810nm. Then, determine the value of the first light intensity f(x) in the narrowband wavelength band of 840nm through the above formula 2).
  • determining the light intensity corresponding to multiple spectral bands includes: obtaining the first spectral band from a multi-spectral camera; When the second preset waveband in the preset waveband matches the first spectral waveband of the multispectral camera, the first light intensity of the first spectral waveband is directly determined according to the second light intensity of the second preset waveband.
  • the second preset waveband among the multiple preset wavebands of the current environment matches the first spectral waveband of the multispectral camera, the second preset waveband is the same as the first spectral waveband.
  • the UAV determines that the narrowband band 840nm exists in 18 different preset bands, that is, the UAV receives the light intensity of the preset band 840nm through the light sensor, then the UAV The light intensity of the preset wavelength band of 840 nm is directly obtained as the light intensity of the narrowband wavelength band of 840 nm.
  • the monochrome image generated by the narrowband image sensor may have the problem of bad pixels, and the lack of clarity of each object in the image, it is necessary to compensate the monochrome image in order to facilitate the subsequent extraction of various information in the image. .
  • Step 103 Perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera.
  • the light intensity corresponding to the spectral band of the multispectral camera may refer to the light intensity determined according to the foregoing embodiment, such as the light intensity determined by linear interpolation. It can also refer to determining the light intensity and the received light intensity of the spectral band, and the received light intensity is used to determine the image before compensation, that is, the current image.
  • the method of acquiring the current image may include: the multispectral camera receives the light intensity of multiple spectral bands, and obtains the light intensity of at least one preset spectral band from the received light intensity of the multiple spectral bands; One light intensity generates at least one image; according to the at least one image, the current image is acquired (that is, the second light intensity corresponding to the first spectral band is acquired through the multispectral camera, and the current image is acquired according to the second light intensity).
  • the way to obtain the current image may include:
  • the drone flies over the vegetation, and receives the light intensity of 20 vegetation reflection bands through the 5 narrowband image sensors in its multi-spectral camera.
  • the narrowband band corresponding to each narrowband image sensor can be different.
  • the narrowband band corresponding to the A narrowband image sensor is 450nm (that is, the spectral band), the narrowband band corresponding to the B narrowband image sensor is 560nm, and the narrowband band corresponding to the C narrowband image sensor is 640nm.
  • the narrowband waveband corresponding to the D narrowband image sensor is 730nm, and the narrowband waveband corresponding to the E narrowband image sensor is 840nm.
  • Each narrowband image sensor recognizes the corresponding narrowband spectral band and the light intensity of the spectral band.
  • the narrowband image sensor A recognizes the light intensity at the 450nm spectral band, and converts the light intensity into electric charge through the many photosensitive units of the image sensor.
  • each photosensitive unit can also be called a pixel unit.
  • the corresponding monochrome image in TIFF format is determined, such as a red image of vegetation growing in aerial photography.
  • each narrowband image sensor generates a corresponding monochrome image of vegetation aerial growth.
  • the 5 vegetation aerial growth monochrome images can be directly used as one target image, waiting for image compensation for each monochrome image, or they can be used as five target images.
  • multiple images can be combined according to the spatial position of each image sensor to synthesize a complete vegetation aerial growth monochrome image. For example, if five narrowband image sensors are arranged horizontally in sequence, the monochrome images generated by each image sensor are arranged horizontally to synthesize a complete monochrome image.
  • the narrowband image sensor may be a 2 million pixel global shutter image sensor, and may have a certain spatial arrangement layout.
  • image compensation processing for the current image may include the following two types:
  • Fig. 3 show a method 300 of image compensation processing, which includes: Step 301: Compensate for the second light intensity according to the first light intensity; Step 302: Compensate for the current image according to the compensated second light intensity Perform image compensation processing.
  • the UAV determines the light intensity corresponding to the narrowband waveband
  • it can directly use the value of the light intensity as the digital signal obtained by the corresponding narrowband image sensor (for example, a narrowband image sensor with a narrowband waveband of 840nm).
  • Data that is, compensated digital signal.
  • the compensated digital signal is combined with the original digital signal corresponding to the narrowband 840nm (ie, the digital signal corresponding to the band before image compensation), and a monochrome image is generated according to the data of the combined digital signal.
  • Manner 2 and Figure 4 show a method 400 of image compensation processing, which includes: Step 401: Obtain the second light intensity corresponding to the first spectral band from the multispectral camera; Step 402: According to the first light intensity and the second light intensity Intensity, perform image compensation processing on the current image acquired by the multispectral camera.
  • the drone can generate the current image according to the acquired second light intensity.
  • the UAV directly generates a compensated monochrome image from the compensated digital signal data, and combines the compensated monochrome image with the current image to complete the image compensation. It can also be implemented according to the specific implementation in the above manner 1), which will not be repeated here.
  • the second light intensity corresponding to the first spectral waveband can be used to generate the current image
  • the first light intensity corresponding to the first spectral waveband refers to the light intensity used to compensate the current image.
  • the compensated image can be more accurate, especially closer to the real image, or the real appearance of the object, especially the real aerial appearance of the object.
  • the compensated image can be processed differently according to different subsequent application scenarios. For example, in an application scenario of vegetation growth, the vegetation growth condition can be determined according to the compensated image. It is also possible to identify and track things to be monitored on the compensated image in the monitoring application scenario. It is also possible to retouch the compensated image in the application scene of photography. It is worth noting that in some application scenes, such as monitoring application scenes and photographing application scenes, it is possible to further perform color image processing on the compensated monochrome image, that is, to de-monochrome the compensated monochrome image. Color processing to obtain a compensated color image.
  • an application scenario of vegetation growth is taken as an example to describe the image processing after compensation:
  • the processing method may include: when the processed image is an image of vegetation, the vegetation growth index is determined according to the extraction of the band characteristics of the processed image.
  • the vegetation growth index (NDVI, Normalized Difference Vegetation Index) refers to the growth state of vegetation (one of the important parameters reflecting vegetation growth and nutritional information), vegetation coverage, and the elimination of some radiation errors. It can reflect the background influence of the plant canopy, such as soil, wet ground, snow, dead leaves, roughness, etc., and is related to vegetation cover.
  • the extraction process can be as follows. After the UAV obtains the compensated vegetation aerial monochromatic image, extracts the spectral features of the monochromatic image, and determines the NDVI based on the spectral features. Among them, NDVI is the sum of the difference between the reflection value of the near-infrared waveband and the reflection value of the red light waveband.
  • the NDVI can also be determined by other devices.
  • the NDVI is determined by other devices, such as image recognition devices (specifically, computers and servers), no The human-computer sends the compensated vegetation aerial monochrome image to the image recognition device through the network, and the image recognition device determines the NDVI.
  • image recognition devices specifically, computers and servers
  • the specific implementation of the determination process is the same as the specific implementation of the drone to determine the NDVI. Go into details again.
  • the embodiments of the present application may be applicable to different drone models, and the NDVI obtained by aerial photography of the same vegetation at different flight times by different drones is the same. Therefore, it is possible to detect the NDBVI of a certain vegetation obtained in a certain aerial photography according to this characteristic.
  • the detection process may include: determining multiple vegetation growth indexes corresponding to the same vegetation through different flight equipment and/or different flight times; If multiple vegetation growth indexes are the same, confirm that the vegetation growth index is correct. When it is determined that multiple NDVI of the same vegetation are the same, the NDVI is correct.
  • FIG. 5 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention; the device 500 can be applied to flying equipment, such as a drone, and the device 500 can execute the above-mentioned image processing method.
  • the device 500 includes: an acquisition module 501, a determination module 502, and a compensation module 503. The following is a detailed description of the functions of each module:
  • the obtaining module 501 is configured to obtain the light intensity of multiple preset wavebands in the current environment.
  • the determining module 502 is configured to determine the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the light intensity of multiple preset wavebands.
  • the compensation module 503 is configured to perform image compensation processing on the current image acquired by the multi-spectral camera according to the light intensity corresponding to the spectral band of the multi-spectral camera.
  • the structure of the image processing apparatus 500 shown in FIG. 5 may be implemented as an electronic device, and the electronic device may be an image processing device, such as various devices such as a mobile phone, a tablet computer, and a server.
  • the image processing device 600 may include: one or more processors 601, one or more memories 602, and a light collecting device 603.
  • the memory 602 is used to store a program that supports the electronic device to execute the image processing method provided in the embodiment shown in FIG. 1 to FIG. 4 above.
  • the electronic device may also include a camera 604; the camera includes an image acquisition device; and the processor 601 is configured to execute a program stored in the memory 602.
  • the program includes one or more computer instructions, where one or more computer instructions can implement the following steps when executed by the processor 601:
  • the light collecting device 603 is configured to obtain the light intensity of multiple preset wavebands in the current environment; and receive the light intensity of multiple incident wavebands.
  • the processor 601 is specifically configured to: when multiple preset wavebands of the current environment and multiple spectral wavebands received by the multispectral camera do not match, select two first preset wavebands from the multiple preset wavebands , And determine the first light intensity corresponding to the first spectral waveband of the multispectral camera according to the two first preset wavebands.
  • the image processing device 600 further includes: a communication component; the communication component is configured to obtain the second light intensity corresponding to the first spectral band through the multi-spectral camera, and obtain the current image according to the second light intensity.
  • the processor 601 is specifically configured to: compensate the second light intensity according to the first light intensity; and perform image compensation processing on the current image according to the compensated second light intensity.
  • the communication component is used to obtain the second light intensity corresponding to the first spectral band from the multi-spectral camera.
  • the processor 601 is specifically configured to: perform image compensation processing on the current image acquired by the multispectral camera according to the first light intensity and the second light intensity.
  • the processor 601 is further configured to: use a linear interpolation method to calculate the first light intensity according to the two first preset wavebands.
  • the processor 601 is specifically configured to determine the first light intensity according to the ratio of the difference between the light intensity of the two first preset wavebands and the difference between the two first preset wavebands.
  • the two first preset wavebands are closest to the first spectral waveband.
  • the communication component is also used to: obtain the first spectral band from the multispectral camera;
  • the processor 601 is specifically configured to: when the second preset waveband of the multiple preset wavebands of the current environment matches the first spectral waveband of the multispectral camera, directly determine the second light intensity of the second preset waveband The first light intensity in a spectral band.
  • the light intensity of a plurality of preset wavebands is obtained from the light sensor.
  • the processor 601 is further configured to: when the processed current image is an image about vegetation, determine the vegetation growth index according to the band feature extraction of the processed image.
  • the processor 601 is further configured to: determine multiple vegetation growth indices corresponding to the same vegetation through different flying equipment and/or different flight times; when the multiple vegetation growth indices are the same, determine that the vegetation growth index is correct.
  • an embodiment of the present invention provides a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used to implement the images shown in FIGS. 1 to 4 above. Approach.
  • An embodiment of the present invention provides an unmanned aerial vehicle; specifically, the unmanned aerial vehicle includes a body and the image processing device shown in FIG. 6, and the image processing device is arranged on the body.
  • the UAV also includes: a multi-spectral camera; a multi-spectral camera, used to provide the image processing device with a current image and used to determine the light intensity of the current image; the light intensity is determined by the spectral band obtained by the multi-spectral camera.
  • FIG. 7 is a schematic flowchart of an image processing method provided by an embodiment of the present invention
  • the method 700 provided by an embodiment of the present application is executed by an image processing system with computing capabilities, such as a computer and a server, etc., or a virtual server, Cloud server, etc.
  • the method 700 includes the following steps:
  • the vegetation growth index is determined according to the band feature extraction of the processed image.
  • the method 700 can be executed by a device, such as a computer.
  • the computer When the computer is executed, it needs to receive the light intensity of multiple preset wavebands and the light intensity of at least one spectral waveband sent by the drone.
  • the light intensity of multiple preset wavebands and the light intensity of at least one spectral waveband are obtained by the drone through the specific implementation described above.
  • the computer After receiving this information, the computer can perform image compensation and determine the vegetation growth index.
  • FIG. 8 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention
  • the device 800 can be applied to image processing systems with computing capabilities, such as computers and servers, and also virtual servers, cloud servers, etc.
  • the device 800 can execute the above-mentioned image processing method.
  • the device 800 includes: a receiving module 801, a compensation module 802, and an extraction module 803. The following is a detailed description of the functions of each module:
  • the receiving module 801 is configured to receive the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera through the drone, and the light intensity corresponding to the at least one spectral waveband is based on the multiple presets The light intensity of the band is determined.
  • the compensation module 802 is configured to perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera.
  • the extraction module 803 is used to determine the vegetation growth index according to the extraction of the band characteristics of the processed image when the processed image is an image about vegetation.
  • the structure of the image processing apparatus 800 shown in FIG. 8 can be implemented as an electronic device, and the electronic device can be an image processing system, such as various devices such as a mobile phone, a tablet computer, and a server.
  • the image processing system 900 may include: one or more processors 901, one or more memories 902, and one or more communication components 903.
  • the memory 902 is used to store a program that supports the electronic device to execute the image processing method provided in the embodiment shown in FIG. 7.
  • the processor 901 is configured to execute a program stored in the memory 902.
  • the program includes one or more computer instructions, and when one or more computer instructions are executed by the processor 901, the following steps can be implemented:
  • the communication component 903 is configured to receive the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera through the drone, and the light intensity corresponding to the at least one spectral waveband is based on the multiple presets The light intensity of the band is determined.
  • an embodiment of the present invention provides a computer-readable storage medium.
  • the storage medium is a computer-readable storage medium.
  • the computer-readable storage medium stores program instructions. The program instructions are used to implement the image processing method of FIG. 7 described above.
  • the related detection device for example: IMU
  • the embodiments of the remote control device described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, remote control devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
  • the aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

An image processing method and device, an unmanned aerial vehicle, a system and a storage medium. The method comprises: acquiring the illumination intensity of each of a plurality of preset bands of the current environment (101); determining, according to the illumination intensity of each of the plurality of preset bands, the illumination intensity corresponding to at least one spectral band of a multispectral camera (102); and performing, according to the illumination intensity corresponding to the spectral band of the multispectral camera, image compensation processing on the current image acquired by the multispectral camera (103). By means of the image processing method and device, the unmanned aerial vehicle, the system and the storage medium, the imaging effect of an image can be improved.

Description

图像处理方法、设备、无人机、系统和存储介质Image processing method, equipment, drone, system and storage medium 技术领域Technical field
本发明涉及图像领域,尤其涉及一种图像处理方法、设备、无人机、系统和存储介质。The present invention relates to the field of images, in particular to an image processing method, equipment, unmanned aerial vehicle, system and storage medium.
背景技术Background technique
目前,无人机在物体上空飞行时,可以获取到物体的航拍图像,由于一些拍摄原因会造成该图像的成像效果不佳,为了提高成像效果,可以对图像进行补偿。At present, when a drone is flying over an object, it can obtain an aerial image of the object. Due to some shooting reasons, the imaging effect of the image will be poor. In order to improve the imaging effect, the image can be compensated.
为了对航拍图像进行有效的补偿,无人机在获取航拍图像时,还需要获取多个图像补偿信息,但并不是获取到图像补偿信息都可以较为准确地补偿图像,从而容易造成较大的补偿误差。In order to effectively compensate for the aerial image, the UAV also needs to obtain multiple image compensation information when acquiring the aerial image, but not all the image compensation information can be obtained to compensate the image more accurately, which is easy to cause larger compensation error.
发明内容Summary of the invention
本发明提供了一种图像处理方法、设备、无人机、系统和存储介质,用于解决较为准确地对图像进行补偿的问题。The present invention provides an image processing method, equipment, unmanned aerial vehicle, system and storage medium, which are used to solve the problem of more accurate image compensation.
本发明的第一方面是为了提供一种图像处理方法,包括:获取当前环境的多个预设波段的光照强度;根据所述多个预设波段的所述光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度;根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理。The first aspect of the present invention is to provide an image processing method, including: acquiring the light intensity of multiple preset wavebands of the current environment; and determining at least the light intensity of the multispectral camera according to the light intensity of the multiple preset wavebands The light intensity corresponding to a spectral waveband; according to the light intensity corresponding to the spectral waveband of the multi-spectral camera, image compensation processing is performed on the current image acquired by the multi-spectral camera.
本发明的第二方面是为了提供一种图像处理设备,包括:光采集装置,用于获取当前环境的多个预设波段的光照强度;接收多个入射波段的光照强度;所述图像处理设备还包括:存储器以及处理器,所述存储器,用于存储计算机程序;所述处理器,用于根据所述多个预设波段的所述光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度;根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理。The second aspect of the present invention is to provide an image processing device, including: a light collection device for acquiring light intensity of multiple preset wavebands of the current environment; receiving light intensity of multiple incident wavebands; the image processing device It also includes: a memory and a processor, the memory is configured to store a computer program; the processor is configured to determine, according to the light intensity of the plurality of preset wavelength bands, at least one spectral band corresponding to the multispectral camera Light intensity; according to the light intensity corresponding to the spectral band of the multi-spectral camera, perform image compensation processing on the current image acquired by the multi-spectral camera.
本发明的第三方面是为了提供一种图像处理装置,包括:获取模块,用于获取当前环境的多个预设波段的光照强度;确定模块,用于根据所述多个预设波段的所述光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度;补偿模块,用于根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理。The third aspect of the present invention is to provide an image processing device, including: an acquisition module for acquiring the light intensity of multiple preset wavebands of the current environment; The light intensity determines the light intensity corresponding to at least one spectral band of the multi-spectral camera; the compensation module is configured to perform image compensation on the current image acquired by the multi-spectral camera according to the light intensity corresponding to the spectral band of the multi-spectral camera deal with.
本发明的第四方面是为了提供一种无人机,包括:机体以及上述第二方面所述的图像处理设备,所述图像处理设备设置在机体上。The fourth aspect of the present invention is to provide an unmanned aerial vehicle, including: a body and the image processing device according to the second aspect, the image processing device is provided on the body.
本发明的第五方面是为了提供一种计算机可读存储介质,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于第一方面所述的图像处理方法。The fifth aspect of the present invention is to provide a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used in the first aspect. The image processing method described.
本发明的第六方面是为了提供一种图像处理方法,包括:通过无人机接收当前环境的多个预设波段的光照强度以及多光谱相机的至少一个光谱波段对应的光照强度,所述至少一个光谱波段对应的光照强度是根据所述多个预设波段的所述光照强度确定的;根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理;当处理后的图像是关于植被的图像,根据对所述处理后的图像进行波段特征的提取,确定植被生长指数。The sixth aspect of the present invention is to provide an image processing method, including: receiving, through a drone, the illumination intensity of multiple preset wavebands of the current environment and the illumination intensity corresponding to at least one spectral waveband of the multispectral camera, the at least The light intensity corresponding to a spectral waveband is determined according to the light intensity of the multiple preset wavebands; according to the light intensity corresponding to the spectral waveband of the multispectral camera, the current image acquired by the multispectral camera is imaged Compensation processing; when the processed image is an image of vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
本发明的第七方面是为了提供一种图像处理系统,包括:存储器、处理器以及通信组件。所述存储器,用于存储计算机程序;所述通信组件,用于通过无人机接收当前环境的多个预设波段的光照强度以及多光谱相机的至少一个光谱波段对应的光照强度,所述至少一个光谱波段对应的光照强度是根据所述多个预设波段的所述光照强度确定的;所述处理器,用于根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理;当处理后的图像是关于植被的图像,根据对所述处理后的图像进行波段特征的提取,确定植被生长指数。The seventh aspect of the present invention is to provide an image processing system, including: a memory, a processor, and a communication component. The memory is used to store a computer program; the communication component is used to receive the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera through the drone, and the at least The light intensity corresponding to a spectral band is determined according to the light intensity of the multiple preset wavebands; the processor is configured to perform a measurement on the multi-spectral camera according to the light intensity corresponding to the spectral waveband of the multi-spectral camera. The current image acquired by the camera is subjected to image compensation processing; when the processed image is an image of vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
本发明的第八方面是为了提供一种计算机可读存储介质,其特征在于,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于实现第六方面所述的图像处理方法。The eighth aspect of the present invention is to provide a computer-readable storage medium, characterized in that the storage medium is a computer-readable storage medium, and the computer-readable storage medium stores program instructions, and the program instructions are used for Implement the image processing method described in the sixth aspect.
本发明的第九方面是为了提供一种图像处理装置,包括:接收模块,用于通过无人机接收当前环境的多个预设波段的光照强度以及多光谱相机的至 少一个光谱波段对应的光照强度,至少一个光谱波段对应的光照强度是根据多个预设波段的光照强度确定的;补偿模块,用于根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理;提取模块,用于当处理后的图像是关于植被的图像,根据对处理后的图像进行波段特征的提取,确定植被生长指数。The ninth aspect of the present invention is to provide an image processing device, including: a receiving module for receiving, through the drone, the illumination intensity of multiple preset wavebands of the current environment and the illumination corresponding to at least one spectral waveband of the multispectral camera Intensity, the light intensity corresponding to at least one spectral band is determined according to the light intensity of multiple preset bands; the compensation module is used to image the current image acquired by the multi-spectral camera according to the light intensity corresponding to the spectral band of the multi-spectral camera Compensation processing; extraction module, used when the processed image is an image of vegetation, and determine the vegetation growth index according to the band feature extraction of the processed image.
本发明提供的图像处理方法、设备、无人机、系统和存储介质,能提高图像的成像效果。The image processing method, equipment, drone, system and storage medium provided by the invention can improve the imaging effect of the image.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application, and do not constitute an improper limitation of the application. In the attached picture:
图1为本发明实施例提供的一种图像处理方法的流程示意图;FIG. 1 is a schematic flowchart of an image processing method provided by an embodiment of the present invention;
图2为本发明实施例提供的确定光照强度的流程示意图;FIG. 2 is a schematic diagram of a process for determining light intensity according to an embodiment of the present invention;
图3为本发明实施例提供的图像补偿处理的具体流程示意图;3 is a schematic diagram of a specific flow of image compensation processing provided by an embodiment of the present invention;
图4为本发明实施例提供的图像补偿处理的具体流程示意图;4 is a schematic diagram of a specific flow of image compensation processing provided by an embodiment of the present invention;
图5为本发明实施例提供的一种图像处理装置的结构示意图;FIG. 5 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention;
图6为本发明实施例提供的一种图像处理设备的结构示意图;FIG. 6 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention;
图7为本发明实施例提供的一种图像处理方法的流程示意图;FIG. 7 is a schematic flowchart of an image processing method provided by an embodiment of the present invention;
图8为本发明实施例提供的一种图像处理装置的结构示意图;FIG. 8 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention;
图9为本发明实施例提供的一种图像处理系统的结构示意图。FIG. 9 is a schematic structural diagram of an image processing system provided by an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用 的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.
为了便于理解本申请的技术方案和技术效果,下面对现有技术进行简要说明:In order to facilitate the understanding of the technical solutions and technical effects of this application, a brief description of the prior art is given below:
无人机可以携带多个成像传感器。当无人机飞行在物体的上方时,成像传感器可以通过物体的反射光生成对应的物体航拍图像。同时无人机也可以携带光传感器,当无人机飞行在物体的上方时,其可以提供多个不同波段的实时入射光照强度指数,通过选择实时入射光照强度指数,对航拍图像进行补偿得到补偿后的物体航拍图像。但这种补偿方式容易造成较大的补偿误差,往往获得的补偿效果不理想。The drone can carry multiple imaging sensors. When the drone is flying above the object, the imaging sensor can generate the corresponding aerial image of the object through the reflected light of the object. At the same time, the UAV can also carry a light sensor. When the UAV is flying above the object, it can provide multiple real-time incident light intensity indexes of different bands. By selecting the real-time incident light intensity index, the aerial image can be compensated for compensation. Aerial image of the object behind. However, this compensation method is likely to cause large compensation errors, and the compensation effect often obtained is not ideal.
下面结合附图,对本发明的一些实施方式作详细说明。在各实施例之间不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. As long as there is no conflict between the various embodiments, the following embodiments and the features in the embodiments can be combined with each other.
图1为本发明实施例提供的一种图像处理方法的流程示意图;本申请实施例提供的该方法100可以由飞行设备执行,如,无人机,该无人机上可以设置光采集装置,如光传感器(light sensor)。还可以在无人机上设置多个图像采集装置,如多个图像传感器,多个图像采集装置可以设置在相机中,该相机可以设置在无人机上。在多个图像采集装置中,可以具有几个窄带图像传感器,每个窄带图像传感器对应的窄带波段可以完全不同。该方法100包括以下步骤:Fig. 1 is a schematic flowchart of an image processing method provided by an embodiment of the present invention; the method 100 provided by an embodiment of the present application can be executed by a flying device, such as a drone, and the drone can be provided with a light collection device, such as Light sensor. Multiple image acquisition devices, such as multiple image sensors, can also be provided on the drone. Multiple image acquisition devices can be provided in the camera, and the camera can be provided on the drone. In multiple image acquisition devices, there may be several narrowband image sensors, and the narrowband wavebands corresponding to each narrowband image sensor may be completely different. The method 100 includes the following steps:
步骤101:获取当前环境的多个预设波段的光照强度。Step 101: Obtain the light intensity of multiple preset wavebands in the current environment.
步骤102:根据多个预设波段的光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度。Step 102: Determine the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the light intensity of multiple preset wavebands.
步骤103:根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理。Step 103: Perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera.
本发明提供的一种图像处理方法,根据获取到的多个预设波段的光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度;根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理,从而解决了预设波段的光照强度无法满足对当前图像进行较为精准补偿的问题,同时实现了可以通过从多个预设波段的光照强度中选择出能够较为准确补偿图像的光照强度。The image processing method provided by the present invention determines the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the acquired light intensity of multiple preset wavebands; according to the light intensity corresponding to the spectral waveband of the multispectral camera, The current image acquired by the multispectral camera is subjected to image compensation processing, thereby solving the problem that the light intensity of the preset waveband cannot meet the more accurate compensation of the current image. At the same time, it can be selected from the light intensity of multiple preset wavebands. It can more accurately compensate the light intensity of the image.
根据确定的光照强度,对当前图像进行图像补偿处理,能够使得补偿后 的图像更加精准地接近真实图像,减少补偿误差,提高图像的成像效果。从而进一步地为后续图像中的数据分析提供了较为准确的数据。According to the determined light intensity, performing image compensation processing on the current image can make the compensated image more accurately approach the real image, reduce compensation errors, and improve the imaging effect of the image. So as to further provide more accurate data for data analysis in subsequent images.
需要说明的是,本申请实施例除了可以应用在无人机上,还可以应用其它具有拍摄需求的设备上,如相机、手机、电脑、监控设备等等,无论是哪种执行设备,该执行设备都可以具有光采集装置,还以具有多个图像采集装置以及。It should be noted that, in addition to being applied to drones, the embodiments of this application can also be applied to other equipment with shooting requirements, such as cameras, mobile phones, computers, monitoring equipment, etc., no matter what kind of execution device, the execution device Both can have a light collection device, and can also have multiple image collection devices as well.
对于其它执行设备而言,无人机在执行本申请实施例时,可以拍摄到物体的航拍图像,特别是针对植被的航拍图像,从而可以进行对植被的分布情况以及生长状况的分析。此外,无人机相对于其它执行设备而言,具有更好的灵活性以及自动化性。且其可以飞行到非常严苛的地理环境中去拍摄图像,这是其它执行设备不易做到的。For other execution devices, when the drone executes the embodiments of the present application, it can capture aerial images of objects, especially aerial images of vegetation, so that the distribution and growth conditions of vegetation can be analyzed. In addition, drones have better flexibility and automation compared to other execution equipment. And it can fly into a very harsh geographic environment to take images, which is not easy to do with other execution equipment.
以下针对上述步骤进行详细地阐述:The following is a detailed description of the above steps:
步骤101:获取当前环境的多个预设波段的光照强度。Step 101: Obtain the light intensity of multiple preset wavebands in the current environment.
其中,波段是指对电磁波频谱的划分,特别是对光波频谱的划分,例如,840nm(纳米)波段。预设波段(也可以称为入射波段)是指对应当前环境中光波直接入射或照射过来的多个已知波段,如,860nm波段。在本申请实施例中,可以通过设置在无人机上的光采集装置接收预设波段(即多个预设波段的光照强度自光传感器而得到)。该光采集装置可以提供多个预设波段的光照强度,如18个,那么光采集装置在获取预设波段时,可以直接获取到满足预设波段长度的波段,如,预设的18个波段。或者当光采集装置可以采集一段波段长度范围内的波段时,可以按照先后接收顺序依次获取到存在于该波段长度中的18个预设波段,应理解,一个预设波段对应一个光照强度。Among them, the band refers to the division of the electromagnetic spectrum, especially the division of the light spectrum, for example, the 840nm (nanometer) band. The preset waveband (also referred to as the incident waveband) refers to multiple known wavebands that are directly incident or irradiated by light waves in the current environment, for example, the 860nm waveband. In the embodiment of the present application, the preset waveband (that is, the light intensity of multiple preset wavebands is obtained from the light sensor) can be received by the light collection device provided on the drone. The light collection device can provide multiple preset wavebands of light intensity, such as 18, then when the light collection device acquires the preset waveband, it can directly obtain the waveband that meets the preset waveband length, for example, the preset 18 wavebands . Or when the light collecting device can collect a waveband within a range of waveband length, it can sequentially obtain 18 preset wavebands existing in the waveband length in the order of receiving. It should be understood that one preset waveband corresponds to one light intensity.
光照强度是指单位面积上所接受可见光的能量,简称照度;可用于指示光照的强弱和物体表面积被照明程度的量。Illumination intensity refers to the energy of visible light received per unit area, referred to as illuminance; it can be used to indicate the intensity of illumination and the amount of illumination of the surface area of an object.
例如,无人机在植被上空飞行时,可以通过设置在无人机上的光传感器实时接收到自然环境下的18个不同光波的预设波段的光照强度,如860nm的光照强度、810nm的光照强度……等。For example, when the drone is flying over the vegetation, it can receive the light intensity of 18 different light waves in the natural environment in real time through the light sensor set on the drone, such as the light intensity of 860nm and the light intensity of 810nm. ……Wait.
步骤102:根据多个预设波段的光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度。Step 102: Determine the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the light intensity of multiple preset wavebands.
其中,多光谱相机是指可以接收多个预设光谱波段(即光谱波段)的相 机,且该相机可以根据接收到的多个预设光谱波段进行成像。接收到的光谱波段(也可以称为接收到的反射波段)是指光波照射在物体上,如植被上,植被反射的光波波段,如840nm(纳米)波段。在本申请实施例中,可以具体通过设置在多光谱相机中的图像采集装置,如窄带图像传感器,获取光谱波段的光照强度。每个图像采集装置对应一个光谱波段,也可以称为是该图像采集装置的工作波段。Among them, a multi-spectral camera refers to a camera that can receive multiple preset spectral bands (that is, spectral bands), and the camera can perform imaging according to the received multiple preset spectral bands. The received spectral band (also called the received reflection band) refers to the light wave irradiated on an object, such as vegetation, and the light wave band reflected by the vegetation, such as the 840nm (nanometer) band. In the embodiment of the present application, the light intensity of the spectral waveband can be obtained by using an image acquisition device provided in a multispectral camera, such as a narrowband image sensor. Each image acquisition device corresponds to a spectral band, which can also be referred to as the working band of the image acquisition device.
具体的,图2示出了确定光照强度的方式200,其确定多个光谱波段对应的光照强度的方式可以包括:步骤201:当当前环境的多个预设波段和多光谱相机接收到的多个光谱波段不匹配时,从多个预设波段中选取两个第一预设波段;步骤202:根据两个第一预设波段确定多光谱相机的第一光谱波段对应的第一光照强度。Specifically, FIG. 2 shows a method 200 for determining light intensity. The method for determining light intensity corresponding to multiple spectral bands may include: Step 201: When multiple preset wavebands in the current environment and the multi-spectral camera receive When the two spectral bands do not match, two first preset wavebands are selected from a plurality of preset wavebands; Step 202: Determine the first light intensity corresponding to the first spectral waveband of the multispectral camera according to the two first preset wavebands.
其中,第一光谱波段属于多个光谱波段中的一个,其光照强度则为第一光照强度。第一光谱波段与多个预设波段中的每个预设波段都不匹配。第一预设波段为多个预设波段中的至少一个波段,且该第一预设波段与第一光谱波段不匹配。Among them, the first spectral band belongs to one of the multiple spectral bands, and its light intensity is the first light intensity. The first spectral band does not match each of the plurality of preset bands. The first preset waveband is at least one waveband among a plurality of preset wavebands, and the first preset waveband does not match the first spectral waveband.
应理解,上述不匹配的情况可以是完全不匹配的情况,也可以是不完全匹配的情况,即部分不匹配与部分匹配的情况同时存在。不匹配时则为第一预设波段与第一光谱波段不同。It should be understood that the above-mentioned mismatch may be a complete mismatch or an incomplete match, that is, a partial mismatch and a partial match exist at the same time. When it does not match, the first preset waveband is different from the first spectral waveband.
例如,根据前文所述,无人机将5个窄带图像传感器对应的各个窄带波段(即光谱波段)与18个不同的预设波段比较,当5个窄带波段中存在至少一个窄带波段与18个不同的预设波段中的每个波段均不相同,如窄带波段840nm不存在于18个不同的预设波段中。则无人机从18个不同的预设波段的光照强度选择任意两个预设波段的光照强度,如860nm的光照强度以及810nm的光照强度。确定这两个预设波段的光照强度平均值作为第一光照强度。For example, according to the foregoing, the UAV compares the narrowband bands (that is, spectral bands) corresponding to 5 narrowband image sensors with 18 different preset bands, when there are at least one narrowband band and 18 narrowband bands in the 5 narrowband bands. Each of the different preset wavebands is different. For example, the narrowband waveband 840nm does not exist in the 18 different preset wavebands. The UAV selects the light intensity of any two preset wavebands from the light intensity of 18 different preset wavebands, such as the light intensity of 860nm and the light intensity of 810nm. Determine the average value of the light intensity of the two preset wavebands as the first light intensity.
此外,为了提高图像补偿的精确性,确定第一光照强度的方式可以包括以下两种:In addition, in order to improve the accuracy of image compensation, the method for determining the first light intensity may include the following two:
1)、可以利用线性插值法,根据两个第一预设波段,计算第一光照强度。1) The linear interpolation method can be used to calculate the first light intensity according to the two first preset wavebands.
2)、根据两个第一预设波段的光照强度之间的差值与两个第一预设波段之间的差值的比例,确定第一光照强度。2) Determine the first light intensity according to the ratio of the difference between the light intensity of the two first preset wavebands and the difference between the two first preset wavebands.
其中,线性插值法可以通过下式1)确定:Among them, the linear interpolation method can be determined by the following formula 1):
Figure PCTCN2019107977-appb-000001
Figure PCTCN2019107977-appb-000001
其中,x表示为第一光谱波段,x 1,x 2为两个不同的预设波段,f(x)表示为第一光谱波段对应的第一光照强度,f(x 1)表示为x 1预设波段x 1对应的光照强度,f(x 2)表示为预设波段x 2对应的光照强度。且预设波段x 1≠预设波段x 2Among them, x is the first spectral band, x 1 , x 2 are two different preset bands, f(x) is the first light intensity corresponding to the first spectral band, f(x 1 ) is x 1 The light intensity corresponding to the preset waveband x 1 , f(x 2 ) represents the light intensity corresponding to the preset wave band x 2. And the preset band x 1 ≠ the preset band x 2 .
上述式1)经过变换后,确定的光谱波段对应的光照强度由下式2)确定:After the above formula 1) is transformed, the light intensity corresponding to the determined spectral band is determined by the following formula 2):
Figure PCTCN2019107977-appb-000002
Figure PCTCN2019107977-appb-000002
根据前文所述,无人机将5个窄带图像传感器对应的各个窄带波段(即光谱波段)与18个不同的预设波段比较,当5个窄带波段中存在至少一个窄带波段与18个不同的预设波段中的每个波段均不相同,如窄带波段840nm不存在于18个不同的预设波段中。则无人机从18个不同的预设波段的光照强度选择任意两个不同预设波段的光照强度,如860nm的光照强度以及810nm的光照强度。无人机通过上式2)确定出窄带波段840nm的第一光照强度f(x)的数值。According to the foregoing, the UAV compares the narrowband bands (that is, spectral bands) corresponding to the 5 narrowband image sensors with 18 different preset bands. When there are at least one narrowband band and 18 different bands in the 5 narrowband bands Each of the preset wavebands is different. For example, the narrowband waveband 840nm does not exist in 18 different preset wavebands. Then the drone selects the light intensity of any two different preset wavebands from the light intensity of 18 different preset wavebands, such as the light intensity of 860nm and the light intensity of 810nm. The UAV determines the value of the first light intensity f(x) in the narrowband band of 840nm through the above formula 2).
需要说明的是,除了可以通过线性插值法,确定窄带波段的光照强度,还可以通过其它方法来确定,如曲线插值关系来确定。以上实施方式仅用于解释说明的目的,并非限制本发明。其他能够依据预设波段的光照强度来确定多光谱相机的光谱波段对应的光照强度的实施方式,均落入本发明的保护范围。It should be noted that, in addition to the linear interpolation method to determine the light intensity of the narrowband band, it can also be determined by other methods, such as curve interpolation. The above embodiments are only for the purpose of explanation, and do not limit the present invention. Other implementations that can determine the light intensity corresponding to the spectral waveband of the multispectral camera according to the light intensity of the preset waveband fall within the protection scope of the present invention.
另外,方式2)中根据比例来确定第一光照强度的方式也可以通过方式1)的具体实施方式来实现,此处就不再赘述。In addition, the method of determining the first light intensity according to the ratio in the manner 2) can also be implemented through the specific implementation manner of the manner 1), which will not be repeated here.
上述确定光照强度的实施基础,已经可以较为精准地确定出了光谱波段的光照强度。为了可以进一步更加精准地确定光谱波段的光照强度,在选择两个第一预设波段时,可以选择最接近第一光谱波段的(即在多个波段中,两个第一预设波段最接近第一光谱波段)。The above-mentioned implementation basis for determining the light intensity has been able to determine the light intensity in the spectral band with a relatively precise degree. In order to determine the light intensity of the spectral band more accurately, when selecting the two first preset bands, you can choose the one closest to the first spectral band (that is, among the multiple bands, the two first preset bands are the closest The first spectral band).
例如,根据前文所述,无人机在确定窄带波段840nm不存在于18个不同的预设波段中后,可以从18个不同的预设波段的光照强度中选择最接近840nm的两个预设波段,860nm和810nm。再通过上式2)确定出窄带波段840nm的第一光照强度f(x)的数值。For example, according to the foregoing, after determining that the narrowband band 840nm does not exist in 18 different preset bands, the UAV can select the two presets closest to 840nm from the light intensity of the 18 different preset bands. Bands, 860nm and 810nm. Then, determine the value of the first light intensity f(x) in the narrowband wavelength band of 840nm through the above formula 2).
此外,当无人机确定至少一个窄带波段存在于18个不同的预设波段中, 确定多个光谱波段对应的光照强度,包括:自多光谱相机获取第一光谱波段;当当前环境的多个预设波段中的第二预设波段和多光谱相机的第一光谱波段匹配时,直接根据第二预设波段的第二光照强度确定第一光谱波段的第一光照强度。In addition, when the drone determines that at least one narrowband band exists in 18 different preset bands, determining the light intensity corresponding to multiple spectral bands includes: obtaining the first spectral band from a multi-spectral camera; When the second preset waveband in the preset waveband matches the first spectral waveband of the multispectral camera, the first light intensity of the first spectral waveband is directly determined according to the second light intensity of the second preset waveband.
其中,若当前环境的多个预设波段中的第二预设波段和多光谱相机的第一光谱波段匹配,则第二预设波段与第一光谱波段相同。Wherein, if the second preset waveband among the multiple preset wavebands of the current environment matches the first spectral waveband of the multispectral camera, the second preset waveband is the same as the first spectral waveband.
例如,根据前文所述,如果无人机在确定窄带波段840nm存在于18个不同的预设波段中之后,即无人机通过光传感器接收到了预设波段为840nm的光照强度,则无人机直接获取该预设波段为840nm的光照强度作为窄带波段840nm的光照强度。For example, according to the foregoing, if the UAV determines that the narrowband band 840nm exists in 18 different preset bands, that is, the UAV receives the light intensity of the preset band 840nm through the light sensor, then the UAV The light intensity of the preset wavelength band of 840 nm is directly obtained as the light intensity of the narrowband wavelength band of 840 nm.
由于在根据窄带图像传感器生成的单色图像,可能会存在坏像素的问题、以及图像中各个物体的清晰度不够等,需要对单色图像进行补偿,以便后续更利于图像中各个信息的提取处理。Since the monochrome image generated by the narrowband image sensor may have the problem of bad pixels, and the lack of clarity of each object in the image, it is necessary to compensate the monochrome image in order to facilitate the subsequent extraction of various information in the image. .
步骤103:根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理。Step 103: Perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera.
其中,多光谱相机的光谱波段对应的光照强度可以是指根据上述实施方式确定出来的光照强度,如通过线性插值法确定的光照强度。还可以是指确定光照强度以及接收到的光谱波段的光照强度,该接收到的光照强度是用来确定补偿前的图像,即当前图像。Wherein, the light intensity corresponding to the spectral band of the multispectral camera may refer to the light intensity determined according to the foregoing embodiment, such as the light intensity determined by linear interpolation. It can also refer to determining the light intensity and the received light intensity of the spectral band, and the received light intensity is used to determine the image before compensation, that is, the current image.
其中,获取当前图像的方式可以包括:多光谱相机接收多个光谱波段的光照强度,从接收到的多个光谱波段的光照强度中获取至少一个预置光谱波段的光照强度;根据获取到的至少一个光照强度,生成至少一个图像;根据至少一个图像,获取当前图像(即通过多光谱相机获取第一光谱波段对应的第二光照强度,以及根据第二光照强度获取当前图像)。Wherein, the method of acquiring the current image may include: the multispectral camera receives the light intensity of multiple spectral bands, and obtains the light intensity of at least one preset spectral band from the received light intensity of the multiple spectral bands; One light intensity generates at least one image; according to the at least one image, the current image is acquired (that is, the second light intensity corresponding to the first spectral band is acquired through the multispectral camera, and the current image is acquired according to the second light intensity).
其中,根据至少一个图像,获取当前图像的方式可以包括:Wherein, according to at least one image, the way to obtain the current image may include:
1)、直接将至少一个图像作为当前图像。如,针对同一植被,生成5个图像,将这5个图像直接作为1个当前图像,不进行组合。1). Directly use at least one image as the current image. For example, for the same vegetation, 5 images are generated, and these 5 images are directly used as a current image without combining.
2)、将至少一个图像组成当前图像。如,针对同一地区的不同植被,且不同植被彼此相邻,生成5个图像,则根据相邻关系可以将这5个图像可组成一个连续的图像,从而将这5个图像组成1个当前图像。2). Combine at least one image into the current image. For example, for different vegetations in the same area, and different vegetations are adjacent to each other, 5 images are generated, then these 5 images can be formed into a continuous image according to the adjacent relationship, so that these 5 images are formed into 1 current image .
例如,根据前文所述,无人机在植被上空飞行,通过其多光谱相机内的5个窄带图像传感器接收到20个植被反射波段的光照强度。每个窄带图像传感器对应的窄带波段可以不同,A窄带图像传感器对应的窄带波段为450nm(即光谱波段),B窄带图像传感器对应的窄带波段为560nm,C窄带图像传感器对应的窄带波段为640nm,D窄带图像传感器对应的窄带波段为730nm,E窄带图像传感器对应的窄带波段为840nm。每个窄带图像传感器识别各自对应窄带波段的光谱波段以及光谱波段的光照强度。以A窄带图像传感器对应的窄带波段为450nm为示例说明获取指植被图像的过程,A窄带图像传感器识别出光谱波段为450nm的光照强度,并通过图像传感器的众多感光单位将该光照强度转换为电荷,在将电荷转换为数字信号,其中,每个感光单位又可以称为一个像素单元,根据这些数字信号确定出对应的TIFF格式的单色图,如植被航拍生长红色图像。以此类推,每个窄带图像传感器都生成一个对应的植被航拍生长单色图像。此时,可以将5个植被航拍生长单色图像直接作为1个目标图像,等待针对各个单色图像进行图像补偿,也可以作为5个目标图像。或者,还可以将多个图像按照各个图像传感器的空间位置,合成一个完整的植被航拍生长单色图像。如,5个窄带图像传感器依次横向排列,则将每个图像传感器生成的单色图像横向排列合成完整单色图像。For example, according to the foregoing, the drone flies over the vegetation, and receives the light intensity of 20 vegetation reflection bands through the 5 narrowband image sensors in its multi-spectral camera. The narrowband band corresponding to each narrowband image sensor can be different. The narrowband band corresponding to the A narrowband image sensor is 450nm (that is, the spectral band), the narrowband band corresponding to the B narrowband image sensor is 560nm, and the narrowband band corresponding to the C narrowband image sensor is 640nm. The narrowband waveband corresponding to the D narrowband image sensor is 730nm, and the narrowband waveband corresponding to the E narrowband image sensor is 840nm. Each narrowband image sensor recognizes the corresponding narrowband spectral band and the light intensity of the spectral band. Take the 450nm narrowband image sensor corresponding to the narrowband A as an example to illustrate the process of obtaining a vegetation image. The narrowband image sensor A recognizes the light intensity at the 450nm spectral band, and converts the light intensity into electric charge through the many photosensitive units of the image sensor. In the process of converting the charge into a digital signal, each photosensitive unit can also be called a pixel unit. According to these digital signals, the corresponding monochrome image in TIFF format is determined, such as a red image of vegetation growing in aerial photography. By analogy, each narrowband image sensor generates a corresponding monochrome image of vegetation aerial growth. At this time, the 5 vegetation aerial growth monochrome images can be directly used as one target image, waiting for image compensation for each monochrome image, or they can be used as five target images. Alternatively, multiple images can be combined according to the spatial position of each image sensor to synthesize a complete vegetation aerial growth monochrome image. For example, if five narrowband image sensors are arranged horizontally in sequence, the monochrome images generated by each image sensor are arranged horizontally to synthesize a complete monochrome image.
应理解,在无人机中也可以只设置一个窄带图像传感器,但仅设置一个窄带图像传感器时,通过该窄带图像传感器得到的单色图像直接作为后续需要进行补偿的图像,无需在进行图像的合成。It should be understood that only one narrowband image sensor can be provided in the drone, but when only one narrowband image sensor is provided, the monochrome image obtained by the narrowband image sensor is directly used as the image that needs to be compensated later, and there is no need to perform image processing. synthesis.
此外,窄带图像传感器可以是200万像素的全局快门图像传感器,可以具有一定的空间排列布局。In addition, the narrowband image sensor may be a 2 million pixel global shutter image sensor, and may have a certain spatial arrangement layout.
具体的,当前图像进行图像补偿处理可以包括以下两种:Specifically, image compensation processing for the current image may include the following two types:
方式1)、图3示出了图像补偿处理的方式300,其包括:步骤301:根据第一光照强度对第二光照强度进行补偿;步骤302:根据补偿后的第二光照强度,对当前图像进行图像补偿处理。Manner 1) and Fig. 3 show a method 300 of image compensation processing, which includes: Step 301: Compensate for the second light intensity according to the first light intensity; Step 302: Compensate for the current image according to the compensated second light intensity Perform image compensation processing.
例如,根据前文所述,无人机在确定了窄带波段对应的光照强度后,可以直接将光照强度的数值作为对应窄带图像传感器(如,窄带波段为840nm的窄带图像传感器)得到的数字信号的数据,即补偿的数字信号。将补偿的数字信号与对应窄带波段840nm的原始数字信号(即图像补偿前该波段对应的数字信号)进行合并,根据合并后数字信号的数据生成单色图像。For example, according to the foregoing, after the UAV determines the light intensity corresponding to the narrowband waveband, it can directly use the value of the light intensity as the digital signal obtained by the corresponding narrowband image sensor (for example, a narrowband image sensor with a narrowband waveband of 840nm). Data, that is, compensated digital signal. The compensated digital signal is combined with the original digital signal corresponding to the narrowband 840nm (ie, the digital signal corresponding to the band before image compensation), and a monochrome image is generated according to the data of the combined digital signal.
方式2)、图4示出了图像补偿处理的方式400,其包括:步骤401:自多光谱相机获取第一光谱波段对应的第二光照强度;步骤402:根据第一光照强度和第二光照强度,对多光谱相机获取的当前图像进行图像补偿处理。Manner 2) and Figure 4 show a method 400 of image compensation processing, which includes: Step 401: Obtain the second light intensity corresponding to the first spectral band from the multispectral camera; Step 402: According to the first light intensity and the second light intensity Intensity, perform image compensation processing on the current image acquired by the multispectral camera.
例如,根据前文所述,无人机可以根据获取到的第二光照强度生成当前图像。无人机直接将该补偿后数字信号的数据生成补偿单色图像,将该补偿单色图像与当前图像进行组合,即完成了图像补偿。还可以根据上述方式1)中的具体实施方式实现,此处就不再赘述。For example, according to the foregoing, the drone can generate the current image according to the acquired second light intensity. The UAV directly generates a compensated monochrome image from the compensated digital signal data, and combines the compensated monochrome image with the current image to complete the image compensation. It can also be implemented according to the specific implementation in the above manner 1), which will not be repeated here.
应理解,第一光谱波段对应的第二光照强度可用于生成当前图像,而第一光谱波段对应的第一光照强度是指用于补偿当前图像的光照强度。It should be understood that the second light intensity corresponding to the first spectral waveband can be used to generate the current image, and the first light intensity corresponding to the first spectral waveband refers to the light intensity used to compensate the current image.
在对图像补偿完之后,该补偿后的图像可以更加精准,尤其更加接近真实图像,或者物体真实样貌,特别是物体真实航拍样貌。在得到补偿后的图像,可以根据后续应用场景的不同,对该补偿后的图像进行不同的处理,例如,在植被生长的应用场景中,可以根据该补偿后的图像,确定植被生长情况。还可以,在监控的应用场景中,对补偿后的图像进行待监控事物的识别以及跟踪。还可以,在照相的应用场景中,对补偿后的图像进行修图等。值得说明的是,在一些应用场景中,例如监控的应用场景以及照相的应用场景中,还可以进一步对补偿后的单色图像进行彩色图像处理,即将补偿后的单色图像进行去单色,上彩色的处理,从而得到一副补偿后的彩色图像。After the image is compensated, the compensated image can be more accurate, especially closer to the real image, or the real appearance of the object, especially the real aerial appearance of the object. After obtaining the compensated image, the compensated image can be processed differently according to different subsequent application scenarios. For example, in an application scenario of vegetation growth, the vegetation growth condition can be determined according to the compensated image. It is also possible to identify and track things to be monitored on the compensated image in the monitoring application scenario. It is also possible to retouch the compensated image in the application scene of photography. It is worth noting that in some application scenes, such as monitoring application scenes and photographing application scenes, it is possible to further perform color image processing on the compensated monochrome image, that is, to de-monochrome the compensated monochrome image. Color processing to obtain a compensated color image.
本申请实施例以植被生长的应用场景为例,进行补偿后图像处理的说明:In the embodiment of the present application, an application scenario of vegetation growth is taken as an example to describe the image processing after compensation:
该处理的方式可以包括:当处理后的图像是关于植被的图像,根据对处理后的图像进行波段特征的提取,确定植被生长指数。The processing method may include: when the processed image is an image of vegetation, the vegetation growth index is determined according to the extraction of the band characteristics of the processed image.
其中,植被生长指数(NDVI,Normalized Difference Vegetation Index)是指植被生长状态(反映植被长势和营养信息的重要参数之一)、植被覆盖度和消除部分辐射误差等。能反映出植物冠层的背景影响,如土壤、潮湿地面、雪、枯叶、粗糙度等,且与植被覆盖有关。Among them, the vegetation growth index (NDVI, Normalized Difference Vegetation Index) refers to the growth state of vegetation (one of the important parameters reflecting vegetation growth and nutritional information), vegetation coverage, and the elimination of some radiation errors. It can reflect the background influence of the plant canopy, such as soil, wet ground, snow, dead leaves, roughness, etc., and is related to vegetation cover.
提取的过程可以为,无人机可以在得到补偿后的植被航拍单色图像后,对该单色图像进行光谱特征提取,根据光谱特征确定NDVI。其中,NDVI是通过近红外波段的反射值与红光波段的反射值之差比上两者之和。The extraction process can be as follows. After the UAV obtains the compensated vegetation aerial monochromatic image, extracts the spectral features of the monochromatic image, and determines the NDVI based on the spectral features. Among them, NDVI is the sum of the difference between the reflection value of the near-infrared waveband and the reflection value of the red light waveband.
需要说明的是,除了无人机可以直接确定该NDVI,还可以通过其它设备来确定该NDVI,当通过其它设备,例如图像识别设备(具体地,电脑以及服务器),来确定NDVI时,需要无人机将补偿后的植被航拍单色图像通过网络 发送至图像识别设备,由图像识别设备进行NDVI的确定,确定过程的具体实施方式与无人机确定NDVI的具体实施方式相同,此处就不再赘述。It should be noted that in addition to the drone that can directly determine the NDVI, the NDVI can also be determined by other devices. When the NDVI is determined by other devices, such as image recognition devices (specifically, computers and servers), no The human-computer sends the compensated vegetation aerial monochrome image to the image recognition device through the network, and the image recognition device determines the NDVI. The specific implementation of the determination process is the same as the specific implementation of the drone to determine the NDVI. Go into details again.
本申请实施例可以适用于不同无人机型号,不同无人机在不同飞行时间对同一植被进行航拍得到的NDVI相同。由此,可以针对该特性,对某次航拍得到某一植被的NDBVI进行检测,该检测过程可以包括:通过不同飞行设备和/或不同飞行时间,确定同一植被对应的多个植被生长指数;在多个植被生长指数相同的情况下,确定植被生长指数正确。当确定同一植被的多个NDVI相同时,则该NDVI是正确的。The embodiments of the present application may be applicable to different drone models, and the NDVI obtained by aerial photography of the same vegetation at different flight times by different drones is the same. Therefore, it is possible to detect the NDBVI of a certain vegetation obtained in a certain aerial photography according to this characteristic. The detection process may include: determining multiple vegetation growth indexes corresponding to the same vegetation through different flight equipment and/or different flight times; If multiple vegetation growth indexes are the same, confirm that the vegetation growth index is correct. When it is determined that multiple NDVI of the same vegetation are the same, the NDVI is correct.
图5为本发明实施例提供的一种图像处理装置的结构示意图;该装置500可以应用于飞行设备中,例如,无人机,该装置500可以执行上述的图像处理方法。其中,该装置500包括:获取模块501、确定模块502以及补偿模块503。以下针对各个模块的功能进行详细的阐述:FIG. 5 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention; the device 500 can be applied to flying equipment, such as a drone, and the device 500 can execute the above-mentioned image processing method. Wherein, the device 500 includes: an acquisition module 501, a determination module 502, and a compensation module 503. The following is a detailed description of the functions of each module:
获取模块501,用于获取当前环境的多个预设波段的光照强度。The obtaining module 501 is configured to obtain the light intensity of multiple preset wavebands in the current environment.
确定模块502,用于根据多个预设波段的光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度。The determining module 502 is configured to determine the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the light intensity of multiple preset wavebands.
补偿模块503,用于根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理。The compensation module 503 is configured to perform image compensation processing on the current image acquired by the multi-spectral camera according to the light intensity corresponding to the spectral band of the multi-spectral camera.
需要注意的是,本实施例未详细描述的部分,可参考上述图像的处理方法所示实施例的相关说明,在此不再赘述。It should be noted that, for parts that are not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the image processing method above, and details are not repeated here.
在一个可能的设计中,图5所示图像处理装置500的结构可实现为一电子设备,该电子设备可以是图像处理设备,如手机、平板电脑、服务器等各种设备。如图6所示,该图像处理设备600可以包括:一个或多个处理器601、一个或多个存储器602以及光采集装置603。其中,存储器602用于存储支持电子设备执行上述图1-图4所示实施例中提供的图像的处理方法的程序。其中,电子设备还可以包括相机604;相机包括图像采集装置;处理器601被配置为用于执行存储器602中存储的程序。具体的,程序包括一条或多条计算机指令,其中,一条或多条计算机指令被处理器601执行时能够实现如下步骤:In a possible design, the structure of the image processing apparatus 500 shown in FIG. 5 may be implemented as an electronic device, and the electronic device may be an image processing device, such as various devices such as a mobile phone, a tablet computer, and a server. As shown in FIG. 6, the image processing device 600 may include: one or more processors 601, one or more memories 602, and a light collecting device 603. Wherein, the memory 602 is used to store a program that supports the electronic device to execute the image processing method provided in the embodiment shown in FIG. 1 to FIG. 4 above. The electronic device may also include a camera 604; the camera includes an image acquisition device; and the processor 601 is configured to execute a program stored in the memory 602. Specifically, the program includes one or more computer instructions, where one or more computer instructions can implement the following steps when executed by the processor 601:
运行存储器中存储的计算机程序以实现:根据多个预设波段的光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度;根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理。Run the computer program stored in the memory to realize: determine the light intensity corresponding to at least one spectral band of the multi-spectral camera according to the light intensity of multiple preset bands; according to the light intensity corresponding to the spectral band of the multi-spectral camera, The acquired current image is subjected to image compensation processing.
光采集装置603,用于获取当前环境的多个预设波段的光照强度;接收多个入射波段的光照强度。The light collecting device 603 is configured to obtain the light intensity of multiple preset wavebands in the current environment; and receive the light intensity of multiple incident wavebands.
具体的,处理器601,具体用于:当当前环境的多个预设波段和多光谱相机接收到的多个光谱波段不匹配时,从多个预设波段中选取两个第一预设波段,并根据两个第一预设波段确定多光谱相机的第一光谱波段对应的第一光照强度。Specifically, the processor 601 is specifically configured to: when multiple preset wavebands of the current environment and multiple spectral wavebands received by the multispectral camera do not match, select two first preset wavebands from the multiple preset wavebands , And determine the first light intensity corresponding to the first spectral waveband of the multispectral camera according to the two first preset wavebands.
进一步,图像处理设备600还包括:通信组件;通信组件,用于通过多光谱相机获取第一光谱波段对应的第二光照强度,以及根据第二光照强度获取当前图像。Further, the image processing device 600 further includes: a communication component; the communication component is configured to obtain the second light intensity corresponding to the first spectral band through the multi-spectral camera, and obtain the current image according to the second light intensity.
处理器601,具体用于:根据第一光照强度对第二光照强度进行补偿;根据补偿后的第二光照强度,对当前图像进行图像补偿处理。The processor 601 is specifically configured to: compensate the second light intensity according to the first light intensity; and perform image compensation processing on the current image according to the compensated second light intensity.
具体的,通信组件,用于自多光谱相机获取第一光谱波段对应的第二光照强度。Specifically, the communication component is used to obtain the second light intensity corresponding to the first spectral band from the multi-spectral camera.
处理器601,具体用于:根据第一光照强度和第二光照强度,对多光谱相机获取的当前图像进行图像补偿处理。The processor 601 is specifically configured to: perform image compensation processing on the current image acquired by the multispectral camera according to the first light intensity and the second light intensity.
进一步,处理器601,还用于:利用线性插值法,根据两个第一预设波段,计算第一光照强度。Further, the processor 601 is further configured to: use a linear interpolation method to calculate the first light intensity according to the two first preset wavebands.
具体的,处理器601,具体用于:根据两个第一预设波段的光照强度之间的差值与两个第一预设波段之间的差值的比例,确定第一光照强度。Specifically, the processor 601 is specifically configured to determine the first light intensity according to the ratio of the difference between the light intensity of the two first preset wavebands and the difference between the two first preset wavebands.
进一步,在多个波段中,两个第一预设波段最接近第一光谱波段。Further, among the multiple wavebands, the two first preset wavebands are closest to the first spectral waveband.
进一步,通信组件,还用于:自多光谱相机获取第一光谱波段;Further, the communication component is also used to: obtain the first spectral band from the multispectral camera;
处理器601,具体用于:当当前环境的多个预设波段中的第二预设波段和多光谱相机的第一光谱波段匹配时,直接根据第二预设波段的第二光照强度确定第一光谱波段的第一光照强度。The processor 601 is specifically configured to: when the second preset waveband of the multiple preset wavebands of the current environment matches the first spectral waveband of the multispectral camera, directly determine the second light intensity of the second preset waveband The first light intensity in a spectral band.
具体的,多个预设波段的光照强度自光传感器而得到。Specifically, the light intensity of a plurality of preset wavebands is obtained from the light sensor.
进一步,处理器601,还用于:当处理后的当前图像是关于植被的图像,根据对处理后的图像进行波段特征的提取,确定植被生长指数。Further, the processor 601 is further configured to: when the processed current image is an image about vegetation, determine the vegetation growth index according to the band feature extraction of the processed image.
进一步,处理器601,还用于:通过不同飞行设备和/或不同飞行时间,确定同一植被对应的多个植被生长指数;在多个植被生长指数相同的情况下,确定植被生长指数正确。Further, the processor 601 is further configured to: determine multiple vegetation growth indices corresponding to the same vegetation through different flying equipment and/or different flight times; when the multiple vegetation growth indices are the same, determine that the vegetation growth index is correct.
另外,本发明实施例提供了一种计算机可读存储介质,存储介质为计算 机可读存储介质,该计算机可读存储介质中存储有程序指令,程序指令用于实现上述图1-图4的图像处理方法。In addition, an embodiment of the present invention provides a computer-readable storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used to implement the images shown in FIGS. 1 to 4 above. Approach.
本发明实施例提供的一种无人机;具体的,该无人机包括:机体以及图6所示的图像处理设备,图像处理设备设置在机体上。An embodiment of the present invention provides an unmanned aerial vehicle; specifically, the unmanned aerial vehicle includes a body and the image processing device shown in FIG. 6, and the image processing device is arranged on the body.
进一步,无人机还包括:多光谱相机;多光谱相机,用于向图像处理设备提供当前图像以及用于确定当前图像的光照强度;光照强度通过多光谱相机获取到的光谱波段确定。Further, the UAV also includes: a multi-spectral camera; a multi-spectral camera, used to provide the image processing device with a current image and used to determine the light intensity of the current image; the light intensity is determined by the spectral band obtained by the multi-spectral camera.
图7为本发明实施例提供的一种图像处理方法的流程示意图;本申请实施例提供的该方法700由具有计算能力的图像处理系统执行,如,电脑以及服务器等,还以是虚拟服务器、云服务器等。该方法700包括以下步骤:FIG. 7 is a schematic flowchart of an image processing method provided by an embodiment of the present invention; the method 700 provided by an embodiment of the present application is executed by an image processing system with computing capabilities, such as a computer and a server, etc., or a virtual server, Cloud server, etc. The method 700 includes the following steps:
701:通过无人机接收当前环境的多个预设波段的光照强度以及多光谱相机的至少一个光谱波段对应的光照强度,至少一个光谱波段对应的光照强度是根据多个预设波段的光照强度确定的。701: Receive the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera through the drone, and the light intensity corresponding to at least one spectral waveband is based on the light intensity of the multiple preset wavebands definite.
702:根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理。702: Perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera.
703:当处理后的图像是关于植被的图像,根据对处理后的图像进行波段特征的提取,确定植被生长指数。703: When the processed image is an image of vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
需要说明的是,步骤701-步骤703的具体实施方式在前文已经详细阐述过了,此处就不再赘述。仅说明,在该方法700中可以由设备,如电脑执行。电脑执行时,需要先接收无人机发送的多个预设波段的光照强度以及至少一个光谱波段的光照强度。多个预设波段的光照强度以及至少一个光谱波段的光照强度是由无人机通过前文所述的具体实施方式获取到的。电脑在接收到这些信息后,可以进行图像补偿以及确定植被生长指数。It should be noted that the specific implementation manners of step 701 to step 703 have been described in detail in the foregoing, and will not be repeated here. For illustration only, the method 700 can be executed by a device, such as a computer. When the computer is executed, it needs to receive the light intensity of multiple preset wavebands and the light intensity of at least one spectral waveband sent by the drone. The light intensity of multiple preset wavebands and the light intensity of at least one spectral waveband are obtained by the drone through the specific implementation described above. After receiving this information, the computer can perform image compensation and determine the vegetation growth index.
需要注意的是,本实施例未详细描述的部分,可参考上述图像的处理方法所示实施例的相关说明,在此不再赘述。It should be noted that, for parts that are not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the image processing method above, and details are not repeated here.
图8为本发明实施例提供的一种图像处理装置的结构示意图;该装置800可以应用于具有计算能力的图像处理系统,如,电脑以及服务器等,还以是虚拟服务器、云服务器等,该装置800可以执行上述的图像处理方法。其中,该装置800包括:接收模块801、补偿模块802以及提取模块803。以下针对各个模块的功能进行详细的阐述:FIG. 8 is a schematic structural diagram of an image processing device provided by an embodiment of the present invention; the device 800 can be applied to image processing systems with computing capabilities, such as computers and servers, and also virtual servers, cloud servers, etc. The device 800 can execute the above-mentioned image processing method. Wherein, the device 800 includes: a receiving module 801, a compensation module 802, and an extraction module 803. The following is a detailed description of the functions of each module:
接收模块801,用于通过无人机接收当前环境的多个预设波段的光照强度以及多光谱相机的至少一个光谱波段对应的光照强度,至少一个光谱波段对应的光照强度是根据多个预设波段的光照强度确定的。The receiving module 801 is configured to receive the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera through the drone, and the light intensity corresponding to the at least one spectral waveband is based on the multiple presets The light intensity of the band is determined.
补偿模块802,用于根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理。The compensation module 802 is configured to perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera.
提取模块803,用于当处理后的图像是关于植被的图像,根据对处理后的图像进行波段特征的提取,确定植被生长指数。The extraction module 803 is used to determine the vegetation growth index according to the extraction of the band characteristics of the processed image when the processed image is an image about vegetation.
需要注意的是,本实施例未详细描述的部分,可参考上述图像的处理方法所示实施例的相关说明,在此不再赘述。It should be noted that, for parts that are not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the image processing method above, and details are not repeated here.
在一个可能的设计中,图8所示图像处理装置800的结构可实现为一电子设备,该电子设备可以是图像处理系统,如手机、平板电脑、服务器等各种设备。如图9所示,该图像处理系统900可以包括:一个或多个处理器901、一个或多个存储器902和一个或多个通信组件903。其中,存储器902用于存储支持电子设备执行上述图7所示实施例中提供的图像处理方法的程序。处理器901被配置为用于执行存储器902中存储的程序。具体的,程序包括一条或多条计算机指令,其中,一条或多条计算机指令被处理器901执行时能够实现如下步骤:In a possible design, the structure of the image processing apparatus 800 shown in FIG. 8 can be implemented as an electronic device, and the electronic device can be an image processing system, such as various devices such as a mobile phone, a tablet computer, and a server. As shown in FIG. 9, the image processing system 900 may include: one or more processors 901, one or more memories 902, and one or more communication components 903. Wherein, the memory 902 is used to store a program that supports the electronic device to execute the image processing method provided in the embodiment shown in FIG. 7. The processor 901 is configured to execute a program stored in the memory 902. Specifically, the program includes one or more computer instructions, and when one or more computer instructions are executed by the processor 901, the following steps can be implemented:
运行存储器中存储的计算机程序以实现:根据多光谱相机的光谱波段对应的光照强度,对多光谱相机获取的当前图像进行图像补偿处理;当处理后的图像是关于植被的图像,根据对处理后的图像进行波段特征的提取,确定植被生长指数。Run the computer program stored in the memory to achieve: according to the light intensity corresponding to the spectral band of the multi-spectral camera, perform image compensation processing on the current image acquired by the multi-spectral camera; when the processed image is an image of vegetation, according to the processed image To extract the band features of the image to determine the vegetation growth index.
通信组件903,用于通过无人机接收当前环境的多个预设波段的光照强度以及多光谱相机的至少一个光谱波段对应的光照强度,至少一个光谱波段对应的光照强度是根据多个预设波段的光照强度确定的。The communication component 903 is configured to receive the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera through the drone, and the light intensity corresponding to the at least one spectral waveband is based on the multiple presets The light intensity of the band is determined.
需要注意的是,本实施例未详细描述的部分,可参考上述图像的处理方法所示实施例的相关说明,在此不再赘述。It should be noted that, for parts that are not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the image processing method above, and details are not repeated here.
另外,本发明实施例提供了一种计算机可读存储介质,存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,程序指令用于实现上述图7的图像处理方法。In addition, an embodiment of the present invention provides a computer-readable storage medium. The storage medium is a computer-readable storage medium. The computer-readable storage medium stores program instructions. The program instructions are used to implement the image processing method of FIG. 7 described above.
以上各个实施例中的技术方案、技术特征在与本相冲突的情况下均可以单独,或者进行组合,只要未超出本领域技术人员的认知范围,均属于本申 请保护范围内的等同实施例。The technical solutions and technical features in each of the above embodiments can be singly or combined in case of conflict with the present invention, as long as they do not exceed the cognitive scope of those skilled in the art, they all belong to the equivalent embodiments within the protection scope of this application. .
在本发明所提供的几个实施例中,应该理解到,所揭露的相关检测装置(例如:IMU)和方法,可以通过其它的方式实现。例如,以上所描述的遥控装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,遥控装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the related detection device (for example: IMU) and method disclosed may be implemented in other ways. For example, the embodiments of the remote control device described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, remote control devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得计算机处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. , Including several instructions to make a computer processor (processor) execute all or part of the steps of the method described in each embodiment of the invention. The aforementioned storage media include: U disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the embodiments of the present invention, which do not limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the description and drawings of the present invention, or directly or indirectly applied to other related technologies In the same way, all fields are included in the scope of patent protection of the present invention.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the technical solutions of the embodiments of the present invention. range.

Claims (28)

  1. 一种图像处理方法,其特征在于,包括:An image processing method, characterized in that it comprises:
    获取当前环境的多个预设波段的光照强度;Obtain the light intensity of multiple preset bands in the current environment;
    根据所述多个预设波段的所述光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度;Determine the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the light intensity of the multiple preset wavebands;
    根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理。Perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera.
  2. 根据权利要求1所述的方法,其特征在于,确定所述多光谱相机的所述多个光谱波段对应的光照强度,包括:The method according to claim 1, wherein determining the light intensity corresponding to the multiple spectral bands of the multi-spectral camera comprises:
    当所述当前环境的所述多个预设波段和所述多光谱相机接收到的所述多个光谱波段不匹配时,从所述多个预设波段中选取两个第一预设波段,并根据所述两个第一预设波段确定所述多光谱相机的第一光谱波段对应的第一光照强度。When the multiple preset wavebands of the current environment do not match the multiple spectral wavebands received by the multispectral camera, selecting two first preset wavebands from the multiple preset wavebands, And the first light intensity corresponding to the first spectral waveband of the multispectral camera is determined according to the two first preset wavebands.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    通过所述多光谱相机获取所述第一光谱波段对应的第二光照强度,以及获取所述当前图像;Acquiring the second light intensity corresponding to the first spectral band through the multispectral camera, and acquiring the current image;
    所述根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理的步骤包括:The step of performing image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera includes:
    根据所述第一光照强度对所述第二光照强度进行补偿;Compensate the second light intensity according to the first light intensity;
    根据补偿后的第二光照强度,对所述当前图像进行图像补偿处理。Perform image compensation processing on the current image according to the compensated second light intensity.
  4. 根据权利要求2所述的方法,其特征在于,所述根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理的步骤包括:The method according to claim 2, wherein the step of performing image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera comprises:
    自所述多光谱相机获取所述第一光谱波段对应的第二光照强度;Acquiring the second light intensity corresponding to the first spectral band from the multispectral camera;
    根据所述第一光照强度和所述第二光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理。According to the first light intensity and the second light intensity, image compensation processing is performed on the current image acquired by the multispectral camera.
  5. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    利用线性插值法,根据所述两个第一预设波段,计算所述第一光照强度。Using a linear interpolation method, the first light intensity is calculated according to the two first preset wavebands.
  6. 根据权利要求2所述的方法,其特征在于,所述根据所述两个第一预设波段确定所述多光谱相机的第一光谱波段对应的第一光照强度,包括:The method according to claim 2, wherein the determining the first light intensity corresponding to the first spectral waveband of the multispectral camera according to the two first preset wavebands comprises:
    根据所述两个第一预设波段的光照强度之间的差值与所述两个第一预设波段之间的差值的比例,确定所述第一光照强度。The first light intensity is determined according to the ratio of the difference between the light intensity of the two first preset wavebands and the difference between the two first preset wavebands.
  7. 根据权利要求2所述的方法,其特征在于,在所述多个波段中,所述两个第一预设波段最接近所述第一光谱波段。The method according to claim 2, wherein, among the plurality of wavebands, the two first preset wavebands are closest to the first spectral waveband.
  8. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    自所述多光谱相机获取所述第一光谱波段;Acquiring the first spectral band from the multispectral camera;
    其中,确定所述多光谱相机的所述多个光谱波段对应的光照强度,包括:Wherein, determining the light intensity corresponding to the multiple spectral bands of the multi-spectral camera includes:
    当所述当前环境的所述多个预设波段中的第二预设波段和所述多光谱相机的所述第一光谱波段匹配时,直接根据所述第二预设波段的第二光照强度确定所述第一光谱波段的第一光照强度。When the second preset waveband among the plurality of preset wavebands of the current environment matches the first spectral waveband of the multispectral camera, directly according to the second light intensity of the second preset waveband Determine the first light intensity of the first spectral band.
  9. 根据权利要求1所述的方法,其特征在于,所述多个预设波段的所述光照强度自光传感器而得到。The method according to claim 1, wherein the light intensity of the plurality of preset wavebands is obtained from a light sensor.
  10. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    当处理后的当前图像是关于植被的图像,根据对所述处理后的图像进行波段特征的提取,确定植被生长指数。When the processed current image is an image about vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, wherein the method further comprises:
    通过不同飞行设备和/或不同飞行时间,确定同一植被对应的多个植被生长指数;Determine multiple vegetation growth indexes corresponding to the same vegetation through different flight equipment and/or different flight times;
    在所述多个植被生长指数相同的情况下,确定所述植被生长指数正确。In the case that the multiple vegetation growth indexes are the same, it is determined that the vegetation growth index is correct.
  12. 一种图像处理设备,其特征在于,包括:An image processing device, characterized in that it comprises:
    光采集装置,用于获取当前环境的多个预设波段的光照强度;接收多个入射波段的光照强度;A light collection device for acquiring the light intensity of multiple preset wavebands in the current environment; receiving the light intensity of multiple incident wavebands;
    所述图像处理设备还包括:存储器以及处理器,所述存储器,用于存储计算机程序;The image processing device further includes: a memory and a processor, and the memory is used to store a computer program;
    所述处理器,用于根据所述多个预设波段的所述光照强度,确定多光谱相机的至少一个光谱波段对应的光照强度;根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理。The processor is configured to determine the light intensity corresponding to at least one spectral waveband of the multispectral camera according to the light intensity of the multiple preset wavebands; according to the light intensity corresponding to the spectral waveband of the multispectral camera, The current image acquired by the multispectral camera is subjected to image compensation processing.
  13. 根据权利要求12所述的设备,其特征在于,所述处理器,具体用于:The device according to claim 12, wherein the processor is specifically configured to:
    当所述当前环境的所述多个预设波段和所述多光谱相机接收到的所述多个光谱波段不匹配时,从所述多个预设波段中选取两个第一预设波段,并根 据所述两个第一预设波段确定所述多光谱相机的第一光谱波段对应的第一光照强度。When the multiple preset wavebands of the current environment do not match the multiple spectral wavebands received by the multispectral camera, selecting two first preset wavebands from the multiple preset wavebands, And the first light intensity corresponding to the first spectral waveband of the multispectral camera is determined according to the two first preset wavebands.
  14. 根据权利要求13所述的设备,其特征在于,所述图像处理设备还包括:通信组件;The device according to claim 13, wherein the image processing device further comprises: a communication component;
    所述通信组件,用于通过所述多光谱相机获取所述第一光谱波段对应的第二光照强度,以及根据所述第二光照强度获取所述当前图像;The communication component is configured to obtain the second light intensity corresponding to the first spectral band through the multispectral camera, and obtain the current image according to the second light intensity;
    所述处理器,具体用于:根据所述第一光照强度对所述第二光照强度进行补偿;The processor is specifically configured to: compensate the second light intensity according to the first light intensity;
    根据补偿后的第二光照强度,对所述当前图像进行图像补偿处理。Perform image compensation processing on the current image according to the compensated second light intensity.
  15. 根据权利要求13所述的设备,其特征在于,所述通信组件,用于自所述多光谱相机获取所述第一光谱波段对应的第二光照强度;The device according to claim 13, wherein the communication component is configured to obtain the second light intensity corresponding to the first spectral band from the multispectral camera;
    所述处理器,具体用于:根据所述第一光照强度和所述第二光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理。The processor is specifically configured to: perform image compensation processing on the current image acquired by the multispectral camera according to the first light intensity and the second light intensity.
  16. 根据权利要求13所述的设备,其特征在于,所述处理器,还用于:The device according to claim 13, wherein the processor is further configured to:
    利用线性插值法,根据所述两个第一预设波段,计算所述第一光照强度。Using a linear interpolation method, the first light intensity is calculated according to the two first preset wavebands.
  17. 根据权利要求13所述的设备,其特征在于,所述处理器,具体用于:The device according to claim 13, wherein the processor is specifically configured to:
    根据所述两个第一预设波段的光照强度之间的差值与所述两个第一预设波段之间的差值的比例,确定所述第一光照强度。The first light intensity is determined according to the ratio of the difference between the light intensity of the two first preset wavebands and the difference between the two first preset wavebands.
  18. 根据权利要求2所述的设备,其特征在于,在所述多个波段中,所述两个第一预设波段最接近所述第一光谱波段。The device according to claim 2, wherein, among the plurality of wavebands, the two first preset wavebands are closest to the first spectral waveband.
  19. 根据权利要求1或2所述的设备,其特征在于,所述通信组件,还用于:自所述多光谱相机获取所述第一光谱波段;The device according to claim 1 or 2, wherein the communication component is further configured to: obtain the first spectral band from the multispectral camera;
    所述处理器,具体用于:当所述当前环境的所述多个预设波段中的第二预设波段和所述多光谱相机的所述第一光谱波段匹配时,直接根据所述第二预设波段的第二光照强度确定所述第一光谱波段的第一光照强度。The processor is specifically configured to: when a second preset waveband of the plurality of preset wavebands of the current environment matches the first spectral waveband of the multispectral camera, directly according to the first spectral waveband The second light intensity of the two preset wavebands determines the first light intensity of the first spectral waveband.
  20. 根据权利要求1所述的设备,其特征在于,所述多个预设波段的所述光照强度自光传感器而得到。The device according to claim 1, wherein the light intensity of the plurality of preset wavebands is obtained from a light sensor.
  21. 根据权利要求1所述的设备,其特征在于,所述处理器,还用于:The device according to claim 1, wherein the processor is further configured to:
    当处理后的当前图像是关于植被的图像,根据对所述处理后的图像进行波段特征的提取,确定植被生长指数。When the processed current image is an image about vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
  22. 根据权利要求10所述的设备,其特征在于,所述处理器,还用于:The device according to claim 10, wherein the processor is further configured to:
    通过不同飞行设备和/或不同飞行时间,确定同一植被对应的多个植被生长指数;Determine multiple vegetation growth indexes corresponding to the same vegetation through different flight equipment and/or different flight times;
    在所述多个植被生长指数相同的情况下,确定所述植被生长指数正确。In the case that the multiple vegetation growth indexes are the same, it is determined that the vegetation growth index is correct.
  23. 一种无人机,其特征在于,包括:机体以及如权利要求12-22所述的图像处理设备,所述图像处理设备设置在机体上。An unmanned aerial vehicle, characterized by comprising: a body and the image processing device according to claims 12-22, the image processing device being arranged on the body.
  24. 根据权利要求23所述的无人机,其特征在于,所述无人机还包括:多光谱相机;The drone of claim 23, wherein the drone further comprises: a multispectral camera;
    所述多光谱相机,用于向所述图像处理设备提供当前图像以及用于确定所述当前图像的光照强度;所述光照强度通过多光谱相机获取到的光谱波段确定。The multi-spectral camera is used to provide a current image to the image processing device and used to determine the light intensity of the current image; the light intensity is determined by the spectral band obtained by the multi-spectral camera.
  25. 一种计算机可读存储介质,其特征在于,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于实现权利要求1-11中任意一项所述的图像处理方法。A computer-readable storage medium, wherein the storage medium is a computer-readable storage medium, the computer-readable storage medium stores program instructions, and the program instructions are used to implement any one of claims 1-11 The image processing method described in the item.
  26. 一种图像处理方法,其特征在于,包括:An image processing method, characterized in that it comprises:
    通过无人机接收当前环境的多个预设波段的光照强度以及多光谱相机的至少一个光谱波段对应的光照强度,所述至少一个光谱波段对应的光照强度是根据所述多个预设波段的所述光照强度确定的;The UAV receives the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera, and the light intensity corresponding to the at least one spectral waveband is based on the multiple preset wavebands. The light intensity is determined;
    根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理;Performing image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera;
    当处理后的图像是关于植被的图像,根据对所述处理后的图像进行波段特征的提取,确定植被生长指数。When the processed image is an image of vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
  27. 一种图像处理系统,其特征在于,包括:存储器、处理器以及通信组件;An image processing system, which is characterized by comprising: a memory, a processor, and a communication component;
    所述存储器,用于存储计算机程序;The memory is used to store a computer program;
    所述通信组件,用于通过无人机接收当前环境的多个预设波段的光照强度以及多光谱相机的至少一个光谱波段对应的光照强度,所述至少一个光谱波段对应的光照强度是根据所述多个预设波段的所述光照强度确定的;The communication component is used to receive the light intensity of multiple preset wavebands of the current environment and the light intensity corresponding to at least one spectral waveband of the multispectral camera through the drone, and the light intensity corresponding to the at least one spectral waveband is based on the The light intensity of the multiple preset wavebands is determined;
    所述处理器,用于根据所述多光谱相机的光谱波段对应的光照强度,对所述多光谱相机获取的当前图像进行图像补偿处理;The processor is configured to perform image compensation processing on the current image acquired by the multispectral camera according to the light intensity corresponding to the spectral band of the multispectral camera;
    当处理后的图像是关于植被的图像,根据对所述处理后的图像进行波段特征的提取,确定植被生长指数。When the processed image is an image of vegetation, the vegetation growth index is determined according to the band feature extraction of the processed image.
  28. 一种计算机可读存储介质,其特征在于,所述存储介质为计算机可读存储介质,该计算机可读存储介质中存储有程序指令,所述程序指令用于实现权利要求26所述的图像处理方法。A computer-readable storage medium, wherein the storage medium is a computer-readable storage medium in which program instructions are stored, and the program instructions are used to implement the image processing of claim 26 method.
PCT/CN2019/107977 2019-09-25 2019-09-25 Image processing method and device, unmanned aerial vehicle, system and storage medium WO2021056297A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/107977 WO2021056297A1 (en) 2019-09-25 2019-09-25 Image processing method and device, unmanned aerial vehicle, system and storage medium
CN201980032030.1A CN112106346A (en) 2019-09-25 2019-09-25 Image processing method, device, unmanned aerial vehicle, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/107977 WO2021056297A1 (en) 2019-09-25 2019-09-25 Image processing method and device, unmanned aerial vehicle, system and storage medium

Publications (1)

Publication Number Publication Date
WO2021056297A1 true WO2021056297A1 (en) 2021-04-01

Family

ID=73749616

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/107977 WO2021056297A1 (en) 2019-09-25 2019-09-25 Image processing method and device, unmanned aerial vehicle, system and storage medium

Country Status (2)

Country Link
CN (1) CN112106346A (en)
WO (1) WO2021056297A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115173221A (en) * 2021-12-10 2022-10-11 山东大学 Look-up type multiband pulse light parameter adjustment control system and method
CN116297243A (en) * 2023-02-28 2023-06-23 北京市农林科学院信息技术研究中心 Method and device for estimating dressing amount of flue-cured tobacco nitrogenous fertilizer, electronic equipment and storage medium
CN115173221B (en) * 2021-12-10 2024-05-31 山东大学 Table-lookup type multiband pulse light parameter adjusting control system and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396601A (en) * 2022-07-07 2022-11-25 航天科工仿真技术有限责任公司 Method and device for determining fill light intensity data, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100287830A1 (en) * 2009-05-18 2010-11-18 Sinetics Associates International Taiwan Ltd. Full spectrum sunshine simulation apparatus for developing biological growth
CN103575917A (en) * 2013-10-15 2014-02-12 中国农业大学 Multispectral image collecting method and device
CN110024648A (en) * 2019-04-11 2019-07-19 哈尔滨工业大学 The accurate implantation methods of bulbus fritillariae cirrhosae based on deep neural network
CN110057451A (en) * 2019-05-30 2019-07-26 深圳市道创智能创新科技有限公司 Multispectral data acquisition system and method
CN110166704A (en) * 2019-05-30 2019-08-23 深圳市道创智能创新科技有限公司 The calibration method and device of multispectral camera

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009128065A1 (en) * 2008-04-16 2009-10-22 Elbit Systems Ltd. Multispectral enhanced vision system and method for aircraft landing in inclement weather conditions
US20160006954A1 (en) * 2014-07-03 2016-01-07 Snap Vision Technologies LLC Multispectral Detection and Processing From a Moving Platform
CN108896022A (en) * 2018-08-17 2018-11-27 山东农业大学 A kind of vegetation fraction estimation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100287830A1 (en) * 2009-05-18 2010-11-18 Sinetics Associates International Taiwan Ltd. Full spectrum sunshine simulation apparatus for developing biological growth
CN103575917A (en) * 2013-10-15 2014-02-12 中国农业大学 Multispectral image collecting method and device
CN110024648A (en) * 2019-04-11 2019-07-19 哈尔滨工业大学 The accurate implantation methods of bulbus fritillariae cirrhosae based on deep neural network
CN110057451A (en) * 2019-05-30 2019-07-26 深圳市道创智能创新科技有限公司 Multispectral data acquisition system and method
CN110166704A (en) * 2019-05-30 2019-08-23 深圳市道创智能创新科技有限公司 The calibration method and device of multispectral camera

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115173221A (en) * 2021-12-10 2022-10-11 山东大学 Look-up type multiband pulse light parameter adjustment control system and method
CN115173221B (en) * 2021-12-10 2024-05-31 山东大学 Table-lookup type multiband pulse light parameter adjusting control system and method
CN116297243A (en) * 2023-02-28 2023-06-23 北京市农林科学院信息技术研究中心 Method and device for estimating dressing amount of flue-cured tobacco nitrogenous fertilizer, electronic equipment and storage medium
CN116297243B (en) * 2023-02-28 2024-02-02 北京市农林科学院信息技术研究中心 Method and device for estimating dressing amount of flue-cured tobacco nitrogenous fertilizer, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112106346A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
US11810272B2 (en) Image dehazing and restoration
US10303966B2 (en) Method and system of image-based change detection
US11948355B2 (en) Synthetic infrared data for image classification systems and methods
CN110660088A (en) Image processing method and device
JP2017005389A (en) Image recognition device, image recognition method, and program
JP7160037B2 (en) Image processing device, image processing method, and program
Kedzierski et al. Methodology of improvement of radiometric quality of images acquired from low altitudes
KR101928391B1 (en) Method and apparatus for data fusion of multi spectral image and radar image
WO2021056297A1 (en) Image processing method and device, unmanned aerial vehicle, system and storage medium
WO2021084907A1 (en) Image processing device, image processing method, and image processing program
Wierzbicki et al. Method of radiometric quality assessment of NIR images acquired with a custom sensor mounted on an unmanned aerial vehicle
Ramirez‐Paredes et al. Low‐altitude Terrestrial Spectroscopy from a Pushbroom Sensor
US10817754B2 (en) Systems and methods for object classification and selective compression in aerial imagery
US20210272300A1 (en) Automatic co-registration of thermal and visible image pairs
CN109377476A (en) The dynamic threshold acquisition methods and device of remote sensing image cloud detection characteristic parameter
CN110647781B (en) Crop growth information acquisition method and device based on spectrogram fusion
CN108335329B (en) Position detection method and device applied to aircraft and aircraft
CN113272855A (en) Response normalization for overlapping multi-image applications
CN114359425A (en) Method and device for generating ortho image, and method and device for generating ortho exponential graph
CN113674331A (en) Image alignment method and apparatus, electronic device, and computer-readable storage medium
CN114511781A (en) Method, device and medium for identifying disguise personnel by carrying multispectral camera by unmanned aerial vehicle
Velesaca et al. Multimodal image registration techniques: a comprehensive survey
Miraki et al. Using canopy height model derived from UAV imagery as an auxiliary for spectral data to estimate the canopy cover of mixed broadleaf forests
CN109815875B (en) System for color transformation in Internet detection
WO2022095570A1 (en) Urban vegetation type identification method and system, and device and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19946446

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19946446

Country of ref document: EP

Kind code of ref document: A1