CPC H04N 13/122 (2018.05) [G02B 27/0172 (2013.01); G02B 27/0176 (2013.01); G06T 7/593 (2017.01); G06T 15/205 (2013.01); G06T 19/20 (2013.01); H04N 13/128 (2018.05); H04N 13/344 (2018.05); H04N 13/383 (2018.05); H04N 13/388 (2018.05); G02B 2027/0178 (2013.01)] | 20 Claims |
1. A depth sculpturing system comprising:
an image display;
a user input device to receive an input selection from a user;
a memory;
a processor coupled to the image display, the user input device, and the memory; and
programming in the memory, wherein execution of the programming by the processor configures the depth sculpturing system to:
generate a depth image corresponding to an image, the depth image comprising a three-dimensional (3D) matrix of vertices;
provide the image for display on the image display;
determine, using the user input device, from the input selection during display of the image on the image display a first touch point and a second touch point;
compute a first ray in the 3D matrix that is a projection from an origin to a first vertex corresponding to the first touch point;
compute a second ray in the 3D matrix that is a projection from the origin to a second vertex corresponding to the second touch point;
determine a rotation matrix between the first ray and the second ray to derive a depth sculpturing region within the 3D matrix; and
generate a depth sculptured image by applying the rotation matrix to vertices within the 3D matrix in the depth sculpturing region of the depth image.
|