US 12,225,180 B2
Method and apparatus for generating stereoscopic display contents
Xin Xie, Troy, MI (US); Nan Xu, Troy, MI (US); and Xu Chen, Troy, MI (US)
Assigned to Orbbec 3D Technology International, Inc., Troy, MI (US)
Filed by Orbbec 3D Technology International, Inc., Troy, MI (US)
Filed on Oct. 25, 2022, as Appl. No. 17/973,086.
Prior Publication US 2024/0137481 A1, Apr. 25, 2024
Prior Publication US 2024/0236288 A9, Jul. 11, 2024
Int. Cl. H04N 13/332 (2018.01); H04N 13/128 (2018.01); H04N 13/207 (2018.01)
CPC H04N 13/332 (2018.05) [H04N 13/128 (2018.05); H04N 13/207 (2018.05)] 16 Claims
OG exemplary drawing
 
1. A method of generating stereoscopic display contents, comprising:
obtaining, from a Red, Green, Blue plus Distance (RGB-D) image using a processor, a first Red, Green, and Blue (RGB) image and a depth image;
determining, based on depth values in the depth image, a first disparity map in accordance with the RGB-D image using at least one of a focal length f or an interpupillary distance b, wherein the first disparity map comprises a plurality of disparity values for the first RGB image to be transformed to a pair of stereoscopic images;
determining a left disparity map and a right disparity map by transforming the first disparity map using a disparity distribution ratio k, wherein the left disparity map is determined based on

OG Complex Work Unit Math
 and the right disparity map is determined based on

OG Complex Work Unit Math
 wherein z(x,y) represents the depth value of a pixel (x,y) in the RGB-D image, d(x, y) represents the disparity value in the first disparity map, dL(x, y) represents the disparity value in the left disparity map, dR(x, y) represents the disparity value in the right disparity map, and k is a constant value indicative of a position of an observation point between left and right eye; and
generating, by the processor, the pair of stereoscopic images from the first RGB image, the pair of stereoscopic images comprising a left eye image and a right eye image, wherein the left eye image is generated by shifting a first set of pixels in the first RGB image based on the left disparity map, and the right eye image is generated by shifting a second set of pixels in the first RGB image based on the disparity map.