[go: up one dir, main page]

WO2019104558A1 - Image processing method, photography equipment, unmanned aerial vehicle and ground end device - Google Patents

Image processing method, photography equipment, unmanned aerial vehicle and ground end device Download PDF

Info

Publication number
WO2019104558A1
WO2019104558A1 PCT/CN2017/113657 CN2017113657W WO2019104558A1 WO 2019104558 A1 WO2019104558 A1 WO 2019104558A1 CN 2017113657 W CN2017113657 W CN 2017113657W WO 2019104558 A1 WO2019104558 A1 WO 2019104558A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
encoded data
data
image encoded
processor
Prior art date
Application number
PCT/CN2017/113657
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 CN201780029120.6A priority Critical patent/CN109417594A/en
Priority to PCT/CN2017/113657 priority patent/WO2019104558A1/en
Publication of WO2019104558A1 publication Critical patent/WO2019104558A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Definitions

  • the embodiments of the present invention relate to the field of drones, and in particular, to an image processing method, a photographing device, a drone, and a ground end device.
  • the drone is equipped with a photographing device through the pan/tilt and controls the photographing device to perform aerial photography.
  • the photographing device includes an image sensor, and the image sensor is used to sense image data, the processor or the photographing device of the drone.
  • the processor needs to perform distortion calibration on the image data collected by the image sensor.
  • Embodiments of the present invention provide an image processing method, a photographing device, a drone, and a ground end device to solve the problem of insufficient performance of the processor, and the bandwidth and performance of the processor when the code stream of the image data collected by the image sensor is large. The problem.
  • a first aspect of the embodiments of the present invention provides an image processing method, including:
  • the main processor acquires image data
  • the main processor encodes the image data to obtain image encoded data
  • the main processor transmits the image encoded data to a slave processor to cause the slave processor to perform distortion calibration on the image data according to the image encoded data.
  • a second aspect of the embodiments of the present invention provides an image processing method, including:
  • the slave processor performs distortion calibration on the image data according to the image encoded data.
  • a third aspect of the embodiments of the present invention provides an image processing method, which is applied to a drone, and includes:
  • a fourth aspect of the present invention provides an image processing method, which is applied to a ground end device, and includes:
  • a fifth aspect of the embodiments of the present invention provides an image processing apparatus, including: a main processor and a slave processor;
  • the main processor is used to:
  • a sixth aspect of the embodiments of the present invention provides an image processing apparatus, including: a main processor and a slave processor;
  • the slave processor is used to:
  • a seventh aspect of the embodiments of the present invention provides a photographing apparatus, including:
  • An eighth aspect of the embodiments of the present invention provides a drone, including:
  • a power system mounted to the fuselage for providing power
  • a photographing device mounted on the body for collecting image data
  • a ninth aspect of the embodiments of the present invention provides a drone, including:
  • a power system mounted to the fuselage for providing power
  • a photographing device mounted on the body for collecting image data
  • One or more first processors and a first communication interface
  • the first processor is configured to:
  • the first communication interface is used to:
  • a tenth aspect of the present invention provides a ground end device, including: a second communication interface and a second processor;
  • the second communication interface is configured to receive image encoded data sent by the drone, and the image encoded data is obtained by encoding, by the drone, image data obtained by the drone;
  • the second processor is configured to perform distortion calibration on the image data according to the image encoded data.
  • the image processing method, the photographing device, the drone and the ground end device provided by the embodiment obtain image data by the main processor, encode the image data, obtain image coded data, and send the image coded data to the slave processor.
  • the slave processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, thereby saving the performance overhead of the main processor and the performance of the main processor.
  • the bandwidth and performance of the main processor can be effectively avoided.
  • FIG. 1 is a flowchart of an image processing method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a drone according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of an image processing method according to another embodiment of the present invention.
  • FIG. 5 is a flowchart of an image processing method according to another embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a photographing apparatus according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a drone according to another embodiment of the present invention.
  • FIG. 8 is a flowchart of an image processing method according to another embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a communication system according to another embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a communication system according to another embodiment of the present invention.
  • FIG. 11 is a flowchart of an image processing method according to another embodiment of the present invention.
  • FIG. 12 is a flowchart of an image processing method according to another embodiment of the present invention.
  • FIG. 13 is a structural diagram of an image processing apparatus according to an embodiment of the present invention.
  • FIG. 14 is a structural diagram of an image processing apparatus according to another embodiment of the present invention.
  • 15 is a structural diagram of a drone according to an embodiment of the present invention.
  • FIG. 16 is a structural diagram of a ground end device according to an embodiment of the present invention.
  • a component when referred to as being "fixed” to another component, it can be directly on the other component or the component can be present. When a component is considered to "connect” another component, it can be directly connected to another component or possibly a central component.
  • a photographing device such as a photographing device mounted on a handheld pan/tilt, a photographing device held by a user, a movable platform such as a photographing device mounted on the drone, and the like are provided with an image sensor that can capture image data in real time and The captured image data is sent to the processor, and the image data is distorted and calibrated by the processor to obtain the calibrated image data, and then the calibrated image data is encoded to obtain the encoded image data, and the encoded image data is obtained.
  • the role of the processor is not only to process the image data, but also to process other data. When the performance of the processor is insufficient, if the code stream of the image data is high, the processor will have bandwidth and performance problems.
  • the embodiment provides an image processing method, which is described below in conjunction with a specific embodiment.
  • FIG. 1 is a flowchart of an image processing method according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • Step S101 The main processor acquires image data.
  • the image processing method described in this embodiment is applied to the photographing apparatus 20 shown in FIG. 2, and the photographing apparatus 20 includes an image sensor 21, a main processor 22, and a slave processor 23.
  • the image processing method can also be applied to a mobile platform such as a drone equipped with a photographing device.
  • the method is also applicable to other forms of devices having image processing capabilities.
  • the drone 30 includes a main processor 31 and a slave processor 32, and the drone 30 is equipped with a photographing device 35 via a support device 34 such as a pan/tilt.
  • the main processor 31 and the slave processor 32 are electrically connected, and the main processor 31 and the photographing device 35 are electrically connected.
  • the main processor acquires image data, and includes the following feasible implementation manners:
  • a possible implementation manner is that the main processor acquires image data collected by an image sensor.
  • the image sensor 21 can acquire image data in real time and transmit the image data to the main processor 22.
  • the photographing device 35 may be provided with an image sensor that collects image data in real time and transmits the image data to the main processor 31.
  • Another possible implementation manner is that the main processor acquires a captured image corresponding to the shooting control instruction.
  • the photographing apparatus 20 may generate a photographing control command according to a photographing control operation of the user, and optionally, the photographing control command is generated by the main processor 22 according to a photographing control operation of the user.
  • the photographing control operation may be an operation of a user's photographing button or button of the photographing device 20.
  • the photographing device 20 can also be in communication connection with a control device through which the user can control the photographing device 20, and the photographing control operation can also be an operation of a photographing button or button of the control device by the user.
  • the main processor 22 can acquire the image data acquired by the image sensor 21 at the time of the photographing control command generation, and it can be understood that the image sensor 21 is acquired at the photographing control command generating timing.
  • the image data is the captured image.
  • the main processor 31 can control the photographing device 35 to take image data according to the photographing control instruction, and further, the photographing device 35 can transmit the image data photographed by the photographing device 35 to the main processor 31.
  • the shooting control command may be sent to the drone 30 by a control terminal of the drone 30, such as a remote controller.
  • Step S102 the main processor encodes the image data to obtain an image coding number. according to.
  • the main processor 22 encodes the image data collected by the image sensor 21 to obtain image encoded data.
  • the main processor 31 encodes image data captured by the photographing device 35 to obtain image encoded data.
  • Step S103 The main processor sends the image encoded data to a slave processor, so that the slave processor performs distortion calibration on the image data according to the image encoded data.
  • the main processor 22 encodes the image data to obtain image encoded data, and then transmits the image encoded data to the slave processor 23, and the slave processor 23 can decode the image encoded data to obtain image data. Further, the image data obtained after decoding is subjected to distortion calibration.
  • the main processor 22 may send the image encoded data to the slave processor 23 in real time, and the slave processor 23 may decode the image encoded data in real time to obtain image data, and perform image data obtained after decoding. Distortion calibration.
  • the main processor 31 encodes the image data, and after obtaining the image encoded data, the image encoded data is sent to the slave processor 32, and the slave processor 32 can perform image encoded data. Decoding to obtain image data, and further performing distortion calibration on the decoded image data.
  • the main processor 31 may send the image encoded data to the slave processor 32 in real time, and the slave processor 32 may decode the image encoded data in real time to obtain image data, and perform image data obtained after decoding. Distortion calibration.
  • the main processor sends the image encoded data to a slave processor, so that the slave processor performs distortion calibration on the image data according to the image encoded data, including: the main processor And transmitting the image encoded data to the slave processor, so that the slave processor stores the image encoded data, and performs distortion calibration on the image data according to the stored image encoded data.
  • the main processor 22 encodes the image data, and after obtaining the image encoded data, transmits the image encoded data to the slave processor 23, and the slave processor 23 stores the image encoded data, for example, when When the processor 23 receives the image encoded data sent by the main processor 22, the image encoded data is first stored in the memory, and when the slave processor 23 is idle, the image encoded data is acquired from the memory, and the encoded data is decoded. To obtain image data, the image data obtained after decoding is further subjected to distortion calibration.
  • the main processor 31 encodes the image data, and after obtaining the image encoded data, transmits the image encoded data to the slave processor 32, and the slave processor 32 performs the encoded data on the image.
  • the image encoded data transmitted by the main processor 31 is received from the processor 32
  • the image encoded data is first stored in the memory, and when the slave processor 32 is idle, the image encoded data is acquired from the memory,
  • the image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.
  • the main processor sends the image encoded data to the slave processor, and the host processor sends the image encoded data to the slave processor through a data bus.
  • the main processor 22 and the slave processor 23 are connected via a data bus, and the main processor 22 transmits the encoded image encoded data obtained by the main processor 22 to the slave processor 23 via the data bus.
  • the main processor 31 and the slave processor 32 are connected by a data bus, and the main processor 31 transmits the encoded image encoded data obtained by the main processor 31 to the slave processor 32 via the data bus.
  • the image data is acquired by the main processor, the image data is encoded, the image encoded data is obtained, and the image encoded data is sent to the slave processor, so that the slave processor performs distortion calibration on the image data according to the image encoded data.
  • the processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the main processor.
  • the performance of the main processor is insufficient, and the code stream of the image data is large, the main can be effectively avoided. There is a problem with the bandwidth and performance of the processor.
  • FIG. 4 is a flowchart of an image processing method according to another embodiment of the present invention. As shown in FIG. 4, the method in this embodiment may include:
  • Step S401 The slave processor receives image coded data sent by the main processor, where the image coded data is obtained by encoding, by the main processor, the image data acquired by the main processor.
  • the slave processor receives the image encoded data sent by the main processor, and the slave processor receives the image encoded data sent by the main processor through the data bus.
  • the image encoded data transmitted from the main processor 22 is received from the processor 23, and the main processor 22 and the slave processor 23 are connected via a data bus, and the slave processor 23 receives the image transmitted by the main processor 22 via the data bus. Encoded data.
  • the slave processor 32 receives the transmission from the main processor 31.
  • the image encoded data, the main processor 31 and the slave processor 32 are connected by a data bus, and the slave processor 32 receives the image encoded data transmitted from the main processor 31 via the data bus.
  • Step S402 The slave processor performs distortion calibration on the image data according to the image encoded data.
  • the slave processor 23 can decode the image encoded data to obtain image data, and further perform distortion calibration on the decoded image data. .
  • the slave processor 32 may decode the image encoded data to obtain image data, and further obtain the decoded data.
  • the image data is subjected to distortion calibration.
  • the method further includes: the slave processor storing the image encoded data into a memory.
  • the slave processor performs distortion calibration on the image data according to the image encoded data
  • the method includes: the slave processor performing the image data according to the image encoded data stored in the memory. Distortion calibration.
  • the main processor 22 encodes the image data, and after obtaining the image encoded data, transmits the image encoded data to the slave processor 23, and the slave processor 23 stores the image encoded data, for example, when When receiving the image encoded data sent by the main processor 22, the processor 23 first stores the image encoded data into the memory, and when the slave processor 23 is idle, acquires the image encoded data from the memory, and performs the encoded data on the image. Decoding to obtain image data, and further performing distortion calibration on the decoded image data.
  • the main processor 31 encodes the image data, and after obtaining the image encoded data, transmits the image encoded data to the slave processor 32, and the slave processor 32 performs the encoded data on the image.
  • the image encoded data transmitted by the main processor 31 is received from the processor 32
  • the image encoded data is first stored in the memory, and when the slave processor 32 is idle, the image encoded data is acquired from the memory,
  • the image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.
  • the image encoded data sent by the main processor is obtained by the processor, and the image encoded data is obtained by encoding, by the main processor, the image data obtained by the main processor, and the image is distorted by the processor according to the image encoded data. Calibration so that the main processor does not need to be acquired The image data is distorted immediately in the image data, which saves the performance overhead of the main processor. When the performance of the main processor is insufficient, the bandwidth and performance of the main processor can be effectively avoided.
  • FIG. 5 is a flowchart of an image processing method according to another embodiment of the present invention. As shown in FIG. 5, the method in this embodiment may include:
  • Step S501 Receive, by the processor, image encoded data sent by the main processor, where the image encoded data is obtained by encoding, by the main processor, the image data acquired by the main processor.
  • step S501 and step S401 are the same, and are not described here.
  • Step S502 The slave processor stores the image encoded data into a memory.
  • the photographing apparatus 20 further includes a memory 24.
  • the main processor 22 encodes the image data to obtain image encoded data, and then transmits the image encoded data to the slave processor 23, and the slave processor 23 stores the image encoded data in the memory 24.
  • the memory 24 is specifically a Secure Digital Memory Card (SD card), which is only a schematic description, and does not limit the specific form of the memory 24. In other embodiments, the memory 24 may be other Form of memory.
  • SD card Secure Digital Memory Card
  • the drone 30 further includes a memory 33.
  • the main processor 31 encodes the image data to obtain image encoded data, and then transmits the image encoded data to the slave processor 32, and the slave processor 32 stores the image encoded data in the memory 33.
  • the memory 33 may be a secure digital memory card (SD card), which is only a schematic description, and does not limit the specific form of the memory 24. In other embodiments, the memory 33 may be other. Form of memory.
  • Step S503 The slave processor acquires the image encoded data from a memory.
  • the image encoded data is acquired from the memory 24.
  • image encoded data is retrieved from memory 33 when slave processor 32 is relatively idle.
  • Step S504 The slave processor decodes the image encoded data to obtain the image data.
  • the image data is decoded from the processor 23 to obtain image data.
  • the image encoded data is decoded from the processor 32 to obtain image data.
  • Step S505 The slave processor performs distortion calibration on the image data to obtain calibrated image data.
  • the processor 23 performs distortion calibration on the decoded image data to obtain calibrated image data.
  • the decoded image data is subjected to distortion calibration from the processor 32 to obtain calibrated image data.
  • Step S506 The slave processor encodes the calibrated image data to obtain calibrated image encoded data.
  • the slave processor 23 further encodes the calibrated image data to obtain calibrated image encoded data.
  • the slave processor 32 further encodes the calibrated image data to obtain calibrated image encoded data.
  • Step S507 The slave processor stores the calibrated image encoded data into the memory.
  • the slave processor stores the calibrated image encoded data into the memory, including: the slave processor storing the calibrated image encoded data into the memory, and The image encoded data stored in the memory is replaced with the calibrated image encoded data.
  • the slave processor 23 further stores the calibrated image encoded data in the memory 24. Since the pre-calibrated image encoded data is stored in the memory 24, optionally, the slave processor 23 can replace the pre-calibrated image encoded data stored in the memory 24 with the calibrated image encoded data.
  • the slave processor 32 further stores the calibrated image encoded data to the memory 33. Since the pre-calibrated image encoded data is stored in the memory 33, alternatively, the slave processor 32 can replace the pre-calibrated image encoded data stored in the memory 33 with the calibrated image encoded data.
  • the embodiment performs an image on the image encoded data stored in the memory from the processor.
  • the image encoded data stored in the memory may be obtained after the main processor encodes the captured image captured by the photographing device, so that the slave processor only needs to perform image calibration on the captured image captured by the photographing device, without
  • the image data of each frame sensed by the image sensor is image-calibrated, which not only improves the calculation efficiency of the slave processor, but also the main processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, thereby saving the main
  • the performance overhead of the processor can effectively avoid the problem of bandwidth and performance of the main processor when the performance of the main processor is insufficient and the code stream of the image data is large.
  • FIG. 8 is a flowchart of an image processing method according to another embodiment of the present invention.
  • the image processing method provided by this embodiment is applied to a drone. As shown in FIG. 8, the method in this embodiment may include:
  • Step S801 acquiring image data.
  • the communication system includes a drone 90 and a ground end device 91.
  • the drone 90 includes a processor 901, a support device 902 such as a pan/tilt head, a photographing device 903, and a communication system 904, and the photographing device 903 is mounted on the drone 90 via the support device 902.
  • Processor 901 may specifically be a dedicated or other general purpose processor.
  • Communication system 904 can communicate wirelessly with ground end device 91.
  • the ground end device 91 wirelessly communicates with the drone 90 via the antenna 910.
  • the acquiring image data includes: acquiring image data collected by an image sensor of the photographing device mounted on the drone.
  • the photographing apparatus 903 may be provided with an image sensor that collects image data in real time and transmits the image data to the processor 901.
  • the acquiring image data includes: acquiring image data captured by the photographing device mounted on the drone according to a shooting control instruction.
  • the communication system 904 can receive the photographing control command transmitted by the ground end device 91, the processor 901 controls the photographing device 903 to capture image data according to the photographing control command, and the photographing device 903 can transmit the image data captured by the photographing device 903 to the processor 901.
  • Step S802 encoding the image data to obtain image encoded data.
  • the processor 901 After the processor 901 acquires the image data, the image data is encoded to obtain image encoded data.
  • Step S803 Send the image encoded data to a ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data.
  • the processor 901 transmits the image encoded data to the ground end device 91 corresponding to the drone 90 through the communication system 904, and the ground end device 91 performs distortion calibration on the image data according to the image encoded data. Specifically, the ground end device 91 pairs The image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.
  • the processor 901 can send the image encoded data to the ground end device 91 in real time through the communication system 904, and the ground end device 91 can decode the image encoded data in real time to obtain image data, and obtain the decoded image. The data is calibrated for distortion.
  • the image encoding data is sent to the ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data, including: Sending the image encoded data to the ground end device corresponding to the drone, so that the ground end device stores the image encoded data, and performs the image data according to the stored image encoded data. Distortion calibration.
  • the ground terminal device 91 includes a processor 911 and a memory 912.
  • the memory 912 may be a secure digital memory card (SD card).
  • SD card secure digital memory card
  • the specific form of the memory 912, in other embodiments, the memory 912 may also be other forms of memory.
  • the processor 901 transmits the image encoded data to the ground end device 91 corresponding to the drone 90 via the communication system 904, and the processor 911 stores the image encoded data to the memory 912.
  • the slave memory 912 The image encoded data is acquired, the image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.
  • the image data is acquired by the drone, the image data is encoded, the image encoded data is obtained, and the image encoded data is sent to the ground end device, so that the ground end device performs distortion calibration on the image data according to the image encoded data,
  • the human-machine processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the processor of the drone, when the performance of the processor is insufficient, and the code stream of the image data is large. Can effectively avoid problems with the bandwidth and performance of the processor.
  • FIG. 11 is a flowchart of an image processing method according to another embodiment of the present invention.
  • the image processing method provided in this embodiment is applied to a ground end device. As shown in FIG. 11, the method in this embodiment may include:
  • Step S1101 Receive image coded data sent by the drone, and the image coded data is obtained by encoding the image data acquired by the drone.
  • the processor 901 of the drone 90 acquires the image data captured by the photographing device 903
  • the image data is encoded to obtain image encoded data
  • the image encoded data is transmitted to the ground end device 91, the ground end.
  • the device 91 receives the image encoded data transmitted by the drone 90.
  • Step S1102 Perform distortion calibration on the image data according to the image encoded data.
  • the processor 911 of the ground end device 91 decodes the image encoded data to obtain image data, and further performs distortion calibration on the decoded image data.
  • step S1101 after receiving the image encoded data sent by the drone, step S1101 further includes: storing the image encoded data into a memory.
  • step S1102 performs distortion calibration on the image data according to the image encoded data, including: performing distortion calibration on the image data according to the image encoded data stored in the memory.
  • the processor 911 After the ground end device 91 receives the image encoded data sent by the drone 90, the processor 911 first stores the image encoded data into the memory, and when the processor 911 is idle, the image encoded data is acquired from the memory. The image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.
  • the image encoding data sent by the UAV is received by the ground end device, and the image encoded data is obtained by encoding the image data acquired by the UAV, and the ground end device distorts the image data according to the image encoded data.
  • the calibration makes the UAV not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the UAV processor.
  • the performance of the UAV processor is insufficient, the UAV can effectively avoid the unmanned There is a problem with the bandwidth and performance of the machine.
  • FIG. 12 is a flowchart of an image processing method according to another embodiment of the present invention. As shown in FIG. 12, the method in this embodiment may include include:
  • Step S1201 Receive image encoded data sent by the drone, and the image encoded data is obtained by encoding, by the drone, image data acquired by the drone.
  • Step S1201 is consistent with the specific principles and implementation manners of step S1101, and details are not described herein again.
  • Step S1202 Store the image encoded data in a memory.
  • the processor 911 first stores the image encoded data in the memory 912.
  • Step S1203 Acquiring the image encoded data from a memory.
  • Image encoded data is retrieved from memory 912 when processor 911 is relatively idle.
  • Step S1204 Decoding the image encoded data to obtain the image data.
  • the processor 911 decodes the image encoded data to obtain image data.
  • Step S1205 Perform distortion correction on the image data to obtain calibrated image data.
  • the processor 911 performs distortion calibration on the decoded image data to obtain calibrated image data.
  • Step S1206 Encoding the calibrated image data to obtain calibrated image encoded data.
  • the processor 911 further encodes the calibrated image data to obtain calibrated image encoded data.
  • Step S1207 Store the calibrated image encoded data into the memory.
  • the storing the calibrated image encoded data to the memory comprises: storing the calibrated image encoded data into the memory, and encoding the image stored in the memory The data is replaced with the calibrated image encoded data.
  • Processor 911 further stores the calibrated image encoded data to memory 912. Since the pre-calibrated image encoded data is stored in the memory 912, optionally, the processor 911 may replace the pre-calibrated image encoded data stored in the memory 912 with the calibrated image encoded data.
  • the image encoding data stored in the memory is image-calibrated by the ground end device, and the image encoded data stored in the memory may be obtained by the UAV encoding the captured image captured by the photographing device, so that the ground end is obtained.
  • the device only needs to be photographed on the shooting device
  • the image is captured for image calibration without image calibration for each frame of image data sensed by the image sensor, which not only improves the computational efficiency of the ground end device, but also does not require the drone to instantly acquire the image data.
  • the image data is distorted and calibrated, which saves the performance overhead of the UAV processor. When the performance of the UAV processor is insufficient, and the code stream of the image data is large, the processor of the UAV can be effectively avoided. There is a problem with bandwidth and performance.
  • FIG. 13 is a structural diagram of an image processing apparatus according to an embodiment of the present invention.
  • the image processing apparatus 130 includes a main processor 131 and a slave processor 132.
  • the main processor 131 is configured to: acquire image data; encode the image data to obtain image encoded data; and send the image encoded data to a slave processor, so that the slave processor 132 encodes the data according to the image.
  • the image data is subjected to distortion calibration.
  • the main processor 131 when acquiring the image data, is specifically configured to: acquire image data collected by the image sensor.
  • the main processor 131 when acquiring the image data, is specifically configured to: acquire a captured image corresponding to the shooting control instruction.
  • the main processor 131 sends the image encoded data to the slave processor, so that when the slave processor 132 performs distortion calibration on the image data according to the image encoded data, specifically, the image is used to:
  • the encoded data is transmitted to the slave processor to cause the slave processor 132 to store the image encoded data, and to perform distortion calibration on the image data based on the stored image encoded data.
  • the method is specifically configured to: send the image encoded data to the slave processor through a data bus.
  • the image data is acquired by the main processor, the image data is encoded, the image encoded data is obtained, and the image encoded data is sent to the slave processor, so that the slave processor performs distortion calibration on the image data according to the image encoded data.
  • the processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the main processor.
  • the performance of the main processor is insufficient, and the code stream of the image data is large, the main can be effectively avoided. There is a problem with the bandwidth and performance of the processor.
  • FIG. 14 is a structural diagram of an image processing apparatus according to another embodiment of the present invention; as shown in FIG. 14, the image processing apparatus 140 includes a main processor 141 and a slave processor 142.
  • the slave processor 142 is configured to: receive image coded data sent by the main processor, where the image coded data is obtained by the main processor 141 to encode the image data obtained by the main processor 141; and the image is encoded according to the image coded data. The data is calibrated for distortion.
  • the processor 142 is further configured to: store the image encoded data into a memory; and correspondingly, the slave processor 142 pairs the image according to the image encoded data.
  • the data is subjected to distortion calibration, specifically, the image data is subjected to distortion calibration according to the image encoded data stored in the memory.
  • the method is specifically configured to: acquire the image encoded data from a memory; and encode the data into the image. Decoding to obtain the image data; performing distortion correction on the image data to obtain calibrated image data; encoding the calibrated image data to obtain calibrated image encoded data; encoding the calibrated image Data is stored to the memory.
  • the method is specifically configured to: store the calibrated image encoded data into the memory, and store the memory in the memory The image encoded data is replaced with the calibrated image encoded data.
  • the method when receiving the image encoded data sent by the main processor from the processor 142, the method is specifically configured to: receive the image encoded data sent by the main processor by using a data bus.
  • the image encoded data stored in the memory may be obtained by the main processor encoding the captured image captured by the photographing device, so that the processing is performed. It only needs to perform image calibration on the captured image captured by the shooting device without image calibration for each frame of image data sensed by the image sensor, which not only improves the calculation efficiency of the slave processor, but also does not support the main processor. It is necessary to perform distortion calibration on the image data immediately when the image data is acquired, thereby saving the performance of the main processor. Overhead, when the performance of the main processor is insufficient, and the code stream of the image data is large, the bandwidth and performance of the main processor can be effectively avoided.
  • An embodiment of the present invention provides a photographing apparatus including: an image sensor and the image processing apparatus 130 or the image processing apparatus 140 described in the above embodiments.
  • An embodiment of the present invention provides a drone that includes: a body, a power system, a photographing device, and an image processing device 130 or an image processing device 140 according to the above embodiments, wherein the power system is installed in the The body is for providing power; the photographing device is mounted on the body for collecting image data.
  • Embodiments of the present invention provide a drone.
  • 15 is a structural diagram of a drone according to an embodiment of the present invention.
  • the drone 150 includes: a fuselage, a power system, a photographing device 1501, and one or more first processors 1502. a communication interface 1503, wherein a power system is mounted on the airframe for providing power, the power system comprising at least one of: a motor 1507, a propeller 1506, and an electronic governor 1517, the power system being mounted on the fuselage Used to provide flight power.
  • the photographing device 1501 is mounted to the body through a support device 1504 such as a pan/tilt.
  • the first processor 1502 is configured to: acquire image data collected by the photographing device; and encode the image data to obtain image encoded data.
  • the first communication interface 1503 is configured to: send the image encoded data to a ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data.
  • the first processor 1502 when acquiring the image data collected by the photographing device, is specifically configured to: acquire image data collected by the image sensor of the photographing device 1501.
  • the first processor 1502 when acquiring the image data collected by the photographing device, is specifically configured to: acquire image data captured by the photographing device 1501 according to the photographing control instruction.
  • the first communication interface 1503 is configured to send the image encoded data to a ground end device corresponding to the drone, so that the ground end device distorts the image data according to the image encoded data.
  • the method is specifically configured to: send the image coded data to a ground end device corresponding to the drone, so that the ground end device performs the image coded data And storing, and performing distortion calibration on the image data according to the stored image encoded data.
  • the image data is acquired by the drone, the image data is encoded, the image encoded data is obtained, and the image encoded data is sent to the ground end device, so that the ground end device performs distortion calibration on the image data according to the image encoded data,
  • the human-machine processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the processor of the drone, when the performance of the processor is insufficient, and the code stream of the image data is large. Can effectively avoid problems with the bandwidth and performance of the processor.
  • FIG. 16 is a structural diagram of a ground end device according to an embodiment of the present invention.
  • the ground end device 160 includes: a second communication interface 161 and a second processor 162.
  • the second communication interface 161 is configured to receive an unmanned person.
  • Image encoded data sent by the machine, the image encoded data is obtained by encoding the image data acquired by the drone; the second processor 162 is configured to perform the image data according to the image encoded data. Distortion calibration.
  • the second processor 162 is further configured to: store the image coded data into the memory; correspondingly, the second processor 162 is configured according to the When the image encoded data is subjected to distortion calibration of the image data, specifically, the image data is subjected to distortion calibration according to the image encoded data stored in the memory.
  • the method is: acquiring the image encoded data from a memory; and encoding the image. Decoding the data to obtain the image data; performing distortion correction on the image data to obtain calibrated image data; encoding the calibrated image data to obtain calibrated image encoded data; and calibrating the image
  • the encoded data is stored to the memory.
  • the method is: storing the calibrated image encoded data into the memory, and storing the The stored image encoded data is replaced with the calibrated image encoding data.
  • the image encoding data stored in the memory is image-calibrated by the ground end device, and the image encoded data stored in the memory may be obtained by the UAV encoding the captured image captured by the photographing device, so that the ground end is obtained.
  • the device only needs to perform image calibration on the captured image captured by the shooting device without performing image calibration on each frame of image data sensed by the image sensor, which not only improves the calculation efficiency of the ground end device, but also does not It is necessary to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the processor of the drone, and when the performance of the processor of the drone is insufficient, and the code stream of the image data is large, Effectively avoid problems with the bandwidth and performance of the drone's processor.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • 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, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or A network device or the like) or a processor performs part of the steps of the method described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

