Abstract:
This application provides an image processing method, including: after binocular image data of a photographing scene that is generated by dual cameras is obtained, determining binocular depth data by using the binocular image data, to determine an error region in an image, correcting depths of the error region based on time of flight (TOF) data corresponding to the scene, and finally performing blurring processing on monocular image data in the binocular image data by using corrected binocular depth data. Because TOF is considered when the depths of the error region are corrected, the method can effectively avoid a depth estimation error caused by relatively poor precision and stability of a binocular depth estimation manner, so that depth estimation precision and stability are improved.
Abstract:
Embodiments of the present invention provide a method for detecting a network transmission status, and a related device. The method for detecting a network transmission status may include: measuring and calculating, by a first communications device, a transmission status characterization parameter used to indicate a status of network transmission between the first communications device and a second communications device; and if the transmission status characterization parameter meets a preset condition, sending, by the first communications device, a Real-Time Transport Protocol packet to the second communications device. Technical solutions provided in the embodiments of the present invention facilitate improving of estimation precision of available network bandwidth on a transmit end, and further improve bandwidth utilization and reduce phenomena such as a delay and an intermittent stop, thereby improving user experience.