Patent ID: 8704875

Claim:
A real-time stereoscopic images generating apparatus, coupled to a stereoscopic image displaying device, timely generating a stereoscopic image according to an original 2D image and a depth map image, the apparatus comprising: a data controller coupled to the stereoscopic image displaying device so as to control a signal timing and process of the apparatus, and outputting the stereoscopic image to the stereoscopic image displaying device; a 3D image generator coupled to the data controller so as to receive and transform the original 2D image and the depth map image into a pair of binocular image with parallax; a scattered hole processor coupled to the data controller, utilizing a first mask to fill a hole; a gradient generator coupled to the data controller, utilizing a second mask and a RGB pixel value to compute a gradient direction of the pair of binocular image with parallax and generate a gradient direction value; and a hole filling processor coupled to the data controller, repeatedly searching for reference points of original image along an edge direction, whereby neighboring color information which is most similar with that of the edge point of the hole is selected as the reference point for image inpainting, the stereoscopic image being sent to the data controller when the reference point of the hole edge cannot be found, wherein when the hole filling processor searches for a filling reference point, the processor will first make a color space conversion, that is, transforming RGB color space into YCbCr color space, and computing a color difference by using YCbCr color space, and selecting the point which is closest to the color difference as the filling reference point, then filling a hole next to the hole edge points by using a point in a direction of the filling reference point.