Provided in an embodiment of the present invention are an image processing method, a photography equipment, an unmanned aerial vehicle (UAV), and a ground end device. The method comprises: a main processor acquires image data; the main processor encodes the image data to obtain image encoded data; and the main processor transmits the image encoded data to a slave processor to enable the slave processor to perform distortion calibration on the image data on the basis of the image encoded data. In the embodiment of the present invention, the image data is acquired by the main processor, and the image data is encoded to obtain the image encoded data, then the main processor transmits the image encoded data to a slave processor to enable the slave processor to perform distortion calibration on the image data on the basis of the image encoded data. The main processor does not need to perform distortion calibration on the image data immediately after the image data is acquired. Therefore, the performance overhead of the main processor is saved. When the performance of the main processor is insufficient, and when the code stream pixel of the image data is large, problems on the bandwidth and performance of the main processor can be effectively avoided.

Description

图像处理方法、拍摄设备、无人机及地面端设备Image processing method, photographing equipment, drone and ground end equipment 技术领域Technical field

本发明实施例涉及无人机领域,尤其涉及一种图像处理方法、拍摄设备、无人机及地面端设备。The embodiments of the present invention relate to the field of drones, and in particular, to an image processing method, a photographing device, a drone, and a ground end device.

背景技术Background technique

现有技术中无人机通过云台搭载有拍摄设备,并控制拍摄设备进行航拍,通常情况下,拍摄设备包括图像传感器,图像传感器用于感测图像数据,无人机的处理器或拍摄设备的处理器需要对图像传感器采集到的图像数据进行畸变校准。In the prior art, the drone is equipped with a photographing device through the pan/tilt and controls the photographing device to perform aerial photography. Generally, the photographing device includes an image sensor, and the image sensor is used to sense image data, the processor or the photographing device of the drone. The processor needs to perform distortion calibration on the image data collected by the image sensor.

