WO2020258296A1 - Image processing method, device, unmanned aerial vehicle, and receiving end - Google Patents

Image processing method, device, unmanned aerial vehicle, and receiving end Download PDF

Info

Publication number
WO2020258296A1
WO2020258296A1 PCT/CN2019/093862 CN2019093862W WO2020258296A1 WO 2020258296 A1 WO2020258296 A1 WO 2020258296A1 CN 2019093862 W CN2019093862 W CN 2019093862W WO 2020258296 A1 WO2020258296 A1 WO 2020258296A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication quality
feedback information
receiving end
image frame
frame
Prior art date
Application number
PCT/CN2019/093862
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 CN201980012207.1A priority Critical patent/CN111713107A/en
Priority to PCT/CN2019/093862 priority patent/WO2020258296A1/en
Publication of WO2020258296A1 publication Critical patent/WO2020258296A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/164Feedback from the receiver or from the transmission channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/164Feedback from the receiver or from the transmission channel
    • H04N19/166Feedback from the receiver or from the transmission channel concerning the amount of transmission errors, e.g. bit error rate [BER]

Definitions

  • the embodiments of the present application relate to image processing technology, in particular to an image processing method, equipment, unmanned aerial vehicle, and receiving end.
  • Commonly used error recovery mechanisms include feedback coding mode and feedback coding mode.
  • the feedback-free encoding method can realize encoding without the feedback information sent by the receiving end, and the feedback encoding method adopts encoding based on the feedback information sent by the receiving end.
  • the image is often encoded based on one of the feedback-free encoding mode and the feedback encoding mode.
  • neither the feedback coding mode nor the feedback coding mode is suitable for real-time changing application scenarios. In some application scenarios, when the image is transmitted incorrectly, it may increase the image recovery delay and affect the user experience. .
  • the embodiments of the present application provide an image processing method, equipment, unmanned aerial vehicle, and receiving end to improve the flexibility of image encoding and image error recovery.
  • an image processing method at the sending end including:
  • the feedback information is transmitted from the receiving end to the transmitting end via the wireless uplink communication link. If sent, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
  • an embodiment of the present application provides an image processing method in a receiving end, including:
  • an embodiment of the present application provides an image processing device at a sending end, including a memory and a processor, where:
  • the memory is used to store program instructions
  • the processor is configured to execute the program instructions, and when the program instructions are executed, the processor executes the following steps:
  • the feedback information is transmitted from the receiving end to the transmitting end via the wireless uplink communication link. If sent, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
  • an embodiment of the present application provides an unmanned aerial vehicle, which includes the image processing equipment at the transmitting end of the above third aspect and various possible designs of the third aspect.
  • an embodiment of the present application provides an image processing device in a receiving end, including a memory and a processor, where:
  • the memory is used to store program instructions
  • the processor is configured to execute the program instructions, and when the program instructions are executed, the processor executes the following steps:
  • an embodiment of the present application provides a receiving end, including the image processing device in the receiving end of the above fifth aspect and various possible designs of the fifth aspect.
  • an embodiment of the present application provides a computer-readable storage medium having program instructions stored in the computer-readable storage medium.
  • program instructions When the program instructions are executed by a processor, each of the above first aspect and the first aspect is implemented.
  • the embodiments of the present application also provide another computer-readable storage medium.
  • the computer-readable storage medium stores program instructions.
  • the processor executes the program instructions, the above second aspect and second aspect are implemented.
  • the image processing method in the receiving end is described.
  • the transmitting end of the method obtains the current image frame, detects the communication quality of the wireless uplink communication link between the transmitting end and the receiving end, and determines according to the communication quality Whether to determine a reference frame for encoding the current image frame according to the received feedback information. That is, according to the communication quality of the wireless uplink communication link, it is adaptively determined whether to use the feedback coding mode, so that the coding mode of the image matches the communication quality of the wireless uplink communication link, so that the image transmission error can be recovered in time and the user experience is improved.
  • FIG. 1 is a schematic diagram of the architecture of an image processing system provided by an embodiment of the application
  • Figure 2 is a schematic diagram of a feedback-free coding mode provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of another non-feedback coding mode provided by an embodiment of the application.
  • FIG. 4 is a schematic flowchart of an image processing method provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of reference frame selection provided by an embodiment of the application.
  • FIG. 6 is a schematic flowchart of another image processing method provided by an embodiment of the application.
  • FIG. 7 is a schematic flowchart of still another image processing method provided by an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of an image processing device at the sending end according to an embodiment of the application.
  • FIG. 9 is a schematic structural diagram of an image processing device at a receiving end according to an embodiment of the application.
  • FIG. 10 is a schematic diagram of the hardware structure of the image processing device at the sending end according to an embodiment of the application.
  • FIG. 11 is a schematic diagram of the hardware structure of the image processing device at the receiving end according to an embodiment of the application.
  • FIG. 12 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of a receiving end provided by an embodiment of the application.
  • a component when a component is said to be “fixed to” another component, it can be directly on the other component or a central component may also exist. When a component is considered to be “connected” to another component, it can be directly connected to another component or there may be a centered component at the same time.
  • FIG. 1 is a schematic diagram of the architecture of an image processing system provided by an embodiment of the application.
  • the system provided in this embodiment includes a sending end 101 and a receiving end 102.
  • the sending end 101 sends an image to the receiving end 102 via a wireless downlink communication link
  • the receiving end 102 sends information to the sending end 101 via a wireless uplink communication link.
  • Real-time image transmission has high requirements for image transmission delay.
  • Traditional real-time image transmission has the problems of limited transmission bandwidth and large bandwidth fluctuations.
  • wireless channels also have more uncertainties, especially the unreliable characteristics of wireless channels.
  • errors will inevitably occur, leading to video decoding errors.
  • an error recovery mechanism is needed to correct video data transmission errors that have occurred.
  • Commonly used error recovery mechanisms include two ways of feedback coding and feedback coding.
  • Video coding standards widely used in the industry include H.263, H.264, H.265, MPEG4, etc., which provide two types of frame types:
  • All image regions are coded according to the intra-frame prediction coding method, and a prediction compression method that does not depend on the reference frame is adopted.
  • the compression rate is low, and the code rate of the frame after the generated encoding is high.
  • the receiver can recover the error as long as the I frame is correctly received.
  • the image block is coded according to the inter-frame prediction coding mode, and the prediction compression method that depends on the reference frame is adopted.
  • the compression rate is higher, and the code rate of the frame after the generated encoding is lower.
  • the transmitting end determines the I frame to be encoded according to intra prediction at a fixed frame interval period, and all image regions in the I frame are coded according to the intra prediction encoding method.
  • the images of the preset number of frames after the I frame can be inter-frame predictive coding, for example, P frames of the preset number of frames are obtained.
  • the sending end can send the encoded image to the receiving end through the wireless downlink communication link.
  • the sending end periodically determines and sends multiple image frames including the I area to the sending end at a fixed frame interval, where the I area is an image area coded in the frame.
  • the images of the preset number of frames behind the multiple image frames including the I area may be inter-frame predictive coding, for example, P frames of the preset number of frames are obtained.
  • the multiple image frames may include 3 frames, and each frame contains interlaced 1/3 of the frame using intra-frame coding.
  • the sending end can send the encoded image to the receiving end through the wireless downlink communication link.
  • the receiving end receives the image sent by the sending end. Since the image sent by the sending end includes a fixed frame interval I frame or multiple image frames including I area, when a certain frame is in accordance with the frame When the image received in the preset encoding mode is incorrect, the image received error of the next frame encoded in the preset encoding mode between frames can be decoded with reference to the corresponding I frame or multiple image frames including the I area. Get restored.
  • the receiving end can recover the image transmission error based on the received I frame or multiple image frames including the I area, without relying on the feedback information from the receiving end to the sending end.
  • the receiving end determines the transmission status of the image frame sent by the sending end, such as whether the image frame is received correctly, and indicates the feedback information of the transmission status of the image frame to the sending end, and the sending end determines the image frame correctly received by the receiving end according to the feedback information As the reference frame of the image currently to be encoded to encode the image currently to be encoded.
  • the receiving end needs to send feedback information to the sending end through the wireless uplink communication link, when the wireless uplink communication link is unreliable, that is, when the communication quality of the wireless uplink communication link is not high, the error recovery time may be longer.
  • the image is often encoded based on one of the feedback-free encoding mode and the feedback encoding mode.
  • the feedback coding mode nor the feedback coding mode is suitable for real-time changing application scenarios, coding flexibility is poor, and a matching coding mode cannot be selected according to the current application scenario.
  • the image is transmitted incorrectly, it may cause the delay of image restoration to increase, which affects the user experience.
  • this embodiment provides an image processing method, which adaptively determines whether the feedback coding mode needs to be used according to the communication quality of the wireless uplink communication link, so that the coding mode of the image matches the communication of the wireless uplink communication link.
  • the quality enables timely recovery in case of image transmission errors and improves user experience.
  • Fig. 4 is a schematic flow chart of the image processing method at the sending end provided by an embodiment of the application.
  • the execution subject of this embodiment may be the sending end in the embodiment shown in Fig. 1, for example, the image processing device in the sending end
  • the image processing device may include one or more processors for executing the image processing method, and the transmitting end is used to transmit the encoded data of the image frame to the receiving end.
  • the method includes:
  • the receiving end may include a photographing device, wherein the image processing device may obtain the current image frame to be encoded from the photographing device.
  • S402 Detect the communication quality of the wireless uplink communication link between the sending end and the receiving end.
  • the image processing device can detect the communication quality of the wireless uplink communication link, and by detecting the wireless uplink communication quality, it can determine whether the feedback information sent by the receiving end can be received in a timely and accurate manner.
  • the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end includes: acquiring communication status information of the wireless uplink communication link, and determining the communication quality according to the communication status information.
  • the image processing device may collect the communication state information of the wireless uplink communication link or receive the communication state information sent by the receiving end through the wireless uplink communication link, and further, determine the communication state information according to the communication state information Communication quality.
  • the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  • the communication status information includes bandwidth, and the larger the bandwidth, the higher the communication quality.
  • the communication status information may also include received signal strength (RSSI), signal-to-noise ratio (SIGNAL-NOISE RATIO, SNR), etc., channel capacity assessment, channel noise power, communication Judgment of the distance between the two parties and so on.
  • RSSI received signal strength
  • SIGNAL-NOISE RATIO signal-to-noise ratio
  • SNR signal-to-noise ratio
  • the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end includes: acquiring information sent by the receiving end for indicating the communication quality, and according to the indication of the communication quality The information determines the communication quality.
  • the receiving end can detect the communication quality of the wireless uplink communication link by acquiring the communication status information of the wireless uplink communication link, and send the information indicating the communication quality to the sending end, and the sending end can pass The information indicating the communication device determines the communication quality.
  • S403. Determine, according to the communication quality, whether to determine a reference frame used to encode the current image frame according to the received feedback information, where the feedback information is transmitted from the receiving end to the wireless uplink communication link via the wireless uplink communication link. Sent by the sending end, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
  • the transmission status refers to whether there is an error in the transmission of the image frame. Specifically, it refers to whether data loss or data error occurs during the transmission of the image frame. Or, it can be understood as whether the image frame is correctly transmitted, and whether it is successfully decoded after the correct transmission.
  • the determining according to the communication quality whether to determine the reference frame used for encoding the current image frame according to the received feedback information includes:
  • the reference frame used for encoding the current image frame is determined according to the received feedback information.
  • the determining according to the communication quality whether to determine the reference frame used for encoding the current image frame according to the received feedback information includes:
  • one or more reference frames for encoding the current image frame are determined according to the preset frame number interval, wherein the reference frames include frame-based Inner coded image area.
  • the preset communication quality threshold can be set according to actual conditions.
  • the communication quality of the wireless uplink communication link between the sending end and the receiving end is expressed by bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  • the quality threshold includes bandwidth threshold, bit error rate threshold, signal-to-noise ratio threshold, and received signal strength threshold.
  • the communication quality When the communication quality is higher than or equal to the preset communication quality threshold, it indicates that the communication quality of the wireless uplink communication link between the sending end and the receiving end is better. If the image processing device is working in no feedback coding, switch to the feedback coding mode, according to The received feedback information determines the reference frame used to encode the current image frame, otherwise the existing mode remains unchanged.
  • the image processing device When the communication quality is less than the preset communication quality threshold, it indicates that the communication quality of the wireless uplink communication link between the sending end and the receiving end is poor. If the image processing device is working in the feedback coding mode, switch the device to the no feedback coding mode Determine one or more reference frames for encoding the current image frame according to the preset frame number interval; otherwise, keep the existing mode unchanged.
  • the one reference frame is an I frame as shown in FIG. 2, that is, all image areas in the reference frame are image areas based on intra-frame coding;
  • the multi-frame reference frames are a group of image frames as shown in FIG. 3, that is, the partial image area in each reference frame in the multi-frame reference frames includes Intra-encoded image area.
  • a certain protection time can be added. For example, after switching to A mode, it is not allowed to switch to B mode within N time.
  • the A mode is a feedback coding mode and the B mode is a feedback coding mode
  • the A mode is a feedback coding mode and the B mode is a feedback coding mode.
  • N time can be set according to the actual situation.
  • the determining a reference frame for encoding the current image frame according to the feedback information includes:
  • the reference frame is determined according to the image frame that has been correctly transmitted.
  • the feedback information includes at least one of the following information:
  • Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted
  • the frame number of the last image frame that was correctly transmitted before the feedback information is the frame number of the last image frame that was correctly transmitted before the feedback information.
  • the frame number of the image frame is globally unique, and the frame number of the image frame and the encoded data are sent to the receiving end together.
  • the feedback information includes the frame number of the image frame that has been correctly transmitted.
  • the feedback information may specifically be "234".
  • the feedback information includes the frame number of the last image frame that has been correctly transmitted.
  • the feedback information can be "4", and the image processing device at the sending end can know that the image frame number 5 has not been Successfully transferred. Therefore, when the image processing device at the sending end encodes the image frame number 6, it can select the image frame number 4 as the reference frame, or the image frames number 3 and 4 as the reference frame.
  • the feedback information includes an indicator bit for indicating whether the image frame number 8 is correctly transmitted. Assuming that the value of the indicator bit is "0", it means that the image frame number 8 is not transmitted correctly, and the value of the indicator bit is "1". The image frame number 8 has been transmitted correctly. If the value of the indicator bit is 1, the image processing device at the sending end selects the image frame numbered 8 as the reference frame, and performs inter-frame coding on the image frame numbered 9.
  • the image processing device at the sending end can determine whether the image frame number 5 is transmitted correctly, if the image frame number 5 is transmitted correctly, the image frame number 5 is selected as the reference frame, Perform inter-frame coding on the image frame numbered 9.
  • the image processing device in the sending end saves at least a part of the image frames that have been correctly transmitted in the reference frame management queue, and the image processing device in the sending end refers to the image frames in the frame management queue to determine For the reference frame. Therefore, each time the feedback information sent by the receiving end is received, the image frame that has been correctly transmitted is determined according to the feedback information, and the reference frame management queue is updated. Correspondingly, after determining the image frame that has been correctly transmitted, the image processing device in the receiving end also saves at least a part of the correctly transmitted image frame in the reference frame management queue.
  • the reference frame management queue at the sending end is the same as the information stored in the reference frame management queue at the receiving end.
  • the image processing device at the sending end includes a physical or logical buffer for storing all image frames corresponding to the encoded data, and the image processing device at the sending end may only store at least a part of the image frames that have been correctly transmitted
  • the corresponding frame number is saved in the reference frame management queue, and the image processing device in the sending end determines the image frame corresponding to the frame number in the reference frame queue as the reference frame.
  • the image processing device in the receiving end includes a physical or logical buffer for storing all image frames corresponding to the decoded data, and the image processing device in the receiving end can correspond to at least a part of the image frames that are correctly transmitted
  • the frame number is stored in the reference frame management queue.
  • the transmitter in the embodiments of the present application can move in any suitable environment, for example, in the air (for example, a fixed-wing aircraft, a rotary-wing aircraft, or an aircraft without fixed wings and no rotors), water (for example, a ship or a submarine) ), on land (for example, a car or train), space (for example, a space plane, satellite or probe), and any combination of the above various environments.
  • the sending end may be an unmanned aerial vehicle, such as a UAV (Unmanned Aerial Vehicle, UAV for short).
  • UAV Unmanned Aerial Vehicle
  • the sending end may carry living bodies, such as humans or animals.
  • the receiving end in the embodiment of the present application may be a computer, a handheld electronic device, a communication device, a video monitoring device, etc.
  • the transmitting end detects the communication quality of the wireless uplink communication link between the transmitting end and the receiving end by acquiring the current image frame, and determines whether to determine whether to use for encoding according to the received feedback information according to the communication quality.
  • the reference frame of the current image frame is, according to the communication quality of the wireless uplink communication link, it is adaptively determined whether to use the feedback coding mode, which can ensure that the feedback coding mode is used when the wireless uplink communication link quality is good, and when the feedback link quality is poor, no feedback is used.
  • the coding mode improves the flexibility of coding, so that the coding mode of the image matches the communication quality of the wireless uplink communication link, so that it can recover in time when the image is transmitted incorrectly and improve the user experience.
  • FIG. 6 shows an image processing method according to another embodiment of the present invention.
  • the method may be executed by an image processing device in the receiving end, and the image processing device may be various types of chips for image processing and image processing. ⁇ As shown in Figure 6, the method includes:
  • S601 Detect the communication quality of the wireless uplink communication link between the sending end and the receiving end.
  • the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end includes:
  • the communication quality is determined according to the communication status information.
  • the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  • the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end includes:
  • S602. Determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate the size of the image frame sent by the sending end to the receiving end before the feedback information. Transmission status and instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information.
  • the determining whether to send feedback information through the wireless uplink communication link according to the communication quality includes:
  • the feedback information is used to instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information, including:
  • the feedback information is used to instruct the sending end to determine the image frame that has been correctly transmitted according to the feedback information; determine the reference frame according to the image frame that has been correctly transmitted.
  • the feedback information includes at least one of the following information:
  • Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted
  • the frame number of the last image frame that was correctly transmitted before the feedback information is the frame number of the last image frame that was correctly transmitted before the feedback information.
  • the sending end is an unmanned aerial vehicle.
  • the receiving end detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, and determines whether to send feedback information through the wireless uplink communication link according to the communication quality, wherein:
  • the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information and to instruct the sending end to use when determining to encode the current image frame according to the feedback information Reference frame.
  • the communication quality of the wireless uplink communication link it is adaptively determined whether to send feedback information to the sending end, so that the sending end can determine whether the feedback coding mode needs to be used, so that the coding mode of the image matches the communication quality of the wireless uplink communication link, so that the When the image transmission error occurs, it can be restored in time to improve the user experience.
  • Fig. 7 shows an image processing method according to still another embodiment of the present invention. As shown in Fig. 7, the method includes:
  • the sending end sends an image frame to the receiving end.
  • the receiving end generates feedback information according to the transmission state of the image frame.
  • the receiving end sends the foregoing feedback information to the sending end.
  • the sending end detects the communication quality of the wireless uplink communication link between the sending end and the receiving end.
  • the sending end may further perform inter-frame encoding on the current image frame according to the aforementioned reference frame to generate encoded data, and send the aforementioned encoded data to the receiving end.
  • the receiving end may perform inter-frame decoding on the encoded data according to the reference frame to generate decoded data, and display the current image frame according to the decoded data.
  • the sending end determines one or more reference frames for encoding the current image frame according to the preset frame number interval, where the reference frames include intra-frame encoding Image area.
  • the sending end may further perform intra-frame encoding on the current image frame according to the aforementioned reference frame to generate encoded data, and send the aforementioned encoded data to the receiving end.
  • the receiving end may perform intra-frame decoding on the encoded data according to the reference frame to generate decoded data, and display the current image frame according to the decoded data.
  • FIG. 8 is a schematic structural diagram of an image processing device at the sending end provided by an embodiment of the application. For ease of description, only parts related to the embodiments of the present application are shown.
  • the image processing device 80 includes: an image frame acquisition module 801, a first quality detection module 802, and a reference frame determination module 803.
  • the image frame acquisition module 801 is used to acquire the current image frame.
  • the first quality detection module 802 is configured to detect the communication quality of the wireless uplink communication link between the sending end and the receiving end.
  • the reference frame determining module 803 is configured to determine, according to the communication quality, whether to determine a reference frame used to encode the current image frame according to received feedback information, wherein the feedback information is transmitted by the receiving end through the wireless uplink
  • the feedback information is sent by the communication link to the sending end, and the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
  • the reference frame determining module 803 is specifically configured to:
  • the reference frame used for encoding the current image frame is determined according to the received feedback information.
  • the reference frame determining module 803 is specifically configured to:
  • one or more reference frames for encoding the current image frame are determined according to the preset frame number interval, wherein the reference frames include frame-based Inner coded image area.
  • the reference frame determining module 803 determines the reference frame used to encode the current image frame according to the feedback information, including:
  • the reference frame is determined according to the image frame that has been correctly transmitted.
  • the first quality detection module 802 is specifically configured to:
  • the communication quality is determined according to the communication status information.
  • the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  • the first quality detection module 802 is specifically configured to:
  • the sending end is an unmanned aerial vehicle.
  • the device provided in the embodiment of the present application can be used to implement the technical solution of the method embodiment in FIG. 4, and its implementation principles and technical effects are similar, and the details of the embodiment of the present application are not repeated here.
  • FIG. 9 is a schematic structural diagram of an image processing device at a receiving end according to an embodiment of the application. For ease of description, only parts related to the embodiments of the present application are shown.
  • the image processing device 90 includes: a second quality detection module 901 and an information determination module 902.
  • the second quality detection module 901 is configured to detect the communication quality of the wireless uplink communication link between the sending end and the receiving end;
  • the information determining module 902 is configured to determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate that the sending end sends the feedback information to the receiving end before the feedback information.
  • the information determining module 902 is specifically configured to:
  • the feedback information includes at least one of the following information:
  • Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted
  • the frame number of the last image frame that was correctly transmitted before the feedback information is the frame number of the last image frame that was correctly transmitted before the feedback information.
  • the second quality detection module 901 is specifically configured to:
  • the communication quality is determined according to the communication status information.
  • the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  • the second quality detection module 901 is specifically configured to:
  • the sending end is an unmanned aerial vehicle
  • the device provided in the embodiment of the present application can be used to implement the technical solution of the method embodiment in FIG. 6 above, and its implementation principles and technical effects are similar, and the details of the embodiment of the present application are not repeated here.
  • FIG. 10 is a schematic diagram of the hardware structure of the image processing device at the sending end according to an embodiment of the application.
  • the image processing device 100 of this embodiment includes: a processor 1001 and a memory 1002;
  • the memory 1002 is used to store program instructions
  • the processor 1001 is configured to execute program instructions stored in the memory. When the program instructions are executed, the processor executes the following steps:
  • the feedback information is transmitted from the receiving end to the transmitting end via the wireless uplink communication link. If sent, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
  • the processor determines whether to determine a reference frame for encoding the current image frame according to the received feedback information according to the communication quality, it is specifically configured to:
  • the reference frame used for encoding the current image frame is determined according to the received feedback information.
  • the processor determines whether to determine a reference frame for encoding the current image frame according to the received feedback information according to the communication quality, it is specifically configured to:
  • one or more reference frames for encoding the current image frame are determined according to the preset frame number interval, wherein the reference frames include frame-based Inner coded image area.
  • the processor determines a reference frame for encoding the current image frame according to the feedback information, it is specifically configured to:
  • the reference frame is determined according to the image frame that has been correctly transmitted.
  • the processor when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
  • the communication quality is determined according to the communication status information.
  • the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  • the processor when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
  • the sending end is an unmanned aerial vehicle.
  • the memory 1002 may be independent or integrated with the processor 1001.
  • the image processing device further includes a bus 1003 for connecting the memory 1002 and the processor 1001.
  • FIG. 11 is a schematic diagram of the hardware structure of the image processing device at the sending end according to an embodiment of the application. As shown in FIG. 11, an embodiment of the present application further provides an image processing device 110 at the receiving end, including: a processor 1101 and a memory 1102; where
  • the memory 1102 is used to store program instructions
  • the processor 1101 is configured to execute program instructions stored in the memory. When the program instructions are executed, the processor executes the following steps:
  • the processor determines whether to send feedback information through the wireless uplink communication link according to the communication quality, it is specifically configured to:
  • the feedback information includes at least one of the following information:
  • Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted
  • the frame number of the last image frame that was correctly transmitted before the feedback information is the frame number of the last image frame that was correctly transmitted before the feedback information.
  • the processor when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
  • the communication quality is determined according to the communication status information.
  • the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  • the processor when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
  • the sending end is an unmanned aerial vehicle.
  • the memory 1102 may be independent or integrated with the processor 1101.
  • the image processing device further includes a bus 1103 for connecting the memory 1102 and the processor 1101.
  • Fig. 12 is a schematic structural diagram of an unmanned aerial vehicle according to an embodiment of the present application. As shown in FIG. 12, the UAV 120 includes the image processing device 100 shown in FIG.
  • the UAV 120 may also include the image processing device 110 shown in FIG. 11.
  • Fig. 13 is a schematic block diagram of a receiving end according to an embodiment of the present application. As shown in FIG. 13, the receiving end 130 includes the image processing device 110 shown in FIG.
  • the receiving end 130 may also include the image processing device 100 shown in FIG. 10.
  • An embodiment of the present application provides a computer-readable storage medium that stores program instructions, and when a processor executes the program instructions, the image processing method at the sending end as described above is implemented.
  • the embodiments of the present application also provide another computer-readable storage medium, the computer-readable storage medium stores program instructions, and when the processor executes the program instructions, the image processing method at the receiving end as described above is realized.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical, mechanical or other forms.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules may be integrated into one unit.
  • the units formed by the above-mentioned modules can be realized in the form of hardware, or in the form of hardware plus software functional units.
  • the above-mentioned integrated modules implemented in the form of software function modules may be stored in a computer readable storage medium.
  • the above-mentioned software function module is stored in a storage medium and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application Part of the method.
  • processor may be a central processing unit (Central Processing Unit, CPU for short), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and application specific integrated circuits (Application Specific Integrated Circuits). Referred to as ASIC) and so on.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with the invention can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • the memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage, and may also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
  • NVM non-volatile storage
  • the bus may be an Industry Standard Architecture (ISA) bus, Peripheral Component (PCI) bus, or Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus, etc.
  • the buses in the drawings of this application are not limited to only one bus or one type of bus.
  • the above-mentioned storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Except for programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disks or optical disks.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable except for programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic disks or optical disks.
  • optical disks any available medium that can be accessed by a general-purpose or special-purpose computer.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in Application Specific Integrated Circuits (ASIC for short).
  • ASIC Application Specific Integrated Circuits
  • the processor and the storage medium may also exist as discrete components in the electronic device or the main control device.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

