Abstract:
An image processing method includes obtaining a plurality of frames of raw images. After preprocessing such as image alignment, channel splitting or pixel rearrangement is performed on the obtained plurality of frames of raw images, detail restoration is performed on an image based on a deep learning network, and luminance enhancement and color enhancement are performed on an image output by the deep learning network. A plurality of types of processing related to detail restoration are integrated into a same deep learning network.
Abstract:
An image processing method includes obtaining multiple video frames, where the multiple video frames are collected from a same scene at different angles and determining a depth map of each video frame according to corresponding pixels among the multiple video frames; supplementing background missing regions of the multiple video frames according to depth maps of the multiple video frames, to obtain supplemented video frames of the multiple video frames and depth maps of the multiple supplemented video frames. The method also includes generating an alpha image of each video frame according to an occlusion relationship between each of the multiple video frames and a supplemented video frame of each video frame in a background missing region and generating a browsing frame at a specified browsing angle according to the multiple video frames, the supplemented video frames of the multiple video frames, and alpha images of the multiple video frames.
Abstract:
A method, an apparatus, and a system for handling a virtual machine internal fault. The method includes: monitoring, by a virtual machine internal fault detecting apparatus, a state of a virtual machine operating system; when detecting that the virtual machine operating system encounters an exception, obtaining, by an exception catching module in the virtual machine internal fault detecting apparatus, exception information corresponding to the exception according to a context of the virtual machine operating system; and reporting, by the exception catching module, the exception information to a virtual machine monitoring apparatus, so that the virtual machine monitoring apparatus determines, according to the exception information, a policy for resolving the exception corresponding to the exception information, and resolves the exception corresponding to the exception information by using the policy. The present invention is applicable to a virtualized environment having a virtual machine.
Abstract:
A virtualization processing method and apparatuses, and a computer system are provided. Where a computing node includes: a hardware layer, a Host running on the hardware layer, and at least one virtual machine (VM) running on the Host, the hardware layer includes an I/O device, several corresponding virtual function (VF) devices are virtualized from the I/O device, the Host has several VF software instances, the several VF software instances and the several VF devices are in one-to-one correspondence; the Host further has a back-end instance (BE) of an I/O virtual device having the same type with the I/O device, the VM has a front-end instance (FE) of the I/O virtual device; the BE in the Host is bound with an idle VF software instance. The solutions of the embodiments of the present invention are beneficial to optimization of the performance and compatibility of a virtualization system.
Abstract:
An image blurring method and apparatus, and an electronic device, and pertains to the field of image processing. The method includes acquiring a first image and a second image that are captured by a same camera and have a same viewfinder coverage; acquiring depth information according to the first image and the second image; determining a background area of the first image according to the depth information; and performing blurring processing on content in the background area of the first image. In the present invention, solving a problem in the prior art that a user needs to open an image using software and manually selects a background area, and achieving an effect of improving a blurring effect and simplifying a user operation.
Abstract:
An image blurring method and apparatus, and an electronic device, and pertains to the field of image processing. The method includes acquiring a first image and a second image that are captured by a same camera and have a same viewfinder coverage; acquiring depth information according to the first image and the second image; determining a background area of the first image according to the depth information; and performing blurring processing on content in the background area of the first image. In the present invention, solving a problem in the prior art that a user needs to open an image using software and manually selects a background area, and achieving an effect of improving a blurring effect and simplifying a user operation.
Abstract:
A virtual machine fault tolerance method, including receiving a network request, and separately sending the network request to a primary virtual machine and a secondary virtual machine, receiving a network response data packet, where the network response data packet is a primary-end data packet transmitted by the primary virtual machine or a secondary-end data packet transmitted by the secondary virtual machine, comparing data of the received network response data packet with the peer-end data according to data byte order when peer-end data is stored, and generating and sending a newly created data packet to the client when the compared data is the same, where the newly created data packet includes the compared data. Hence, network performance and computing performance of the primary virtual machine can be improved without modifying network protocol stacks of the primary virtual machine and the secondary virtual machine.
Abstract:
A virtual machine fault tolerance method, including receiving a network request, and separately sending the network request to a primary virtual machine and a secondary virtual machine, receiving a network response data packet, where the network response data packet is a primary-end data packet transmitted by the primary virtual machine or a secondary-end data packet transmitted by the secondary virtual machine, comparing data of the received network response data packet with the peer-end data according to data byte order when peer-end data is stored, and generating and sending a newly created data packet to the client when the compared data is the same, where the newly created data packet includes the compared data. Hence, network performance and computing performance of the primary virtual machine can be improved without modifying network protocol stacks of the primary virtual machine and the secondary virtual machine.
Abstract:
The present application discloses an image enlargement method and apparatus. The method includes: inputting a low-resolution image, where the low-resolution image includes at least one matching areas; searching one of the matching areas for an optimal contour template, where the optimal contour template is a contour template with a minimum total variation value in the matching area and the contour template set; finding a second pixel point according to a zoom ratio and a first pixel point in the matching area; performing local interpolation for the second pixel point according to the optimal contour template, so as to obtain an intermediate pixel value; repeating the foregoing steps until processing for all the matching areas is complete, and obtaining an initial high-resolution image according to all of the intermediate pixel values; and performing global interpolation for the initial high-resolution image to obtain a high-resolution image.
Abstract:
A method, an apparatus, and a system for handling a virtual machine internal fault. The method includes: monitoring, by a virtual machine internal fault detecting apparatus, a state of a virtual machine operating system; when detecting that the virtual machine operating system encounters an exception, obtaining, by an exception catching module in the virtual machine internal fault detecting apparatus, exception information corresponding to the exception according to a context of the virtual machine operating system; and reporting, by the exception catching module, the exception information to a virtual machine monitoring apparatus, so that the virtual machine monitoring apparatus determines, according to the exception information, a policy for resolving the exception corresponding to the exception information, and resolves the exception corresponding to the exception information by using the policy. The present invention is applicable to a virtualized environment having a virtual machine.