当处理器的性能不足时,如果图像传感器采集的图像数据的码流较大,则会导致处理器的带宽和性能出现问题。When the performance of the processor is insufficient, if the code stream of the image data collected by the image sensor is large, the bandwidth and performance of the processor may be problematic.

发明内容Summary of the invention

本发明实施例提供一种图像处理方法、拍摄设备、无人机及地面端设备,以解决处理器的性能不足,且图像传感器采集的图像数据的码流较大时,处理器的带宽和性能的问题。Embodiments of the present invention provide an image processing method, a photographing device, a drone, and a ground end device to solve the problem of insufficient performance of the processor, and the bandwidth and performance of the processor when the code stream of the image data collected by the image sensor is large. The problem.

本发明实施例的第一方面是提供一种图像处理方法,包括:A first aspect of the embodiments of the present invention provides an image processing method, including:

主处理器获取图像数据;The main processor acquires image data;

所述主处理器对所述图像数据进行编码,得到图像编码数据;The main processor encodes the image data to obtain image encoded data;

所述主处理器将所述图像编码数据发送给从处理器,以使所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准。The main processor transmits the image encoded data to a slave processor to cause the slave processor to perform distortion calibration on the image data according to the image encoded data.

本发明实施例的第二方面是提供一种图像处理方法,包括:A second aspect of the embodiments of the present invention provides an image processing method, including:

从处理器接收主处理器发送的图像编码数据,所述图像编码数据是所述主处理器对其获取到的图像数据进行编码后得到的;Receiving, by the processor, image encoded data sent by the main processor, where the image encoded data is obtained by encoding, by the main processor, the image data acquired by the main processor;

所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准。The slave processor performs distortion calibration on the image data according to the image encoded data.

本发明实施例的第三方面是提供一种图像处理方法,应用于无人机,包括: A third aspect of the embodiments of the present invention provides an image processing method, which is applied to a drone, and includes:

获取图像数据;Obtain image data;

对所述图像数据进行编码,得到图像编码数据;Encoding the image data to obtain image encoded data;

将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准。And transmitting the image encoded data to a ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data.

本发明实施例的第四方面是提供一种图像处理方法,应用于地面端设备,包括:A fourth aspect of the present invention provides an image processing method, which is applied to a ground end device, and includes:

接收无人机发送的图像编码数据,所述图像编码数据是所述无人机对其获取到的图像数据进行编码后得到的;Receiving image encoded data sent by the drone, the image encoded data being obtained by encoding the image data acquired by the drone;

根据所述图像编码数据对所述图像数据进行畸变校准。Distorting the image data according to the image encoded data.

本发明实施例的第五方面是提供一种图像处理设备,包括:主处理器和从处理器;A fifth aspect of the embodiments of the present invention provides an image processing apparatus, including: a main processor and a slave processor;

所述主处理器用于:The main processor is used to:

获取图像数据;Obtain image data;

对所述图像数据进行编码,得到图像编码数据;Encoding the image data to obtain image encoded data;

将所述图像编码数据发送给从处理器,以使所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准。Transmitting the image encoded data to a slave processor to cause the slave processor to perform distortion calibration on the image data according to the image encoded data.

本发明实施例的第六方面是提供一种图像处理设备,包括:主处理器和从处理器;A sixth aspect of the embodiments of the present invention provides an image processing apparatus, including: a main processor and a slave processor;

所述从处理器用于:The slave processor is used to:

接收主处理器发送的图像编码数据,所述图像编码数据是所述主处理器对其获取到的图像数据进行编码后得到的;Receiving image encoded data sent by the main processor, where the image encoded data is obtained by encoding, by the main processor, the image data obtained by the main processor;

根据所述图像编码数据对所述图像数据进行畸变校准。Distorting the image data according to the image encoded data.

本发明实施例的第七方面是提供一种拍摄设备,包括:A seventh aspect of the embodiments of the present invention provides a photographing apparatus, including:

图像传感器,用于采集图像数据;An image sensor for acquiring image data;

以及如第五方面或第六方面所述的图像处理设备。And an image processing apparatus according to the fifth aspect or the sixth aspect.

本发明实施例的第八方面是提供一种无人机,包括:An eighth aspect of the embodiments of the present invention provides a drone, including:

机身;body;

动力系统,安装在所述机身,用于提供动力;a power system mounted to the fuselage for providing power;

拍摄设备,搭载在所述机身,用于采集图像数据;a photographing device mounted on the body for collecting image data;

以及如第五方面或第六方面所述的图像处理设备。 And an image processing apparatus according to the fifth aspect or the sixth aspect.

本发明实施例的第九方面是提供一种无人机,包括:A ninth aspect of the embodiments of the present invention provides a drone, including:

机身;body;

动力系统,安装在所述机身,用于提供动力;a power system mounted to the fuselage for providing power;

拍摄设备,搭载在所述机身,用于采集图像数据;a photographing device mounted on the body for collecting image data;

一个或多个第一处理器,以及第一通讯接口;One or more first processors, and a first communication interface;

所述第一处理器用于:The first processor is configured to:

获取拍摄设备采集的图像数据;Obtaining image data collected by the photographing device;

对所述图像数据进行编码,得到图像编码数据;Encoding the image data to obtain image encoded data;

所述第一通讯接口用于:The first communication interface is used to:

将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准。And transmitting the image encoded data to a ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data.

本发明实施例的第十方面是提供一种地面端设备,包括:第二通讯接口和第二处理器;A tenth aspect of the present invention provides a ground end device, including: a second communication interface and a second processor;

所述第二通讯接口用于接收无人机发送的图像编码数据,所述图像编码数据是所述无人机对其获取到的图像数据进行编码后得到的;The second communication interface is configured to receive image encoded data sent by the drone, and the image encoded data is obtained by encoding, by the drone, image data obtained by the drone;

所述第二处理器用于根据所述图像编码数据对所述图像数据进行畸变校准。The second processor is configured to perform distortion calibration on the image data according to the image encoded data.

本实施例提供的图像处理方法、拍摄设备、无人机及地面端设备,通过主处理器获取图像数据,对图像数据进行编码,得到图像编码数据,并将图像编码数据发送给从处理器,以使从处理器根据图像编码数据对图像数据进行畸变校准,主处理器不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了主处理器的性能开销,在主处理器的性能不足,且图像数据的码流像素较大时,可以有效避免主处理器的带宽和性能出现问题。The image processing method, the photographing device, the drone and the ground end device provided by the embodiment obtain image data by the main processor, encode the image data, obtain image coded data, and send the image coded data to the slave processor. In order for the slave processor to perform distortion calibration on the image data according to the image encoded data, the main processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, thereby saving the performance overhead of the main processor and the performance of the main processor. When the number of code stream pixels of the image data is insufficient, the bandwidth and performance of the main processor can be effectively avoided.

附图说明DRAWINGS

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.

图1为本发明实施例提供的图像处理方法的流程图;FIG. 1 is a flowchart of an image processing method according to an embodiment of the present invention;

图2为本发明实施例提供的拍摄设备的结构示意图;2 is a schematic structural diagram of a photographing apparatus according to an embodiment of the present invention;

图3为本发明实施例提供的无人机的结构示意图;3 is a schematic structural diagram of a drone according to an embodiment of the present invention;

图4为本发明另一实施例提供的图像处理方法的流程图;4 is a flowchart of an image processing method according to another embodiment of the present invention;

图5为本发明另一实施例提供的图像处理方法的流程图;FIG. 5 is a flowchart of an image processing method according to another embodiment of the present invention;

图6为本发明另一实施例提供的拍摄设备的结构示意图;FIG. 6 is a schematic structural diagram of a photographing apparatus according to another embodiment of the present invention;

图7为本发明另一实施例提供的无人机的结构示意图;FIG. 7 is a schematic structural diagram of a drone according to another embodiment of the present invention; FIG.

图8为本发明另一实施例提供的图像处理方法的流程图;FIG. 8 is a flowchart of an image processing method according to another embodiment of the present invention;

图9为本发明另一实施例提供的通信系统的示意图;FIG. 9 is a schematic diagram of a communication system according to another embodiment of the present invention; FIG.

图10为本发明另一实施例提供的通信系统的示意图;FIG. 10 is a schematic diagram of a communication system according to another embodiment of the present invention; FIG.

图11为本发明另一实施例提供的图像处理方法的流程图;FIG. 11 is a flowchart of an image processing method according to another embodiment of the present invention;

图12为本发明另一实施例提供的图像处理方法的流程图;FIG. 12 is a flowchart of an image processing method according to another embodiment of the present invention;

图13为本发明实施例提供的图像处理设备的结构图;FIG. 13 is a structural diagram of an image processing apparatus according to an embodiment of the present invention;

图14为本发明另一实施例提供的图像处理设备的结构图;FIG. 14 is a structural diagram of an image processing apparatus according to another embodiment of the present invention;

图15为本发明实施例提供的无人机的结构图;15 is a structural diagram of a drone according to an embodiment of the present invention;

图16为本发明实施例提供的地面端设备的结构图。FIG. 16 is a structural diagram of a ground end device according to an embodiment of the present invention.

附图标记:Reference mark:

20-拍摄设备      21-图像传感器     22-主处理器20-Camera 21-Image Sensor 22-Main Processor

23-从处理器      30-无人机         31-主处理器23- slave processor 30- drone 31-master processor

32-从处理器      33-存储器         34-支撑设备32-slave processor 33-memory 34-support device

35-拍摄设备      24-存储器         90-无人机35-Photographing Equipment 24-Memory 90-Unmanned Aerial Vehicle

91-地面端设备    901-处理器        902-支撑设备91-ground terminal equipment 901-processor 902-support equipment

903-拍摄设备     904-通信系统      910-天线903-Photographing Equipment 904-Communication System 910-Antenna

911-处理器       912-存储器        130-图像处理设备911-processor 912-memory 130-image processing device

131-主处理器     132-从处理器      140-图像处理设备131-main processor 132-slave processor 140-image processing device

141-主处理器     142-从处理器      150-无人机141-main processor 142-slave processor 150- drone

1501-拍摄设备    1502-第一处理器   1503-第一通讯接口1501-Photographing device 1502-First processor 1503-First communication interface

1504-支撑设备    1506-螺旋桨       1507-电机1504-support equipment 1506-propeller 1507-motor

160-地面端设备   161-第二通讯接口  162-第二处理器160-ground terminal equipment 161-second communication interface 162-second processor

1517-电子调速器 1517-Electronic governor

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly described with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is referred to as being "fixed" to another component, it can be directly on the other component or the component can be present. When a component is considered to "connect" another component, it can be directly connected to another component or possibly a central component.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。All technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. The terminology used in the description of the present invention is for the purpose of describing particular embodiments and is not intended to limit the invention. The term "and/or" used herein includes any and all combinations of one or more of the associated listed items.

下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present invention are described in detail below with reference to the accompanying drawings. The features of the embodiments and examples described below can be combined with each other without conflict.

通常情况下,拍摄设备例如手持云台上搭载的拍摄设备、用户手持的拍摄设备、可移动平台例如无人机上搭载的拍摄设备等设置有图像传感器,该图像传感器可以实时捕捉图像数据,并将其捕捉到的图像数据发送给处理器,由处理器对图像数据进行畸变校准得到校准后的图像数据,再对校准后的图像数据进行编码得到编码后的图像数据,并将编码后的图像数据存储在存储器中。但是,处理器的作用不仅仅是对图像数据进行处理,还需要处理其他的数据,当处理器的性能不足时,如果图像数据的码流像素较高,将导致处理器出现带宽和性能问题。为了解决该问题,本实施例提供了一种图像处理方法,下面结合具体的实施例对该图像处理方法进行介绍。In general, a photographing device such as a photographing device mounted on a handheld pan/tilt, a photographing device held by a user, a movable platform such as a photographing device mounted on the drone, and the like are provided with an image sensor that can capture image data in real time and The captured image data is sent to the processor, and the image data is distorted and calibrated by the processor to obtain the calibrated image data, and then the calibrated image data is encoded to obtain the encoded image data, and the encoded image data is obtained. Stored in memory. However, the role of the processor is not only to process the image data, but also to process other data. When the performance of the processor is insufficient, if the code stream of the image data is high, the processor will have bandwidth and performance problems. In order to solve the problem, the embodiment provides an image processing method, which is described below in conjunction with a specific embodiment.

本发明实施例提供一种图像处理方法。图1为本发明实施例提供的图像处理方法的流程图。如图1所示,本实施例中的方法,可以包括:Embodiments of the present invention provide an image processing method. FIG. 1 is a flowchart of an image processing method according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment may include:

步骤S101、主处理器获取图像数据。 Step S101: The main processor acquires image data.

本实施例所述的图像处理方法适用于如图2所示的拍摄设备20,拍摄设备20包括图像传感器21、主处理器22和从处理器23。The image processing method described in this embodiment is applied to the photographing apparatus 20 shown in FIG. 2, and the photographing apparatus 20 includes an image sensor 21, a main processor 22, and a slave processor 23.

在其他实施例中,该图像处理方法还可以适用于搭载有拍摄设备的可移动平台例如无人机。在某些实施例中,该方法还适用于其他形式的具有图像处理功能的设备。如图3所示,无人机30包括主处理器31、从处理器32,无人机30通过支撑设备34例如云台搭载有拍摄设备35。主处理器31和从处理器32电连接,主处理器31和拍摄设备35电连接。In other embodiments, the image processing method can also be applied to a mobile platform such as a drone equipped with a photographing device. In some embodiments, the method is also applicable to other forms of devices having image processing capabilities. As shown in FIG. 3, the drone 30 includes a main processor 31 and a slave processor 32, and the drone 30 is equipped with a photographing device 35 via a support device 34 such as a pan/tilt. The main processor 31 and the slave processor 32 are electrically connected, and the main processor 31 and the photographing device 35 are electrically connected.

