Abstract:
An image frame conversion method and a video frame conversion method and apparatus are provided. The video frame conversion method includes: extracting a longest line segment of a 2D video frame; determining a first depth image of the 2D video frame according to a direction of the longest line segment; determining motion information of the 2D video frame according to a video frame adjacent to the 2D video frame; determining a second depth image of the 2D video frame according to the motion information; and generating, according to the first depth image, the second depth image, and the 2D video frame, a 3D video frame corresponding to the 2D video frame.
Abstract:
An image frame conversion method and a video frame conversion method and apparatus are provided. The video frame conversion method includes: extracting a longest line segment of a 2D video frame; determining a first depth image of the 2D video frame according to a direction of the longest line segment; determining motion information of the 2D video frame according to a video frame adjacent to the 2D video frame; determining a second depth image of the 2D video frame according to the motion information; and generating, according to the first depth image, the second depth image, and the 2D video frame, a 3D video frame corresponding to the 2D video frame.
Abstract:
A virtual view generating method and apparatus are provided that are used to resolve a technical problem existing in the prior art that there are holes in a virtual view, so as to improve quality of the virtual view. The method includes obtaining an original image and an original depth map of the original image; preprocessing the original depth map based on an adaptive filtering algorithm to obtain a processed depth map; generating a basic virtual view based on the original image and the processed depth map; and performing hierarchical hole filling on the basic virtual view based on a deconvolution algorithm to generate a virtual view.
Abstract:
A virtual view generating method and apparatus are provided that are used to resolve a technical problem existing in the prior art that there are holes in a virtual view, so as to improve quality of the virtual view. The method includes obtaining an original image and an original depth map of the original image; preprocessing the original depth map based on an adaptive filtering algorithm to obtain a processed depth map; generating a basic virtual view based on the original image and the processed depth map; and performing hierarchical hole filling on the basic virtual view based on a deconvolution algorithm to generate a virtual view.