Abstract

An image processing method, a device, an unmanned aerial vehicle, and a receiving end. The method comprises: obtaining the current image frame; detecting the communication quality of a wireless uplink communication link between a transmitting end and a receiving end; and determining, according to the communication quality, whether to determine, according to received feedback information, a reference frame used for encoding the current image frame, wherein the feedback information is sent by the receiving end to the transmitting end by means of the wireless uplink communication link, and is used for indicating the transmission status of an image frame sent by the transmitting end to the receiving end before the feedback information. According to the method, it is determined, according to the communication quality of the wireless uplink communication link, whether to determine, according to received feedback information, a reference frame used for encoding the current image frame. In this way, the encoding mode of an image matches the communication quality of the wireless uplink communication link, so that an image transmission error can be recovered in time to avoid affecting the user experience.

Description

图像处理方法、设备、无人飞行器和接收端Image processing method, equipment, unmanned aerial vehicle and receiving end 技术领域Technical field
本申请实施例涉及图像处理技术,尤其涉及一种图像处理方法、设备、无人飞行器和接收端。The embodiments of the present application relate to image processing technology, in particular to an image processing method, equipment, unmanned aerial vehicle, and receiving end.
背景技术Background technique
无线和不可靠信道上低延时视频传输系统是目前的热点研究和应用方向。对于不可靠信道的视频传输来说,数据传输过程中会发生数据错误的情况,导致视频解码出错。但是发送端无法预测何时发生数据错误,因此需要有相应的错误恢复机制,来纠正已经发生的视频数据错误。Low-latency video transmission systems on wireless and unreliable channels are currently a hot research and application direction. For video transmission on unreliable channels, data errors may occur during data transmission, resulting in video decoding errors. However, the sender cannot predict when a data error occurs, so a corresponding error recovery mechanism is needed to correct the video data error that has occurred.
常用的错误恢复机制有无反馈编码模式和反馈编码模式。其中,无反馈编码的方式无需接收端发送的反馈信息即可以实现编码,而反馈编码的方式采用基于接收端发送的反馈信息来进行编码。Commonly used error recovery mechanisms include feedback coding mode and feedback coding mode. Among them, the feedback-free encoding method can realize encoding without the feedback information sent by the receiving end, and the feedback encoding method adopts encoding based on the feedback information sent by the receiving end.
现有编码机制中,往往基于无反馈编码模式和反馈编码模式中的一种来对图像进行编码。然而,由于无反馈编码模式还是反馈编码模式,都不能适用于实时变化的应用场景,在某些运用场景中,当图像传输错误时,可能会导致图像恢复延时增加,影响用户的体验。。In the existing encoding mechanisms, the image is often encoded based on one of the feedback-free encoding mode and the feedback encoding mode. However, neither the feedback coding mode nor the feedback coding mode is suitable for real-time changing application scenarios. In some application scenarios, when the image is transmitted incorrectly, it may increase the image recovery delay and affect the user experience. .
发明内容Summary of the invention
本申请实施例提供一种图像处理方法、设备、无人飞行器和接收端,以提高图像编码和图像错误恢复的灵活性。The embodiments of the present application provide an image processing method, equipment, unmanned aerial vehicle, and receiving end to improve the flexibility of image encoding and image error recovery.
第一方面,本申请实施例提供一种发送端的图像处理方法,包括:In the first aspect, an embodiment of the present application provides an image processing method at the sending end, including:
获取当前图像帧;Get the current image frame;
检测所述发送端与接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,其中,所述反馈信息是由所述接收端通过所述无线上行通信链路向所述发送端发送的,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态。It is determined according to the communication quality whether to determine the reference frame used to encode the current image frame according to the received feedback information, wherein the feedback information is transmitted from the receiving end to the transmitting end via the wireless uplink communication link. If sent, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
第二方面,本申请实施例提供一种接收端中的图像处理方法,包括:In the second aspect, an embodiment of the present application provides an image processing method in a receiving end, including:
检测发送端与所述接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息,其中,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态和指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧。Determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information And instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information.
第三方面,本申请实施例提供一种发送端的图像处理设备,包括存储器、处理器,其中,In a third aspect, an embodiment of the present application provides an image processing device at a sending end, including a memory and a processor, where:
所述存储器,用于存储程序指令;The memory is used to store program instructions;
所述处理器,用于执行所述程序指令,当所述程序指令被执行时,处理器执行如下步骤:The processor is configured to execute the program instructions, and when the program instructions are executed, the processor executes the following steps:
获取当前图像帧;Get the current image frame;
检测所述发送端与接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,其中,所述反馈信息是由所述接收端通过所述无线上行通信链路向所述发送端发送的,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态。It is determined according to the communication quality whether to determine the reference frame used to encode the current image frame according to the received feedback information, wherein the feedback information is transmitted from the receiving end to the transmitting end via the wireless uplink communication link. If sent, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
第四方面,本申请实施例提供一种无人飞行器,包括如上第三方面以及第三方面各种可能的设计的发送端的图像处理设备。In a fourth aspect, an embodiment of the present application provides an unmanned aerial vehicle, which includes the image processing equipment at the transmitting end of the above third aspect and various possible designs of the third aspect.
第五方面,本申请实施例提供一种接收端中的图像处理设备,包括存储器、处理器,其中,In a fifth aspect, an embodiment of the present application provides an image processing device in a receiving end, including a memory and a processor, where:
所述存储器,用于存储程序指令;The memory is used to store program instructions;
所述处理器,用于执行所述程序指令,当所述程序指令被执行时,处理器执行如下步骤:The processor is configured to execute the program instructions, and when the program instructions are executed, the processor executes the following steps:
检测发送端与所述接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息,其中,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态和指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧。Determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information And instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information.
第六方面,本申请实施例提供一种接收端,包括如上第五方面以及第五 方面各种可能的设计的接收端中的图像处理设备。In a sixth aspect, an embodiment of the present application provides a receiving end, including the image processing device in the receiving end of the above fifth aspect and various possible designs of the fifth aspect.
第七方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有程序指令,当处理器执行所述程序指令时,实现如上第一方面以及第一方面各种可能的设计所述的发送端的图像处理方法。In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium having program instructions stored in the computer-readable storage medium. When the program instructions are executed by a processor, each of the above first aspect and the first aspect is implemented. A possible design of the image processing method at the sending end.
第八方面,本申请实施例还提供另一种计算机可读存储介质,所述计算机可读存储介质中存储有程序指令,当处理器执行所述程序指令时,实现如上第二方面以及第二方面各种可能的设计所述的接收端中的图像处理方法。In an eighth aspect, the embodiments of the present application also provide another computer-readable storage medium. The computer-readable storage medium stores program instructions. When the processor executes the program instructions, the above second aspect and second aspect are implemented. In terms of various possible designs, the image processing method in the receiving end is described.
本申请实施例提供的图像处理方法、设备、无人飞行器和接收端,该方法发送端通过获取当前图像帧,检测发送端与接收端的无线上行通信链路的通信质量,根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧。即根据无线上行通信链路的通信质量自适应确定是否需要使用反馈编码模式,使得图像的编码模式匹配无线上行通信链路的通信质量,使得在图像传输错误时恢复及时,改善用户体验。According to the image processing method, equipment, unmanned aerial vehicle, and receiving end provided by the embodiments of the present application, the transmitting end of the method obtains the current image frame, detects the communication quality of the wireless uplink communication link between the transmitting end and the receiving end, and determines according to the communication quality Whether to determine a reference frame for encoding the current image frame according to the received feedback information. That is, according to the communication quality of the wireless uplink communication link, it is adaptively determined whether to use the feedback coding mode, so that the coding mode of the image matches the communication quality of the wireless uplink communication link, so that the image transmission error can be recovered in time and the user experience is improved.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为本申请实施例提供的图像处理系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of an image processing system provided by an embodiment of the application;
图2为本申请实施例提供的无反馈编码模式示意图;Figure 2 is a schematic diagram of a feedback-free coding mode provided by an embodiment of the application;
图3为本申请实施例提供的另一无反馈编码模式示意图;FIG. 3 is a schematic diagram of another non-feedback coding mode provided by an embodiment of the application;
图4为本申请实施例提供的图像处理方法的流程示意图;4 is a schematic flowchart of an image processing method provided by an embodiment of the application;
图5为本申请实施例提供的参考帧选择的示意图;FIG. 5 is a schematic diagram of reference frame selection provided by an embodiment of the application;
图6为本申请实施例提供的另一图像处理方法的流程示意图;6 is a schematic flowchart of another image processing method provided by an embodiment of the application;
图7为本申请实施例提供的再一图像处理方法的流程示意图;FIG. 7 is a schematic flowchart of still another image processing method provided by an embodiment of the application;
图8为本申请实施例提供的发送端的图像处理设备的结构示意图;FIG. 8 is a schematic structural diagram of an image processing device at the sending end according to an embodiment of the application;
图9为本申请实施例提供的接收端的图像处理设备的结构示意图;FIG. 9 is a schematic structural diagram of an image processing device at a receiving end according to an embodiment of the application;
图10为本申请实施例提供的发送端的图像处理设备的硬件结构示意 图;FIG. 10 is a schematic diagram of the hardware structure of the image processing device at the sending end according to an embodiment of the application;
图11为本申请实施例提供的接收端的图像处理设备的硬件结构示意图;FIG. 11 is a schematic diagram of the hardware structure of the image processing device at the receiving end according to an embodiment of the application;
图12为本申请实施例提供的无人飞行器的结构示意图;FIG. 12 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the application;
图13为本申请实施例提供的接收端的结构示意图。FIG. 13 is a schematic structural diagram of a receiving end provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or a central component may also exist. When a component is considered to be "connected" to another component, it can be directly connected to another component or there may be a centered component at the same time.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
图1为本申请实施例提供的图像处理系统的架构示意图。如图1所示,本实施例提供的系统包括发送端101和接收端102。其中,发送端101通过无线下行通信链路向接收端102发送图像,接收端102通过无线上行通信链路向发送端101发送信息。FIG. 1 is a schematic diagram of the architecture of an image processing system provided by an embodiment of the application. As shown in FIG. 1, the system provided in this embodiment includes a sending end 101 and a receiving end 102. Among them, the sending end 101 sends an image to the receiving end 102 via a wireless downlink communication link, and the receiving end 102 sends information to the sending end 101 via a wireless uplink communication link.
实时图像传输对图传延时要求较高,传统的实时图像传输存在传输带宽受限且带宽波动较大的问题,另外无线信道也有较多的不确定性,特别是无线信道不可靠的特点,数据在传输过程中难免会发生错误,导致视频解码出错,此时就需要错误恢复机制来纠正已经发生的视频数据传输错误。常用的错误恢复机制有无反馈编码的方式和反馈编码的两种方式。Real-time image transmission has high requirements for image transmission delay. Traditional real-time image transmission has the problems of limited transmission bandwidth and large bandwidth fluctuations. In addition, wireless channels also have more uncertainties, especially the unreliable characteristics of wireless channels. In the process of data transmission, errors will inevitably occur, leading to video decoding errors. At this time, an error recovery mechanism is needed to correct video data transmission errors that have occurred. Commonly used error recovery mechanisms include two ways of feedback coding and feedback coding.
在介绍上述无反馈和有反馈的错误恢复机制之前,先对常用的编码帧类型进行介绍。业界广泛使用的视频编码标准包括H.263、H.264、H.265、MPEG4等等,都提供了两类帧类型:Before introducing the above-mentioned error recovery mechanisms without feedback and with feedback, the commonly used coding frame types are introduced first. Video coding standards widely used in the industry include H.263, H.264, H.265, MPEG4, etc., which provide two types of frame types:
I帧:I frame:
所有的图像区域,按照帧内预测编码的方式进行编码,采用不依赖于参考帧的预测压缩方式。All image regions are coded according to the intra-frame prediction coding method, and a prediction compression method that does not depend on the reference frame is adopted.
由于没有参考时间相关性进行预测,压缩率较低,产生的编码后该帧的码率较高。Since there is no reference to time correlation for prediction, the compression rate is low, and the code rate of the frame after the generated encoding is high.
优点:因为不依赖不参考他帧,接收端只要正确接收到I帧,即可恢复错误。Advantages: Because it does not rely on other frames, the receiver can recover the error as long as the I frame is correctly received.
P/B帧:P/B frame:
图像块,按照帧间预测编码模式进行编码,采用依赖于参考帧的预测压缩方式。The image block is coded according to the inter-frame prediction coding mode, and the prediction compression method that depends on the reference frame is adopted.
由于参考了参考帧进行预测,压缩率较高,产生的编码后该帧的码率较低。Since the reference frame is used for prediction, the compression rate is higher, and the code rate of the frame after the generated encoding is lower.
缺点:因为依赖参考帧,会出现当参考帧接收错误,即使接收端正确接收该帧,该帧图像不能正确解码,即不能回被恢复。Disadvantage: Because of the dependence on the reference frame, there will be errors when the reference frame is received. Even if the receiving end receives the frame correctly, the frame image cannot be decoded correctly, that is, it cannot be restored.
关于实时图像传输的错误恢复编码,可以分为以下两类方式:Regarding the error recovery coding of real-time image transmission, it can be divided into the following two types:
一.无反馈编码模式1. No feedback coding mode
1、如图2所示,发送端,以固定的帧数间隔周期确定按照帧内预测编码的I帧,I帧内所有的图像区域都是按照帧内预测编码的方式来进行编码。I帧后面的预设帧数的图像可以进行帧间预测编码,例如得到预设帧数的P帧。发送端可以将编码得到的图像通过无线下行通信链路发送给接收端。1. As shown in FIG. 2, the transmitting end determines the I frame to be encoded according to intra prediction at a fixed frame interval period, and all image regions in the I frame are coded according to the intra prediction encoding method. The images of the preset number of frames after the I frame can be inter-frame predictive coding, for example, P frames of the preset number of frames are obtained. The sending end can send the encoded image to the receiving end through the wireless downlink communication link.
2、发送端,以固定的帧数间隔周期确定并向发送端发送包括I区域的多个图像帧,其中,I区域为帧内编码的图像区域。包括I区域的多个图像帧后面的预设帧数的图像可以进行帧间预测编码,例如得到预设帧数的P帧。如图3所示,所述多个图像帧可以包括3帧,每帧含有交错的1/3的画幅采用帧内编码。发送端可以将编码得到的图像通过无线下行通信链路发送给接收端。2. The sending end periodically determines and sends multiple image frames including the I area to the sending end at a fixed frame interval, where the I area is an image area coded in the frame. The images of the preset number of frames behind the multiple image frames including the I area may be inter-frame predictive coding, for example, P frames of the preset number of frames are obtained. As shown in FIG. 3, the multiple image frames may include 3 frames, and each frame contains interlaced 1/3 of the frame using intra-frame coding. The sending end can send the encoded image to the receiving end through the wireless downlink communication link.
由图2和图3可知,接收端接收发送端发送的图像,由于发送端发送的图像中包括固定的帧数间隔周期的I帧或者包括I区域的多个图像帧,当某一帧按照帧间预设编码模式编码的图像接收错误时,下一帧按照帧间预设编码模式编码的图像接收错误即可以参考对应的I帧或者包括I区域的多个图像帧进行解码,依然可以成功地得到恢复。It can be seen from Figures 2 and 3 that the receiving end receives the image sent by the sending end. Since the image sent by the sending end includes a fixed frame interval I frame or multiple image frames including I area, when a certain frame is in accordance with the frame When the image received in the preset encoding mode is incorrect, the image received error of the next frame encoded in the preset encoding mode between frames can be decoded with reference to the corresponding I frame or multiple image frames including the I area. Get restored.
无反馈编码模式的优点:Advantages of no feedback coding mode:
接收端可以基于收I帧或者包括I区域的多个图像帧就可以恢复图像传输错误,不依赖于接收端到发送端的反馈信息。The receiving end can recover the image transmission error based on the received I frame or multiple image frames including the I area, without relying on the feedback information from the receiving end to the sending end.
此方案缺点:Disadvantages of this solution:
需要周期性的产生I帧或者包括I区域的多个图像帧,这样会导致图像的压缩率较低。It is necessary to periodically generate I frames or multiple image frames including I regions, which will result in a lower image compression rate.
二.反馈编码模式2. Feedback coding mode
接收端确定发送端发送的图像帧的传输状态,例如图像帧是否被正确接收,并向发送端指示图像帧的传输状态的反馈信息,发送端按照根据反馈信息确定被接收端正确接收的图像帧作为当前待编码图像的参考帧以对当前待编码的图像进行编码。The receiving end determines the transmission status of the image frame sent by the sending end, such as whether the image frame is received correctly, and indicates the feedback information of the transmission status of the image frame to the sending end, and the sending end determines the image frame correctly received by the receiving end according to the feedback information As the reference frame of the image currently to be encoded to encode the image currently to be encoded.
此方案优点在于:The advantages of this solution are:
无需发送I帧或者包括I区域的多个图像帧,减少对无线下行通信链路的压力。There is no need to send I frames or multiple image frames including I areas, reducing the pressure on the wireless downlink communication link.
此方案缺点在于:The disadvantages of this scheme are:
因为接收端需要通过无线上行通信链路向发送端发送反馈信息,当无线上行通信链路不可靠的时候,即无线上行通信链路的通信质量不高时,错误恢复时间可能会较长。Because the receiving end needs to send feedback information to the sending end through the wireless uplink communication link, when the wireless uplink communication link is unreliable, that is, when the communication quality of the wireless uplink communication link is not high, the error recovery time may be longer.
现有编码机制中,往往基于无反馈编码模式和反馈编码模式中的一种来对图像进行编码。然而,由于无反馈编码模式还是反馈编码模式,都不能适用于实时变化的应用场景,编码的灵活性较差,不能根据当前的应用场景选择匹配的编码模式。当图像传输错误时,可能会导致图像恢复延时增加,影响用户的体验。In the existing encoding mechanisms, the image is often encoded based on one of the feedback-free encoding mode and the feedback encoding mode. However, since neither the feedback coding mode nor the feedback coding mode is suitable for real-time changing application scenarios, coding flexibility is poor, and a matching coding mode cannot be selected according to the current application scenario. When the image is transmitted incorrectly, it may cause the delay of image restoration to increase, which affects the user experience.
为了解决该技术问题,本实施例提供一种图像处理方法,该方法根据无线上行通信链路的通信质量自适应确定是否需要使用反馈编码模式,使 得图像的编码模式匹配无线上行通信链路的通信质量,使得在图像传输错误时恢复及时,改善用户体验。In order to solve this technical problem, this embodiment provides an image processing method, which adaptively determines whether the feedback coding mode needs to be used according to the communication quality of the wireless uplink communication link, so that the coding mode of the image matches the communication of the wireless uplink communication link. The quality enables timely recovery in case of image transmission errors and improves user experience.
图4为本申请实施例提供的发送端的图像处理方法的流程示意图,本实施例的执行主体可以为图1所示实施例中的发送端,示例性的,可以由发送端中的图像处理设备执行,所述图像处理设备可以包括用于执行所述图像处理方法的一个或多个处理器,所述发送端用于向接收端发送图像帧的编码数据。如图4所示,该方法包括:Fig. 4 is a schematic flow chart of the image processing method at the sending end provided by an embodiment of the application. The execution subject of this embodiment may be the sending end in the embodiment shown in Fig. 1, for example, the image processing device in the sending end To execute, the image processing device may include one or more processors for executing the image processing method, and the transmitting end is used to transmit the encoded data of the image frame to the receiving end. As shown in Figure 4, the method includes:
S401、获取当前图像帧。S401: Acquire a current image frame.
具体地,接收端可以包括拍摄装置,其中,图像处理设备可以从拍摄装置获取待编码的当前图像帧。Specifically, the receiving end may include a photographing device, wherein the image processing device may obtain the current image frame to be encoded from the photographing device.
S402、检测所述发送端与接收端的无线上行通信链路的通信质量。S402: Detect the communication quality of the wireless uplink communication link between the sending end and the receiving end.
图像处理设备可以检测所述无线上行通信链路的通信质量,通过检测所述无线上行通信质量即可以确定接收端发送的反馈信息能否被及时准确地接收。The image processing device can detect the communication quality of the wireless uplink communication link, and by detecting the wireless uplink communication quality, it can determine whether the feedback information sent by the receiving end can be received in a timely and accurate manner.
可选地,所述检测所述发送端与接收端的无线上行通信链路的通信质量,包括:获取所述无线上行通信链路的通信状态信息,根据所述通信状态信息确定所述通信质量。具体地,图像处理设备可以采集所述无线上行通信链路的通信状态信息或者接收接收端通过所述无线上行通信链路发送的所述通信状态信息,进而,根据所述通信状态信息确定所述通信质量。Optionally, the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end includes: acquiring communication status information of the wireless uplink communication link, and determining the communication quality according to the communication status information. Specifically, the image processing device may collect the communication state information of the wireless uplink communication link or receive the communication state information sent by the receiving end through the wireless uplink communication link, and further, determine the communication state information according to the communication state information Communication quality.
可选地,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。例如,所述通信状态信息包括带宽,带宽越大,所述通信质量越高。Optionally, the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength. For example, the communication status information includes bandwidth, and the larger the bandwidth, the higher the communication quality.
另外,所述通信状态信息还可以包括接收信号的信号强度(Received Signal Strength Indication,简称RSSI),信噪比(SIGNAL-NOISE RATIO,简称SNR)等,信道容量的评估,信道的噪声功率,通信双方的距离判断等等。In addition, the communication status information may also include received signal strength (RSSI), signal-to-noise ratio (SIGNAL-NOISE RATIO, SNR), etc., channel capacity assessment, channel noise power, communication Judgment of the distance between the two parties and so on.
可选地,所述检测所述发送端与接收端的无线上行通信链路的通信质量,包括:获取所述接收端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Optionally, the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end includes: acquiring information sent by the receiving end for indicating the communication quality, and according to the indication of the communication quality The information determines the communication quality.
具体地,接收端可以通过获取所述无线上行通信链路的通信状态信息 以检测所述无线上行通信链路的通信质量,并将指示所述通信质量的信息发送给发送端,发送端通过所述指示通信装置的信息确定所述通信质量。Specifically, the receiving end can detect the communication quality of the wireless uplink communication link by acquiring the communication status information of the wireless uplink communication link, and send the information indicating the communication quality to the sending end, and the sending end can pass The information indicating the communication device determines the communication quality.
S403、根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,其中,所述反馈信息是由所述接收端通过所述无线上行通信链路向所述发送端发送的,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态。S403. Determine, according to the communication quality, whether to determine a reference frame used to encode the current image frame according to the received feedback information, where the feedback information is transmitted from the receiving end to the wireless uplink communication link via the wireless uplink communication link. Sent by the sending end, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
需要说明的是,传输状态指的是图像帧的传输是否出现错误。具体的,指的是图像帧的传输过程中是否出现数据丢失或数据错误。或者,可以理解为图像帧是否被正确传输,以及正确传输后是否被成功解码。It should be noted that the transmission status refers to whether there is an error in the transmission of the image frame. Specifically, it refers to whether data loss or data error occurs during the transmission of the image frame. Or, it can be understood as whether the image frame is correctly transmitted, and whether it is successfully decoded after the correct transmission.
可选地,所述根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,包括:Optionally, the determining according to the communication quality whether to determine the reference frame used for encoding the current image frame according to the received feedback information includes:
当所述通信质量高于或等于预设通信质量阈值时,根据接收的反馈信息确定用于编码所述当前图像帧的参考帧。When the communication quality is higher than or equal to the preset communication quality threshold, the reference frame used for encoding the current image frame is determined according to the received feedback information.
可选地,所述根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,包括:Optionally, the determining according to the communication quality whether to determine the reference frame used for encoding the current image frame according to the received feedback information includes:
当所述通信质量小于所述预设通信质量阈值时,根据预设的帧数间隔确定用于编码所述当前图像帧的一帧或者多帧参考帧,其中,所述参考帧中包括基于帧内编码的图像区域。When the communication quality is less than the preset communication quality threshold, one or more reference frames for encoding the current image frame are determined according to the preset frame number interval, wherein the reference frames include frame-based Inner coded image area.
这里,预设通信质量阈值可以根据实际情况设置,示例性的,发送端与接收端的无线上行通信链路的通信质量采用带宽、误码率、信噪比和接收信号强度表示,上述预设通信质量阈值包括带宽阈值、误码率阈值、信噪比阈值和接收信号强度阈值。Here, the preset communication quality threshold can be set according to actual conditions. Illustratively, the communication quality of the wireless uplink communication link between the sending end and the receiving end is expressed by bandwidth, bit error rate, signal-to-noise ratio, and received signal strength. The quality threshold includes bandwidth threshold, bit error rate threshold, signal-to-noise ratio threshold, and received signal strength threshold.
当所述通信质量高于或等于预设通信质量阈值时,说明发送端与接收端的无线上行通信链路的通信质量较好,如果图像处理设备工作在无反馈编码,切换到反馈编码模式,根据接收的反馈信息确定用于编码当前图像帧的参考帧,否则保持现有模式不变。When the communication quality is higher than or equal to the preset communication quality threshold, it indicates that the communication quality of the wireless uplink communication link between the sending end and the receiving end is better. If the image processing device is working in no feedback coding, switch to the feedback coding mode, according to The received feedback information determines the reference frame used to encode the current image frame, otherwise the existing mode remains unchanged.
当所述通信质量小于所述预设通信质量阈值时,说明发送端与接收端的无线上行通信链路的通信质量较差,如果图像处理设备工作在反馈编码模式时,切换设备到无反馈编码模式,根据预设的帧数间隔确定用于编码所述当前图像帧的一帧或者多帧参考帧,否则保持现有模式不变。其中, 一帧或者多帧参考帧为一帧参考帧时,所述一帧参考帧为如图2所示的I帧,即该参考帧内所有的图像区域为基于帧内编码的图像区域;一帧或者多帧参考帧为多帧参考帧时,所述多帧参考帧为如图3所示的一组图像帧,即多帧参考帧中的每一个参考帧内部分图像区域包括基于帧内编码的图像区域。When the communication quality is less than the preset communication quality threshold, it indicates that the communication quality of the wireless uplink communication link between the sending end and the receiving end is poor. If the image processing device is working in the feedback coding mode, switch the device to the no feedback coding mode Determine one or more reference frames for encoding the current image frame according to the preset frame number interval; otherwise, keep the existing mode unchanged. Wherein, when one or more reference frames are a reference frame, the one reference frame is an I frame as shown in FIG. 2, that is, all image areas in the reference frame are image areas based on intra-frame coding; When one or more reference frames are multi-frame reference frames, the multi-frame reference frames are a group of image frames as shown in FIG. 3, that is, the partial image area in each reference frame in the multi-frame reference frames includes Intra-encoded image area.
另外,为了避免模式切换过于频繁,可以加入一定的保护时间,如切换到A模式后,在N时间内不允许切换到B模式。其中,A模式为无反馈编码模式,B模式为反馈编码模式,或者,A模式为反馈编码模式,B模式为无反馈编码模式。N时间可以根据实际情况设置。这里,还可以设置双门限:切换到A模式后,在N1时间内不允许切换到B模式;切换到B模式后,在N2时间内不允许切换到A模式,满足多种应用场景需要。In addition, in order to avoid too frequent mode switching, a certain protection time can be added. For example, after switching to A mode, it is not allowed to switch to B mode within N time. Among them, the A mode is a feedback coding mode and the B mode is a feedback coding mode, or the A mode is a feedback coding mode and the B mode is a feedback coding mode. N time can be set according to the actual situation. Here, you can also set dual thresholds: after switching to A mode, it is not allowed to switch to B mode within N1 time; after switching to B mode, it is not allowed to switch to A mode within N2 time to meet the needs of multiple application scenarios.
可选地,所述根据所述反馈信息确定用于编码所述当前图像帧的参考帧,包括:Optionally, the determining a reference frame for encoding the current image frame according to the feedback information includes:
根据所述反馈信息确定已被正确传输的图像帧;Determine the image frame that has been correctly transmitted according to the feedback information;
根据所述已被正确传输的图像帧确定所述参考帧。The reference frame is determined according to the image frame that has been correctly transmitted.
可选地,所述反馈信息包括下列信息中的至少一种:Optionally, the feedback information includes at least one of the following information:
用于指示在所述反馈信息之前发送的最后一帧图像帧是否被正确传输的指示信息;Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted;
已被正确传输的图像帧的帧号;以及The frame number of the image frame that has been correctly transmitted; and
在所述反馈信息之前最后一帧被正确传输的图像帧的帧号。The frame number of the last image frame that was correctly transmitted before the feedback information.
其中,图像帧的帧号是全局唯一的,并且图像帧的帧号和编码数据一起发送给接收端。Among them, the frame number of the image frame is globally unique, and the frame number of the image frame and the encoded data are sent to the receiving end together.
示例性的,如图5所示,假设在当前图像帧(编号6)之前发送端已经向接收端发送了5个图像帧,对应编号依次为1-5,并且编号为2、3和4的图像帧被正确传输。反馈信息中包括已被正确传输的图像帧的帧号。此时,反馈信息具体可以为“234”。或者,反馈信息包括最后一帧已被正确传输的图像帧的帧号,此时,反馈信息可以为“4”,发送端中的图像处理设备根据反馈信息可以知道编号为5的图像帧未被成功传输。由此,发送端中的图像处理设备在编码编号为6的图像帧时,可以选择编号为4的图像帧为参考帧,或者选择编号为3和4的图像帧为参考帧。Exemplarily, as shown in Figure 5, suppose that the sending end has sent 5 image frames to the receiving end before the current image frame (number 6), the corresponding numbers are 1-5, and the numbers 2, 3, and 4 The image frame is transmitted correctly. The feedback information includes the frame number of the image frame that has been correctly transmitted. At this time, the feedback information may specifically be "234". Alternatively, the feedback information includes the frame number of the last image frame that has been correctly transmitted. At this time, the feedback information can be "4", and the image processing device at the sending end can know that the image frame number 5 has not been Successfully transferred. Therefore, when the image processing device at the sending end encodes the image frame number 6, it can select the image frame number 4 as the reference frame, or the image frames number 3 and 4 as the reference frame.
或者,假设在当前图像帧(编号9)之前,发送端已经向接收端发送了8 个图像帧,对应编号依次为1-8,并且接收端已经针对编号为1-5的图像帧进行过反馈。在此次反馈信息中只需要对编号为8的图像帧的传输状态进行反馈。反馈信息中包括用于指示编号为8的图像帧是否正确传输的指示位,假定指示位的值为“0”表示编号为8的图像帧未被正确传输,指示位的值为“1”表示编号为8的图像帧已被正确传输。如果指示位的值为1,发送端中的图像处理设备选择编号为8的图像帧作为参考帧,对编号为9的图像帧进行帧间编码。如果指示位的值为0,发送端中的图像处理设备可以确定编号为5的图像帧是否被正确传输,如果编号为5的图像帧被正确传输,选择编号为5的图像帧作为参考帧,对编号为9的图像帧进行帧间编码。Or, suppose that before the current image frame (number 9), the sending end has sent 8 image frames to the receiving end, the corresponding numbers are 1-8, and the receiving end has feedback on the image frames numbered 1-5 . In this feedback information, only the transmission state of the image frame number 8 needs to be fed back. The feedback information includes an indicator bit for indicating whether the image frame number 8 is correctly transmitted. Assuming that the value of the indicator bit is "0", it means that the image frame number 8 is not transmitted correctly, and the value of the indicator bit is "1". The image frame number 8 has been transmitted correctly. If the value of the indicator bit is 1, the image processing device at the sending end selects the image frame numbered 8 as the reference frame, and performs inter-frame coding on the image frame numbered 9. If the value of the indicator bit is 0, the image processing device at the sending end can determine whether the image frame number 5 is transmitted correctly, if the image frame number 5 is transmitted correctly, the image frame number 5 is selected as the reference frame, Perform inter-frame coding on the image frame numbered 9.
或者,进一步地,发送端中的图像处理设备将已被正确传输的图像帧中的至少一部分保存到参考帧管理队列中,发送端中的图像处理设备将参考帧管理队列中的图像帧,确定为参考帧。由此,每次接收到接收端发送的反馈信息时,根据反馈信息确定已被正确传输的图像帧,并更新参考帧管理队列。相对应地,接收端中的图像处理设备在确定已被正确传输的图像帧后,也将正确传输的图像帧中的至少一部分保存在参考帧管理队列中。发送端中的参考帧管理队列与接收端中的参考帧管理队列中保存的信息相同。Or, further, the image processing device in the sending end saves at least a part of the image frames that have been correctly transmitted in the reference frame management queue, and the image processing device in the sending end refers to the image frames in the frame management queue to determine For the reference frame. Therefore, each time the feedback information sent by the receiving end is received, the image frame that has been correctly transmitted is determined according to the feedback information, and the reference frame management queue is updated. Correspondingly, after determining the image frame that has been correctly transmitted, the image processing device in the receiving end also saves at least a part of the correctly transmitted image frame in the reference frame management queue. The reference frame management queue at the sending end is the same as the information stored in the reference frame management queue at the receiving end.
或者,发送端中的图像处理设备中包括用于存储所有编码数据对应的图像帧的物理或逻辑上的缓存,发送端中的图像处理设备可以只将已被正确传输的图像帧中的至少一部分对应的帧号保存到参考帧管理队列中,发送端中的图像处理设备将参考帧队列中的帧号对应的图像帧确定为参考帧。相对应地,接收端中的图像处理设备中包括用于存储所有解码数据对应的图像帧的物理或逻辑上的缓存,接收端中的图像处理设备可以将正确传输的图像帧中的至少一部分对应的帧号保存在参考帧管理队列中。Alternatively, the image processing device at the sending end includes a physical or logical buffer for storing all image frames corresponding to the encoded data, and the image processing device at the sending end may only store at least a part of the image frames that have been correctly transmitted The corresponding frame number is saved in the reference frame management queue, and the image processing device in the sending end determines the image frame corresponding to the frame number in the reference frame queue as the reference frame. Correspondingly, the image processing device in the receiving end includes a physical or logical buffer for storing all image frames corresponding to the decoded data, and the image processing device in the receiving end can correspond to at least a part of the image frames that are correctly transmitted The frame number is stored in the reference frame management queue.
本申请实施例中的发送端可以在任何合适的环境下移动,例如,空气中(例如,定翼飞机、旋翼飞机,或者没有定翼也没有旋翼的飞机)、水中(例如,轮船或潜水艇)、陆地上(例如,汽车或火车)、太空(例如,太空飞机、卫星或探测器),以及以上各种环境的任何组合。发送端可以是无人飞行器,例如无人机(Unmanned Aerial Vehicle,简称UAV)。在一些实施 例中,发送端可以承载生命体,例如,人或动物。The transmitter in the embodiments of the present application can move in any suitable environment, for example, in the air (for example, a fixed-wing aircraft, a rotary-wing aircraft, or an aircraft without fixed wings and no rotors), water (for example, a ship or a submarine) ), on land (for example, a car or train), space (for example, a space plane, satellite or probe), and any combination of the above various environments. The sending end may be an unmanned aerial vehicle, such as a UAV (Unmanned Aerial Vehicle, UAV for short). In some embodiments, the sending end may carry living bodies, such as humans or animals.
本申请实施例中的接收端可以是计算机、手持式电子设备、通讯设备、视频监控设备等。The receiving end in the embodiment of the present application may be a computer, a handheld electronic device, a communication device, a video monitoring device, etc.
本实施例提供的发送端的图像处理方法,发送端通过获取当前图像帧,检测发送端与接收端的无线上行通信链路的通信质量,根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧。即根据无线上行通信链路的通信质量自适应确定是否需要使用反馈编码模式,能够保证在无线上行通信链路质量较好时,采用反馈编码模式,在反馈链路质量较差时,采用无反馈编码模式,提高编码的灵活性,使得图像的编码模式匹配无线上行通信链路的通信质量,使得在图像传输错误时恢复及时,改善用户体验。In the image processing method at the transmitting end provided in this embodiment, the transmitting end detects the communication quality of the wireless uplink communication link between the transmitting end and the receiving end by acquiring the current image frame, and determines whether to determine whether to use for encoding according to the received feedback information according to the communication quality. The reference frame of the current image frame. That is, according to the communication quality of the wireless uplink communication link, it is adaptively determined whether to use the feedback coding mode, which can ensure that the feedback coding mode is used when the wireless uplink communication link quality is good, and when the feedback link quality is poor, no feedback is used. The coding mode improves the flexibility of coding, so that the coding mode of the image matches the communication quality of the wireless uplink communication link, so that it can recover in time when the image is transmitted incorrectly and improve the user experience.
以上结合图4和图5从发送端侧详细描述了根据本申请实施例的图像处理的方法,下面将结合图6从接收端侧详细描述根据本发明另一实施例的图像处理的方法。应理解,发送端侧描述的接收端与发送端的交互及相关特性、功能等与接收端侧的描述相应,为了简洁,适当省略重复的描述。The image processing method according to the embodiment of the present application is described in detail above with reference to FIGS. 4 and 5 from the sending end side, and the image processing method according to another embodiment of the present invention will be described in detail below from the receiving end side with reference to FIG. 6. It should be understood that the interaction between the receiving end and the sending end and related characteristics and functions described on the sending end side correspond to the description on the receiving end side, and repeated descriptions are appropriately omitted for brevity.
图6示出了本发明另一实施例的图像处理的方法,该方法可以由接收端中的图像处理设备执行,所述图像处理设备可以是各种类型的用于图像处理的芯片、图像处理器等。如图6所示,该方法包括:FIG. 6 shows an image processing method according to another embodiment of the present invention. The method may be executed by an image processing device in the receiving end, and the image processing device may be various types of chips for image processing and image processing.器等。 As shown in Figure 6, the method includes:
S601、检测发送端与所述接收端的无线上行通信链路的通信质量。S601: Detect the communication quality of the wireless uplink communication link between the sending end and the receiving end.
可选地,所述检测发送端与所述接收端的无线上行通信链路的通信质量,包括:Optionally, the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end includes:
获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
可选地,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。Optionally, the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
可选地,所述检测发送端与所述接收端的无线上行通信链路的通信质量,包括:Optionally, the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end includes:
获取所述发送端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Obtain the information indicating the communication quality sent by the sending end, and determine the communication quality according to the information indicating the communication quality.
S602、根据所述通信质量确定是否通过所述无线上行通信链路发送反 馈信息,其中,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态和指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧。S602. Determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate the size of the image frame sent by the sending end to the receiving end before the feedback information. Transmission status and instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information.
可选地,所述根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息,包括:Optionally, the determining whether to send feedback information through the wireless uplink communication link according to the communication quality includes:
当所述通信质量高于或等于预设通信质量阈值时,通过所述无线上行通信链路发送所述反馈信息;When the communication quality is higher than or equal to a preset communication quality threshold, sending the feedback information through the wireless uplink communication link;
否则,不发送所述反馈信息。Otherwise, the feedback information is not sent.
可选地,所述反馈信息用于指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧,包括:Optionally, the feedback information is used to instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information, including:
所述反馈信息用于指示所述发送端根据所述反馈信息确定已被正确传输的图像帧;根据所述已被正确传输的图像帧确定所述参考帧。The feedback information is used to instruct the sending end to determine the image frame that has been correctly transmitted according to the feedback information; determine the reference frame according to the image frame that has been correctly transmitted.
可选地,所述反馈信息包括下列信息中的至少一种:Optionally, the feedback information includes at least one of the following information:
用于指示在所述反馈信息之前发送的最后一帧图像帧是否被正确传输的指示信息;Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted;
已被正确传输的图像帧的帧号;以及The frame number of the image frame that has been correctly transmitted; and
在所述反馈信息之前最后一帧被正确传输的图像帧的帧号。The frame number of the last image frame that was correctly transmitted before the feedback information.
可选地,所述发送端为无人飞行器。Optionally, the sending end is an unmanned aerial vehicle.
本实施例提供的接收端的图像处理方法,接收端通过检测发送端与接收端的无线上行通信链路的通信质量,根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息,其中,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态和指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧。即根据无线上行通信链路的通信质量自适应确定是否发送反馈信息至发送端,以使发送端确定是否需要使用反馈编码模式,使得图像的编码模式匹配无线上行通信链路的通信质量,使得在图像传输错误时恢复及时,改善用户体验。In the image processing method at the receiving end provided in this embodiment, the receiving end detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, and determines whether to send feedback information through the wireless uplink communication link according to the communication quality, wherein: The feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information and to instruct the sending end to use when determining to encode the current image frame according to the feedback information Reference frame. That is, according to the communication quality of the wireless uplink communication link, it is adaptively determined whether to send feedback information to the sending end, so that the sending end can determine whether the feedback coding mode needs to be used, so that the coding mode of the image matches the communication quality of the wireless uplink communication link, so that the When the image transmission error occurs, it can be restored in time to improve the user experience.
图7示出了本发明再一实施例的图像处理的方法,如图7所示,该方法包括:Fig. 7 shows an image processing method according to still another embodiment of the present invention. As shown in Fig. 7, the method includes:
S701、发送端向接收端发送图像帧。S701. The sending end sends an image frame to the receiving end.
S702、接收端根据图像帧的传输状态,生成反馈信息。S702. The receiving end generates feedback information according to the transmission state of the image frame.
S703、接收端向发送端发送上述反馈信息。S703. The receiving end sends the foregoing feedback information to the sending end.
S704、发送端检测发送端与接收端的无线上行通信链路的通信质量。S704. The sending end detects the communication quality of the wireless uplink communication link between the sending end and the receiving end.
S705、当通信质量高于或等于预设通信质量阈值时,发送端根据上述反馈信息确定用于编码当前图像帧的参考帧。S705: When the communication quality is higher than or equal to the preset communication quality threshold, the sending end determines a reference frame for encoding the current image frame according to the foregoing feedback information.
示例性的,发送端可以进一步根据上述参考帧对当前图像帧进行帧间编码,以生成编码数据,并向接收端发送上述编码数据。接收端可以根据上述参考帧对上述编码数据进行帧间解码,以生成解码数据,并根据该解码数据显示当前图像帧。Exemplarily, the sending end may further perform inter-frame encoding on the current image frame according to the aforementioned reference frame to generate encoded data, and send the aforementioned encoded data to the receiving end. The receiving end may perform inter-frame decoding on the encoded data according to the reference frame to generate decoded data, and display the current image frame according to the decoded data.
S706、当通信质量小于预设通信质量阈值时,发送端根据预设的帧数间隔确定用于编码当前图像帧的一帧或者多帧参考帧,其中,所述参考帧中包括基于帧内编码的图像区域。S706. When the communication quality is less than the preset communication quality threshold, the sending end determines one or more reference frames for encoding the current image frame according to the preset frame number interval, where the reference frames include intra-frame encoding Image area.
同理,发送端可以进一步根据上述参考帧对当前图像帧进行帧内编码,以生成编码数据,并向接收端发送上述编码数据。接收端可以根据上述参考帧对上述编码数据进行帧内解码,以生成解码数据,并根据该解码数据显示当前图像帧。In the same way, the sending end may further perform intra-frame encoding on the current image frame according to the aforementioned reference frame to generate encoded data, and send the aforementioned encoded data to the receiving end. The receiving end may perform intra-frame decoding on the encoded data according to the reference frame to generate decoded data, and display the current image frame according to the decoded data.
可以理解的是,上述图7中接收端与发送端之间的交互及相关特性、功能等方法与上述图4中的描述相对应,为了简洁,在此不再赘述。It is understandable that the interaction between the receiving end and the sending end in the foregoing FIG. 7 and related characteristics, functions and other methods correspond to the description in the foregoing FIG. 4, and for the sake of brevity, details are not described herein again.
以上描述了根据本申请实施例的图像处理方法,以下将描述根据本申请实施例的图像处理设备。但应理解,以下描述的图像处理设备可以实现以上的图像处理方法,为了避免重复,以下将简洁描述。The image processing method according to the embodiment of the present application is described above, and the image processing device according to the embodiment of the present application will be described below. However, it should be understood that the image processing device described below can implement the above image processing method. In order to avoid repetition, the following will be described briefly.
图8为本申请实施例提供的发送端的图像处理设备的结构示意图。为了便于说明,仅示出了与本申请实施例相关的部分。如图8所示,该图像处理设备80包括:图像帧获取模块801、第一质量检测模块802和参考帧确定模块803。FIG. 8 is a schematic structural diagram of an image processing device at the sending end provided by an embodiment of the application. For ease of description, only parts related to the embodiments of the present application are shown. As shown in FIG. 8, the image processing device 80 includes: an image frame acquisition module 801, a first quality detection module 802, and a reference frame determination module 803.
其中,图像帧获取模块801,用于获取当前图像帧。Among them, the image frame acquisition module 801 is used to acquire the current image frame.
第一质量检测模块802,用于检测所述发送端与接收端的无线上行通信链路的通信质量。The first quality detection module 802 is configured to detect the communication quality of the wireless uplink communication link between the sending end and the receiving end.
参考帧确定模块803,用于根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,其中,所述反馈信息是由 所述接收端通过所述无线上行通信链路向所述发送端发送的,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态。The reference frame determining module 803 is configured to determine, according to the communication quality, whether to determine a reference frame used to encode the current image frame according to received feedback information, wherein the feedback information is transmitted by the receiving end through the wireless uplink The feedback information is sent by the communication link to the sending end, and the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
在一种可能的设计中,所述参考帧确定模块803具体用于:In a possible design, the reference frame determining module 803 is specifically configured to:
当所述通信质量高于或等于预设通信质量阈值时,根据接收的反馈信息确定用于编码所述当前图像帧的参考帧。When the communication quality is higher than or equal to the preset communication quality threshold, the reference frame used for encoding the current image frame is determined according to the received feedback information.
在一种可能的设计中,所述参考帧确定模块803具体用于:In a possible design, the reference frame determining module 803 is specifically configured to:
当所述通信质量小于所述预设通信质量阈值时,根据预设的帧数间隔确定用于编码所述当前图像帧的一帧或者多帧参考帧,其中,所述参考帧中包括基于帧内编码的图像区域。When the communication quality is less than the preset communication quality threshold, one or more reference frames for encoding the current image frame are determined according to the preset frame number interval, wherein the reference frames include frame-based Inner coded image area.
在一种可能的设计中,所述参考帧确定模块803根据所述反馈信息确定用于编码所述当前图像帧的参考帧,包括:In a possible design, the reference frame determining module 803 determines the reference frame used to encode the current image frame according to the feedback information, including:
根据所述反馈信息确定已被正确传输的图像帧;Determine the image frame that has been correctly transmitted according to the feedback information;
根据所述已被正确传输的图像帧确定所述参考帧。The reference frame is determined according to the image frame that has been correctly transmitted.
在一种可能的设计中,所述第一质量检测模块802具体用于:In a possible design, the first quality detection module 802 is specifically configured to:
获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
在一种可能的设计中,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。In a possible design, the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
在一种可能的设计中,所述第一质量检测模块802具体用于:In a possible design, the first quality detection module 802 is specifically configured to:
获取所述接收端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Acquiring the information indicating the communication quality sent by the receiving end, and determining the communication quality according to the information indicating the communication quality.
在一种可能的设计中,所述发送端为无人飞行器。In one possible design, the sending end is an unmanned aerial vehicle.
本申请实施例提供的设备,可用于执行上述图4方法实施例的技术方案,其实现原理和技术效果类似,本申请实施例此处不再赘述。The device provided in the embodiment of the present application can be used to implement the technical solution of the method embodiment in FIG. 4, and its implementation principles and technical effects are similar, and the details of the embodiment of the present application are not repeated here.
图9为本申请实施例提供的接收端的图像处理设备的结构示意图。为了便于说明,仅示出了与本申请实施例相关的部分。如图9所示,该图像处理设备90包括:第二质量检测模块901和信息确定模块902。FIG. 9 is a schematic structural diagram of an image processing device at a receiving end according to an embodiment of the application. For ease of description, only parts related to the embodiments of the present application are shown. As shown in FIG. 9, the image processing device 90 includes: a second quality detection module 901 and an information determination module 902.
其中,第二质量检测模块901,用于检测发送端与所述接收端的无线上行通信链路的通信质量;Wherein, the second quality detection module 901 is configured to detect the communication quality of the wireless uplink communication link between the sending end and the receiving end;
信息确定模块902,用于根据所述通信质量确定是否通过所述无线上 行通信链路发送反馈信息,其中,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态和指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧。The information determining module 902 is configured to determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate that the sending end sends the feedback information to the receiving end before the feedback information. The transmission status of the sent image frame and instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information.
在一种可能的设计中,所述信息确定模块902具体用于:In a possible design, the information determining module 902 is specifically configured to:
当所述通信质量高于或等于预设通信质量阈值时,通过所述无线上行通信链路发送所述反馈信息;When the communication quality is higher than or equal to a preset communication quality threshold, sending the feedback information through the wireless uplink communication link;
否则,不发送所述反馈信息。Otherwise, the feedback information is not sent.
在一种可能的设计中,所述反馈信息包括下列信息中的至少一种:In a possible design, the feedback information includes at least one of the following information:
用于指示在所述反馈信息之前发送的最后一帧图像帧是否被正确传输的指示信息;Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted;
已被正确传输的图像帧的帧号;以及The frame number of the image frame that has been correctly transmitted; and
在所述反馈信息之前最后一帧被正确传输的图像帧的帧号。The frame number of the last image frame that was correctly transmitted before the feedback information.
在一种可能的设计中,所述第二质量检测模块901具体用于:In a possible design, the second quality detection module 901 is specifically configured to:
获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
在一种可能的设计中,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。In a possible design, the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
在一种可能的设计中,所述第二质量检测模块901具体用于:In a possible design, the second quality detection module 901 is specifically configured to:
获取所述发送端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Obtain the information indicating the communication quality sent by the sending end, and determine the communication quality according to the information indicating the communication quality.
在一种可能的设计中,所述发送端为无人飞行器In a possible design, the sending end is an unmanned aerial vehicle
本申请实施例提供的设备,可用于执行上述图6方法实施例的技术方案,其实现原理和技术效果类似,本申请实施例此处不再赘述。The device provided in the embodiment of the present application can be used to implement the technical solution of the method embodiment in FIG. 6 above, and its implementation principles and technical effects are similar, and the details of the embodiment of the present application are not repeated here.
图10为本申请实施例提供的发送端的图像处理设备的硬件结构示意图。如图10所示,本实施例的图像处理设备100包括:处理器1001以及存储器1002;其中FIG. 10 is a schematic diagram of the hardware structure of the image processing device at the sending end according to an embodiment of the application. As shown in FIG. 10, the image processing device 100 of this embodiment includes: a processor 1001 and a memory 1002;
存储器1002,用于存储程序指令;The memory 1002 is used to store program instructions;
处理器1001,用于执行存储器存储的程序指令,当所述程序指令被执行时,处理器执行如下步骤:The processor 1001 is configured to execute program instructions stored in the memory. When the program instructions are executed, the processor executes the following steps:
获取当前图像帧;Get the current image frame;
检测所述发送端与接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,其中,所述反馈信息是由所述接收端通过所述无线上行通信链路向所述发送端发送的,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态。It is determined according to the communication quality whether to determine the reference frame used to encode the current image frame according to the received feedback information, wherein the feedback information is transmitted from the receiving end to the transmitting end via the wireless uplink communication link. If sent, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
可选地,所述处理器根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧时,具体用于:Optionally, when the processor determines whether to determine a reference frame for encoding the current image frame according to the received feedback information according to the communication quality, it is specifically configured to:
当所述通信质量高于或等于预设通信质量阈值时,根据接收的反馈信息确定用于编码所述当前图像帧的参考帧。When the communication quality is higher than or equal to the preset communication quality threshold, the reference frame used for encoding the current image frame is determined according to the received feedback information.
可选地,所述处理器根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧时,具体用于:Optionally, when the processor determines whether to determine a reference frame for encoding the current image frame according to the received feedback information according to the communication quality, it is specifically configured to:
当所述通信质量小于所述预设通信质量阈值时,根据预设的帧数间隔确定用于编码所述当前图像帧的一帧或者多帧参考帧,其中,所述参考帧中包括基于帧内编码的图像区域。When the communication quality is less than the preset communication quality threshold, one or more reference frames for encoding the current image frame are determined according to the preset frame number interval, wherein the reference frames include frame-based Inner coded image area.
可选地,所述处理器根据所述反馈信息确定用于编码所述当前图像帧的参考帧时,具体用于:Optionally, when the processor determines a reference frame for encoding the current image frame according to the feedback information, it is specifically configured to:
根据所述反馈信息确定已被正确传输的图像帧;Determine the image frame that has been correctly transmitted according to the feedback information;
根据所述已被正确传输的图像帧确定所述参考帧。The reference frame is determined according to the image frame that has been correctly transmitted.
可选地,所述处理器检测所述发送端与接收端的无线上行通信链路的通信质量时,具体用于:Optionally, when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
可选地,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。Optionally, the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
可选地,所述处理器检测所述发送端与接收端的无线上行通信链路的通信质量时,具体用于:Optionally, when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
获取所述接收端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Acquiring the information indicating the communication quality sent by the receiving end, and determining the communication quality according to the information indicating the communication quality.
可选地,所述发送端为无人飞行器。Optionally, the sending end is an unmanned aerial vehicle.
可选地,存储器1002既可以是独立的,也可以跟处理器1001集成在一起。Optionally, the memory 1002 may be independent or integrated with the processor 1001.
当存储器1002独立设置时,该图像处理设备还包括总线1003,用于连接所述存储器1002和处理器1001。When the memory 1002 is independently provided, the image processing device further includes a bus 1003 for connecting the memory 1002 and the processor 1001.
图11为本申请实施例提供的发送端的图像处理设备的硬件结构示意图。如图11所示,本申请实施例还提供接收端的图像处理设备110,包括:处理器1101以及存储器1102;其中FIG. 11 is a schematic diagram of the hardware structure of the image processing device at the sending end according to an embodiment of the application. As shown in FIG. 11, an embodiment of the present application further provides an image processing device 110 at the receiving end, including: a processor 1101 and a memory 1102; where
存储器1102,用于存储程序指令;The memory 1102 is used to store program instructions;
处理器1101,用于执行存储器存储的程序指令,当所述程序指令被执行时,处理器执行如下步骤:The processor 1101 is configured to execute program instructions stored in the memory. When the program instructions are executed, the processor executes the following steps:
检测发送端与所述接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息,其中,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态和指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧。Determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information And instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information.
可选地,所述处理器根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息时,具体用于:Optionally, when the processor determines whether to send feedback information through the wireless uplink communication link according to the communication quality, it is specifically configured to:
当所述通信质量高于或等于预设通信质量阈值时,通过所述无线上行通信链路发送所述反馈信息;When the communication quality is higher than or equal to a preset communication quality threshold, sending the feedback information through the wireless uplink communication link;
否则,不发送所述反馈信息。Otherwise, the feedback information is not sent.
可选地,所述反馈信息包括下列信息中的至少一种:Optionally, the feedback information includes at least one of the following information:
用于指示在所述反馈信息之前发送的最后一帧图像帧是否被正确传输的指示信息;Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted;
已被正确传输的图像帧的帧号;以及The frame number of the image frame that has been correctly transmitted; and
在所述反馈信息之前最后一帧被正确传输的图像帧的帧号。The frame number of the last image frame that was correctly transmitted before the feedback information.
可选地,所述处理器检测发送端与所述接收端的无线上行通信链路的通信质量时,具体用于:Optionally, when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
可选地,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。Optionally, the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
可选地,所述处理器检测发送端与所述接收端的无线上行通信链路的 通信质量时,具体用于:Optionally, when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
获取所述发送端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Obtain the information indicating the communication quality sent by the sending end, and determine the communication quality according to the information indicating the communication quality.
可选地,所述发送端为无人飞行器。Optionally, the sending end is an unmanned aerial vehicle.
可选地,存储器1102既可以是独立的,也可以跟处理器1101集成在一起。Optionally, the memory 1102 may be independent or integrated with the processor 1101.
当存储器1102独立设置时,该图像处理设备还包括总线1103,用于连接所述存储器1102和处理器1101。When the memory 1102 is independently provided, the image processing device further includes a bus 1103 for connecting the memory 1102 and the processor 1101.
图12是根据本申请实施例的无人飞行器的结构示意图。如图12所示,无人飞行器120包括图10所示的图像处理设备100。Fig. 12 is a schematic structural diagram of an unmanned aerial vehicle according to an embodiment of the present application. As shown in FIG. 12, the UAV 120 includes the image processing device 100 shown in FIG.
另外,无人飞行器120也可以包括图11所示的图像处理设备110。In addition, the UAV 120 may also include the image processing device 110 shown in FIG. 11.
图13是根据本申请实施例的接收端的示意性框图。如图13所示,接收端130包括图11所示的图像处理设备110。Fig. 13 is a schematic block diagram of a receiving end according to an embodiment of the present application. As shown in FIG. 13, the receiving end 130 includes the image processing device 110 shown in FIG.
另外,接收端130也可以包括图10所示的图像处理设备100。In addition, the receiving end 130 may also include the image processing device 100 shown in FIG. 10.
本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有程序指令,当处理器执行所述程序指令时,实现如上所述的发送端的图像处理方法。An embodiment of the present application provides a computer-readable storage medium that stores program instructions, and when a processor executes the program instructions, the image processing method at the sending end as described above is implemented.
本申请实施例还提供另一种计算机可读存储介质,所述计算机可读存储介质中存储有程序指令,当处理器执行所述程序指令时,实现如上所述的接收端的图像处理方法。The embodiments of the present application also provide another computer-readable storage medium, the computer-readable storage medium stores program instructions, and when the processor executes the program instructions, the image processing method at the receiving end as described above is realized.
在本发明所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的 部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述模块成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional modules in the various embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules may be integrated into one unit. The units formed by the above-mentioned modules can be realized in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。The above-mentioned integrated modules implemented in the form of software function modules may be stored in a computer readable storage medium. The above-mentioned software function module is stored in a storage medium and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application Part of the method.
应理解,上述处理器可以是中央处理单元(Central Processing Unit,简称CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the above-mentioned processor may be a central processing unit (Central Processing Unit, CPU for short), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and application specific integrated circuits (Application Specific Integrated Circuits). Referred to as ASIC) and so on. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with the invention can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage, and may also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
总线可以是工业标准体系结构(Industry Standard Architecture,简称ISA)总线、外部设备互连(Peripheral Component,简称PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an Industry Standard Architecture (ISA) bus, Peripheral Component (PCI) bus, or Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, the buses in the drawings of this application are not limited to only one bus or one type of bus.
上述存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。存储介质可以是通用或专用计算机能够存取的任何可用介质。The above-mentioned storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Except for programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disks or optical disks. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介 质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于专用集成电路(Application Specific Integrated Circuits,简称ASIC)中。当然,处理器和存储介质也可以作为分立组件存在于电子设备或主控设备中。An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in Application Specific Integrated Circuits (ASIC for short). Of course, the processor and the storage medium may also exist as discrete components in the electronic device or the main control device.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware. The aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention range.

Claims (34)

  1. 一种发送端的图像处理方法,其特征在于,包括:An image processing method at the sending end, characterized in that it comprises:
    获取当前图像帧;Get the current image frame;
    检测所述发送端与接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
    根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,其中,所述反馈信息是由所述接收端通过所述无线上行通信链路向所述发送端发送的,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态。It is determined according to the communication quality whether to determine the reference frame used to encode the current image frame according to the received feedback information, wherein the feedback information is transmitted from the receiving end to the transmitting end via the wireless uplink communication link. If sent, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,包括:The method according to claim 1, wherein the determining whether to determine a reference frame for encoding the current image frame according to the received feedback information according to the communication quality comprises:
    当所述通信质量高于或等于预设通信质量阈值时,根据接收的反馈信息确定用于编码所述当前图像帧的参考帧。When the communication quality is higher than or equal to the preset communication quality threshold, the reference frame used for encoding the current image frame is determined according to the received feedback information.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,包括:The method according to claim 2, wherein the determining according to the communication quality whether to determine a reference frame for encoding the current image frame according to received feedback information comprises:
    当所述通信质量小于所述预设通信质量阈值时,根据预设的帧数间隔确定用于编码所述当前图像帧的一帧或者多帧参考帧,其中,所述参考帧中包括基于帧内编码的图像区域。When the communication quality is less than the preset communication quality threshold, one or more reference frames for encoding the current image frame are determined according to the preset frame number interval, wherein the reference frames include frame-based Inner coded image area.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述根据所述反馈信息确定用于编码所述当前图像帧的参考帧,包括:The method according to any one of claims 1 to 3, wherein the determining a reference frame for encoding the current image frame according to the feedback information comprises:
    根据所述反馈信息确定已被正确传输的图像帧;Determine the image frame that has been correctly transmitted according to the feedback information;
    根据所述已被正确传输的图像帧确定所述参考帧。The reference frame is determined according to the image frame that has been correctly transmitted.
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述检测所述发送端与接收端的无线上行通信链路的通信质量,包括:The method according to any one of claims 1 to 4, wherein the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end comprises:
    获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
    根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
  6. 根据权利要求5所述的方法,其特征在于,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。The method according to claim 5, wherein the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  7. 根据权利要求1-4中任一项所述的方法,其特征在于,所述检测所 述发送端与接收端的无线上行通信链路的通信质量,包括:The method according to any one of claims 1 to 4, wherein the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end comprises:
    获取所述接收端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Acquiring the information indicating the communication quality sent by the receiving end, and determining the communication quality according to the information indicating the communication quality.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述发送端为无人飞行器。The method according to any one of claims 1-7, wherein the sending end is an unmanned aerial vehicle.
  9. 一种接收端中的图像处理方法,其特征在于,包括:An image processing method in a receiving end, characterized in that it comprises:
    检测发送端与所述接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
    根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息,其中,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态和指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧。Determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information And instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information.
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息,包括:The method according to claim 9, wherein the determining whether to send feedback information through the wireless uplink communication link according to the communication quality comprises:
    当所述通信质量高于或等于预设通信质量阈值时,通过所述无线上行通信链路发送所述反馈信息;When the communication quality is higher than or equal to a preset communication quality threshold, sending the feedback information through the wireless uplink communication link;
    否则,不发送所述反馈信息。Otherwise, the feedback information is not sent.
  11. 根据权利要求9或10所述的方法,其特征在于,所述反馈信息包括下列信息中的至少一种:The method according to claim 9 or 10, wherein the feedback information includes at least one of the following information:
    用于指示在所述反馈信息之前发送的最后一帧图像帧是否被正确传输的指示信息;Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted;
    已被正确传输的图像帧的帧号;以及The frame number of the image frame that has been correctly transmitted; and
    在所述反馈信息之前最后一帧被正确传输的图像帧的帧号。The frame number of the last image frame that was correctly transmitted before the feedback information.
  12. 根据权利要求9-11中任一项所述的方法,其特征在于,所述检测发送端与所述接收端的无线上行通信链路的通信质量,包括:The method according to any one of claims 9-11, wherein the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end comprises:
    获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
    根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
  13. 根据权利要求12所述的方法,其特征在于,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。The method according to claim 12, wherein the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  14. 根据权利要求9-11中任一项所述的方法,其特征在于,所述检测发送端与所述接收端的无线上行通信链路的通信质量,包括:The method according to any one of claims 9-11, wherein the detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end comprises:
    获取所述发送端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Obtain the information indicating the communication quality sent by the sending end, and determine the communication quality according to the information indicating the communication quality.
  15. 根据权利要求9-14中任一项所述的方法,其特征在于,所述发送端为无人飞行器。The method according to any one of claims 9-14, wherein the sending end is an unmanned aerial vehicle.
  16. 一种发送端的图像处理设备,其特征在于,包括存储器、处理器,其中,An image processing device at a sending end, which is characterized by comprising a memory and a processor, wherein:
    所述存储器,用于存储程序指令;The memory is used to store program instructions;
    所述处理器,用于执行所述程序指令,当所述程序指令被执行时,处理器执行如下步骤:The processor is configured to execute the program instructions, and when the program instructions are executed, the processor executes the following steps:
    获取当前图像帧;Get the current image frame;
    检测所述发送端与接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
    根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧,其中,所述反馈信息是由所述接收端通过所述无线上行通信链路向所述发送端发送的,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态。It is determined according to the communication quality whether to determine the reference frame used to encode the current image frame according to the received feedback information, wherein the feedback information is transmitted from the receiving end to the transmitting end via the wireless uplink communication link. If sent, the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information.
  17. 根据权利要求16所述的设备,其特征在于,所述处理器根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧时,具体用于:The device according to claim 16, wherein when the processor determines whether to determine a reference frame for encoding the current image frame according to the received feedback information according to the communication quality, it is specifically configured to:
    当所述通信质量高于或等于预设通信质量阈值时,根据接收的反馈信息确定用于编码所述当前图像帧的参考帧。When the communication quality is higher than or equal to the preset communication quality threshold, the reference frame used for encoding the current image frame is determined according to the received feedback information.
  18. 根据权利要求17所述的设备,其特征在于,所述处理器根据所述通信质量确定是否根据接收的反馈信息确定用于编码所述当前图像帧的参考帧时,具体用于:The device according to claim 17, wherein when the processor determines whether to determine a reference frame for encoding the current image frame according to the received feedback information according to the communication quality, it is specifically configured to:
    当所述通信质量小于所述预设通信质量阈值时,根据预设的帧数间隔确定用于编码所述当前图像帧的一帧或者多帧参考帧,其中,所述参考帧中包括基于帧内编码的图像区域。When the communication quality is less than the preset communication quality threshold, one or more reference frames for encoding the current image frame are determined according to the preset frame number interval, wherein the reference frames include frame-based Inner coded image area.
  19. 根据权利要求16-18中任一项中所述的设备,其特征在于,所述处理器根据所述反馈信息确定用于编码所述当前图像帧的参考帧时,具体用于:The device according to any one of claims 16-18, wherein when the processor determines the reference frame used to encode the current image frame according to the feedback information, it is specifically configured to:
    根据所述反馈信息确定已被正确传输的图像帧;Determine the image frame that has been correctly transmitted according to the feedback information;
    根据所述已被正确传输的图像帧确定所述参考帧。The reference frame is determined according to the image frame that has been correctly transmitted.
  20. 根据权利要求16-19中任一项所述的设备,其特征在于,所述处理器检测所述发送端与接收端的无线上行通信链路的通信质量时,具体用于:The device according to any one of claims 16-19, wherein when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
    获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
    根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
  21. 根据权利要求20所述的设备,其特征在于,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。The device according to claim 20, wherein the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  22. 根据权利要求16-19中任一项所述的设备,其特征在于,所述处理器检测所述发送端与接收端的无线上行通信链路的通信质量时,具体用于:The device according to any one of claims 16-19, wherein when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
    获取所述接收端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Acquiring the information indicating the communication quality sent by the receiving end, and determining the communication quality according to the information indicating the communication quality.
  23. 根据权利要求16-22中任一项所述的设备,其特征在于,所述发送端为无人飞行器。The device according to any one of claims 16-22, wherein the sending end is an unmanned aerial vehicle.
  24. 一种无人飞行器,其特征在于,包括权利要求16-23中任一项所述的发送端的图像处理设备。An unmanned aerial vehicle, characterized by comprising the image processing equipment at the transmitting end according to any one of claims 16-23.
  25. 一种接收端中的图像处理设备,其特征在于,包括存储器、处理器,其中,An image processing device in a receiving end, which is characterized by comprising a memory and a processor, wherein:
    所述存储器,用于存储程序指令;The memory is used to store program instructions;
    所述处理器,用于执行所述程序指令,当所述程序指令被执行时,处理器执行如下步骤:The processor is configured to execute the program instructions, and when the program instructions are executed, the processor executes the following steps:
    检测发送端与所述接收端的无线上行通信链路的通信质量;Detecting the communication quality of the wireless uplink communication link between the sending end and the receiving end;
    根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息,其中,所述反馈信息用于指示在所述反馈信息之前所述发送端向所述接收端发送的图像帧的传输状态和指示所述发送端根据所述反馈信息确定对当前图像帧进行编码时采用的参考帧。Determine whether to send feedback information through the wireless uplink communication link according to the communication quality, where the feedback information is used to indicate the transmission status of the image frame sent by the sending end to the receiving end before the feedback information And instruct the sending end to determine the reference frame used when encoding the current image frame according to the feedback information.
  26. 根据权利要求25所述的设备,其特征在于,所述处理器根据所述通信质量确定是否通过所述无线上行通信链路发送反馈信息时,具体用于:The device according to claim 25, wherein when the processor determines whether to send feedback information through the wireless uplink communication link according to the communication quality, the processor is specifically configured to:
    当所述通信质量高于或等于预设通信质量阈值时,通过所述无线上行 通信链路发送所述反馈信息;When the communication quality is higher than or equal to a preset communication quality threshold, sending the feedback information through the wireless uplink communication link;
    否则,不发送所述反馈信息。Otherwise, the feedback information is not sent.
  27. 根据权利要求25或26所述的设备,其特征在于,所述反馈信息包括下列信息中的至少一种:The device according to claim 25 or 26, wherein the feedback information includes at least one of the following information:
    用于指示在所述反馈信息之前发送的最后一帧图像帧是否被正确传输的指示信息;Indication information used to indicate whether the last image frame sent before the feedback information is correctly transmitted;
    已被正确传输的图像帧的帧号;以及The frame number of the image frame that has been correctly transmitted; and
    在所述反馈信息之前最后一帧被正确传输的图像帧的帧号。The frame number of the last image frame that was correctly transmitted before the feedback information.
  28. 根据权利要求25-27中任一项所述的设备,其特征在于,所述处理器检测发送端与所述接收端的无线上行通信链路的通信质量时,具体用于:The device according to any one of claims 25-27, wherein when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
    获取所述无线上行通信链路的通信状态信息;Acquiring communication state information of the wireless uplink communication link;
    根据所述通信状态信息确定所述通信质量。The communication quality is determined according to the communication status information.
  29. 根据权利要求28所述的设备,其特征在于,所述通信状态信息包括带宽、误码率、信噪比、接收信号强度中的一种或多种。The device according to claim 28, wherein the communication status information includes one or more of bandwidth, bit error rate, signal-to-noise ratio, and received signal strength.
  30. 根据权利要求25-27中任一项所述的设备,其特征在于,所述处理器检测发送端与所述接收端的无线上行通信链路的通信质量时,具体用于:The device according to any one of claims 25-27, wherein when the processor detects the communication quality of the wireless uplink communication link between the sending end and the receiving end, it is specifically configured to:
    获取所述发送端发送的用于指示所述通信质量的信息,根据所述指示所述通信质量的信息确定所述通信质量。Obtain the information indicating the communication quality sent by the sending end, and determine the communication quality according to the information indicating the communication quality.
  31. 根据权利要求25-30中任一项所述的设备,其特征在于,所述发送端为无人飞行器。The device according to any one of claims 25-30, wherein the sending end is an unmanned aerial vehicle.
  32. 一种接收端,其特征在于,包括权利要求25-31中任一项所述的接收端中的图像处理设备。A receiving end, characterized by comprising the image processing device in the receiving end according to any one of claims 25-31.
  33. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序指令,当处理器执行所述程序指令时,实现如权利要求1-8任一项所述的发送端的图像处理方法。A computer-readable storage medium, wherein program instructions are stored in the computer-readable storage medium, and when the processor executes the program instructions, the sending end of any one of claims 1-8 is implemented. Image processing method.
  34. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序指令,当处理器执行所述程序指令时,实现如权利要求9-15中任一项所述的接收端中的图像处理方法。A computer-readable storage medium, wherein program instructions are stored in the computer-readable storage medium, and when the processor executes the program instructions, the receiving device according to any one of claims 9-15 is realized. Image processing method in the terminal.
PCT/CN2019/093862 2019-06-28 2019-06-28 Image processing method, device, unmanned aerial vehicle, and receiving end WO2020258296A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980012207.1A CN111713107A (en) 2019-06-28 2019-06-28 Image processing method and device, unmanned aerial vehicle and receiving end
PCT/CN2019/093862 WO2020258296A1 (en) 2019-06-28 2019-06-28 Image processing method, device, unmanned aerial vehicle, and receiving end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/093862 WO2020258296A1 (en) 2019-06-28 2019-06-28 Image processing method, device, unmanned aerial vehicle, and receiving end

Publications (1)

Publication Number Publication Date
WO2020258296A1 true WO2020258296A1 (en) 2020-12-30

Family

ID=72536738

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/093862 WO2020258296A1 (en) 2019-06-28 2019-06-28 Image processing method, device, unmanned aerial vehicle, and receiving end

Country Status (2)

Country Link
CN (1) CN111713107A (en)
WO (1) WO2020258296A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113796028A (en) * 2020-09-29 2021-12-14 深圳市大疆创新科技有限公司 Interference processing method, interference processing device and control equipment
WO2022174431A1 (en) * 2021-02-20 2022-08-25 深圳市大疆创新科技有限公司 Image transmission method, mobile platform, device, and computer readable storage medium
CN113573063A (en) * 2021-06-16 2021-10-29 百果园技术(新加坡)有限公司 Video coding and decoding method and device
CN115426442B (en) * 2022-08-11 2023-06-27 无锡盈达聚力科技有限公司 Optical information collector and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360243A (en) * 2008-09-24 2009-02-04 腾讯科技(深圳)有限公司 Video communication system and method based on feedback reference frame
US20120219073A1 (en) * 2008-04-07 2012-08-30 Qualcomm Incorporated Video refresh adaptation algorithms responsive to error feedback
CN103430538A (en) * 2011-02-24 2013-12-04 斯凯普公司 Feedback based reference frame selection for video coding
CN104702922A (en) * 2013-12-10 2015-06-10 中国电信股份有限公司 Method and system for transmitting video
US20160007045A1 (en) * 2007-12-05 2016-01-07 Sony Computer Entertainment America Llc System and Method for Utilizig Forward Error Correction With Video Compression
CN107113441A (en) * 2016-12-30 2017-08-29 深圳市大疆创新科技有限公司 Image processing method, device, unmanned vehicle and receiving terminal
CN107734332A (en) * 2016-07-06 2018-02-23 上海兆言网络科技有限公司 Reference frame management method and apparatus for video communication
CN109936746A (en) * 2016-12-30 2019-06-25 深圳市大疆创新科技有限公司 Image processing method and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4659838B2 (en) * 2005-01-10 2011-03-30 株式会社エヌ・ティ・ティ・ドコモ Device for predictively coding a sequence of frames
WO2013158293A1 (en) * 2012-04-19 2013-10-24 Vid Scale, Inc. System and method for error-resilient video coding
CN112492118B (en) * 2018-06-21 2023-11-17 深圳市道通智能航空技术股份有限公司 Data transmission control method, information sending end, information receiving end and aircraft image transmission system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160007045A1 (en) * 2007-12-05 2016-01-07 Sony Computer Entertainment America Llc System and Method for Utilizig Forward Error Correction With Video Compression
US20120219073A1 (en) * 2008-04-07 2012-08-30 Qualcomm Incorporated Video refresh adaptation algorithms responsive to error feedback
CN101360243A (en) * 2008-09-24 2009-02-04 腾讯科技(深圳)有限公司 Video communication system and method based on feedback reference frame
CN103430538A (en) * 2011-02-24 2013-12-04 斯凯普公司 Feedback based reference frame selection for video coding
CN104702922A (en) * 2013-12-10 2015-06-10 中国电信股份有限公司 Method and system for transmitting video
CN107734332A (en) * 2016-07-06 2018-02-23 上海兆言网络科技有限公司 Reference frame management method and apparatus for video communication
CN107113441A (en) * 2016-12-30 2017-08-29 深圳市大疆创新科技有限公司 Image processing method, device, unmanned vehicle and receiving terminal
CN109936746A (en) * 2016-12-30 2019-06-25 深圳市大疆创新科技有限公司 Image processing method and equipment

Also Published As

Publication number Publication date
CN111713107A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
WO2020258296A1 (en) Image processing method, device, unmanned aerial vehicle, and receiving end
CN102761509B (en) The receiving system of ofdm system and the method for reduction receiving system internal memory
US10924745B2 (en) Image processing method and device
CN110022615B (en) Data transmission method, device, equipment and computer readable storage medium
CN110784925B (en) Communication method and device
US20190098339A1 (en) Video data processing method and apparatus
US9813988B2 (en) Method and device for data transmission in wireless local area network
CN110351865B (en) Method and device for sending and receiving uplink control information
CN106537959B (en) Method for encoding and decoding frames in a telecommunication network
WO2015077987A1 (en) Method, base station and user equipment for selecting and configuring transmission mode
US9203561B2 (en) Method and apparatus for burst start detection
WO2016127556A1 (en) Base station, user terminal, and carrier scheduling indication method
WO2020239023A1 (en) Transmitting power determination method, information transmission method, and communication device
US11134443B2 (en) Systems and methods for generating and transmitting short low power wake-up request (WUR) frames in a wireless communication system
CN108696306B (en) CSI feedback configuration method, network side equipment and terminal
US20230292241A1 (en) Method for data obtaining and communication device
CN113167854B (en) Bluetooth positioning method and Bluetooth equipment
TWI609591B (en) A system and method for controlling quality of data transmission
JPH10262256A (en) Image communication equipment, image communication method and radio image communication system
CN110740013B (en) Communication method and corresponding transmitting device and receiving device
CN109802734B (en) Method and device for transmitting channel quality information
CN113328832B (en) Data transmission method, device and system
WO2021237400A1 (en) Method and apparatus for transmitting data, sending end, and receiving end
CN113328833B (en) Data transmission method, device and system
CN114124309B (en) Data transmission method and equipment

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

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

Country of ref document: EP

Kind code of ref document: A1