可选的,所述主处理器获取图像数据,包括如下几种可行的实现方式:Optionally, the main processor acquires image data, and includes the following feasible implementation manners:

一种可行的实现方式是:所述主处理器获取图像传感器采集到的图像数据。A possible implementation manner is that the main processor acquires image data collected by an image sensor.

如图2所示,图像传感器21可以实时的采集图像数据,并将图像数据传输给主处理器22。As shown in FIG. 2, the image sensor 21 can acquire image data in real time and transmit the image data to the main processor 22.

在其他实施例中,如图3所示,拍摄设备35可设置有图像传感器,图像传感器实时采集图像数据,并将图像数据传输给主处理器31。In other embodiments, as shown in FIG. 3, the photographing device 35 may be provided with an image sensor that collects image data in real time and transmits the image data to the main processor 31.

另一种可行的实现方式是:所述主处理器获取与拍摄控制指令对应的拍摄图像。Another possible implementation manner is that the main processor acquires a captured image corresponding to the shooting control instruction.

如图2所示,拍摄设备20可根据用户的拍摄控制操作生成拍摄控制指令,可选的,该拍摄控制指令是主处理器22根据用户的拍摄控制操作生成的。拍摄控制操作可以是用户对拍摄设备20的拍摄按键或按钮的操作。另外,在其他实施例中,拍摄设备20还可以和控制设备通信连接,用户可以通过该控制设备来控制拍摄设备20,该拍摄控制操作还可以是用户对控制设备的拍摄按键或按钮的操作。当拍摄设备20根据用户的拍摄控制操作生成拍摄控制指令时,主处理器22可以获取拍摄控制指令生成时刻由图像传感器21采集的图像数据,可以理解,在拍摄控制指令生成时刻由图像传感器21采集的图像数据为拍摄图像。As shown in FIG. 2, the photographing apparatus 20 may generate a photographing control command according to a photographing control operation of the user, and optionally, the photographing control command is generated by the main processor 22 according to a photographing control operation of the user. The photographing control operation may be an operation of a user's photographing button or button of the photographing device 20. In addition, in other embodiments, the photographing device 20 can also be in communication connection with a control device through which the user can control the photographing device 20, and the photographing control operation can also be an operation of a photographing button or button of the control device by the user. When the photographing device 20 generates a photographing control instruction according to the photographing control operation of the user, the main processor 22 can acquire the image data acquired by the image sensor 21 at the time of the photographing control command generation, and it can be understood that the image sensor 21 is acquired at the photographing control command generating timing. The image data is the captured image.

在其他实施例中,如图3所示,主处理器31可以根据拍摄控制指令控制拍摄设备35拍摄图像数据,进一步地,拍摄设备35可将其拍摄到的图像数据传输给主处理器31。其中,拍摄控制指令可以是无人机30的控制终端例如遥控器发送给无人机30的。In other embodiments, as shown in FIG. 3, the main processor 31 can control the photographing device 35 to take image data according to the photographing control instruction, and further, the photographing device 35 can transmit the image data photographed by the photographing device 35 to the main processor 31. The shooting control command may be sent to the drone 30 by a control terminal of the drone 30, such as a remote controller.

步骤S102、所述主处理器对所述图像数据进行编码,得到图像编码数 据。Step S102, the main processor encodes the image data to obtain an image coding number. according to.

如图2所示,主处理器22获取到图像传感器21采集的图像数据后,对图像传感器21采集的图像数据进行编码,得到图像编码数据。As shown in FIG. 2, after acquiring the image data collected by the image sensor 21, the main processor 22 encodes the image data collected by the image sensor 21 to obtain image encoded data.

在其他实施例中,如图3所示,主处理器31对拍摄设备35拍摄的图像数据进行编码,得到图像编码数据。In other embodiments, as shown in FIG. 3, the main processor 31 encodes image data captured by the photographing device 35 to obtain image encoded data.

步骤S103、所述主处理器将所述图像编码数据发送给从处理器,以使所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准。Step S103: The main processor sends the image encoded data to a slave processor, so that the slave processor performs distortion calibration on the image data according to the image encoded data.

如图2所示,主处理器22对图像数据进行编码,得到图像编码数据后,将该图像编码数据发送给从处理器23,从处理器23可以对图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。可选的,主处理器22可以将该图像编码数据实时的发送给从处理器23,从处理器23可以实时的对图像编码数据进行解码以得到图像数据,并对解码后得到的图像数据进行畸变校准。As shown in FIG. 2, the main processor 22 encodes the image data to obtain image encoded data, and then transmits the image encoded data to the slave processor 23, and the slave processor 23 can decode the image encoded data to obtain image data. Further, the image data obtained after decoding is subjected to distortion calibration. Optionally, the main processor 22 may send the image encoded data to the slave processor 23 in real time, and the slave processor 23 may decode the image encoded data in real time to obtain image data, and perform image data obtained after decoding. Distortion calibration.

在其他实施例中,如图3所示,主处理器31对图像数据进行编码,得到图像编码数据后,将该图像编码数据发送给从处理器32,从处理器32可以对图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。可选的,主处理器31可以将该图像编码数据实时的发送给从处理器32,从处理器32可以实时的对图像编码数据进行解码以得到图像数据,并对解码后得到的图像数据进行畸变校准。In other embodiments, as shown in FIG. 3, the main processor 31 encodes the image data, and after obtaining the image encoded data, the image encoded data is sent to the slave processor 32, and the slave processor 32 can perform image encoded data. Decoding to obtain image data, and further performing distortion calibration on the decoded image data. Optionally, the main processor 31 may send the image encoded data to the slave processor 32 in real time, and the slave processor 32 may decode the image encoded data in real time to obtain image data, and perform image data obtained after decoding. Distortion calibration.

可选的,所述主处理器将所述图像编码数据发送给从处理器,以使所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准,包括:所述主处理器将所述图像编码数据发送给从处理器,以使所述从处理器对所述图像编码数据进行存储,并根据存储后的所述图像编码数据对所述图像数据进行畸变校准。Optionally, the main processor sends the image encoded data to a slave processor, so that the slave processor performs distortion calibration on the image data according to the image encoded data, including: the main processor And transmitting the image encoded data to the slave processor, so that the slave processor stores the image encoded data, and performs distortion calibration on the image data according to the stored image encoded data.

如图2所示,主处理器22对图像数据进行编码,得到图像编码数据后,将该图像编码数据发送给从处理器23,从处理器23对该图像编码数据进行存储,例如,当从处理器23接收到主处理器22发送的图像编码数据时,先将该图像编码数据存储到存储器,在从处理器23空闲时,从存储器中获取出图像编码数据,对该图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。 As shown in FIG. 2, the main processor 22 encodes the image data, and after obtaining the image encoded data, transmits the image encoded data to the slave processor 23, and the slave processor 23 stores the image encoded data, for example, when When the processor 23 receives the image encoded data sent by the main processor 22, the image encoded data is first stored in the memory, and when the slave processor 23 is idle, the image encoded data is acquired from the memory, and the encoded data is decoded. To obtain image data, the image data obtained after decoding is further subjected to distortion calibration.

在其他实施例中,如图3所示,主处理器31对图像数据进行编码,得到图像编码数据后,将该图像编码数据发送给从处理器32,从处理器32对该图像编码数据进行存储,例如,当从处理器32接收到主处理器31发送的图像编码数据时,先将该图像编码数据存储到存储器,在从处理器32空闲时,从存储器中获取出图像编码数据,对该图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。In other embodiments, as shown in FIG. 3, the main processor 31 encodes the image data, and after obtaining the image encoded data, transmits the image encoded data to the slave processor 32, and the slave processor 32 performs the encoded data on the image. For example, when the image encoded data transmitted by the main processor 31 is received from the processor 32, the image encoded data is first stored in the memory, and when the slave processor 32 is idle, the image encoded data is acquired from the memory, The image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.

可选的,所述主处理器将所述图像编码数据发送给从处理器,包括:所述主处理器通过数据总线将所述图像编码数据发送给从处理器。Optionally, the main processor sends the image encoded data to the slave processor, and the host processor sends the image encoded data to the slave processor through a data bus.

如图2所示,主处理器22和从处理器23通过数据总线连接,主处理器22通过数据总线将其编码后得到的图像编码数据发送给从处理器23。As shown in FIG. 2, the main processor 22 and the slave processor 23 are connected via a data bus, and the main processor 22 transmits the encoded image encoded data obtained by the main processor 22 to the slave processor 23 via the data bus.

在其他实施例中,如图3所示,主处理器31和从处理器32通过数据总线连接,主处理器31通过数据总线将其编码后得到的图像编码数据发送给从处理器32。In other embodiments, as shown in FIG. 3, the main processor 31 and the slave processor 32 are connected by a data bus, and the main processor 31 transmits the encoded image encoded data obtained by the main processor 31 to the slave processor 32 via the data bus.

本实施例通过主处理器获取图像数据,对图像数据进行编码,得到图像编码数据,并将图像编码数据发送给从处理器,以使从处理器根据图像编码数据对图像数据进行畸变校准,主处理器不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了主处理器的性能开销,在主处理器的性能不足,且图像数据的码流像素较大时,可以有效避免主处理器的带宽和性能出现问题。In this embodiment, the image data is acquired by the main processor, the image data is encoded, the image encoded data is obtained, and the image encoded data is sent to the slave processor, so that the slave processor performs distortion calibration on the image data according to the image encoded data. The processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the main processor. When the performance of the main processor is insufficient, and the code stream of the image data is large, the main can be effectively avoided. There is a problem with the bandwidth and performance of the processor.

本发明实施例提供一种图像处理方法。图4为本发明另一实施例提供的图像处理方法的流程图。如图4所示,本实施例中的方法,可以包括:Embodiments of the present invention provide an image processing method. FIG. 4 is a flowchart of an image processing method according to another embodiment of the present invention. As shown in FIG. 4, the method in this embodiment may include:

步骤S401、从处理器接收主处理器发送的图像编码数据,所述图像编码数据是所述主处理器对其获取到的图像数据进行编码后得到的。Step S401: The slave processor receives image coded data sent by the main processor, where the image coded data is obtained by encoding, by the main processor, the image data acquired by the main processor.

可选的,所述从处理器接收主处理器发送的图像编码数据,包括:所述从处理器通过数据总线接收主处理器发送的图像编码数据。Optionally, the slave processor receives the image encoded data sent by the main processor, and the slave processor receives the image encoded data sent by the main processor through the data bus.

如图2所示,从处理器23接收主处理器22发送的图像编码数据,主处理器22和从处理器23通过数据总线连接,从处理器23通过数据总线接收主处理器22发送的图像编码数据。As shown in FIG. 2, the image encoded data transmitted from the main processor 22 is received from the processor 23, and the main processor 22 and the slave processor 23 are connected via a data bus, and the slave processor 23 receives the image transmitted by the main processor 22 via the data bus. Encoded data.

在其他实施例中,如图3所示,从处理器32接收主处理器31发送的 图像编码数据,主处理器31和从处理器32通过数据总线连接,从处理器32通过数据总线接收主处理器31发送的图像编码数据。In other embodiments, as shown in FIG. 3, the slave processor 32 receives the transmission from the main processor 31. The image encoded data, the main processor 31 and the slave processor 32 are connected by a data bus, and the slave processor 32 receives the image encoded data transmitted from the main processor 31 via the data bus.

步骤S402、所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准。Step S402: The slave processor performs distortion calibration on the image data according to the image encoded data.

如图2所示,从处理器23接收到主处理器22发送的图像编码数据后,从处理器23可以对图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。As shown in FIG. 2, after receiving the image encoded data sent by the main processor 22 from the processor 23, the slave processor 23 can decode the image encoded data to obtain image data, and further perform distortion calibration on the decoded image data. .

在其他实施例中,如图3所示,从处理器32接收到主处理器31发送的图像编码数据后,从处理器32可以对图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。In other embodiments, as shown in FIG. 3, after receiving the image encoded data sent by the main processor 31 from the processor 32, the slave processor 32 may decode the image encoded data to obtain image data, and further obtain the decoded data. The image data is subjected to distortion calibration.

另外,在其他实施例中,步骤S401从处理器接收主处理器发送的图像编码数据之后,还包括:所述从处理器将所述图像编码数据存储到存储器。相应的,步骤S402所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准,包括:所述从处理器根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准。In addition, in other embodiments, after the step S401 receives the image encoded data sent by the main processor from the processor, the method further includes: the slave processor storing the image encoded data into a memory. Correspondingly, the slave processor performs distortion calibration on the image data according to the image encoded data, and the method includes: the slave processor performing the image data according to the image encoded data stored in the memory. Distortion calibration.

如图2所示,主处理器22对图像数据进行编码,得到图像编码数据后,将该图像编码数据发送给从处理器23,从处理器23对该图像编码数据进行存储,例如,当从处理器23接收到主处理器22发送的图像编码数据时,先将该图像编码数据存储到存储器,当从处理器23在空闲时,从存储器中获取出图像编码数据,对该图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。As shown in FIG. 2, the main processor 22 encodes the image data, and after obtaining the image encoded data, transmits the image encoded data to the slave processor 23, and the slave processor 23 stores the image encoded data, for example, when When receiving the image encoded data sent by the main processor 22, the processor 23 first stores the image encoded data into the memory, and when the slave processor 23 is idle, acquires the image encoded data from the memory, and performs the encoded data on the image. Decoding to obtain image data, and further performing distortion calibration on the decoded image data.

在其他实施例中,如图3所示,主处理器31对图像数据进行编码,得到图像编码数据后,将该图像编码数据发送给从处理器32,从处理器32对该图像编码数据进行存储,例如,当从处理器32接收到主处理器31发送的图像编码数据时,先将该图像编码数据存储到存储器,在从处理器32空闲时,从存储器中获取出图像编码数据,对该图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。In other embodiments, as shown in FIG. 3, the main processor 31 encodes the image data, and after obtaining the image encoded data, transmits the image encoded data to the slave processor 32, and the slave processor 32 performs the encoded data on the image. For example, when the image encoded data transmitted by the main processor 31 is received from the processor 32, the image encoded data is first stored in the memory, and when the slave processor 32 is idle, the image encoded data is acquired from the memory, The image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.

本实施例通过从处理器接收主处理器发送的图像编码数据,该图像编码数据是主处理器对其获取到的图像数据进行编码后得到的,从处理器根据图像编码数据对图像数据进行畸变校准,使得主处理器不需要在获取到 图像数据时即时对图像数据进行畸变校准,节省了主处理器的性能开销,在主处理器的性能不足时,可以有效避免主处理器的带宽和性能出现问题。In this embodiment, the image encoded data sent by the main processor is obtained by the processor, and the image encoded data is obtained by encoding, by the main processor, the image data obtained by the main processor, and the image is distorted by the processor according to the image encoded data. Calibration so that the main processor does not need to be acquired The image data is distorted immediately in the image data, which saves the performance overhead of the main processor. When the performance of the main processor is insufficient, the bandwidth and performance of the main processor can be effectively avoided.

本发明实施例提供一种图像处理方法。图5为本发明另一实施例提供的图像处理方法的流程图。如图5所示,本实施例中的方法,可以包括:Embodiments of the present invention provide an image processing method. FIG. 5 is a flowchart of an image processing method according to another embodiment of the present invention. As shown in FIG. 5, the method in this embodiment may include:

步骤S501、从处理器接收主处理器发送的图像编码数据,所述图像编码数据是所述主处理器对其获取到的图像数据进行编码后得到的。Step S501: Receive, by the processor, image encoded data sent by the main processor, where the image encoded data is obtained by encoding, by the main processor, the image data acquired by the main processor.

步骤S501与步骤S401的具体原理和实现方式均一致,此处不再赘述。The specific principles and implementation manners of step S501 and step S401 are the same, and are not described here.

步骤S502、所述从处理器将所述图像编码数据存储到存储器。Step S502: The slave processor stores the image encoded data into a memory.

如图6所示,拍摄设备20还包括存储器24。主处理器22对图像数据进行编码,得到图像编码数据后,将该图像编码数据发送给从处理器23,从处理器23将该图像编码数据存储到存储器24。存储器24具体可以是安全数码卡(Secure Digital Memory Card/SD card,简称SD卡),此处只是示意性说明,并不限定存储器24的具体形式,在其他实施例中,存储器24还可以是其他形式的存储器。As shown in FIG. 6, the photographing apparatus 20 further includes a memory 24. The main processor 22 encodes the image data to obtain image encoded data, and then transmits the image encoded data to the slave processor 23, and the slave processor 23 stores the image encoded data in the memory 24. The memory 24 is specifically a Secure Digital Memory Card (SD card), which is only a schematic description, and does not limit the specific form of the memory 24. In other embodiments, the memory 24 may be other Form of memory.

在其他实施例中,如图7所示,无人机30还包括存储器33。主处理器31对图像数据进行编码,得到图像编码数据后,将该图像编码数据发送给从处理器32,从处理器32将该图像编码数据存储到存储器33。存储器33具体可以是安全数码卡(Secure Digital Memory Card/SD card,简称SD卡),此处只是示意性说明,并不限定存储器24的具体形式,在其他实施例中,存储器33还可以是其他形式的存储器。In other embodiments, as shown in FIG. 7, the drone 30 further includes a memory 33. The main processor 31 encodes the image data to obtain image encoded data, and then transmits the image encoded data to the slave processor 32, and the slave processor 32 stores the image encoded data in the memory 33. The memory 33 may be a secure digital memory card (SD card), which is only a schematic description, and does not limit the specific form of the memory 24. In other embodiments, the memory 33 may be other. Form of memory.

步骤S503、所述从处理器从存储器中获取所述图像编码数据。Step S503: The slave processor acquires the image encoded data from a memory.

如图6所示,当从处理器23在相对空闲时,从存储器24中获取图像编码数据。As shown in FIG. 6, when the slave processor 23 is relatively idle, the image encoded data is acquired from the memory 24.

在其他实施例中,如图7所示,当从处理器32在相对空闲时,从存储器33中获取图像编码数据。In other embodiments, as shown in FIG. 7, image encoded data is retrieved from memory 33 when slave processor 32 is relatively idle.

步骤S504、所述从处理器对所述图像编码数据进行解码得到所述图像数据。 Step S504: The slave processor decodes the image encoded data to obtain the image data.

如图6所示,从处理器23对图像编码数据进行解码得到图像数据。As shown in FIG. 6, the image data is decoded from the processor 23 to obtain image data.

在其他实施例中,如图7所示,从处理器32对图像编码数据进行解码得到图像数据。In other embodiments, as shown in FIG. 7, the image encoded data is decoded from the processor 32 to obtain image data.

步骤S505、所述从处理器对所述图像数据进行畸变校准,得到校准后的图像数据。Step S505: The slave processor performs distortion calibration on the image data to obtain calibrated image data.

如图6所示,从处理器23对解码后得到的图像数据进行畸变校准,得到校准后的图像数据。As shown in FIG. 6, the processor 23 performs distortion calibration on the decoded image data to obtain calibrated image data.

在其他实施例中,如图7所示,从处理器32对解码后得到的图像数据进行畸变校准,得到校准后的图像数据。In other embodiments, as shown in FIG. 7, the decoded image data is subjected to distortion calibration from the processor 32 to obtain calibrated image data.

步骤S506、所述从处理器对所述校准后的图像数据进行编码得到校准后的图像编码数据。Step S506: The slave processor encodes the calibrated image data to obtain calibrated image encoded data.

如图6所示,从处理器23进一步对校准后的图像数据进行编码得到校准后的图像编码数据。As shown in FIG. 6, the slave processor 23 further encodes the calibrated image data to obtain calibrated image encoded data.

在其他实施例中,如图7所示,从处理器32进一步对校准后的图像数据进行编码得到校准后的图像编码数据。In other embodiments, as shown in FIG. 7, the slave processor 32 further encodes the calibrated image data to obtain calibrated image encoded data.

步骤S507、所述从处理器将所述校准后的图像编码数据存储到所述存储器。Step S507: The slave processor stores the calibrated image encoded data into the memory.

可选的,所述从处理器将所述校准后的图像编码数据存储到所述存储器,包括:所述从处理器将所述校准后的图像编码数据存储到所述存储器,并将所述存储器中存储的所述图像编码数据替换为所述校准后的图像编码数据。Optionally, the slave processor stores the calibrated image encoded data into the memory, including: the slave processor storing the calibrated image encoded data into the memory, and The image encoded data stored in the memory is replaced with the calibrated image encoded data.

如图6所示,从处理器23进一步将校准后的图像编码数据存储到存储器24。由于存储器24中存储有校准前的图像编码数据,可选的,从处理器23可以将存储器24中存储的校准前的图像编码数据替换为该校准后的图像编码数据。As shown in FIG. 6, the slave processor 23 further stores the calibrated image encoded data in the memory 24. Since the pre-calibrated image encoded data is stored in the memory 24, optionally, the slave processor 23 can replace the pre-calibrated image encoded data stored in the memory 24 with the calibrated image encoded data.

在其他实施例中,如图7所示,从处理器32进一步将校准后的图像编码数据存储到存储器33。由于存储器33中存储有校准前的图像编码数据,可选的,从处理器32可以将存储器33中存储的校准前的图像编码数据替换为该校准后的图像编码数据。In other embodiments, as shown in FIG. 7, the slave processor 32 further stores the calibrated image encoded data to the memory 33. Since the pre-calibrated image encoded data is stored in the memory 33, alternatively, the slave processor 32 can replace the pre-calibrated image encoded data stored in the memory 33 with the calibrated image encoded data.

本实施例通过从处理器对存储到存储器中的图像编码数据进行图像 校准,存储到存储器中的图像编码数据可以是主处理器对拍摄设备拍摄到的拍摄图像进行编码后得到的,使得从处理器只需对拍摄设备拍摄到的拍摄图像进行图像校准,而无需对图像传感器感测到的每一帧图像数据都进行图像校准,不仅提高了从处理器的计算效率,而且,主处理器不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了主处理器的性能开销,在主处理器的性能不足,且图像数据的码流像素较大时,可以有效避免主处理器的带宽和性能出现问题。The embodiment performs an image on the image encoded data stored in the memory from the processor. The image encoded data stored in the memory may be obtained after the main processor encodes the captured image captured by the photographing device, so that the slave processor only needs to perform image calibration on the captured image captured by the photographing device, without The image data of each frame sensed by the image sensor is image-calibrated, which not only improves the calculation efficiency of the slave processor, but also the main processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, thereby saving the main The performance overhead of the processor can effectively avoid the problem of bandwidth and performance of the main processor when the performance of the main processor is insufficient and the code stream of the image data is large.

本发明实施例提供一种图像处理方法。图8为本发明另一实施例提供的图像处理方法的流程图。本实施例提供的图像处理方法应用于无人机。如图8所示,本实施例中的方法,可以包括:Embodiments of the present invention provide an image processing method. FIG. 8 is a flowchart of an image processing method according to another embodiment of the present invention. The image processing method provided by this embodiment is applied to a drone. As shown in FIG. 8, the method in this embodiment may include:

步骤S801、获取图像数据。Step S801, acquiring image data.

本实施例提供的图像处理方法适用于如图9所示的通信系统,如图9所示,该通信系统包括无人机90和地面端设备91。无人机90包括处理器901、支撑设备902例如云台、拍摄设备903以及通信系统904,拍摄设备903通过支撑设备902搭载在无人机90上。处理器901具体可以是专用的或者其他通用的处理器。通信系统904可以和地面端设备91进行无线通信。地面端设备91通过天线910与无人机90无线通信。The image processing method provided in this embodiment is applicable to the communication system shown in FIG. 9. As shown in FIG. 9, the communication system includes a drone 90 and a ground end device 91. The drone 90 includes a processor 901, a support device 902 such as a pan/tilt head, a photographing device 903, and a communication system 904, and the photographing device 903 is mounted on the drone 90 via the support device 902. Processor 901 may specifically be a dedicated or other general purpose processor. Communication system 904 can communicate wirelessly with ground end device 91. The ground end device 91 wirelessly communicates with the drone 90 via the antenna 910.

可选的,所述获取图像数据,包括:获取所述无人机搭载的拍摄设备的图像传感器采集到的图像数据。Optionally, the acquiring image data includes: acquiring image data collected by an image sensor of the photographing device mounted on the drone.

如图9所示,拍摄设备903可设置有图像传感器,图像传感器实时采集图像数据,并将图像数据传输给处理器901。As shown in FIG. 9, the photographing apparatus 903 may be provided with an image sensor that collects image data in real time and transmits the image data to the processor 901.

或者,所述获取图像数据,包括:获取所述无人机搭载的拍摄设备根据拍摄控制指令拍摄的图像数据。例如,通信系统904可以接收地面端设备91发送的拍摄控制指令,处理器901根据该拍摄控制指令控制拍摄设备903拍摄图像数据,拍摄设备903可以将其拍摄到的图像数据传输给处理器901。Alternatively, the acquiring image data includes: acquiring image data captured by the photographing device mounted on the drone according to a shooting control instruction. For example, the communication system 904 can receive the photographing control command transmitted by the ground end device 91, the processor 901 controls the photographing device 903 to capture image data according to the photographing control command, and the photographing device 903 can transmit the image data captured by the photographing device 903 to the processor 901.

步骤S802、对所述图像数据进行编码,得到图像编码数据。Step S802, encoding the image data to obtain image encoded data.

处理器901获取到图像数据后,对图像数据进行编码,得到图像编码数据。 After the processor 901 acquires the image data, the image data is encoded to obtain image encoded data.

步骤S803、将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准。Step S803: Send the image encoded data to a ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data.

进一步的,处理器901通过通信系统904将图像编码数据发送给无人机90对应的地面端设备91,地面端设备91根据图像编码数据对图像数据进行畸变校准,具体的,地面端设备91对图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。可选的,处理器901可以通过通信系统904将图像编码数据实时的发送给地面端设备91,地面端设备91可以实时的对图像编码数据进行解码以得到图像数据,并对解码后得到的图像数据进行畸变校准。Further, the processor 901 transmits the image encoded data to the ground end device 91 corresponding to the drone 90 through the communication system 904, and the ground end device 91 performs distortion calibration on the image data according to the image encoded data. Specifically, the ground end device 91 pairs The image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration. Optionally, the processor 901 can send the image encoded data to the ground end device 91 in real time through the communication system 904, and the ground end device 91 can decode the image encoded data in real time to obtain image data, and obtain the decoded image. The data is calibrated for distortion.

可选的,所述将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准,包括:将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备对所述图像编码数据进行存储,并根据存储后的所述图像编码数据对所述图像数据进行畸变校准。Optionally, the image encoding data is sent to the ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data, including: Sending the image encoded data to the ground end device corresponding to the drone, so that the ground end device stores the image encoded data, and performs the image data according to the stored image encoded data. Distortion calibration.

如图10所示,地面端设备91包括处理器911和存储器912,存储器912具体可以是安全数码卡(Secure Digital Memory Card/SD card,简称SD卡),此处只是示意性说明,并不限定存储器912的具体形式,在其他实施例中,存储器912还可以是其他形式的存储器。处理器901通过通信系统904将图像编码数据发送给无人机90对应的地面端设备91,处理器911将该图像编码数据存储到存储器912,当处理器911在相对空闲时,从存储器912中获取图像编码数据,对该图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。As shown in FIG. 10, the ground terminal device 91 includes a processor 911 and a memory 912. The memory 912 may be a secure digital memory card (SD card). The specific form of the memory 912, in other embodiments, the memory 912 may also be other forms of memory. The processor 901 transmits the image encoded data to the ground end device 91 corresponding to the drone 90 via the communication system 904, and the processor 911 stores the image encoded data to the memory 912. When the processor 911 is relatively idle, the slave memory 912 The image encoded data is acquired, the image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.

本实施例通过无人机获取图像数据,对图像数据进行编码,得到图像编码数据,并将图像编码数据发送给地面端设备,以使地面端设备根据图像编码数据对图像数据进行畸变校准,无人机的处理器不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了无人机的处理器的性能开销,在处理器的性能不足,且图像数据的码流像素较大时,可以有效避免处理器的带宽和性能出现问题。 In this embodiment, the image data is acquired by the drone, the image data is encoded, the image encoded data is obtained, and the image encoded data is sent to the ground end device, so that the ground end device performs distortion calibration on the image data according to the image encoded data, The human-machine processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the processor of the drone, when the performance of the processor is insufficient, and the code stream of the image data is large. Can effectively avoid problems with the bandwidth and performance of the processor.

本发明实施例提供一种图像处理方法。图11为本发明另一实施例提供的图像处理方法的流程图。本实施例提供的图像处理方法应用于地面端设备。如图11所示,本实施例中的方法,可以包括:Embodiments of the present invention provide an image processing method. FIG. 11 is a flowchart of an image processing method according to another embodiment of the present invention. The image processing method provided in this embodiment is applied to a ground end device. As shown in FIG. 11, the method in this embodiment may include:

步骤S1101、接收无人机发送的图像编码数据,所述图像编码数据是所述无人机对其获取到的图像数据进行编码后得到的。Step S1101: Receive image coded data sent by the drone, and the image coded data is obtained by encoding the image data acquired by the drone.

如图10所示,无人机90的处理器901获取拍摄设备903拍摄的图像数据之后,对该图像数据进行编码得到图像编码数据,并将该图像编码数据发送给地面端设备91,地面端设备91接收无人机90发送的该图像编码数据。As shown in FIG. 10, after the processor 901 of the drone 90 acquires the image data captured by the photographing device 903, the image data is encoded to obtain image encoded data, and the image encoded data is transmitted to the ground end device 91, the ground end. The device 91 receives the image encoded data transmitted by the drone 90.

步骤S1102、根据所述图像编码数据对所述图像数据进行畸变校准。Step S1102: Perform distortion calibration on the image data according to the image encoded data.

地面端设备91接收到无人机90发送的该图像编码数据后,地面端设备91的处理器911对图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。After the ground end device 91 receives the image encoded data sent by the drone 90, the processor 911 of the ground end device 91 decodes the image encoded data to obtain image data, and further performs distortion calibration on the decoded image data.

在其他实施例中,步骤S1101接收无人机发送的图像编码数据之后,还包括:将所述图像编码数据存储到存储器。相应的,步骤S1102根据所述图像编码数据对所述图像数据进行畸变校准,包括:根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准。In other embodiments, after receiving the image encoded data sent by the drone, step S1101 further includes: storing the image encoded data into a memory. Correspondingly, step S1102 performs distortion calibration on the image data according to the image encoded data, including: performing distortion calibration on the image data according to the image encoded data stored in the memory.

地面端设备91接收到无人机90发送的该图像编码数据后,处理器911先将该图像编码数据存储到存储器,当处理器911在空闲时,从存储器中获取出图像编码数据,对该图像编码数据进行解码以得到图像数据,进一步对解码后得到的图像数据进行畸变校准。After the ground end device 91 receives the image encoded data sent by the drone 90, the processor 911 first stores the image encoded data into the memory, and when the processor 911 is idle, the image encoded data is acquired from the memory. The image encoded data is decoded to obtain image data, and the decoded image data is further subjected to distortion calibration.

本实施例通过地面端设备接收无人机发送的图像编码数据,该图像编码数据是无人机对其获取到的图像数据进行编码后得到的,地面端设备根据图像编码数据对图像数据进行畸变校准,使得无人机不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了无人机的处理器的性能开销,在无人机的处理器性能不足时,可以有效避免无人机的带宽和性能出现问题。In this embodiment, the image encoding data sent by the UAV is received by the ground end device, and the image encoded data is obtained by encoding the image data acquired by the UAV, and the ground end device distorts the image data according to the image encoded data. The calibration makes the UAV not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the UAV processor. When the performance of the UAV processor is insufficient, the UAV can effectively avoid the unmanned There is a problem with the bandwidth and performance of the machine.

本发明实施例提供一种图像处理方法。图12为本发明另一实施例提供的图像处理方法的流程图。如图12所示,本实施例中的方法,可以包 括:Embodiments of the present invention provide an image processing method. FIG. 12 is a flowchart of an image processing method according to another embodiment of the present invention. As shown in FIG. 12, the method in this embodiment may include include:

步骤S1201、接收无人机发送的图像编码数据,所述图像编码数据是所述无人机对其获取到的图像数据进行编码后得到的。Step S1201: Receive image encoded data sent by the drone, and the image encoded data is obtained by encoding, by the drone, image data acquired by the drone.

步骤S1201与步骤S1101的具体原理和实现方式均一致,此处不再赘述。Step S1201 is consistent with the specific principles and implementation manners of step S1101, and details are not described herein again.

步骤S1202、将所述图像编码数据存储到存储器。Step S1202: Store the image encoded data in a memory.

如图10所示,地面端设备91接收到无人机90发送的该图像编码数据后,处理器911先将该图像编码数据存储到存储器912。As shown in FIG. 10, after the ground end device 91 receives the image encoded data transmitted by the drone 90, the processor 911 first stores the image encoded data in the memory 912.

步骤S1203、从存储器中获取所述图像编码数据。Step S1203: Acquiring the image encoded data from a memory.

当处理器911在相对空闲时,从存储器912中获取图像编码数据。Image encoded data is retrieved from memory 912 when processor 911 is relatively idle.

步骤S1204、对所述图像编码数据进行解码得到所述图像数据。Step S1204: Decoding the image encoded data to obtain the image data.

处理器911对图像编码数据进行解码得到图像数据。The processor 911 decodes the image encoded data to obtain image data.

步骤S1205、对所述图像数据进行畸变校准,得到校准后的图像数据。Step S1205: Perform distortion correction on the image data to obtain calibrated image data.

处理器911对解码后得到的图像数据进行畸变校准,得到校准后的图像数据。The processor 911 performs distortion calibration on the decoded image data to obtain calibrated image data.

步骤S1206、对所述校准后的图像数据进行编码得到校准后的图像编码数据。Step S1206: Encoding the calibrated image data to obtain calibrated image encoded data.

处理器911进一步对校准后的图像数据进行编码得到校准后的图像编码数据。The processor 911 further encodes the calibrated image data to obtain calibrated image encoded data.

步骤S1207、将所述校准后的图像编码数据存储到所述存储器。Step S1207: Store the calibrated image encoded data into the memory.

可选的,所述将所述校准后的图像编码数据存储到所述存储器,包括:将所述校准后的图像编码数据存储到所述存储器,并将所述存储器中存储的所述图像编码数据替换为所述校准后的图像编码数据。Optionally, the storing the calibrated image encoded data to the memory comprises: storing the calibrated image encoded data into the memory, and encoding the image stored in the memory The data is replaced with the calibrated image encoded data.

处理器911进一步将校准后的图像编码数据存储到存储器912。由于存储器912中存储有校准前的图像编码数据,可选的,处理器911可以将存储器912中存储的校准前的图像编码数据替换为该校准后的图像编码数据。Processor 911 further stores the calibrated image encoded data to memory 912. Since the pre-calibrated image encoded data is stored in the memory 912, optionally, the processor 911 may replace the pre-calibrated image encoded data stored in the memory 912 with the calibrated image encoded data.

本实施例通过地面端设备对存储到存储器中的图像编码数据进行图像校准,存储到存储器中的图像编码数据可以是无人机对拍摄设备拍摄到的拍摄图像进行编码后得到的,使得地面端设备只需对拍摄设备拍摄到的 拍摄图像进行图像校准,而无需对图像传感器感测到的每一帧图像数据都进行图像校准,不仅提高了地面端设备的计算效率,而且,无人机不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了无人机的处理器的性能开销,在无人机的处理器的性能不足,且图像数据的码流像素较大时,可以有效避免无人机的处理器的带宽和性能出现问题。In this embodiment, the image encoding data stored in the memory is image-calibrated by the ground end device, and the image encoded data stored in the memory may be obtained by the UAV encoding the captured image captured by the photographing device, so that the ground end is obtained. The device only needs to be photographed on the shooting device The image is captured for image calibration without image calibration for each frame of image data sensed by the image sensor, which not only improves the computational efficiency of the ground end device, but also does not require the drone to instantly acquire the image data. The image data is distorted and calibrated, which saves the performance overhead of the UAV processor. When the performance of the UAV processor is insufficient, and the code stream of the image data is large, the processor of the UAV can be effectively avoided. There is a problem with bandwidth and performance.

本发明实施例提供一种图像处理设备。图13为本发明实施例提供的图像处理设备的结构图,如图13所示,图像处理设备130包括:主处理器131和从处理器132。主处理器131用于:获取图像数据;对所述图像数据进行编码,得到图像编码数据;将所述图像编码数据发送给从处理器,以使从处理器132根据所述图像编码数据对所述图像数据进行畸变校准。An embodiment of the present invention provides an image processing apparatus. FIG. 13 is a structural diagram of an image processing apparatus according to an embodiment of the present invention. As shown in FIG. 13, the image processing apparatus 130 includes a main processor 131 and a slave processor 132. The main processor 131 is configured to: acquire image data; encode the image data to obtain image encoded data; and send the image encoded data to a slave processor, so that the slave processor 132 encodes the data according to the image. The image data is subjected to distortion calibration.

可选的,主处理器131获取图像数据时,具体用于:获取图像传感器采集到的图像数据。Optionally, when acquiring the image data, the main processor 131 is specifically configured to: acquire image data collected by the image sensor.

可选的,主处理器131获取图像数据时,具体用于:获取与拍摄控制指令对应的拍摄图像。Optionally, when acquiring the image data, the main processor 131 is specifically configured to: acquire a captured image corresponding to the shooting control instruction.

可选的,主处理器131将所述图像编码数据发送给从处理器,以使从处理器132根据所述图像编码数据对所述图像数据进行畸变校准时,具体用于:将所述图像编码数据发送给从处理器,以使从处理器132对所述图像编码数据进行存储,并根据存储后的所述图像编码数据对所述图像数据进行畸变校准。Optionally, the main processor 131 sends the image encoded data to the slave processor, so that when the slave processor 132 performs distortion calibration on the image data according to the image encoded data, specifically, the image is used to: The encoded data is transmitted to the slave processor to cause the slave processor 132 to store the image encoded data, and to perform distortion calibration on the image data based on the stored image encoded data.

可选的,主处理器131将所述图像编码数据发送给从处理器时,具体用于:通过数据总线将所述图像编码数据发送给从处理器。Optionally, when the main processor 131 sends the image encoded data to the slave processor, the method is specifically configured to: send the image encoded data to the slave processor through a data bus.

本发明实施例提供的图像处理设备的具体原理和实现方式均与图1所示实施例类似,此处不再赘述。The specific principles and implementations of the image processing device provided by the embodiment of the present invention are similar to the embodiment shown in FIG. 1 and are not described herein again.

本实施例通过主处理器获取图像数据,对图像数据进行编码,得到图像编码数据,并将图像编码数据发送给从处理器,以使从处理器根据图像编码数据对图像数据进行畸变校准,主处理器不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了主处理器的性能开销,在主处理器的性能不足,且图像数据的码流像素较大时,可以有效避免主处理器的带宽和性能出现问题。 In this embodiment, the image data is acquired by the main processor, the image data is encoded, the image encoded data is obtained, and the image encoded data is sent to the slave processor, so that the slave processor performs distortion calibration on the image data according to the image encoded data. The processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the main processor. When the performance of the main processor is insufficient, and the code stream of the image data is large, the main can be effectively avoided. There is a problem with the bandwidth and performance of the processor.

本发明实施例提供一种图像处理设备。图14为本发明另一实施例提供的图像处理设备的结构图;如图14所示,图像处理设备140包括:主处理器141和从处理器142。从处理器142用于:接收主处理器发送的图像编码数据,所述图像编码数据是主处理器141对其获取到的图像数据进行编码后得到的;根据所述图像编码数据对所述图像数据进行畸变校准。An embodiment of the present invention provides an image processing apparatus. FIG. 14 is a structural diagram of an image processing apparatus according to another embodiment of the present invention; as shown in FIG. 14, the image processing apparatus 140 includes a main processor 141 and a slave processor 142. The slave processor 142 is configured to: receive image coded data sent by the main processor, where the image coded data is obtained by the main processor 141 to encode the image data obtained by the main processor 141; and the image is encoded according to the image coded data. The data is calibrated for distortion.

可选的,从处理器142接收主处理器发送的图像编码数据之后,还用于:将所述图像编码数据存储到存储器;相应的,从处理器142根据所述图像编码数据对所述图像数据进行畸变校准时,具体用于:根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准。Optionally, after receiving the image encoded data sent by the main processor, the processor 142 is further configured to: store the image encoded data into a memory; and correspondingly, the slave processor 142 pairs the image according to the image encoded data. When the data is subjected to distortion calibration, specifically, the image data is subjected to distortion calibration according to the image encoded data stored in the memory.

可选的,从处理器142根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准时,具体用于:从存储器中获取所述图像编码数据;对所述图像编码数据进行解码得到所述图像数据;对所述图像数据进行畸变校准,得到校准后的图像数据;对所述校准后的图像数据进行编码得到校准后的图像编码数据;将所述校准后的图像编码数据存储到所述存储器。Optionally, when the processor 142 performs distortion calibration on the image data according to the image encoded data stored in the memory, the method is specifically configured to: acquire the image encoded data from a memory; and encode the data into the image. Decoding to obtain the image data; performing distortion correction on the image data to obtain calibrated image data; encoding the calibrated image data to obtain calibrated image encoded data; encoding the calibrated image Data is stored to the memory.

可选的,从处理器142将所述校准后的图像编码数据存储到所述存储器时,具体用于:将所述校准后的图像编码数据存储到所述存储器,并将所述存储器中存储的所述图像编码数据替换为所述校准后的图像编码数据。Optionally, when the calibrated image encoded data is stored by the processor 142 into the memory, the method is specifically configured to: store the calibrated image encoded data into the memory, and store the memory in the memory The image encoded data is replaced with the calibrated image encoded data.

可选的,从处理器142接收主处理器发送的图像编码数据时,具体用于:通过数据总线接收主处理器发送的图像编码数据。Optionally, when receiving the image encoded data sent by the main processor from the processor 142, the method is specifically configured to: receive the image encoded data sent by the main processor by using a data bus.

本发明实施例提供的图像处理设备的具体原理和实现方式均与图4或图5所示实施例类似,此处不再赘述。The specific principles and implementations of the image processing device provided by the embodiment of the present invention are similar to the embodiment shown in FIG. 4 or FIG. 5, and details are not described herein again.

本实施例通过从处理器对存储到存储器中的图像编码数据进行图像校准,存储到存储器中的图像编码数据可以是主处理器对拍摄设备拍摄到的拍摄图像进行编码后得到的,使得从处理器只需对拍摄设备拍摄到的拍摄图像进行图像校准,而无需对图像传感器感测到的每一帧图像数据都进行图像校准,不仅提高了从处理器的计算效率,而且,主处理器不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了主处理器的性能 开销,在主处理器的性能不足,且图像数据的码流像素较大时,可以有效避免主处理器的带宽和性能出现问题。In this embodiment, by performing image calibration on the image encoded data stored in the memory from the processor, the image encoded data stored in the memory may be obtained by the main processor encoding the captured image captured by the photographing device, so that the processing is performed. It only needs to perform image calibration on the captured image captured by the shooting device without image calibration for each frame of image data sensed by the image sensor, which not only improves the calculation efficiency of the slave processor, but also does not support the main processor. It is necessary to perform distortion calibration on the image data immediately when the image data is acquired, thereby saving the performance of the main processor. Overhead, when the performance of the main processor is insufficient, and the code stream of the image data is large, the bandwidth and performance of the main processor can be effectively avoided.

本发明实施例提供一种拍摄设备,该拍摄设备包括:图像传感器和上述实施例所述的图像处理设备130或图像处理设备140。An embodiment of the present invention provides a photographing apparatus including: an image sensor and the image processing apparatus 130 or the image processing apparatus 140 described in the above embodiments.

本发明实施例提供一种无人机,该无人机包括:机身、动力系统、拍摄设备、以及上述实施例所述的图像处理设备130或图像处理设备140,其中,动力系统安装在所述机身,用于提供动力;拍摄设备搭载在所述机身,用于采集图像数据。An embodiment of the present invention provides a drone that includes: a body, a power system, a photographing device, and an image processing device 130 or an image processing device 140 according to the above embodiments, wherein the power system is installed in the The body is for providing power; the photographing device is mounted on the body for collecting image data.

本发明实施例提供一种无人机。图15为本发明实施例提供的无人机的结构图,如图15所示,无人机150包括:机身、动力系统、拍摄设备1501、一个或多个第一处理器1502、第一通讯接口1503,其中,动力系统安装在所述机身,用于提供动力,所述动力系统包括如下至少一种:电机1507、螺旋桨1506和电子调速器1517,动力系统安装在所述机身,用于提供飞行动力。拍摄设备1501通过支撑设备1504例如云台安装在所述机身。Embodiments of the present invention provide a drone. 15 is a structural diagram of a drone according to an embodiment of the present invention. As shown in FIG. 15, the drone 150 includes: a fuselage, a power system, a photographing device 1501, and one or more first processors 1502. a communication interface 1503, wherein a power system is mounted on the airframe for providing power, the power system comprising at least one of: a motor 1507, a propeller 1506, and an electronic governor 1517, the power system being mounted on the fuselage Used to provide flight power. The photographing device 1501 is mounted to the body through a support device 1504 such as a pan/tilt.

第一处理器1502用于:获取拍摄设备采集的图像数据;对所述图像数据进行编码,得到图像编码数据。第一通讯接口1503用于:将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准。The first processor 1502 is configured to: acquire image data collected by the photographing device; and encode the image data to obtain image encoded data. The first communication interface 1503 is configured to: send the image encoded data to a ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data.

可选的,第一处理器1502获取拍摄设备采集的图像数据时,具体用于:获取拍摄设备1501的图像传感器采集到的图像数据。Optionally, when acquiring the image data collected by the photographing device, the first processor 1502 is specifically configured to: acquire image data collected by the image sensor of the photographing device 1501.

可选的,第一处理器1502获取拍摄设备采集的图像数据时,具体用于:获取拍摄设备1501根据拍摄控制指令拍摄的图像数据。Optionally, when acquiring the image data collected by the photographing device, the first processor 1502 is specifically configured to: acquire image data captured by the photographing device 1501 according to the photographing control instruction.

可选的,第一通讯接口1503用于将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准时,具体用于:将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备对所述图像编码数据进行 存储,并根据存储后的所述图像编码数据对所述图像数据进行畸变校准。Optionally, the first communication interface 1503 is configured to send the image encoded data to a ground end device corresponding to the drone, so that the ground end device distorts the image data according to the image encoded data. When calibrating, the method is specifically configured to: send the image coded data to a ground end device corresponding to the drone, so that the ground end device performs the image coded data And storing, and performing distortion calibration on the image data according to the stored image encoded data.

本发明实施例提供的无人机的具体原理和实现方式均与图8所示实施例类似,此处不再赘述。The specific principles and implementations of the UAV provided by the embodiments of the present invention are similar to those of the embodiment shown in FIG. 8, and are not described herein again.

本实施例通过无人机获取图像数据,对图像数据进行编码,得到图像编码数据,并将图像编码数据发送给地面端设备,以使地面端设备根据图像编码数据对图像数据进行畸变校准,无人机的处理器不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了无人机的处理器的性能开销,在处理器的性能不足,且图像数据的码流像素较大时,可以有效避免处理器的带宽和性能出现问题。In this embodiment, the image data is acquired by the drone, the image data is encoded, the image encoded data is obtained, and the image encoded data is sent to the ground end device, so that the ground end device performs distortion calibration on the image data according to the image encoded data, The human-machine processor does not need to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the processor of the drone, when the performance of the processor is insufficient, and the code stream of the image data is large. Can effectively avoid problems with the bandwidth and performance of the processor.

本发明实施例提供一种地面端设备。图16为本发明实施例提供的地面端设备的结构图,如图16所示,地面端设备160包括:第二通讯接口161、第二处理器162;第二通讯接口161用于接收无人机发送的图像编码数据,所述图像编码数据是所述无人机对其获取到的图像数据进行编码后得到的;第二处理器162用于根据所述图像编码数据对所述图像数据进行畸变校准。Embodiments of the present invention provide a ground end device. FIG. 16 is a structural diagram of a ground end device according to an embodiment of the present invention. As shown in FIG. 16, the ground end device 160 includes: a second communication interface 161 and a second processor 162. The second communication interface 161 is configured to receive an unmanned person. Image encoded data sent by the machine, the image encoded data is obtained by encoding the image data acquired by the drone; the second processor 162 is configured to perform the image data according to the image encoded data. Distortion calibration.

可选的,第二通讯接口161接收无人机发送的图像编码数据之后,第二处理器162还用于:将所述图像编码数据存储到存储器;相应的,第二处理器162根据所述图像编码数据对所述图像数据进行畸变校准时,具体用于:根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准。Optionally, after the second communication interface 161 receives the image coded data sent by the drone, the second processor 162 is further configured to: store the image coded data into the memory; correspondingly, the second processor 162 is configured according to the When the image encoded data is subjected to distortion calibration of the image data, specifically, the image data is subjected to distortion calibration according to the image encoded data stored in the memory.

可选的,第二处理器162根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准时,具体用于:从存储器中获取所述图像编码数据;对所述图像编码数据进行解码得到所述图像数据;对所述图像数据进行畸变校准,得到校准后的图像数据;对所述校准后的图像数据进行编码得到校准后的图像编码数据;将所述校准后的图像编码数据存储到所述存储器。Optionally, when the second processor 162 performs distortion calibration on the image data according to the image encoded data stored in the memory, specifically, the method is: acquiring the image encoded data from a memory; and encoding the image. Decoding the data to obtain the image data; performing distortion correction on the image data to obtain calibrated image data; encoding the calibrated image data to obtain calibrated image encoded data; and calibrating the image The encoded data is stored to the memory.

可选的,第二处理器162将所述校准后的图像编码数据存储到所述存储器时,具体用于:将所述校准后的图像编码数据存储到所述存储器,并将所述存储器中存储的所述图像编码数据替换为所述校准后的图像编码 数据。Optionally, when the second processor 162 stores the calibrated image encoded data in the memory, specifically, the method is: storing the calibrated image encoded data into the memory, and storing the The stored image encoded data is replaced with the calibrated image encoding data.

本发明实施例提供的地面端设备的具体原理和实现方式均与图11或图12,此处不再赘述。The specific principles and implementation manners of the ground end device provided by the embodiments of the present invention are the same as those in FIG. 11 or FIG. 12, and details are not described herein again.

本实施例通过地面端设备对存储到存储器中的图像编码数据进行图像校准,存储到存储器中的图像编码数据可以是无人机对拍摄设备拍摄到的拍摄图像进行编码后得到的,使得地面端设备只需对拍摄设备拍摄到的拍摄图像进行图像校准,而无需对图像传感器感测到的每一帧图像数据都进行图像校准,不仅提高了地面端设备的计算效率,而且,无人机不需要在获取到图像数据时即时对图像数据进行畸变校准,节省了无人机的处理器的性能开销,在无人机的处理器的性能不足,且图像数据的码流像素较大时,可以有效避免无人机的处理器的带宽和性能出现问题。In this embodiment, the image encoding data stored in the memory is image-calibrated by the ground end device, and the image encoded data stored in the memory may be obtained by the UAV encoding the captured image captured by the photographing device, so that the ground end is obtained. The device only needs to perform image calibration on the captured image captured by the shooting device without performing image calibration on each frame of image data sensed by the image sensor, which not only improves the calculation efficiency of the ground end device, but also does not It is necessary to perform distortion calibration on the image data immediately when the image data is acquired, which saves the performance overhead of the processor of the drone, and when the performance of the processor of the drone is insufficient, and the code stream of the image data is large, Effectively avoid problems with the bandwidth and performance of the drone's processor.

在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者 网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional unit is stored in a storage medium and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or A network device or the like) or a processor performs part of the steps of the method described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed, that is, the device is installed. The internal structure is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the device described above, refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (38)

一种图像处理方法,其特征在于,包括:An image processing method, comprising: 主处理器获取图像数据;The main processor acquires image data; 所述主处理器对所述图像数据进行编码,得到图像编码数据;The main processor encodes the image data to obtain image encoded data; 所述主处理器将所述图像编码数据发送给从处理器,以使所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准。The main processor transmits the image encoded data to a slave processor to cause the slave processor to perform distortion calibration on the image data according to the image encoded data. 根据权利要求1所述的方法,其特征在于,所述主处理器获取图像数据,包括:The method according to claim 1, wherein the main processor acquires image data, including: 所述主处理器获取图像传感器采集到的图像数据。The main processor acquires image data collected by an image sensor. 根据权利要求1所述的方法,其特征在于,所述主处理器获取图像数据,包括:The method according to claim 1, wherein the main processor acquires image data, including: 所述主处理器获取与拍摄控制指令对应的拍摄图像。The main processor acquires a captured image corresponding to a shooting control command. 根据权利要求1-3任一项所述的方法,其特征在于,所述主处理器将所述图像编码数据发送给从处理器,以使所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准,包括:The method according to any one of claims 1 to 3, wherein the main processor transmits the image encoded data to a slave processor, so that the slave processor encodes data according to the image. The image data is subjected to distortion calibration, including: 所述主处理器将所述图像编码数据发送给从处理器,以使所述从处理器对所述图像编码数据进行存储,并根据存储后的所述图像编码数据对所述图像数据进行畸变校准。The main processor sends the image encoded data to a slave processor, so that the slave processor stores the image encoded data, and the image data is distorted according to the stored image encoded data. calibration. 根据权利要求1所述的方法,其特征在于,所述主处理器将所述图像编码数据发送给从处理器,包括:The method according to claim 1, wherein the main processor sends the image encoded data to the slave processor, comprising: 所述主处理器通过数据总线将所述图像编码数据发送给从处理器。The main processor transmits the image encoded data to a slave processor via a data bus. 一种图像处理方法,其特征在于,包括:An image processing method, comprising: 从处理器接收主处理器发送的图像编码数据,所述图像编码数据是所述主处理器对其获取到的图像数据进行编码后得到的;Receiving, by the processor, image encoded data sent by the main processor, where the image encoded data is obtained by encoding, by the main processor, the image data acquired by the main processor; 所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准。The slave processor performs distortion calibration on the image data according to the image encoded data. 根据权利要求6所述的方法,其特征在于,所述从处理器接收主处理器发送的图像编码数据之后,还包括:The method according to claim 6, wherein after the slave processor receives the image encoded data sent by the main processor, the method further includes: 所述从处理器将所述图像编码数据存储到存储器;The slave processor stores the image encoded data to a memory; 相应的,所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准,包括: Correspondingly, the slave processor performs distortion calibration on the image data according to the image encoded data, including: 所述从处理器根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准。The slave processor performs distortion calibration on the image data according to the image encoded data stored in the memory. 根据权利要求7所述的方法,其特征在于,所述从处理器根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准,包括:The method according to claim 7, wherein the slave processor performs distortion calibration on the image data according to the image encoded data stored in the memory, including: 所述从处理器从存储器中获取所述图像编码数据;The slave processor acquires the image encoded data from a memory; 所述从处理器对所述图像编码数据进行解码得到所述图像数据;Decoding the image encoded data by the slave processor to obtain the image data; 所述从处理器对所述图像数据进行畸变校准,得到校准后的图像数据;Performing distortion calibration on the image data by the slave processor to obtain calibrated image data; 所述从处理器对所述校准后的图像数据进行编码得到校准后的图像编码数据;The slave processor encodes the calibrated image data to obtain calibrated image encoded data; 所述从处理器将所述校准后的图像编码数据存储到所述存储器。The slave processor stores the calibrated image encoded data to the memory. 根据权利要求8所述的方法,其特征在于,所述从处理器将所述校准后的图像编码数据存储到所述存储器,包括:The method of claim 8, wherein the slave processor stores the calibrated image encoded data to the memory, comprising: 所述从处理器将所述校准后的图像编码数据存储到所述存储器,并将所述存储器中存储的所述图像编码数据替换为所述校准后的图像编码数据。The slave processor stores the calibrated image encoded data to the memory and replaces the image encoded data stored in the memory with the calibrated image encoded data. 根据权利要求6所述的方法,其特征在于,所述从处理器接收主处理器发送的图像编码数据,包括:The method according to claim 6, wherein the receiving, by the processor, the image encoded data sent by the main processor comprises: 所述从处理器通过数据总线接收主处理器发送的图像编码数据。The slave processor receives image encoded data transmitted by the host processor through a data bus. 一种图像处理方法,应用于无人机,其特征在于,包括:An image processing method is applied to a drone, characterized in that it comprises: 获取图像数据;Obtain image data; 对所述图像数据进行编码,得到图像编码数据;Encoding the image data to obtain image encoded data; 将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准。And transmitting the image encoded data to a ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data. 根据权利要求11所述的方法,其特征在于,所述获取图像数据,包括:The method according to claim 11, wherein the acquiring image data comprises: 获取所述无人机搭载的拍摄设备的图像传感器采集到的图像数据。Acquiring image data collected by an image sensor of the photographing device mounted on the drone. 根据权利要求11所述的方法,其特征在于,所述获取图像数据,包括: The method according to claim 11, wherein the acquiring image data comprises: 获取所述无人机搭载的拍摄设备根据拍摄控制指令拍摄的图像数据。Acquiring image data captured by the photographing device mounted on the drone according to a shooting control command. 根据权利要求11-13任一项所述的方法,其特征在于,所述将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准,包括:The method according to any one of claims 11 to 13, wherein the image encoded data is sent to a ground end device corresponding to the drone, so that the ground end device according to the image The encoded data is subjected to distortion calibration of the image data, including: 将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备对所述图像编码数据进行存储,并根据存储后的所述图像编码数据对所述图像数据进行畸变校准。Transmitting the image encoded data to a ground end device corresponding to the drone, so that the ground end device stores the image encoded data, and the image data is stored according to the stored image encoded data. Perform distortion calibration. 一种图像处理方法,应用于地面端设备,其特征在于,包括:An image processing method is applied to a ground end device, and includes: 接收无人机发送的图像编码数据,所述图像编码数据是所述无人机对其获取到的图像数据进行编码后得到的;Receiving image encoded data sent by the drone, the image encoded data being obtained by encoding the image data acquired by the drone; 根据所述图像编码数据对所述图像数据进行畸变校准。Distorting the image data according to the image encoded data. 根据权利要求15所述的方法,其特征在于,所述接收无人机发送的图像编码数据之后,还包括:The method according to claim 15, wherein after the receiving the image encoded data sent by the drone, the method further comprises: 将所述图像编码数据存储到存储器;Storing the image encoded data to a memory; 相应的,所述根据所述图像编码数据对所述图像数据进行畸变校准,包括:Correspondingly, the performing distortion calibration on the image data according to the image encoded data comprises: 根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准。Distorting the image data according to the image encoded data stored in the memory. 根据权利要求16所述的方法,其特征在于,所述根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准,包括:The method according to claim 16, wherein the performing distortion calibration on the image data according to the image encoded data stored in the memory comprises: 从存储器中获取所述图像编码数据;Acquiring the image encoded data from a memory; 对所述图像编码数据进行解码得到所述图像数据;Decoding the image encoded data to obtain the image data; 对所述图像数据进行畸变校准,得到校准后的图像数据;Performing distortion calibration on the image data to obtain calibrated image data; 对所述校准后的图像数据进行编码得到校准后的图像编码数据;Encoding the calibrated image data to obtain calibrated image encoded data; 将所述校准后的图像编码数据存储到所述存储器。The calibrated image encoded data is stored to the memory. 根据权利要求17所述的方法,其特征在于,所述将所述校准后的图像编码数据存储到所述存储器,包括:The method of claim 17, wherein the storing the calibrated image encoded data to the memory comprises: 将所述校准后的图像编码数据存储到所述存储器,并将所述存储器中存储的所述图像编码数据替换为所述校准后的图像编码数据。The calibrated image encoded data is stored in the memory, and the image encoded data stored in the memory is replaced with the calibrated image encoded data. 一种图像处理设备,其特征在于,包括:主处理器和从处理器; An image processing device, comprising: a main processor and a slave processor; 所述主处理器用于:The main processor is used to: 获取图像数据;Obtain image data; 对所述图像数据进行编码,得到图像编码数据;Encoding the image data to obtain image encoded data; 将所述图像编码数据发送给从处理器,以使所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准。Transmitting the image encoded data to a slave processor to cause the slave processor to perform distortion calibration on the image data according to the image encoded data. 根据权利要求19所述的图像处理设备,其特征在于,所述主处理器获取图像数据时,具体用于:The image processing device according to claim 19, wherein when the main processor acquires image data, it is specifically used to: 获取图像传感器采集到的图像数据。Obtain image data collected by the image sensor. 根据权利要求19所述的图像处理设备,其特征在于,所述主处理器获取图像数据时,具体用于:The image processing device according to claim 19, wherein when the main processor acquires image data, it is specifically used to: 获取与拍摄控制指令对应的拍摄图像。Acquire a captured image corresponding to the shooting control command. 根据权利要求19-21任一项所述的图像处理设备,其特征在于,所述主处理器将所述图像编码数据发送给从处理器,以使所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准时,具体用于:The image processing device according to any one of claims 19 to 21, wherein said main processor transmits said image encoded data to a slave processor to cause said slave processor to encode data according to said image When the image data is subjected to distortion calibration, it is specifically used for: 将所述图像编码数据发送给从处理器,以使所述从处理器对所述图像编码数据进行存储,并根据存储后的所述图像编码数据对所述图像数据进行畸变校准。And transmitting the image encoded data to the slave processor, so that the slave processor stores the image encoded data, and performs distortion calibration on the image data according to the stored image encoded data. 根据权利要求19所述的图像处理设备,其特征在于,所述主处理器将所述图像编码数据发送给从处理器时,具体用于:The image processing device according to claim 19, wherein when the main processor sends the image encoded data to the slave processor, specifically: 通过数据总线将所述图像编码数据发送给从处理器。The image encoded data is transmitted to the slave processor via a data bus. 一种图像处理设备,其特征在于,包括:主处理器和从处理器;An image processing device, comprising: a main processor and a slave processor; 所述从处理器用于:The slave processor is used to: 接收主处理器发送的图像编码数据,所述图像编码数据是所述主处理器对其获取到的图像数据进行编码后得到的;Receiving image encoded data sent by the main processor, where the image encoded data is obtained by encoding, by the main processor, the image data obtained by the main processor; 根据所述图像编码数据对所述图像数据进行畸变校准。Distorting the image data according to the image encoded data. 根据权利要求24所述的图像处理设备,其特征在于,所述从处理器接收主处理器发送的图像编码数据之后,还用于:The image processing device according to claim 24, wherein after receiving the image encoded data sent by the main processor, the slave processor is further configured to: 将所述图像编码数据存储到存储器;Storing the image encoded data to a memory; 相应的,所述从处理器根据所述图像编码数据对所述图像数据进行畸变校准时,具体用于: Correspondingly, when the slave processor performs distortion calibration on the image data according to the image encoded data, specifically: 根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准。Distorting the image data according to the image encoded data stored in the memory. 根据权利要求25所述的图像处理设备,其特征在于,所述从处理器根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准时,具体用于:The image processing device according to claim 25, wherein the slave processor performs distortion calibration on the image data according to the image encoded data stored in the memory, specifically for: 从存储器中获取所述图像编码数据;Acquiring the image encoded data from a memory; 对所述图像编码数据进行解码得到所述图像数据;Decoding the image encoded data to obtain the image data; 对所述图像数据进行畸变校准,得到校准后的图像数据;Performing distortion calibration on the image data to obtain calibrated image data; 对所述校准后的图像数据进行编码得到校准后的图像编码数据;Encoding the calibrated image data to obtain calibrated image encoded data; 将所述校准后的图像编码数据存储到所述存储器。The calibrated image encoded data is stored to the memory. 根据权利要求26所述的图像处理设备,其特征在于,所述从处理器将所述校准后的图像编码数据存储到所述存储器时,具体用于:The image processing device according to claim 26, wherein when the slave processor stores the calibrated image encoded data to the memory, specifically: 将所述校准后的图像编码数据存储到所述存储器,并将所述存储器中存储的所述图像编码数据替换为所述校准后的图像编码数据。The calibrated image encoded data is stored in the memory, and the image encoded data stored in the memory is replaced with the calibrated image encoded data. 根据权利要求24所述的图像处理设备,其特征在于,所述从处理器接收主处理器发送的图像编码数据时,具体用于:The image processing device according to claim 24, wherein when the slave processor receives the image encoded data sent by the main processor, the method is specifically configured to: 通过数据总线接收主处理器发送的图像编码数据。The image encoded data transmitted by the main processor is received through the data bus. 一种无人机,其特征在于,包括:A drone, characterized in that it comprises: 机身;body; 动力系统,安装在所述机身,用于提供动力;a power system mounted to the fuselage for providing power; 拍摄设备,搭载在所述机身,用于采集图像数据;a photographing device mounted on the body for collecting image data; 一个或多个第一处理器,以及第一通讯接口;One or more first processors, and a first communication interface; 所述第一处理器用于:The first processor is configured to: 获取拍摄设备采集的图像数据;Obtaining image data collected by the photographing device; 对所述图像数据进行编码,得到图像编码数据;Encoding the image data to obtain image encoded data; 所述第一通讯接口用于:The first communication interface is used to: 将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准。And transmitting the image encoded data to a ground end device corresponding to the drone, so that the ground end device performs distortion calibration on the image data according to the image encoded data. 根据权利要求29所述的无人机,其特征在于,所述第一处理器获取拍摄设备采集的图像数据时,具体用于: The drone according to claim 29, wherein when the first processor acquires image data collected by the photographing device, it is specifically used to: 获取所述拍摄设备的图像传感器采集到的图像数据。Obtaining image data collected by an image sensor of the photographing device. 根据权利要求29所述的无人机,其特征在于,所述第一处理器获取拍摄设备采集的图像数据时,具体用于:The drone according to claim 29, wherein when the first processor acquires image data collected by the photographing device, it is specifically used to: 获取所述拍摄设备根据拍摄控制指令拍摄的图像数据。Obtaining image data captured by the photographing apparatus according to a photographing control instruction. 根据权利要求29-31任一项所述的无人机,其特征在于,所述第一通讯接口用于将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备根据所述图像编码数据对所述图像数据进行畸变校准时,具体用于:The drone according to any one of claims 29 to 31, wherein the first communication interface is configured to send the image encoded data to a ground end device corresponding to the drone to make When the ground end device performs distortion calibration on the image data according to the image encoded data, it is specifically used to: 将所述图像编码数据发送给所述无人机对应的地面端设备,以使所述地面端设备对所述图像编码数据进行存储,并根据存储后的所述图像编码数据对所述图像数据进行畸变校准。Transmitting the image encoded data to a ground end device corresponding to the drone, so that the ground end device stores the image encoded data, and the image data is stored according to the stored image encoded data. Perform distortion calibration. 一种地面端设备,其特征在于,包括:第二通讯接口和第二处理器;A ground end device, comprising: a second communication interface and a second processor; 所述第二通讯接口用于接收无人机发送的图像编码数据,所述图像编码数据是所述无人机对其获取到的图像数据进行编码后得到的;The second communication interface is configured to receive image encoded data sent by the drone, and the image encoded data is obtained by encoding, by the drone, image data obtained by the drone; 所述第二处理器用于根据所述图像编码数据对所述图像数据进行畸变校准。The second processor is configured to perform distortion calibration on the image data according to the image encoded data. 根据权利要求33所述的地面端设备,其特征在于,所述第二通讯接口接收无人机发送的图像编码数据之后,所述第二处理器还用于:The ground end device according to claim 33, wherein after the second communication interface receives the image encoded data sent by the drone, the second processor is further configured to: 将所述图像编码数据存储到存储器;Storing the image encoded data to a memory; 相应的,所述第二处理器根据所述图像编码数据对所述图像数据进行畸变校准时,具体用于:Correspondingly, when the second processor performs distortion calibration on the image data according to the image encoded data, specifically, the method is: 根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准。Distorting the image data according to the image encoded data stored in the memory. 根据权利要求34所述的地面端设备,其特征在于,所述第二处理器根据所述存储器中存储的所述图像编码数据对所述图像数据进行畸变校准时,具体用于:The ground end device according to claim 34, wherein when the second processor performs distortion calibration on the image data according to the image encoded data stored in the memory, it is specifically used to: 从存储器中获取所述图像编码数据;Acquiring the image encoded data from a memory; 对所述图像编码数据进行解码得到所述图像数据;Decoding the image encoded data to obtain the image data; 对所述图像数据进行畸变校准,得到校准后的图像数据; Performing distortion calibration on the image data to obtain calibrated image data; 对所述校准后的图像数据进行编码得到校准后的图像编码数据;Encoding the calibrated image data to obtain calibrated image encoded data; 将所述校准后的图像编码数据存储到所述存储器。The calibrated image encoded data is stored to the memory. 根据权利要求35所述的地面端设备,其特征在于,所述第二处理器将所述校准后的图像编码数据存储到所述存储器时,具体用于:The ground end device according to claim 35, wherein when the second processor stores the calibrated image encoded data to the memory, specifically: 将所述校准后的图像编码数据存储到所述存储器,并将所述存储器中存储的所述图像编码数据替换为所述校准后的图像编码数据。The calibrated image encoded data is stored in the memory, and the image encoded data stored in the memory is replaced with the calibrated image encoded data. 一种拍摄设备,其特征在于,包括:A photographing apparatus, comprising: 图像传感器,用于采集图像数据;An image sensor for acquiring image data; 以及如权利要求19-28任一项所述的图像处理设备。And an image processing apparatus according to any one of claims 19-28. 一种无人机,其特征在于,包括:A drone, characterized in that it comprises: 机身;body; 动力系统,安装在所述机身,用于提供动力;a power system mounted to the fuselage for providing power; 拍摄设备,搭载在所述机身,用于采集图像数据;a photographing device mounted on the body for collecting image data; 以及如权利要求19-28任一项所述的图像处理设备。 And an image processing apparatus according to any one of claims 19-28.
PCT/CN2017/113657 2017-11-29 2017-11-29 Image processing method, photography equipment, unmanned aerial vehicle and ground end device WO2019104558A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780029120.6A CN109417594A (en) 2017-11-29 2017-11-29 Image processing method, capture apparatus, unmanned plane and ground end equipment
PCT/CN2017/113657 WO2019104558A1 (en) 2017-11-29 2017-11-29 Image processing method, photography equipment, unmanned aerial vehicle and ground end device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/113657 WO2019104558A1 (en) 2017-11-29 2017-11-29 Image processing method, photography equipment, unmanned aerial vehicle and ground end device

Publications (1)

Publication Number Publication Date
WO2019104558A1 true WO2019104558A1 (en) 2019-06-06

Family

ID=65463389

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113657 WO2019104558A1 (en) 2017-11-29 2017-11-29 Image processing method, photography equipment, unmanned aerial vehicle and ground end device

Country Status (2)

Country Link
CN (1) CN109417594A (en)
WO (1) WO2019104558A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780359A (en) * 2004-11-18 2006-05-31 北京大学 CMOS Imaging and Information Processing System in UAV Remote Sensing Platform
CN102419171A (en) * 2011-08-10 2012-04-18 王桥生 Disaster detection electronic mapping system based on UAV aerial photography
EP2728308A2 (en) * 2012-10-31 2014-05-07 Kabushiki Kaisha Topcon Aerial photogrammetry and aerial photogrammetric system
CN105049812A (en) * 2015-08-07 2015-11-11 清华大学深圳研究生院 Unmanned aerial vehicle portable ground station processing method and system
CN106454209A (en) * 2015-08-06 2017-02-22 航天图景(北京)科技有限公司 Unmanned aerial vehicle emergency quick action data link system and unmanned aerial vehicle emergency quick action monitoring method based on spatial-temporal information fusion technology

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207825A (en) * 2007-09-28 2008-06-25 深圳市迈科龙电子有限公司 Image processing platform
CN102724395B (en) * 2012-06-26 2015-02-04 公安部第三研究所 Network camera adopting dual-kernel control
EP2954385A1 (en) * 2013-02-05 2015-12-16 Qualcomm Incorporated System and method for controlling central processing unit power with guaranteed transient deadlines
US9049442B2 (en) * 2013-03-15 2015-06-02 Canon Kabushiki Kaisha Moving image encoding apparatus and method for controlling the same
US20150341541A1 (en) * 2014-05-23 2015-11-26 Tikeswar Naik Methods and systems of remote acquisition of digital images or models
CN204291227U (en) * 2014-11-28 2015-04-22 四川中软科技有限公司 Video information process device
KR102280543B1 (en) * 2014-12-01 2021-07-26 삼성전자주식회사 Apparatus and method for executing task of electronic device
CN105516604A (en) * 2016-01-20 2016-04-20 陈昊 Aerial video sharing method and system
CN106341571A (en) * 2016-08-18 2017-01-18 深圳市金立通信设备有限公司 Image processing method and terminal
CN106341667A (en) * 2016-11-10 2017-01-18 广西师范大学 UAV (Unmanned Aerial Vehicle) based 3D panorama video remote monitoring system and image acquisition control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780359A (en) * 2004-11-18 2006-05-31 北京大学 CMOS Imaging and Information Processing System in UAV Remote Sensing Platform
CN102419171A (en) * 2011-08-10 2012-04-18 王桥生 Disaster detection electronic mapping system based on UAV aerial photography
EP2728308A2 (en) * 2012-10-31 2014-05-07 Kabushiki Kaisha Topcon Aerial photogrammetry and aerial photogrammetric system
CN106454209A (en) * 2015-08-06 2017-02-22 航天图景(北京)科技有限公司 Unmanned aerial vehicle emergency quick action data link system and unmanned aerial vehicle emergency quick action monitoring method based on spatial-temporal information fusion technology
CN105049812A (en) * 2015-08-07 2015-11-11 清华大学深圳研究生院 Unmanned aerial vehicle portable ground station processing method and system

Also Published As

Publication number Publication date
CN109417594A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN109658338B (en) Method and electronic device for processing raw images using external electronic device
KR102385365B1 (en) Electronic device and method for encoding image data in the electronic device
US20180063512A1 (en) Image streaming method and electronic device for supporting the same
CN109076194B (en) Video processing method, device, aircraft, system and storage medium
CN109756763B (en) Electronic device for processing images based on priority and method of operation thereof
US10929961B2 (en) Electronic device and method for correcting images using external electronic device
US20200126286A1 (en) Method and device for image transmission, movable platform, monitoring device, and system
WO2019019128A1 (en) Video transmission method, device, and system
KR102397924B1 (en) Electronic device and method for correcting images based on image feature information and image correction scheme
EP3550831A3 (en) Image providing apparatus and method
CN106708070B (en) Aerial photography control method and device
CN110291774A (en) Image processing method, device, system and storage medium
JP2015106840A (en) Imaging system and imaging method of imaging system
US11393078B2 (en) Electronic device and method for correcting image on basis of image transmission state
CN107079101A (en) A processing method, system and ground terminal equipment for flight image data
US11330227B2 (en) Electronic device for compressing image acquired by using camera, and operation method therefor
WO2019090473A1 (en) Display method and system for panoramic image, and processing method and ground station for panoramic image
WO2022000350A1 (en) Video transmission method, mobile platform, terminal device, video transmission system, and storage medium
WO2020103018A1 (en) Video processing method, ground control terminal and storage medium
CN111164962A (en) Image processing method, device, unmanned aerial vehicle, system and storage medium
WO2019104558A1 (en) Image processing method, photography equipment, unmanned aerial vehicle and ground end device
WO2021081810A1 (en) Control method, control system, gimbal, and storage medium
KR20180078931A (en) A drone and a drone system which has a switching transmission capability of video streaming from dual cameras
WO2017086355A1 (en) Transmission device, transmission method, reception device, reception method, and transmission/reception system
CN108496351B (en) Unmanned aerial vehicle and control method thereof, control terminal and control method thereof

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: 17933798

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: 17933798

Country of ref document: EP

Kind code of ref document: A1