Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
VIRTUAL 3D METHODS, SYSTEMS AND SOFTWARE
Document Type and Number:
WIPO Patent Application WO/2016/154123
Kind Code:
A2
Abstract:
Methods, systems and computer program products ("software") enable a virtual three-dimensional visual experience (referred to herein as "V3D") in videoconferencing and oilier applications, and capturing, processing and displaying of images and image streams.

Inventors:
MCCOMBE JAMES A (US)
HERKEN ROLF (US)
SMITH BRIAN W (US)
Application Number:
PCT/US2016/023433
Publication Date:
September 29, 2016
Filing Date:
March 21, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MINE ONE GMBH (DE)
MCCOMBE JAMES A (US)
International Classes:
H04N5/257
Other References:
See references of EP 3274986A4
Attorney, Agent or Firm:
JACOBS, DAVID (US)
Download PDF:
Claims:
We claim:

1 . A video communication method that enables a first user to view a second user with direct v irtual eye contact with the second user, the method comprising:

capturing images of the second user, the capturing comprising utilizing at least one camera having a view of the second user's face;

generating a data represen tation, representati ve of the captured images;

reconstructing a synthetic view of the second user, based on the representation; and

displaying the synthetic view to the first user on a display screen used by the first user;

the capturing, generating, reconstructing and displaying being executed such that the first user can have direct virtual eye contact with the second user through the first user's display screen, by the reconstructing and displaying of a synthetic view of the second user in which the second user appears to be gazing directly at the first user, even if no camera has a direct eye contact gaze vector to the second user.

2. The method of claim 1 further comprising;

executing a feature correspondence function by detecting common features between corresponding images captured by the at ieast one camera aid measuring a relative distance in image space between the common features, to generate disparity values; and

wherein the data .representation is representati ve of the captured images and the corresponding disparity values;

the capturing, detecting, generating, reconstructing and displaying being executed such that the first user can have direct virtual eye contact with the second user through the first users display screen.

3. The method of claim 2 wherein the capturing comprises utilizing at least two cameras, each having a view of the second user's face; and

wherein executing a feature correspondence function comprises detecting common features between corresponding images captured by the respective cameras.

4. The method of claim 1 wherein:

the capturing comprises utilizing at least one camera having a view of the second user's race and which is an infra-red time-of-fiight camera that directly provides depth information; and

the data representation is represe ntative of the captured images and corresponding depth information.

5. The method of claim 2 wherein:

die capturing comprises utilizing a single camera having a view of the second user's race; and executing a feature correspondence function comprises detecting common features between images captured by the single camera over time and measuring a relative distance- in image space between the common features, to generate disparity values,

6. The method of claim 3 wherein:

the captured images of the second user comprise visual information of the scene surrounding the second user; and the capturing, detecting,, generating, reconstructing and displaying are executed such that:

(a) the first user is provided the visual impression of looking through his display screen as a physical window to the second user and the visual scene surrounding the second user, and

(b) the first user is provided an immersive visual experience of the second user and the scene surrounding the second user.

7. A video communication method that enables a user to view a remote scene in a manner that gives the user a visual impression of being present with respect to the remote scene, the method comprising:

capturing images of the .remote scene, the capturing comprising util izing at least, two cameras each having a vie w of the remote scene;

executing a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity- values:

generating a date representation, representati ve of the captured images and the corresponding disparity values:

reconstructing a synthetic view of the remote scene, based on the representation; and displaying the synthetic view to the first user on a display screen used by the first user;

the capturing, detecting, generating, reconstructing and displaying being executed such that:

(a) the user is provided the vi sual impression of looking through his display screen as a physical window to the remote scene, and

(b) the riser is provided an immersive visual experience of the .remote scene.

8. A method of facilitating self-portraiture of a user utilizing a handheld device to take the self- portrait, the handheld mobile device having a display screen for displaying images to the user, the method comprising:

providing at least one camera aroimd the periphery of the display screen, the at least one camera having a view of the user's face at a self portrait setup time during which the user is setting up the self- portrait;

capturing images of the user during the setup time, utilizing the at least one camera around the periphery of the display screen;

estimating a location of the user's head or eyes relati e to the handheld device during the setup time, thereby generating tracking information;

generating a data representation, representative of the captured images;

reconstructing a synthetic view" of the user, based on the generated data representation and the generated tracking information;

displaying to the user, on the display screen during the setup time, the synthetic view of the user; thereby enabling the user, while setting up the self-portrait, to selectively orient or position his gaze or head, or the handheld device and its camera, with realtime visual feedback.

9. The method of claim 8 wherein the capturing, estimating, generating, reconstructing and displaying are executed such that, in the sdf-portrait. the user can appear to be looking directly into the camera, ven if the camera does not have a direct eye contact gaze vector to the user.

10, A method of facilitating composition of a photograph of a scene, by a user utilizing a handheld device to take the photograph, the handheld device having a display screen on a first side for displaying images to the user, and at least one camera on a second, opposite side of the handheld device, for capturing images, the method comprising:

capturing images of the scene, utilizing the at least one camera, at a photograph setup time during which the user is setting up the photograph;

estimating a location of the user's head or eyes relative to the handheld device during the setup time, thereby generating tracking iiifbnnation:

generating a data representation, representative of the captured images;

reconstmctmg a synthetic view of the scene, based on the generated data representation and the generated tracking uifomiation, the synthetic view bein reconstructed such that Che scale and perspective of the synthetic view has a selected correspondence to the user's viewpoint relative to the handheld device and the scene; and

displaying to the user, on the display screen during the setup time, the synthetic view of the scene; thereby enabling the user, while setting u the photograph, to frame the scene to be photographed, with selected scale and perspective within the display frame, with realtime visual feedback .

11. The method of claim 10 wherein the user can control the scale and perspective of the synthetic view by changing the position of the handheld device relative to the position of the user's head,

12, The method of claim .10 wherein estimating a location of the user's head or eyes relative to the handheld device comprises utilizing at least one camera on die first, display side of the handheld device,, having a view of the user's head or eyes during photograph setup time

13. A method of displaying images to a user utilizing a binocular stereo head-mounted display

(HMD), the method comprising:

capturing at least two image streams using at least one camera attached or mounted on or proximate to an external portion or surface of the HMD, the captured image streams containing images of a scene;

generating a data representation, .representati ve of captured Images contained in the captured image streams;

reconstructing two synthetic views, based on the representation; and

displaying the synthetic views to the user, via the HMD;

the reconstructing and displaying being executed such that each of the synthetic views has a respective view origin corresponding to a respective virtual camera location, wherein the respecti ve view origins are positioned such that the respective virtual camera locations coincide with respecti ve locations of the user's lef and right eyes. so as to provide the user with a substantially natural visual experience of the perspective, binocular stereo and occlusion aspects of the scene, substantially as if the user were directly viewing the scene without aii HMD,

14, A method of capturing and displaying image content on a binocular stereo head-mounted display (HMD), the method comprising:

capturing at least two image streams using at least one camera, the captured image streams containing images of a scene;

generating a data representation, representative of captured images contained in the captured image streams;

reconstructing two synthetic views, based on the representation; and

displaying the synthetic views to a user, via the HMD;

the reconstructing and displaying being executed such that each of the synthetic views has a respective view origin corresponding to a respective virtual camera location, wherein the respective view origins are positioned such that the respecti ve virtual camera locations coincide with respective locations of the user's left and right eyes,

so as to provide the user with a substantially natural visual experience of the perspective, binocular stereo and occlusion aspects of the scene, substantially as if the user were directly viewing the scene without an HMD.

15, "File method of claims 13 or 14 further comprising;

tracking the location or position of the user's head or eyes to generate a motion vector usable is the reconstructing of synthetic views.

16, The method of claim 1 further comprising:

using the motion vector to modify the respective view origins, during the reconstructing of synthetic views, so as to produce intermediate image frames to be interposed between captured image frames in the captured image streams; and

interposing the intermediate image frames between the captured image frames so as to reduce apparent latency.

17, The method of claims 13 or 14 further comprising;

executing a feature correspondence function, by detecting common features between

corresponding images captured by at least one camera, and measuring a .relati ve distance in image space between the common features, to generate disparity values; and

wherein the data representation is representative of the captured images and corresponding disparity values,

18, The method of claims 13 or 14 wherein:

the capturing comprises utilizing at least one infra-red timeof-flight camera that directly provides depth information; and

the data representation is representative of the captured images and corresponding depth information.

1.9. The method of claims 13 or 14 wherein at least one camera is a panoramic camera, night- vision camera, or thermal imaging camera.

20. A method of generating an image data stream for use by a control system of an autonomous vehicle, the method comprising:

capturing images of a scene around at least a portion of the vehicle, the capturing comprising utilizing at least one camera having a view of the scene;

executing a feature correspondence function by detecting common features between corresponding images captured by the at least one camera and measuring a relati ve distance in image space between the common features, to generate disparity values;

calculating corresponding depth information based on the dispari ty values: and

generating from the images and corresponding depth information an image data stream tor use by the control system.

21. The method of claim 20 wherein:

capturing comprises utilizing at least two cameras, each having a view of the scene; and executing a feature correspondence function comprises detecting common features between corresponding images captured by the respective cameras.

22. The method of claim 20 wherein:

capturing comprises utilizing a single camera having a view of the scene; and

executing a feature correspondence function comprises detecting common features between images captured b the single camera over time and measuring a relative distance in image space between the common features, to generate disparit values.

23. The method of claims 6, 7, 8. 10, 13. 14 or 20 further comprising:

executing image rectification to compensate for optical distortio of each camera and relati ve misalignment of the cameras.

24. The method of claim 23 wherein executing image rectification comprises applying a.20 image space transform.

25. The method of claim 24 wherein applying a 2D image space transform comprises utilizing a GPGPU processor running a shader program.

26. The method of claim 6 wherein:

the cameras for capturing images of the second user are located at or near the periphery or edges of a display device used b the second user, the display device used by the second user having a display screen viewable by the second user and having a geometric center, and

the synthetic view1 of the second user corresponds to a selected virtual camera location, the selected virtual camera, location corresponding to a point at or proximate to the geometric center.

27. Tire method of claim 6 wherein the cameras for capturing images of the second user are located at a selected position outside the periphery or edges of a display device used by the second user.

28. The method of claims 6, 7, 8, 10, .13, 14, or 20 wherein respecti ve camera view vectors are directed i non-cop!anar orientations.

29. The method of claim 6, 7, 8, 10, 1.3, 14, or 20 wherein the cameras for capturing images of trie second user or remote scene are located in selected positions arid posi tioned with selected orientations around the second user or remote scene.

30. The method of claim 6 further comprising:

estimating a location of the first users head or eyes, thereby generating tracking information; and wherein the reconstructing of a synthetic view of the second user comprises reconstructing the synthetic view based on the generated data representation and the generated tracking information.

31. The method of claim 6 wherein.:

camera shake effects are inherently eliminated, in that, the capturing, detecting, generating, reconstructing and displaying are executed such that the first user has a virtual direct view through his display screen to the second user and the visual scene surrounding the second user; and

scale and perspective of the image of the second user and objects in the visual scene surrounding the second user are accurately represented to the first user regardless of user view distance and angle.

32. The method of claims 6, 8, or 10 wherein the me thod is adapted for implementation on a mobile telephone device, and the cameras for capturing images of the second user are iocated at or near the periphery or edges of a mobile telephone device used by the second user.

33. The method of claims 6. 8. or 10 wherein the method is adapted for implementation on a laptop or desktop computer, and the cameras for capturing images of the second user are located at or near the periphery or edges of a display device of a laptop or desktop computer used by the second u ser .

34, The method of claim 6 wherein the method is adapted for implementation on computing or telecommunications devices comprising any of tablet computing devices, computer-driven television displays or computer-driven image projection devices, and wherein the cameras for capturing images of the second user are located at or near the periphery or edges of a computing or telecommunications device used by the second user.

35. The method of claims 6, 7, 8, 10, 13, 14. or 20 wherein the capturing comprises utilizing at least one color camera,

36. The method of claims 6, 7. 8, 10, 13, 14 or 20 wherein the capturing comprises utilizing at least one infrared structured light emitter,

37. The method of claims 6, 7, 8, 10, 13, 14 or 20 wherein the capturing comprises utilizing a view vector rotated camera configuration wherein;

the locations of first and second cameras define a line; and

the line defined by the first and second camera locations is rotated by a selected amount from a selected horizontal or vertical axis;

thereby increasing the number of valid feature correspondences identified in typical leal-wor!d settings by She feature correspondence function.

38. The method of claim 37 wherein the first and second cameras are positioned relative to each other along epspolar lines.

39. The method of claim 37 wherein subsequent to the capturing of images, disparity values are rotated back to a selected horizontal or vertical orientation along with the captured images,

40, The method of claim 37 wherein subsequent to the reconstructing of a synthetic view, the synthetic view is rotated back to a selected horizontal or vertical orientation.

41. The method of claims 6. 7. 8, 10, 13, .14 or 20 wherein (he capturing comprises utilizing exposure cycling, the exposure cycling comprising:

dynamically adjusting the exposure of the cameras on a franie-by-frame basis to improve disparity estimation in regions outside the exposed region viewed by the user;

wherein a series of exposures are taken, including exposures lighter than and exposures darker than a visibility-optimal exposure, disparity values are calculated for each exposure, and the disparity values axe integrated into an overall disparity solution over time, so as to improve disparity estimation.

42. The method of claims 6, 7, 8. 10, D, 14 or 20 wherein the capturing comprises utilizing exposure cycling, the exposure cycling comprising:

dynamically adjusting the exposure of the cameras on a frame-by-fra e basis to improve disparity estimation in regions outside the exposed region viewed by the user;

wherein a series of exposures are taken, including exposures lighter than and exposures darker than a visibility-optimal exposure, disparity values are calculated for each exposure, and the disparity values are integrated in a disparity histogram, the disparity histogram being converged over time, so as to improve disparity estimation.

43. The method of claim 42 further comprising analyzing quality of the overall disparity solution on respective dark, mid-range and light pixels to generate variance information used to control the exposure settings of the cameras, thereby to form a closed loop between the quality of the disparity estimate and the set of exposures requested from the cameras.

44. The method of claim 43 further comprising analyzing variance of the disparity histograms on respective dark, mid-range and light pixels to generate variance information used to control the exposure settings of the cameras, thereby to form a closed loop between the quality of the disparity estimate and the set of exposures requested from the cameras.

45. The method of claims 6, 7, 8, 10, 13, 14 or 20 wherein the feature correspondence function comprises evaluating and combining vertical- and horizontal-axis correspondence information.

46. The method of claim 45 wherein the feature correspondence function further comprises applying, to image pixels containing a disparity solution, a coordinate transformation, to a unified coordinate system.

47. The method of claim 46 wherein the unified coordinate system is the un-rectified coordinate system of the captured images.

48. The method of claim 45 further comprising utilizing at least three cameras arranged in a substantially HL"-shaped configuration, such that a pair of cameras is presented along a first axis and a second pair of cameras is presented along a seeoad axis substantially perpendicular to the first axis.

49. The method of claims 6 or 48 further wherein the feature correspondence function utilizes a disparity histogram-based method of integrating data and detmnimng correspondence.

50. The method of claim 6, 7. S, 10, 13, 14 or 20 wherein the feature correspondence function comprises refining correspondence information over time.

51. The method of claim 50 wherein the refining comp rises retaining a disparity solution over a time interval, and continuing to integrate disparity solution values for each image frame over the time interval, so as to converge on an improved disparity solution by sampling overtime.

52. The method of claims 6, 7, 8, 10, 13, 14 or 20 wherein the feature correspondence function comprises filling unknowns in a correspondence information set with historical data obtained from previously captured images,

53. The method of claim 52 wherein the filling of unknowns comprises'.

if a given image feature is detected in an image captured by one of the cameras, and no corresponding image feature is found in a corresponding image captured by another of the cameras, then utilizing data for a pixel corresponding to the given image feature, from a corresponding, previously captured image,

54. The method of claims 6, 7, 8, 10, 13, 14 or 20 wherein the feature correspondence function utilizes a disparity histogram-based method of integrating data and determining correspondence.

55. The method of claim 54 wherein utilizing a disparity histogram-based method comprises constructing a disparity histogram indicating the relative probability of a. given disparity value being correct for a given pixel.

56. The method of claim 55 wherein the disparity histogram functions as a Probability Density Function (PDF) of dispari ty for the given pixel, in which higher values indicate a higher probability of the corresponding dis arity' range being valid for the given pixel.

57. The method of claim 56 wherein one axis of the disparity histogram indicates a given disparity range, and a second axis of the histogram indicates the number of pixels in a kernel surrounding the central pixel in question that are voting for the gi ven disparity range.

58. The method of claim 57 wherein vote indicated by the disp rity'' histogram are initially generated utilizing a Sum of Square Differences (SSD) method.

59. The method of claim 58 wherein utilizin an SSD method comprises:

executing an SSD method with a relatively small kernel to produce a fast dense disparity map in which each pixel has a selected disparity that represents the lowest error;

then, processing a plurality of pixels to accumulate into the disparity histogram a tally of the number of votes for a given disparity in a relati ely larger kernel surrounding the pixel in question.

60. The method of claim 57 further comprising transforming the disparity histogram into a Cumulative Distribution Function (CDF) from which the width of a corresponding interquartile range can be detennined, thereby to establish a confidence level in the corresponding disparity solution.

61. The method of claim 58 further comprising maintaining a count of the number of statistically significant modes i the histogram, thereb to indicate modality.

70

62. The method of claim 61 wherein modal ity is utilized as an input to reconstruction., to control application of stretch vs. slide reconstruction method.

63. The method of claim 58 further comprising maintaining a disparity histogram o ver a selected time interval and accumulating samples into the histogram, thereby to compensate for camera noise or other sources of motion or error.

64. The method of claim 58 further comprising:

generating fast disparity estimates for multiple independent axes; and then

combining the corresponding, respective disparity histograms to produce a statistically more robust disparity solution.

65. The method of claim 60 further comprising:

evaluating the interq uartile range of a CD F of a given disparity histogram to produce an interquartile result; and

if the interquartile result is indicative of an area of poor sampling signal to noise ratio, due to camera over- or underexposure, then controlling camera exposure based on the interquartile result to improve a poorly sampled area of a given disparity histogram.

66. Th method of claim 58 further comprising;

testing for only a small set of disparity' values using a small-kernel SSD method to generate initial results;

populating a corresponding disparity histogram with the initial results; and

then using histogram votes to drive further SSD testing within a given range to improve disparity resolution over time.

67. The method of claim 58 further comprising:

extracting sub-pixel disparity information from the disparity histogram, fee extracting

comprising:

where the histogram indicates a maximum-vote disparity range and an adjacent, runner-up disparity range, calculating a weighted average disparity value based on the ratio between the number of votes for each of the adjacent disparity ranges.

68. The method of claims 6, 7. S, 10, 13. 14, or 20 wherein the feature correspondence function comprises weighting toward a center pixel in a Sum of Squared Differences (SSD) approach, the weighting comprising:

applying a higher weight to the center pixel for which a disparity solution is sought, and a lesser weight outside the center pixel, the lesser weight being proportional to the distance of a given keraei sample from the center.

69. The method of claims 6, 7„ 8, 10. 13, 14, or 20 wherein the feature correspondence function comprises optimizing generation of disparity values on GPGPU computing structures.

70. The method of claims 6, 7, 8, 10, 13. 14, or 20 wherein generating a data representation comprises: generating a data, structure representing 2D coordinates of a control point in image space, and containing a disparity value treated as a pixel velocity in screen space with respect to a given movement of a given view vector; and

utilizing the disparity value in combination with a movement vector to slide a pixel in a gi ven source image in selected directions, in 2D. to enable a reconstruction of 3D image movement

71. The method of claim 70 wherein:

each camera generates a respective camera stream: and

the data structure further contains a sample buffer index, stored in association with the control point coordinates, that indicates which camera, stream to sampie in. association with the given control point

72. The method of claim 71 further comprising: determining whether a given pixel should be assigned a control point.

73. The method of claim 72 further comprising: assigning control points along image edges.

74. The method of claim 73 wherein assigning control points along im age edges compri ses executing computations enabling identification of image edges.

75. The method of claim 6 wherein generating a data representation comprises:

flagging a given image feature with a reference count indicating how many samples reference the given image feature, thereby to differentiate a uniquely referenced image feature, and a sample corresponding to the uniquely referenced image feature, from repeatedly referenced image features; and utilizing the reference count, extracting unique samples, so as to enable a reduction in bandwidth requirements.

76. The method of claim 75 wherein generating a data, representation further comprises:

utilizing the reference count to encode and transmit a given sample exactly once, even if a pixel or image feature corresponding to the sample is repeated in multiple camera views, so as to enable a reduction in bandwidth requirements.

77. The method of claim 73 further comprising:

estimating a location of the first user's head or eyes, thereby generating tracking information; wherein the leconsmicting of a synthetic view of the second user comprises reconstructing the synthetic view based on the generated data representation and the generated tracking information; and wherein 3D image reconstruction is executed by warping a 2D image by utilizing the control points, by sliding a given pixel along a head movement vector at a displacement rate proportional to disparity, based on the tracking information and disparity values.

78. The method of claim 77 wherein the disparity values are acquired from the feature correspondence function or from a control point data stream,

79. The method of claim 30 wherein;

reconstructing a synthetic view comprises utilizing the tracking information to control a 2D crop box. such that the synthetic view is reconstructed based on the view origin, and then cropped and scaled so as to fill the first user's display screen vie window; and the minima and maxima of the crop box are defined as a function of the first user's head location with respect to the display screen, and the dimensions of file display screen view window.

80. The method of claim 70 wherein reconstructing a synthetic view comprises executing a 2D warping reconstruction of a selected view based on selected control points, wherein the 2D warpmg recoiistni ction c onipri se s :

designating a set of control points, respective control points corresponding to respective, selected pixels is a source image;

slidin the control paints in selected directions in 2D space, wherein the control points are slid proportionally to respective disparity values; and

interpolating data values for pixels between the selected pixels corresponding to the control points,

so as to create a synthetic view of the image from a selected new perspective in 3D space.

81. The method of claim 80 further comprising:

rotating the source image and control point coordinates such that rows or columns of image pixels are parallel to the vector between the original source image center and the new view vector defined by the selected new perspective.

82. The method of claim 81 .farther comprising:

rotating the source image and control point coordinates so as to align the vie vector to image scanlines;

iterating through each scanhne and each control point for a given scanline, generating a line- element beginning and ending at eac control point in 2D image space, with the addition of the corresponding disparity value multiplied by the corresponding view vector magnitude with the corresponding x-axis coordinate;

assigning a texture coordinate to the beginning and ending points of each generated line element, equal to their respective, original 2D locatio in the source image;

interpolating texture coordinates linearly along eac line element;

thereby to create a resulting image in which image data between the control points is linearl stretched.

83. The method of claim 82 further comprising: rotating the resulting image back by the inverse of the rotation applied to align the view vector with the scanlines.

84. The method of claim 82 further compri sing: linkin the control points between scanlines, as well as along scanlines, to create polygon elements defined b the control points, across which interpolation is executed.

85. The method of claim 82 wherein reconstructing a synthetic view further comprises : for a given source image, selectively sliding image foreground and image background independently of each other,

86. The method of claim 85 wherein sliding is utilized in regions of large disparity or depth change.

87. The method of claim SO wherein a determination of whether to utilize sliding comprises: evaluating a disparity histogram to detect multi-moda! behavior indicating that a gi ven control point is on an image boundary for which allowing foreground and background to slide independent of each other presents a 'better solution than interpolating depth between foreground and background,

wherein die disparity histogram functions as a Probability Density Function (PDF) of disparity for a given pixel, in which higher values indicate a higher probability of the corresponding disparity range being valid for the given pixel.

88. The method of claims 6, 7, 8, 10, 13 or 14 wherein reconstructing a synthetic view utilizes at least one Sample Integration Function Table (SIFT), the SIFT comprising a table of sample integration functions for one or more pixels in a desired output resolution of an image to be displayed to the user, wherein a given sample integration function maps an input view origin vector to at least one known, weighted 2D image sample location in at least one input image buffer.

89. The method of claim 30 wherein displaying the synthetic view to the first user on a display screen used by the first user comprises:

displaying the synthetic view to die first user on a 2D display screen: and

updating the display in real-time, based on the tracking information, so that the display appears to the first user to be a window into a 3D scene responsive to the first user's head or eye location.

90. The method of claim 30 wherein displaying the synthetic view to the first user on a display- screen used by the first user comprises:

displaying the synthetic view to the first user on a binocular stereo display device.

91. The method of claim 30 wherein displaying the synthetic view to the first user on a display screen used by the first user comprises:

displaying the synthetic view to the first user on a lenticular display that enables auto- stereoscopic viewing.

92. A program product for use with a digital processing system, for enabling a first user to view a second user with direct virtual eye contact with the second user, the digital processing system comprising at least one camera having a view of the second user's face, a display screen for use by the first user, and a digital processing resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored on a non-transitory digital processor- readable medium, which when executed in the digital processing resource cause the digital processing resource to:

capture images of the second user, utili ing the at least one camera;

generate a data representation, representative of the captured images:

reconstruct a synthetic view of the second user, based on the representation; and

display the synthetic view to the first user on the display screen for use by the first user;

the capturing, generating, reconstructing and displaying being executed such that the first user can have direct virtual eye contact with the second user through the first user's display screen, by the reconstructing and displaying of a synthetic view of the second user in which the second user appears to be gazing directly at the first user, even if no camera has a direct eye contact gaze vector to the second user.

93. The program product of claim 92 further comprising digital processor-executable program instructions stored on a non-transitory digital processor-readable medium, which wisea executed in the digital processing resource cause the digital processing resource to execute the method of any of claims 1. 6, 7, 8, 1.0, 13. 14, 20.

94. A program product for use with a digital processing system, for enabling a first user to view a remote scene with the visual impression of being present with respect to the remote scene, the digital processing system comprising at least two cameras, each having a view of the remote scene, a display screen for use by the first user, and a digital processiug resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored on a non- transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to:

capture images of the remote scene, utilizing the at least two cameras;

execute a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values;

generate a data representation, representative of the captured images and the corresponding disparity values;

reconstruct a synthetic view of the remote scene, based on the representation; and

display the synthetic view to the first user on the display screen;

the capturing, detecting, generating, reconstructing and displaying being executed such that; (a) the first user is provided the visual impression of looking through his display screen as a physical window to the remote scene, and

(b) the first user is provided an immersive visual experience of the remote scene.

95. The program product of claim 94 further comprising digital processor-executable program instructions stored on a non-transitory digital processor-readable medium, which when executed is the digital processing resource cause the digital processing resource to execute the method of any of claims I, 6, 7, 8, 1.0, 13, 14, 20.

96. A program product for use with a handheld digital processing device, for facilitating self- portraiture of a user utilizing the handheld device to take the self portrait, the handheld device having a digital processor, a display screen for displaying images to the user, and at least one camera around the periphery of the display screen, the at least one camera having a view of the user's face at a self portrait setup time du ring which the user is setting up the self portrait, the program product comprising digital processor-executable program instructions stored on a non-transitory digital processor-readable medium, which when executed in the digital processor cause the digital processor to:

capture images of the user during the setup time , utilizing the at least one camera around the periphery of the display screen; estimate a location of the user's head or eyes relative to the handheld device during the setup time, thereby generating tracking information;

generate a data representation, representative of the captured images;

reconstruct a synthetic view of the user, based on the generated data representation and the generated tracking information; and

display to the user, on the display screen during the setup time, the synthetic view of the user; thereby enabling the user, while setting up the self-portrait, to selectively orient or position his gaze or head, or the handheld device and its camera, with realtime visual feedback.

97. The program product of claim 96 further comprising digital processor-executable program instructions stored on a non-transitory digital processor-readable medium, which when executed in the digi tal processing resource cause the digital processing resource to execute the method of any of claims 1, 6, 7, 8, 10, 3, 1.4, 20.

98. A program product for use wit a handheld digital processing device, for facilitating composition of a photograph of a scene by a user utilizing the handheld device to take the photograph, the handheld de vice having a digital processor, a display screen on a first side for displaying images to the user, and at least one camera on a second, opposite side of the handheld device, for capturing images, the program product comprising digital processor-executable program instructions stored on a non- transitory digital processor-readable medium, which when executed in the digital processor cause the digital processor to:

capture images of the scene, utilizing the at least one camera, at a photograph setup time during which die user is setting up the photograph;

estimate a location of the user's head or eyes relative to the handheld device during the setup time, thereby generating tracking information;

generate a data representation, representative of the captured images;

reconstruct a synthetic view of the scene, based on the generated data representation and the generated tracking information, the synthetic view being reconstructed such that the scale and perspective of the synthetic view has a selected correspondence to the user's viewpoint relative to the handheld device and the scene; and

display to the user, on the display screen durin the setup time, the synthetic view of the scene; thereby enabling the user, while setting up the photograph, to frame the scene to be photographed, with selected scale and perspective within the display frame, with realtime visual feedback.

99. The program product of claim 98 further comprising digital processor-executable program instructions stored on a ηοη-transitory·" digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to execute the method of any of claims 1, 6, 7, 1 HU 3, 14, 20.

100. A program product for enabling display of images to a user utilizing a binocular stereo head-mounted display (HMD), the HMD having at least one camera attached or mounted on or proximate to an external portion or surface of the HMD, the HMD having, or being in communication with, a digital processing resource comprising at. least one digital processor, the program product comprising digital processor-executable program instructions stored on a non ra«sitor digital processor-readabie medium, which when executed in the digital processing resource cause the digital processing resource to:

capture at least two image streams using the at least one camera, the captured image streams con taining images of a scene;

generate a data representation, representative of captured images contained in the captured image streams;

reconstruct two synthetic views, based on the representation; and

display the synthetic views to the user, via the HMD:

the reconstructing and displayi ng being executed such that each of the syn the tic views has a respecti ve view origin corresponding to a respective virtual camera location, wherein the respecti ve view origins are positioned such that the respective virtual camera locations coincide with respective locations of the user's left and right eyes,

so as to provide the user with a substantially natural visual experience of the perspective.

binocular stereo and occlusion aspects of the scene, substantially as if the user were directly viewing tire scene withou an HMD.

1.01. The program product of claim 100 further comprising digital processor-executable program instructions stored on a non-transi tory digital processor-readabie medium, which when executed in the digi tal processing resource cause the digital processing resource to execute the method of any of claims 1, 6, 7, 8, 10, 13. 14, 20.

102. A program product for enabling display of captured image content to a user utilizing a binocular stereo head-mounted display {HMD), the captured image content comprising at least two image streams captured or generated by at least one camera,, the captured image streams containing images of a scene, and the HMD having, or being in communication with, a digital processing resource comprising at least one digital processor, the program product comprising digital processor-execatable program instructions stored on a noii-transitory digital processor-readable medium, which when executed in the digi tal processing resource cause the digital processing resource to;

generate a data representation, representati ve of captured images contained in the captured image streams;

reconstruct t vo synthetic views, based on the representation; and

display the synthetic views to a user, via the HMD;

the reconstructing and displaying being executed such that each of the synthetic views has a respective view origin corresponding to a respective virtual camera location, wherein the respective view origins are positioned such that: the respective virtual camera locations coincide with respective locations of the user's left and right eyes,

so as to provide the user with a substantially natural visual experience of the perspective, binocular stereo and occlusion aspects of the scene, substantially as if the user were directly viewing the scone without an HMD,

103. The program product of claim 102 further comprising digital processor-executable program instructions stored on a non-transitory digital processof-readabie medium, which when executed in die digital processing resource cause the digital processing resource to execute the method of any of claims 1, <> 7. 8. 10, 13, 14, 20.

104, A program product for enabling the generation of an image data stream for use by a control system of an autonomous vehicle, the vehicle having at least one camera with a view of a scene around at least a portion of the vehicle and a digital processing resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored oa a non- transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to:

capture images of the scene around at least a portion of the vehicle, using the at least one camera; execute a feature correspondence function by detecti g common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between the common features, to generate disparity values;

calculate corresponding depth information based on the disparity values; and

generate from the images and corresponding depth information an image data stream for use by the control system.

1.05. The program product of claim 104 further comprising digital processor-executable program instructions stored on a non-transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to execute the method of any of claims 1, 6, 7, 8, 10, .13, 1.4, 20.

106, A digital processing system for enabling a first user to view a second user with direct virtual eye contact with, the second user, the digital processing system comprising:

at least one camera having a view of the second user's face;

a display screen for use by the first user; and

a digital processing resource comprising at least one digital processor, the digital processing resource being operable to:

capture images of the second u ser, utilizing the at .least one camera;

generate a data representation, representative of the captured images;

reconstruct a synthetic view of the second user, based on the representation; and

display die synthetic view to die first user on the display screen for use by the first user;

the capturing, generating, reconstructing and displaying being executed such that the first user can have direct virtual eye contact with the second user through the first user's display screen, by the reconstructing and displaying of a synthetic view of die second user in which the second user appears to be gazing directly at the first user, even if no camera has a direct eye contact gaze vector to die second user,

.1 7. 'The digital processing system of cl aim 106 wherein the digital processing resource is operable to execute the method of any of claims 1, 6, 7, 8, 10, 13, 14, 0.

1.08. A. digital processing system for enabling a first user to view a remote scene ith the visual impression of being present with respect to the remote scene, the digital processing system comprising:

at least two cameras, each having a view of the remote scene;

a display screen for use b the first user; and

a digital processing resource comprising at least one digital processor, the digital processing resource being operable to:

capture images of the remote scene, utilizing the at least two cameras

execute a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values;

generate a data representation, representative of the captured images and the corresponding disparity values;

reconstruct a synthetic view of the remote scene, based on the representation; and

display the synthetic view to the first user on the display screen:

die capturing, detecting, generating, reconstructing and displaying being executed such that:

(a) the first, user is provided the visual impression of looking through his display screen as a physical window to the remote scene, and

(b) the first use is provided m immersive visual experience of the remote scene.

109, "file digital processing system of claim 108 wherein the digital processing resource is operable to execute the method of any of claims 1, 6, 7, 8, 1.0, 13, 14, 20.

110. A system operable in a handheld digital processing device, for facilitating self-poitraiture of a user utilizing the handheld device to take the self portrait, the system comprising:

a digital processor;

a display screen for displaying images to the user; and

at least one camera around the periphery of the display screen, the at least one camera having a view of the user's face at a self portrait setup time during which the user is setting up the self portrait;

the system being operable to:

capture images of the user during the setu time , uti lizing the at least one camera around the periphery of the display screen;

estimate a location of the user's head or eyes relative to the handheld device during the setup time, thereby generating tracking information,

generate a data representation, representative of the captured images;

reconstruct a synthetic view of the u ser, based on the generated data representation and the generated tracking information; and

display to the user, on the display screen during the setup time, the synthetic view of the user; thereby enabling the user, while setting up the self-portrait, to selectively orient or position his gaze or head, or the handheld device and its camera, with realtime visual feedback.

1.11. The digital processing system of claim 110 wherein the digital processing resource is operable to execute the method of any of claims 1. 6, 1, %,, 10, 13. 14, 20.

112, A system operable in a handheld digital processing device, for facilitating composition of a photograph of a scene by a user utilizing the handheld device to take the photograph, the system comprising:

a digital processor;

a display screen on a first side of the handheld device for displaying images to the user; and at least one camera on a second, opposite side of the handheld device, for capturing images; the system being operable to:

capture images of the scene,, uti lizing the at least one camera, at a. photograph setup time during which the user is setting up the photograph;

estimate a location of the user's head or eyes .relative to the handheld device during the setup time, thereby generating tracking information;

generate a data representation, representative of the captured images;

reconstruct a synthetic view of the scene, based on the generated data representation and the generated tracking information, the synthetic view bein reconstructed such that the scale and perspective of the synthetic view has a selected correspondence to the user's viewpoint relative to the handheld device and the scene; and

display to the user, on the display screen during the setup time, the synthetic view of the scene; thereby enabling the user, while setting up the photograph, to frame the scene to be photographed, with selected scale and perspective within the display frame, with realtime visual feedback.

1 13, The digital processing system of claim 112 wherein the digital processing resource is operable to execute the method of any of claims L 6, 7, 8, 10. 13. 14, 20.

1 14, A system for enabling display of images to a user utilizing a binocul ar stereo head-mounted display (HMD), the system comprising:

at least one camera attached or mounted on or proximate to an external portion or surface of the HMD; and

a digital processing resource comprising at least one digital processor;

the system being operable to:

capture at least two image streams using the at least one camera, the captured image streams containing images of a scene;

generate a data representation, representati ve of captured images contained in the captured image steams;

reconstruct two synthetic views, based on the representation; and

display the synthetic views to the user, via the HMD;

the reconstructing and displaying being executed such that each of the synthetic views has a respective view origin corresponding to a respective virtual camera location, wherein the respective view origins are positioned such that the respecti ve virtual camera locations coincide with respective locations of the user's left and right eyes,

so as to provide the user with a substantiall natural visual experience of the perspective, binocular stereo and occlusion aspects of the scene, substantially as if the user were directly viewing the scene without an H M D.

i 15. The digital processing system of claim 114 wherein the digital processing resource is operable to execute the method of any of claims i , 6. 7, 8, 10, 13, 14, 20,

1 16. A program product for enabling display of captured image content to a user utilizing a. binocular stereo head-mounted display {HMD), the captured image content comprising at least two image streams captured or generated by at least one camera, the captured image streams containing images of a scene, and the HMD having, or being in communication with, a digital processiog resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored on a ,non~tra«sitory digital processor- readable medium, which when executed in the digital processing resource cause the digital processing resource to:

generate a data representation, representative of captured images contained in the captured image streams;

reconstruct two synthetic views, based on the representation; and

display the synthetic views to a user, via the HMD;

the reconstructing and displaying being executed such that each of the synthetic views has a respective view origin corresponding to a respective virtual camera location, wherein the respecti ve view origins are positioned such that the respective virtual camera locations coincide with respective locations of the user's left and right eyes,

so as to provide the user with a substantially natural visual experience of the perspecti ve, binocular stereo and occlusion aspects of the scene, substantially as if the user were directly viewing the scene without an HMD .

1 17. The digi tal processi ng system of claim 1.16 wherein the digital processing resource is operable to execute the method of any of claims 1, 6, 7, 8, 10, 13, 14, 20,

1 18. An image processing system for enabling the generation of an image data stream for use by a control system of an autonomous vehicle, the image processing system comprising:

at least one camera with a view of a scene around at least a portion of the vehicle and a digital processing resource comprising at least one digital processor;

the s stem being operable to:

capture images of the scene around at least a portion of the vehicle, using the at least one camera; execute a feature correspondence function fay detecting common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between the common features, to generate disparity v alues;

calculate corresponding depth information based on the disparity values; and generate from the images a d corresponding depth information an image data stream for use by trie control system.

119, The digital processing system of claim 118 wherein the digital processing resource is operable to execute the method of any of claims 1, 6, 7, 8, 10, 13, 14, 20.

120. A video capture and processing method, comprising:

capturing images of a scene, the capturing comprising utilizing at least first and second cameras having a view of the scene, tire cameras being arranged along an axis to configure a stereo camera pair having a camera pair axis; and

executing a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values, wherein the feature correspondence function comprises:

constructing a multi-level disparity histogram indicating the relative probability of a given disparity value being correct for a given pixel, the constructing of a multi-level disparity histogram comprising:

executing a Fast Dense Disparity Estimate (FDDE) image pattern matching operation on successively lower-frequency do nsampted versions of the input stereo images, the successively lower- frequency downsampled versions consti tuting a set of levels of FDDE histogram votes.

121, The method of claim 120 wherein each Ievel is assigned a level number, and wherein each successively higher ievel is characterized b a lower image resolution.

122, The method of claim 121 wherein do nsampling comprises .reducing image resolution via low-pass filtering.

123, The method of claim 122 wherein do nsamplmg comprises utilizing a weighted

summation of a kernel in level [n-lj to produce a pixel value in level [»], and wherein the normalized kernel center position remains the same across alt levels.

1 4, The method of claim 123 wherein, for a gi ven desired di sparity solution at full image resolution, the FDDE votes for every image level are included in the disparity solution.

125, The method of claim 124 further comprising: generating a multi-level histogram comprising a set of initially independent histograms at different levels of resolution.

1 6, The method of claim 125 wherein each histogram bi in a given level represents votes for a disparity determined by the FDDE at that level.

127. The method of claim 126 wherein each histogram bin in a given level has an associated disparity uncertainty range, and wherein the disparity uncertainty range represented by each histogram bin is a selected multiple wider than the disparity uncertainty range of a bin in the preceding level.

128. The method of claim 123 further comprising: applying a sub-pixel shift to the disparity values at each level during downsampling, to negate rounding error effect.

129, The method of claim 128 wherein applying a sub-pixel shift comprises applying a half pixel shift to only one of the images in a stereo pair at each level of downsampling.

130. The method of claim 129 wherein applying a sub-pixel shift is implemented inline, within tiie weights of the filter kernel utilized to implement the do nsatnp!ing from level to level.

131 , Hie method of claim 130 further comprising: executing histogram integration, the histogram integration comprising: executing a recursive summation across ail the FDDE levels.

132, The method of claim 131 further comprising: during summation, modifying lire weighting of eac level to control the amplitude of the effect of lower levels in overall voting, by applying selected weighting coefficients to selected lewis.

133. 'The method of claim 132 further comprising: inferring a sub-pixel disparity solution from the disparity histogram, by calculating a sub-pixel offset based on the number of votes for the maximum vote disparity range and the number of votes for an adjacent,, runner-up disparity range.

134. The method of claim 120 further comprising: maintaining in a memory unit a summation stack.

i 35. 'The method of claim 120 wherein capturing of im ges comprises utilizing at least two stereo camera pairs, each pair being arranged along a respective camera pair axis, and for each camera pair axis, executing the following:

executing image captur utilizing the camera pair to generate image data;

executing rectification and undistorting transformations to transform the image data into RUD image space;

iterative!)' do nsampling to produce multiple, successively lower resolution levels:

executing FDDE calculations for each level to compile FDDE votes for each level;

gathering FDDE disparity range votes into a multi-level histogram

determining the highest ranked disparity range in the multi -level histogram; and

processing the multi-level histogram disparit data to generate a final disparity1 result,

136. A video capture and processing method, comprising:

capturing images of a scene, the capturing comprising utilizing at least first and second cameras having a view of the scene, the cameras being arranged along art axi to configure a stereo camera pair; executing a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity vahies, the feature correspondence function further comprising'.

generating a disparity' solution based on the disparity values;

applying an injective constraint to the disparit solution based on domain and co-domain, wherein the domain comprises pixels for a given image captttred by the first camera and the co-domain comprises pixels for a corresponding image captured by the second camera, to enable correction of error in the disparity solution in response to violation of the injective constraint, wherein the injective constraint is that no element in the co-domain is referenced more than once by elements in the domain.

137. The method of claim 136 wherein applying an injective constraint comprises:

maintaining a reference count for each pixel in the co-domain, and checking whether the reference count for the pixels in the co-domain exceeds " 1", and. if the count exceeds "1" then designating a violation and responding to the violation with a selected error correction approach.

138. The method of claim 137 wherein the selected error correction approach comprises an of: (a) first come, first served

(b) best match wins,

(c) smallest, disparity wins, or

(d) seek alternative candidates.

139. The method of claim 138 wherein the first come, first served approach comprises:

assigning priority to the first element in the domain to claim an element in the co-domain, and if a second element in the domain claims the same co-domain element, invalidating that subsequent match and designating that subsequent match to be invalid.

140. The method of claim 138 wherein the best match win approach comprises: comparing the actual image matching error or corresponding histogram vote count between the two possible candidate elements in the domain against the contested element in the co-domain, and designating as winner the domain candidate with the best, match.

1.41. The method of claim 138 wherein the smallest disparity wins approach comprises; if there is a contest between candidate elements in the domain: for a given co-domain element, wherein each candidate element has a corresponding disparity, selecting the domain candidate with the smallest disparity and designating as invalid the others.

142. The method of claim 1 8 wherein the seek alternative candidates approach comprises: selecting and testing the next best domain candidate, based on a selected criterion, and iterating the selecting and testing until the violation is eliminated or a computational time limit is reached.

1 3. A video capture method that enables a first user to view a second user with direct virtual eye contact with the second user, the method comprising:

capturing images of&e second user, the capturing comprising utilizing at least one camera having a view of the second user's face;

executing a feature correspondence function by detecting common features between

corresponding images captured by the at least one camera, and measuring a relative distance in image space between the common features, to generate disparity values;

generating a data representation, representati ve of the captured images and the corresponding disparity values;

estimating a three-dimensional (3D) location of the first user's head, face or eyes, thereby generating tracking information; and

reconstructing a synthetic view of the second user, based on the representation, to enable a display to the first user of a synthetic view of the second user in which, the second user appears to be gazing directly at the first user, wherein the reconstructing of a synthetic view of the second user comprises reconstructing the synthetic view based on the generated data representation and the generated tracking information; and wherein the location estimating comprises.

passing a captured image of the first user, the captured image including the first user's head and face, to a two-dimensional (2D) facial feature detector that utilizes the image to generate a first estimate of head and eye location and a rotation angle of the face relative to an image plane;

utilizing an estimated center-of-face position, face rotation angle, and head depth range based on the first estimate, to determine a best-lit rectangle that includes the head;

extracting from the best-fit rectangle all 3D points that lie within the best-fit rectangle, and calculating therefrom a representative 3D head position; and

if the number of valid 3D points extracted from the best-fit rectangle exceeds a selected threshold in relation to the maximum number of possible 3D points in the region, then signaling a valid 3D head position result.

144. The method of claim 143 further comprising: downsampling the captured image before passing it to the 2D facial feature detector.

145. The method of claim 143 further comprising; interpolating image data from video frame to video frame, based on the time that has passed from a given video frame from a previous video frame.

1 6. The method of claim 143 further comprising: converting image data to luminance values.

147. A video capture and processing method comprising:

capturing images of a scene, the capturing comprising utilizing at least three cameras having a view of the scene, the cameras being arranged in a. substantially "L" -shaped configuration wherein a first pair of cameras is disposed along a first axis and second pair of cameras is disposed along a second axis intersecting with, but angularly displaced from, the first axis, wherein the first and second pairs of cameras share a common camera at or near the intersection of the first and second axis, so that the first and second pairs of cameras represent respective first and second independent stereo axes that share a common camera;

executing a feature correspondence function by detecting common features between

corresponding images captured by fee at least three cameras and measuring a relative distance in image space between the common features, to generate disparity values;

generating a data representation, representative of the captured images and the corresponding disparity values: and further comprising:

utilizing an itrirectified, undistorted (IJ UD) image space to integrate disparity data for pixels between the first and second stereo axes, thereby to combine disparity data from the first and second axes, wherein the URUD space is an image space in which polynomial lens distortion has been removed from the image data but the captured image remains unrectified.

148. The method of claim 147 further comprising; executing a stereo correspondence operation on the image data in a rectified, undistorted (RUD) image space, and storing resultant disparity data in a

RUD space coordinate system.

149. The method of claim 148 in which the resultant disparity data is stored in a URUD space coordinate system. I SO. The method of claim 148 further comprising: generating disparity histograms from the disparity data in either RUD or URUD space, ami storing the disparity histograms in a unified URUD space coordinate system .

151. The method of claim 150 further comprising: applying a if RUD to RUD coordinate transformation to obtain per-axis disparity values.

152. A video capture and processing method comprising:

capturing images of a scene, the capturing comprising utilizing at least one camera having a view of the scene;

executing a feature correspondence function by detecting common features between

corresponding images captured by the at least, one camera and measuring a relative distance in image space between the common features, to generate disparity values; and

generating a data representation, representative of the captured images and the corresponding disparity values;

wherein the feature correspondence function utilizes a disparity histogram-based method of integrating data and determining correspondence, the disparity histogram-based method comprising:

constructing a disparity histogram indicating the relative probability of a given disparity value being correct for a gi ven pixel; and

optimizing generation of disparity values on a GPU computing structure, the optimizing comprising:

generating, in the GPU comp uting structure, a. pluralit of output pixel threads

for each output pixel thread, maintaining a private disparity histogram, in a storage element associated with the GPU computing structure and physicaily proximate to the computation units of the GPU computing structure.

153. The method of claim 152 wherein the private disparity histogram is stored such that each pixel thread writes to and reads from the corresponding private disparity histogram on a dedicated portion of shared local memory in tire GPU .

154. The method of claim 153 wherein:

shared local memory in the GPU is organized at least in part into memory words;

the private disparity histogram i characterized by a series of histogram bins indicating the number of votes for a given disparity range; and

if a maximum possible number of votes in the private disparity histogram is known, multiple histogram bins can be packed into a single word of the shared local memory, and accessed using bitwise GPtJ access operations,

155. The method of claim 143 wherein the location estimating further comprises:

determining, from the first estimate of head and eye location and face rotation angle, an estimated center-of-face position;

determining an average depth value for the face by extracting three-dimensional (3D) points via the disparity values for a selected, small area located around the estimated center-of-face position; utilizing the average depth value to determine a depth range that is likely to encompass the entire head;

utilizing the estimated center-of-face position, face rotation angle, and depth range to e ecute a 2D ray march to determine a best-fit rectangle that includes the head;

calculating, for both horizontal and vertical axes, vectors that are perpendicular to each respective axis but spaced at different intervals;

tor each of the calculated vectors, testing the corresponding 3D points starting from a position outside the head region, and working inwards, to the horizontal or vertical axis;

when a 3D point is encountered that fells within the determined depth range, denominating that point as a valid extent of a best-fit head rectangle;

from each ray march along each axis, determining a best-fit rectangle for the head, and extracting therefrom ail 3D points that l ie within the best-fit rectangle, and calculating therefrom a weighted average; and

if the number of valid 3D points extracted from the best-fit rectangle exceed a selected threshold in relation to the maximum number of possible 3D points in the region, then signaling a valid 3D head position result.

1.56. A program product for use with a digital processing system, for enabling image capture and processing, the digital processing system comprising at least first and second cameras having a view of a scene, the cameras being arranged along an axis to configure a stereo camera pair having a camera pai r axis, and a digital processing resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored on a on-transitory digital processor- readable medium, which when executed in the digital processing resource cause the digital, processing resource to;

capture images of the scene, utilizing the at least first and second cameras; and

execute a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative dtstiince in image space between the common features, to generate disparity values, wherein the feature correspondence function comprises;

constructing a multi-level disparity histogram indicating the relative probability of a given, disparity value being correct for a gi ven pixel, the constructing of a multi-level disparity histogram comprising'.

executing a Fast Dense Disparity Estimate (FDDE) image partem matching operation on successively lower-frequency downsample versions of the input stereo images, the successi vely lo er- freqaency downsampled versions constituting a set of levels of FDDE histogram votes.

157. The program product of claim 156 wherein the digital processing system comprises at least two stereo camera pairs, each pair being arranged along a respecti ve camera pair axis, and wherein the digital processor-executable program instructions further comprise instructions which when executed in the digital processing resource cause the digital processing resource to execute, for each camera pair axis, the following: execute image capture utilizing the camera pair to generate image data;

execute rectification and undistorting tnmsfoniiations to transform the image data into ROD image space;

iteratively do nsample to produce multiple, successively lower resolution levels;

execute FDDE calculations for each level to compile FDDE votes for each level;

gather FDDE disparity range votes into a multi-level histogram;

determine the highest ranked disparity range in the multi-kvel histogram; and

process the multi-level histogram disparity data to generate a final disparity' result.

158. A program product f r use with a digital processing system , the digital processing system comprising at least first and second cameras having a view of a scene, the cameras being arranged along an axis to configure a stereo camera pair having a camera pair axis, and a digital processing resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored on anon-trartsitorv' digital processor-readable medium, which when, executed in the digital processing resource cause the digital processing resource to:

capture images of the scene, utilizing the at least first and second cameras; and

execute a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values, wherein the feature correspondence function comprises; generating a disparit solution based on the disparity values; and

applying an injective constraint to the disparity solution based on domain and co-domain, wherein the domain comprises pixels tor a given image captured fay (he first camera and the co-domain comprises pixels for a corresponding image captured by the second camera, to enable correc tion of error in the disparity solution in response to violation of the injective constraint wherein the injective constraint is that no element in the co-domain is referenced more than once by elements in the domain.

159. The program product of claim 158 wherein the digital processor-executable program instructions further comprise instructions which when executed in the digital processing resource cause the digital processing resource to;

maintain a reference count for each pixel in the co-domain, and

check whether the reference count tor the pixels in the co-domain exceeds " 1.", and if the count exceeds " 1 " then designate a violation and responding to the violation with a selected error correction approach .

! 60. A program product for use with a. digital processing system, for enabling a first user to view a. second user with direct virtual eye contact with the second user, the digital processing system comprising at least one camera having a view of the second user's face, and a digital processing resource comprising at least one digital processor, the program product comprising digital processor-e ecutable program instructions stored on a non-transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to:

capture images of the second user, utilizing lire at least one camera; execute a feature correspondence function by detecting common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between the common features, to generate disparity values;

generate a data representation, representative of the captured images and the corresponding dispar ty values:

estimate a three-dimensional (3D) location of the first user's head, face or eyes, thereby generating tracking information; and

reconstruct a synthetic view of the second user, based on the representation, to enable a. display to the first user of a synthetic view of the second user in which the second user appears to be gazing directly at the first user, wherein the reconstructing of a synthetic view of the second user comprises reconstructing the synthetic view based on the generated data representation and the geiiemted tracking information; and wherein the 3D location estimating comprises:

passing a captured image of the first user, the captured image including the first user's head and face,, to a two-dimensional (2D) facial feature detector that utilizes the image to generate a first estimate of head and eye location and a rotation angle of the face relative to an image plane,

utilizing an estimated eenter-of-faee position, face rotation angle, and head depth range based on the first estimate, to determine a best-fit rectangle that includes the head;

extracting from the best-fit rectangle all 3D points that lie within the best-fit rectangle, and calculating therefrom a representative 3D head position; and

if the number of valid 3D points extracted from the best-fit rectangle exceeds a selected threshold m relatio to the maximum number of possible 3D points in the region, then signaling a valid 3D head position result.

ί 61, A program product for use with a digital processing system, for enabling capture and processing of images of a scene, the digital processing system comprising (j) at least three cameras having a view of the scene, the cameras being arranged in a substantially "L"-shaped configuration wherein a first pair of cameras is disposed along a first axis and second pair of cameras is disposed along a second axis intersecting with, but angularly displaced from, the first axis, wherein the first and second pairs of cameras share a common camera at or near the intersection of the first and second axis, so that the first and second pairs of cameras represent respective first and second independent, stereo axes that share a common camera, and (ii) a digital processing resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored on a non- transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to:

capture images of the scene, utilizing the at least three cameras;

execute a feature correspondence function by detecting common features between corresponding images captured by the at least three cameras and measuring a relative distance in image space between the common features, to generate disparity values;

generate a data representation, representative of the captured images and the corresponding disparity values; and utilize an unreetified, undistorted (URUD) image space to integrate disparity data for pixels between the first and second stereo axes, thereby to combine disparity data from the first arid second axes, wherein the URUD space is an image space in which polynomial lens distortion has been removed from the image data but the captured image remains unreetified.

162, The program product of claim 161 wherein die digital processor-execotabie program instructions further comprise instructions which when executed i» the digital processing resource cause the digital processing resource to execute a stereo correspondence operation oa the image data in a rectified, undistorted (ROD) image space, and store resultant disparity data in a UD space coordinate system,

163. A program product for use with a digital processing system, for enabling image capture and processing, the digital processing system comprising at least one camera having a view of a scene, and a digital processing resource comprising at least one digital processor, the program product comprising digital processor- xecutable program instructions stored on a non-transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to; capture images of the scene, utilizing the at least one camera;

execute a feature correspondence function by detecting common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between the common features, to generate disparity values; and

generate a data representation, representative of the captured images and the corresponding disparity values;

wherein the feature correspondence function utilizes a disparity histogram-based method of integrating data and determining correspondence, the disparity histogram-based method comprising; contracting a disparity histogram indicating the relative probability of a given dispari ty val ue being correct for a given, pixel; and

optimizing generation of disparity values on a GPU computing simcture, the optimizing comprising;

generating, in the GPU computing structure, a plurality of output pixel threads;

for each output pixel thread, maintaining a private disparity histogram, in. a storage element associated with the GPU computing stnictiire and physically proximate to the computation units of the GPU computing structure.

1 4. A video capture and processing system, the system comprising:

at least first and second cameras having a view of a scene, the cameras being arranged along an axis to configure a stereo camera pair having a camera pai r axis: and

a digital processor operable to receive image data from the cameras and process the received image data;

the system being operable to:

capture images of the scene, utilizing the at least first and second cameras ; and execute, utilizing the processor, a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values, the feature

correspondence function comprises:

constructing, utilizing d e processor, a multi-level disparity histogram indicating the relative probability of a given disparity value being correct for a given pixel, the constructing of a multi-level disparity histogram comprising:

executing, utilizing the processor, a Fast Dense Disparity Estimate (FDDE) image pattern matching operation on successively lower-frequency downsa pled versions of the input stereo images, the successively lower-frequency downsampled versions constituting a set of levels of FDDE histogram votes,

165. A video capture and. processing system, the system comprising:

at ast first and second cameras having a view of a scene, the cameras being arranged along an axis to configure a stereo camera pair; and

a digital processor operable to recei ve image dad from the cameras and process the recei ved image data;

the system being operable to:

capture images of the scene, utilizing the at least first and second cameras;

execute, utilizing the processor, a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values, the feature correspondence function further comprising;

generating, utilizing the processor, a disparity solution based oa the disparity values;

applying, utilizing the processor, an injective constraint to the disparity solution based on domain and co-domain, wherein the domain comprises pixels for a given image captured by the first camera and the co-domain comprises pixels tor a corresponding image captured by the second camera, to enable correction of error in the disparity solution in response to violation of the injective constraint, wherein the injective constraint is that no element in the co-domain is referenced more than once by elements in the domain.

166, A video capture system that enables a first user to view a second user with direct virtual eye contact with the second user, the system comprising:

at least one camera having a view of the second user's face; and

a digital processor operable to receive image data from the at least one camera and process the recei ed image data;

the system being operable to;

capture images of the second user, utilizing the at least one camera; execute, utilizing the processor, a feature correspondence function by detecting common features between corresponding images captured by the at least one camera and measuring a relati v distance in image space between the common features, to generate disparity values;

generate, utilizing the processor, a data representation, representati ve of the captured images and the corresponding disparity values;

estimate, utilizing the processor, a three-dimensional (3 D) location of the first user's head, face or eyes, thereby generating tracking information; and

reconstruct, utilizing the processor, a s nthetic view of the second user, based on the representation, to enable a display to the first user of a synthetic view of the second user in which the second user appears to be gazin directly at the first user,, wherein the recansin!C-ting of a synthetic view of the second user comprises reconstructing the synthetic view based on the generated data representation and the generated tracking information; and wherein the location estimating comprises:

passing a captured image of the first user, the captured image including the first user's head and face,, to a two-dimensional (2D) racial feature detector that utilizes the image to generate a first estimate of head and eye location and a rotation angle of the face relative to an image plane,

utilizing an estimated eenter-of-faee position, face rotation angle, and head depth range based on the first estimate, to determine a best-fit rectangl that includes the head;

extracting from the best-fit rectangle ai! 3D points that iie within the best-fit rectangle, and calculating therefrom a representative 3D head position; and

if the number of valid 3D points extracted from the best-fit rectangle exceeds a selected threshold in relation to the maximum number of possible 3D points in the region, then signaling a valid 3D head position result.

167, A video capture and processing system, the system comprising:

at least three came ras having a view of a sce ne, the cameras being arranged in a substantially "L"-shaped configuration wherein a first pair of cameras is disposed along a first axis and second pair of cameras is disposed along a second axis intersecting with, but angularly displaced from, the first axis, wherein the first and second pairs of cameras share a common camera at or near the intersection of the first and second axis, so that the first and second pairs of cameras represent respective first and second independent stereo axes that share a common camera, and

a digital processor operable to -receive image data from the at least three cameras and process the received image data;

the system being operable to:

capture images of the scene, utili zing the at leas t three cameras;

execute, utilizing the processor, a feature correspondence function by detecting common fe tures between corresponding images captured by the at least three cameras and measuring a relative distance in image space between the common features, to generate disparity values:

generate, utilizing the processor, a data representation, representative of the captured images and the corresponding disparity values; and further comprising: utilization, by the processor, of art unreciified, undi slotted (URUD) image space to integrate disparity data for pixels between the first and second stereo axes, thereby to combine disparity data from the first and second axes, wherein the URUD space is an image space in which polynomial lens distortion has been removed from the image data but the captured image remains uureetified.

168, A video capture and processing method system, the system comprising:

at least one camera having a view of the scene; and

a digital processor operable to receive image data from the at least one camera and process the received image data;

the system being operable to:

capture ima es of the scene, uti lizing the at least one camera:

execute, utilizing the processor, a feature correspondence function by de ecting common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between the common features, to generate disparity values; and

generate, utilizing the processor, a data representation, representative of the captured images and the corresponding disparity values;

wherein the feature correspondence function utilizes a disparity histogram-based method of integrating data and determining correspondence, the disparity histogram -based method comprising: constructing, utilizing the processor, a disparity histogram indicating die relative probability of a given disparity value being correct for a given pixel ; and

optimizing generation of disparity values on a GPU computing structure, the optimizing comprising:

generating, in fee GPU computing structure, a plurality of output pixel threads;

for each output pixel thread, matataimng a private disparity histogram, in a storage element associated with the GPU computing stracture and physically proximate to the computation units of the GPU computing structure.

Description:
VIRTUAL 3D METHODS. SYSTEMS AND SOFTWARE

Cross-Reference to Related Applications, Incorporation by ' Reference

This application for patent claims the priority benefit of commonly-owned U.S. Provisional Application for Patent Serial No. 62/136494 filed March 21, 2015 (Attorney Docket MNE-i 11 -PR), entitled "Virtual 3D Methods, Systems and Software'*, which is incorporated by reference h rein as if set forth herein in its entirety. Also incorporated by reference herein as if set forth herein in their entireties are the following:

U.S. Pat. App. Pub. No. 2013/0101160, Woodfitl et al;

Carranza et al., "Free-Viewpoint Video of Human Actors," ACM. Transactions on

Graphics, vol. 22, no. 3, pp. 569-577, July 2003;

Chu et al., "OpenCV and TYZX: Video Surveillance for Tracking. " August 2008,

Sandi a Report S.A D2008-5776;

Gordon et ai, "Person aad Gesture Tracking with Smart Stereo Cameras," Proc. SPfE, vol.

6805, Jan. 2008;

Hannah, "Computer Matching of Areas in Stereo Images'", July 1 74 Thesis, Stanford

University Computer Science Department Report STAN-CS-74-438;

Harrison et al.. "Pseudo~3 ' D Video Conferencing with a Generic Webcam," 2008 IEEE

Int'l Symposium on Multimedia, pp. 236-241 ;

Luo et al., " 'Hierarchical Genetic Disparit Estimation Algorithm for uithiew Image

Synthesis," 2000 IEEE Int. conf. on Image Processing, Vol. 2, pp. 768-771;

Zabih et al., "Non-parametric Local Transforms for Computing Visual Correspondence "

Proc. European Conf. on Computer Vision. May 1994, pp. 151 -158.

Field of the Invention

The present invention relates generally to methods, systems and computer program products ('"software") for enabling a virtual diiee-diraensional visual experience (referred to herein as "V3D") in videoconferencing aad other applications, and for capturing, processing and displaying of images and image streams.

Background of the in vention

it would be desirable to provide methods, systems, devices and computer software/program code products that:

( 1 ) enable improved visual aspects of videoconferencing over otherwise conventional

telecomn inicarions networks and devices;

(2) enable a first user in a videoconference to view a second, remote user in the videoconterence with direct virtual eye contact with the second user, even if.no camera used in the videoconference set-up has a direct eye contact gaze vector to the second user: (3) enable a virtual 3D experience (referred to herein: as V3D), not only in videoconferencing but. in other applications such as viewing of remote scenes, and in virtual reality (VR) applications,

(4) facilitate self-portraiture of a user utilizing a handheld device to take the self-portrait;

(5) facilitate composition of a photograph of a scene, by a user utilizing a handheld device to take the photograph;

(6) provide such features in a manner that fits within the form factors of modem mobile devices such as tablet computers and smartpnones, as well as the form factors of laptops, PCs, computcr-drrven tekvisions, computer-driven projector devices, and the like, does not dramatically alter the economics of building such devices, and is viable within current or near-current communications netwonVeonnectivity architectures.

(7) improve the capturing and displaying of images to a user utilizing a binocular stereo head- mounted display (HMD) in a pass-through mode:

{8} improve the capturing and displaying of image content on a binocular stereo head-mounted display (HMD), wherein the captured content is prerecorded content;

(9) generate an input image stream adapted for use in the control system of an autonomous or self-driving vehicle.

The present invention provides methods, systems, devices and computer software/program code products that enable the foregoing aspects and others. Embodiments and practices of the invention are collecti vely referred to herein as V3D.

Aspects, examples, embodiments and practices of the invention, whether in the form of methods, devices, systems or computer software/program code products, will next be described in greater detail in the following Summary of the Invention and Detailed Description of the Invention sections, in conjunction with the attached drawing figures.

Summary of the Invention

The present invention provides methods, systems, devices, and computer sof vare/program code products for, among other aspects and possible applications, facilitating video communications and presentation of image and video content, and generating image input streams for a control system of autonomous vehicles.

Methods, systems, devices, and computer software/program code products in accordance with the invention are suitable for implementation or execution in, or in conjunction with, commercially available computer graphics processor configurations and systems including one or more display screens for displaying images, cameras for capturing images, and graphics processors for rendering images for storage or for display, such as on a display screen, and for processing data values for pixeis in an image representation. The cameras, graphics processors and displa screens can be of a form provided in commercially available smartphones, tablets and other mobile telecommunications devices, as well as in commercially available laptop and desktop computers, which may communicate usitig commercially available network architectures including client/server and client/netvvork/cloud architectures.

In the aspects of the invention described below and hereinafter, the algorithmic image processing methods described are executed- by digital processors, which can include graphics processor units, including GPGPUs such as those commercially available on cellphones, smartphones, tablets and other commerciall available telecommunications and computing devices, as well as in digital display devices and digital cameras. Those skilled in the art to which this invention pertains will understand the structure and operation of digital processors. GPGPUs and similar digital graphics processor units.

While a number of the following aspects are described in the context of one-directional ("half- duplex") configurations, those skilled in the art will understand that the invention further relates to and encompasses providing bi-directional, full-duplex, configurations of the claimed subject matter.

One aspect of the present invention relates to methods, systems and computer software/program code products that enable a first user to view a second user with direct virtual eye contact with the second user. This aspect of the invention comprises capturing images of the second user, utilizing at least one camera having a view of the second user's face; generating data representation, representative of the captured images: reconstructing a synthetic view of the second user, based on the representation; and displaying the synthetic view to the first user on a display screen used by the first user; the capturing, generating, reconstructing and displaying being executed such that the first user can have direct virtual eye contact with the second user through the first user's display screen, by the reconstructing and displaying of a synthetic view of the second user in which the second user appears to be gazing directly at the first user, even if no camera has a direct eye contact gaze vector to the second user.

Another aspect includes executing a feature correspondence function by detecting common features between corresponding images captured by the at feast one camera and measuring a relative distance in image space between the commo features, to generate disparity values; wherein the dat representation is representative of the captured images and the corresponding disparity values; the capturing, detecting, generating, reconstructing and displaying being executed such that, the first user can have direct virtual eye contact with the second user through the first user's display screen.

In another aspect, the capturing includes utilizing at least two cameras, each, having a view of the second user's face; and executing a feature correspondence function comprises detecting common features between corresponding images captured by the respecti ve cameras.

In yet another aspect the capturing comprises utilizing at least one camera having a view of the second user's face, and which is an infra-red time-oi-ffight camera that directly provides depth inf ormation: and the data representation is representative of the captured images and corresponding depth information.

in a further practice of the invention , the capturing includes util izing a single camera having a view of the second user's face; and executing a feature correspondence function comprises detecting common features between sequential images captured by the single camera ove time and measuring a relative distance in image space between the common features, to generate disparity values,

in another aspect the captured images of the second user comprise visual mtbrmation of the scene surrounding the second user; and the capturing, detecting, generating, 'reconstructing and displaying are executed such that : (a) the first user is provided the visual impression of looking through his display screen as a physical window to the second user and the visual scene surrounding the second user, and (b) the first user is provided an immersive visual experience of the second user and the scene surrounding tire second user,

Another practice of the invention includes executing image rectification to compensate for optical distortion of each camera and relative misalignment of the cameras.

In another aspect executing image rectification comprises applying a 2D image space transform; and applying a 2D image space transform comprises utilizing a GPGPU processor running a saader program.

In one practice of the invention, the cameras for capturing images of the second user are located at or near tise periphery or edges of a display device used by the second user, the display devsce used by the second user having a display screen viewable by the second user and having a geometric center; and the synthetic view of the second user corresponds to a selected virtual camera location, the selected virtual camera location corresponding to a point at or proximate to the geometric center.

In another practice of the invention, the cameras for capturing images of the second user are located at a selected position outside the periphery or edges of a display de vice used by the second user.

In still another aspect of the invention, respective camera view vectors are directed in noa- coplanar orientations.

In another aspect, the cameras for capturing images of the second user, or of a remote scene, are located in selected positions and positioned with selected orientations around the second user or the remote scene.

Another aspect includes estimating a location of the first user's head or eyes, thereby generating tracking information and the reconstructing of a synthetic view of the second user comprises reconstructing the synthetic view based on the generated data representation and the generated tracking information.

In one aspect of the invention, camera shake effects are inherently eliminated, in that the capturing, detecting- generating, reconstructing and displaying are executed such that the first user lias a virtual direct view through his display screen to the second user and the visual scene surrounding the second user; and scale and perspective of the image of the second user and objects in the visual scene surrounding the second user are accurately represented to the first user regardless of user view distance and angle.

This aspect of the invention provides, on the user's display screen, the visual impression of a frame without glass; a window into a 3D scene of the second user and the scene surrounding the second user.

In one aspect the invention is adapted for implementation on a mobile telephone device, and the cameras for capturing images of the second user are located at or near the periphery or edges of a mobile telephone device used by the second user,

la another practice of the invention, the invention is adapted for implemen tation on a laptop or desktop computer, and the cameras for capturing images of the second user are located at or near the periphery or edges of a display device of a lapto or deskto computer used by the second user.

In another aspect, the invention is adapted for implementation on computing or

telecommunications de vices comprising any of tablet computing devices, computer-dri ven television displays or computer-driven image projection devices, and wherein the cameras for capturing images of the second user are located at or near the periphery or edges of a computing or telecommunications device used by the second user.

One aspect of the present invention relates to methods, systems and computer software program code products that enable a user to view a remote scene in a manner that gives the user a visual impression of being present with respect to the remote scene. This aspect of the invention includes capturing images of the remote scene, utilizing at least two cameras each having a view of the remote: scene; executing a feature correspondence function by detecting common features between

corresponding images captured by ttie respective cameras and measuring a relative distance in image space between the common features, to generate disparity values; generating a data representation, represen tative of the captured images and the corresponding disparity values; reconstructing a synthetic view of the remote scene, based on die representation; and displayin the synthetic view to the first user on a display screen used by the first user; the capturing, detecting, generating, reconstructing and displaying being executed such that; (a) the user is provided the visual impression of looking through his display screen as a physical window to the remote scene, and (b) the user is provided an immersive visual experience of the remote scene.

In one aspect of the invention, the capturing of images includes using at least one color camera. In another practice of the invention , the capturing includes using at least one infrared structured light emitter. In yet another aspect, the capturing comprises utilizing a view vector rotated camera

configuration wherein the locations of first and second came as define a line; and the line defined by the first and second camera locations is rotated by a selected amount from a selected horizontal or vertical axis; thereby increasing the number of valid featu re correspondences identified in typical real-world settings by the feature correspondence function.

In another aspect of the invention, die first and second cameras are positioned relative to each other along epipolar lines.

in a farther aspect, subsequent to the capturing of images, disparity values are rotated back to a selected horizontal or vertical orientation along with the captured images.

In another aspect, subsequent to the reconstructing of a synthetic view, the synthetic view is rotated back to a selected horizontal or vertical orientation.

In yet another practice of the in vention, the capturing comprises exposure cycling, comprising dynamically adjusting the exposure of the cameras on a .ftame-by « ftame basis to improve disparity estimation in regions outside die exposed region viewed by the user; wherein a seri es of exposures are taken, iiiciifding exposures lighter than and exposures darker than a visibility-optimal exposure, disparity values are calculated for each exposure, and the disparity values are integrated into an overall disparity solution over time, so as to improve disparity estimation.

In another aspect, the exposure cycling comprises dynamically adjusting the exposure of the cameras on a frame-by-franie basis to improve disparity estimation in regions outside the exposed region viewed by the user; wherein a series of exposures are taken, including exposures lighter than and exposures darker than a visibility-optimal exposure, disparity values are calculated for each exposure, and the disparity values are integrated in a disparity histogram, the disparity histogram being converged over time, so as to improve disparity estimation.

A further aspect of the invention comprises analyzing the quality of the overall disparity solution on respective dark, mid-range and light pixels to generate variance information used to control the exposure settings of the cameras, thereby to form a closed loop between the quality of the disparity estimate and the set of exposures requested from the cameras.

Another aspect includes analyzing variance of the disparity histograms on respective dark, mid- range and light pixels to generate vari ance information used to control the exposure settings of the cameras, thereby to form a closed loop between the quality of the disparity estimate and the set of exposures requested from the cameras.

In one practice of the invention, the feature correspondence f nction includes evaluating and combining vertical- and horizontal-axis correspondence information.

In another aspect, the feature correspondence function further comprises applying, to image pixels containing a disparit solution, a coordinate transformation, to a unified coordinate system. The unified coordinate sy stem can be the mi-rectified coordinate system of the captured images. Another aspect of the invention includes using at least three cameras arranged in a substantially "L"-shaped configuration, such that a pair of cameras is resented along a first axis and a second pair of cameras is presented along a second axis substantially perpendicular to the first axis.

In a farther aspect, the feature correspondence function utilizes a disparity histogram-based method of in tegrating data and determining correspondence.

In accordance with another aspect of the invention, the feature correspondence function comprises refining correspondence information over time. The refining can include retaining a disparity solution over a time interval, and continuing to integrate disparity solution values for each image frame over the time interval, so as to converge on an improved disparity solution fay sampling over time.

in another aspect, the feature correspondence function comprises filling unknowns in a

correspondence information set with historical data obtained from previously captured images. The filling of unknowns can include the following: if a gi ven image feature is detected in an image captured by one of the cameras, and no corresponding image feature is found in a corresponding image captured by another of the cameras, then utilizing data for a pixel corresponding to the given image feature, from a corresponding, previously captured image.

In a further aspect of the invention, the feature correspondence function utilizes a disparity histogram -based method of integrating data and determining correspondence. ' This aspect of the invention can include constructing a disparity histogram indicating the relative probability of a given disparity value being correct for a given pixel. The disparit histogram functions as a Probability

Density Function (PDF) of disparity for the given pixel, in which higher values indicate a higher probability of the corresponding disparity range being valid for the given pixel.

In another practice of the invention, one axis of the disparity histogram indicates a given disparity range, and a second axis of the histogram indicates the number of pixels in a kernel surrounding the central pixel in question that are voting for the given disparity range.

in one aspect of the invention, votes indicated by the disparity histogram are initially generated utilizing a Sum of Square Differences (SSD) method, which can comprise executing an SSD method with a relati vely small kernel to produce a fast dense disparity map in which each pixel has a selected disparity that represents the lowest error;

then, processing a plurality of pixels to accumulate into the disparity histogram a tally of the number of votes for a given disparity in a relatively larger keme! surrounding the pixel in question.

Another aspect of the invention includes transforming the disparity histogram into a Cumulative Distribution Function (CDF) from which the width of a corresponding interquartile range can be determined, thereby to establish a confidence level in the corresponding disparity solution.

A further aspect includes maintaining a count of the number of statistically significant modes in the histogram, thereby to indicate modality. In accordance with the invention, modality can be used as an input, to the abo ve-described reconstruction aspect, to control application of a stretch vs. slide

reconstruction method. Still another aspect of the invention includes maintaining a disparity histogram over a selected time interval and accumulating samples into the histogram, thereby to compensate for camera noise or other sources of motion or error.

Another aspect includes generating fast disparit estimates for multiple independent axes; and then combining the corresponding, respective disparity histograms to produce a statistically more robust disparity solution.

Another aspect includes evaluating the interquartile range of a CDF of a given disparity histogram to produce au inter uartile result; and if the interquartile result is indicative of an area of poor sampling signal to noise ratio, due to camera over- or underexposure, then controlling camera exposure based on the interquartile result to improve a poorly sampled area of a given disparity histogram.

Yet another practice of the in vention i ncludes testing for only a sm all set of disparity values using a small-kernel SSD method to generate initial results; populating a corresponding disparity histogram with the initial results; and then using histogram votes to drive further SSD testing within a given range to improve disparity resolution over time.

Another aspect includes extracting sub-pixel disparity information from the disparity histogram, the extracting including the following: where the histogram indicates a maximum-vote disparit range and an adjacent, runner-up disparity range, calculating a weighted average disparity value based on the ratio between the number of votes for each of the adjacent disparity ranges.

In another practice of the invention, the feature correspondence function comprises weighting toward a center pixel in a Sum of Squared Differences (SS D) approach, wherein the weightin incl udes applying a higher weight to the center pixel for which a disparity solution is sought, and a lesser weight outside the cen ter pixel, the lesser weight being proportional to the distance of a given kernel sample from the center.

In another aspect, the feature correspondence function comprises optimizing generation of disparity values on GPGPU computing structures. Such GPG i computing structures are commercially available, and are contained in commercially available forms of smartphones and tablet computers.

In one practice of the inve ntion, generating a data representation includes generating a date structure representing 2D coordinates of a control point in image space, and containing a disparity value treated as a pixel velocity in screen space with respect t a given movement of a given view vector; and using the disparity value in combination with a movement vector to slide a pixel in a given source image in selected directions, in 2D. to enable a. reconstruction of 3D image movement.

in another aspect of the invention, each camera generates a. respective camera stream and the data structure representing 2D coordinates of a control point further contains a sample buffer index, stored in association with the control point: coordinates, which indicates which camera stream to sample in association with the given control point.

Another aspect includes determining whether a given pixel should be assigned a control point. A related practice of the invention includes assigning control points along image edges, wherein assigning control points along image edges comprises executing computations enabling ideatification of image- edges.

In another practice of the invention, generating a data representation includes flagging a given image feature with a reference count indicating how many samples reference the given image feature, thereby to differentiate a uniquely referenced image features, and a sample corresponding to the uniquely referenced image feature, from repeatedly referenced image features; and, using the reference count, extracting unique samples, so as to enable a reduction in bandwidth requirements,

hi a further aspect, generating a data representation farther includes using the reference count to encode and transmit a given sample exactly once, even if a pixel or image feature corresponding to the sample is repeated in multiple camera views, so as to enable a reduction in bandwidth requirements.

Yet another aspect of the invention includes estimating a location of the first user's head or eyes, thereby generating tracking informatio ; wherein the reconstructing of a synthetic view of the second user comprises reconstructing the synthetic view based on the gen rated data representation and the generated tracking information; and wherein 3D image reconstruction is executed by warping a 2D image by utilizing tire control points, by sliding a gi ven pixel along a head movement vector at displacement rate proportional to disparity, based on the tracking information and disparity values.

in another aspect, the disparity values are acquired from the feature correspondence function or from a control point data stream.

In another practice of the invention, reconstructing a synthetic view comprises utilizing the tracking information to control a 2D crop bos, such that the synthetic view is reconstructed based on the vie origin, and the cropped and scaled so as to fill the first user's display screen view window; and the minima and maxima of the crop box are defined as a function of the first user's head location with respect to the display screen, and the dimensions of the display screen view window.

In a further aspect, reconstructing a synthetic view comprises executing a 2D warping

reconstruction of a selected view based on selected control points, wherein the 2D warping

reconstruction includes designating a set of control points, respective control points corresponding to respecti ve, selected pixels in a source image; sliding the control points in selected directions in 2D space, wherein the control points are slid proportionally to respective disparity values; and interpolating data values for pixels between the selected pixels corresponding to the control points; so as to create a synthetic view of the image from a selected new perspective in 3D space.

The invention can further include rotating the source image and control point coordinates such that row's or columns of image pixels are parallel to the vector between the original source image center and the new view vector defined by the selected new perspective.

A related practice of the invention further includes rotating the source image and control point coordinates so as to align the view vector to image scanlines; iterating through each scanline and each control point for a given scanline, generating a line element beginning and ending at each control point in 2D image space, with the addition of the corresponding disparity value multiplied by the corresponding view vector magnitude with the corresponding x-axis coordinate; assigning a texture coordinate to the beginning and ending points of each generated line element, equal to their respective, original 2D location in the source image; and interpolating texture coordinates linearly along each line element; thereby to create a resulting image in which image data between the controi points is linearly stretched.

The invention can also include rotating the resulting image back by the inverse of the rotation applied to align the view vector with die scanlines.

Another practice of the invention includes linking the controi points between scanlines, as well as along scanlines, to create polygon elements defined by the control points, across which interpolation is executed.

In another aspect of the invention, reconstructing a synthetic view further comprises, for a given source image, selectively sliding image foreground and image background independently of each other, in a related aspect, sliding is utilized in regions of large disparity or depth change.

In another practice of the invention, a determination of whether to utilize sliding includes evaluating a disparity histogram to detect multi-modal behavior indicating that a given controi point is on an image boundary for which allowing foreground and background to slide independent of each other presents a better solution than interpolating depth between foreground and background; wherein the disparity histogram functions as a Probability Density Function (PDF) of disparity for a given pixel, in which higher values indicate a higher probability of the corresponding disparity range being valid for the given pixel.

In yet another aspect of the invention, reconstructing a synthetic view includes using at least one Sample Integration Function T able (SIFT), the SIFT comprising a table of sample integration functions for one or more pixels in a desired output resolution of an image to be displayed to the user, wherein a given sample integration function maps an input view origin vector to at least one known, weighted 2D image sample location in at least one input image buffer.

In another aspect, displaying the synthetic view to the first user on a display screen used by the first user includes displaying the synthetic v ew " to the first user on a 2D display screen: and updating the display in real-time, based on the tracking mforaiatton. so that the display appears to the first user to be a window into a 3D scene responsi ve to the first users head or eye location.

Displaying the synthetic view to the first nser on a display screen used by the first user can include displaying the synthetic view to the first user on a binocular stereo display device; or, among other alternatives, on a lenticular display that enables auto-stereoscopic viewing.

One aspect of the present invention relates to methods, systems and computer software/program code products that facilitate self-portraitiire of a user utilizing a handheld device to lake the self-portrait, the handheld mobile device having a display screen for displaying images to the user. This aspect includes providing at least one camera around the periphery of the display screen, the at least one camera having a vie w of the user's face at a self portrait setup time during which the user is setting up the self- portrait; capturing images of the user during the setup time, utilizing the at least one camera around the periphery of the display screen; estimating a location of the user's head or eyes relative to the handheld device during the setup time, thereby generating tracking information; generating a data representation. representative of the captured images; reconstructing a synthetic view of the user, based on the generated data representation and the generated tracking information; displaying to the user, on the display screen during the setup time, the synthetic view of the user; thereby enabling the user, while setting up the self- portrait, to selectively orient or position his gaze or head, or the handheld device and its camera, with real lime visual feedback.

In another aspect of die invention, die capturing, estimating, generating, reconstructing and displaying are executed s ch that, in the self-portrait, the user can appear to be looking directly into the camera, even if the camera does not have a direct eye contact gaze vector to the user.

One aspect of the present .invention relates to .methods, systems and compute software/program code products that facilitate composition of a photograph of a scene, by a user utilizing a handheld device to take die photograph, the handheld device having a display screen on a first side for displaying images to the user, and at least one camera on a second, opposite side of the .handheld device, for capturing images. This aspect includes capturing images of the scene, utilizing the at least one camera, at a photograph setup time during which die user is setting up the photograph; estimating a location of the user's head or eyes relative to the handheld device during the setup time, thereby generating tracking information; generating a data representation, representative of the captured images; reconstructing a synthetic view of the scene, based on the generated data representation and the generated tracking information, die synthetic view being reconstructed such that the scale and perspective of the synthetic view has a selected correspondence to the user's viewpoint relative to the handheld device and the scene; and displaying to the user, on the display screen during the setup tune, the synthetic view of the scene; thereby enabling the user, while setting up the photograph, to frame the scene to be photographed, with selected scale and perspective within the display frame, with realtime visual feedback.

In another aspect of the invention, the user can control the scale and perspective of the synthetic view by changing the position of the handheld device relative to the position of the user's head.

in another practice of the invention, estimating a location of the user's head or eyes relative to the handheld device includes using at least one camera on the first, display side of the handheld device, having a view of the user's head or eyes during photograph setup time.

The invention enables the features described herein to be provided in a manner that fits within the fonn factors of modern mobile devices such as tablets and smartphones, as well as the form factors of laptops, PCs, computer-driven televisions, computer-driven projector devices, and the like, does not dramatically alter the economics of building such devices, and is viable within current or near current communications network/connectivity architectures .

One aspect of the present invention relates to methods, systems and computer software program code products for displaying images to a user utilizing a binocular stereo head-mounted display (HMD). This aspect includes capturing at least two image streams using at least one camera attached or mounted on or proximate to an external portion or surface of the HMD, the captured image streams containing images of a scene; generating a data representation , represen tative of captured images contained in the captured image streams; reconstructing two synthetic views, based on the representation; and displaying the synthetic views to the user, via the HMD; the reconstructing and displaying being execirted such that each of die synthetic views has a respective view origin corresponding to a respective virtual camera location, wherein the respective view origins are positioned such that the respective virtual camera locations coincide with respective focations of the user's left and right eyes, so as to provide the user with a substantially natural visual experience of the perspecti ve, binocular stereo and occlusion aspects of the scene, substantially as if the user were directly viewing the scene without an HMD.

Another aspect of the present invention relates to methods, systems and computer

software/program code products for capturing and displaying image content on a binocular stereo head- mounted display (HMD). The image content can include pre-recorded image content, which can he stored, transmitted, broadcast, downloaded, streamed or otherwise made available. This aspect includes capturing or generating at least two image streams using at least one camera, the captured image streams containing images of a scene; generating data representation, representative of captured images contained in the captured image streams; reconstructing two synthetic views, based on the representation; and displaying the synthetic views to a user, via the HMD; the reconstraeting and displaying being executed such that each of the synthetic views has a respective view origin corresponding to a respective virtual camera location, wherein the respective view origins are positioned such that the respective virtual camera locations coincide with respective locations of the user's left and right eyes, so as to provide the user with a substantially natural visual experience of the perspective, binocular stereo and occlusio aspects of the scene, substantially as if the user were directly viewing the scene without an HMD,

In another aspect, the data representation can be pre-recorded, and stored, transmitted, broadcast, downloaded, streamed or otherwise made available.

Another aspect of the invention includes tracking the location or position of the user's head or e es to generate a motion vector usable in the reconstructing of synthetic views. The motion vector can be used to modify the respective view origins, during the reconstructing of synthetic views, so as to produce intermediate image frames to be interposed between captured image frames in the captured image streams; and interposing the intermediate image frames between the captured image frames so as to reduce apparent latency.

In another aspect, at least one camera is a panoramic camera, night-vision camera, or thermal imaging camera.

One aspect of the invention relates to methods, s stems and computer sothvare/prograrrs code products for generating an image date stream for use by a control system of an autonomous vehicle. This aspect includes capturing images of a scene around at least a portion of the vehicle, the capturing comprising utilizing at least one camera having a view of the scene; executing a feature correspondence function by detecting common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between the common features, to generate disparity values; calculating corresponding depth information based on the disparity values; and generating from the images and corresponding depth information an image data stream for use by the control system. The capturing can include capturing comprises utilizing at least two cameras, each having a view of the scene; and execu ting a feature correspondence function comprises detecting common features between corresponding images captured by the respective cameras.

Alternatively, the capturing can include using a single camera having a view of the scene; and executing a feature correspondence function comprises detecting common features between sequential images captured by the single camera over time and measuring a relative distance in image space between the common features, to generate disparity values.

One aspect of the present invention relates to methods, systems and computer software program code products that enable video capture and processing, including: ( !) capturing images of a scene, the capturing comprising utilizing at least first and second cameras having a view of the scene, the cameras being arranged along an axis to configure a stereo camera pair having a camera pair axis; and (2) executing a feature correspondence function by detecting common features between corresponding images captured b the respective cameras and .measuring a. relative distance in image space between the common features, to generate disparit ' values,, wherein the feature correspondence function comprises: constructing a .multi-level disparity histogram indicating the relative probability of a given disparity value being correct for a given pixel, the constructing of a multi-level disparity histogram comprising:

executing a Fast. Dense Disparity Estimate (FDDE) image pattern matching operation on successi ely lower-frequency downsampled versions of the input stereo images, the successively lower-frequency downsampled versions constituting a set of levels of .FDDE histogram votes. In this aspect of the invention, each level can be assigned a level number, and each successively higher level can be characterized by a lower image resolution, in one aspect, the downsampiing can include reducing linage resolution via low-pass filtering. In another aspect, the downsampiing can include using a weighted summation of a kernel in level [n- 1 j to produce a pixel value in level [n| : , and the normalized kernel center position remains the same across all levels.

In one aspect of the invention, for a given desired disparity solution at full image resolution, the FDDE votes for even- image level are included in the disparity solution .

Another aspect of the in vention includes generating a multi-level histogram comprising a set of initially independent histograms at different levels of resolution. In a related aspect, each histogram bin in a given level represents votes for a disparity determined by the FDDE at that level, In another related aspect, each histogram bin in a given level has an associated disparity uncertainty range, and the disparity uncertainty range represented by each histogram bin is a selected multiple wider than the disparity uncertainty range of a bin in the preceding level.

A further aspect of the in ention includes applying a sub-pixel shift to the disparity values at each level during downsampiing, to negate rounding error effect. In a related aspect, applying a sub- pixel shift comprises applying a half pixel shift to only one of the images in a stereo pair at each level of downsampiing. In a further aspect applying a sub-pixel shift is implemented inline, within the weights of the filter kernel utilized to implement the downsampiing from level to level.

Another aspect of the invention includes executing histogram integration, the histogram integration comprising: executing a recursi ve summation across all the FDDE levels. A related aspect includes, during summation, modifying the weighting of each level to control the amplitude of the effect of lower levels in overall voting, by applying selected weighting coefficients to selected levels.

Yet another aspect of the invention includes inferring a sub-pi xel disparity solution from the disparity histogram, by calculating a sub-pixel offset based on the number of votes for the maximum vote disparity range and d e number of votes for an adjacent, runner-up disparity range. In a related aspect, a summation stack can be maintained in a memory unit.

One aspect of the present invention relates to methods, systems and compu ter software program code products thai, enable capturing of images using at least two stereo camera pairs, each pair being arranged along a respective camera pair axis, and for each camera, pair axis: executing image capture utilizing the camera pair to generate image data; executing rectification and undisiorting transformations to transform the image data into ROD image space; iierati vely downsampiing to produce multiple, successively lower resolution levels; executing F0DE calculations for each level to compile F.DDE votes for each levei; gathering FDD.E disparit range votes into a mutti -level histogram; determining the highest ranked disparity range in the multi-le vel histogram; and processing the multi-level histogram disparity data to generate a final disparity result.

One aspect, of the present invention relates to methods, systems and computer software/program code products that enable video capture and processing, including; <1) capturing images of a scene, the capturing comprising utilizing at least first and second cameras having a view of the scene, ike cameras being arranged along an axis to configure a stereo camera pair; and (2) executing a feature

correspondence function b detecting common features between correspondin images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values, the feature correspondence function further comprising; generating a disparity solution based on the disparity values; and applying an infective constraitit to the disparity solution based on domain and co-domain, wherein the domain comprises pixels for a given image captured by the first camera an the co-domain comprises pixels for a corresponding image captured by the second camera, to enable correction of error in the disparity solution in response to violation of the injective constraint, wherein the injective constraint is that no element in the co-domain is referenced more than once by elements in the domain.

In a related aspect, applying an injective constraint comprises: maintaining a reference count for each pixel in the co-domain, and checking whether the reference coun for the pixels in the co-domain exceeds " 1 ", and if the count exceeds "1." then designating a violation and responding to the violation with a selected error correction approach, in another related aspect, the selected error correction approach can include any of (a) first come, first served, (b) best match wins, (c) smallest disparity wins, or (d) seek alternative candidates. The first come, first served approach can include assigning priority to the first element in the domain to claim an element in the co-domain, and if a second dement in the domain claims the same co-domain element, iuvalklatiug that, subsequent match and designating that subsequent match to be invalid. The best, match win approach can include: comparing the actual image matching error or corresponding histogram vote count between the two possible candidate elements in the domain against the contested element in the co-domain, and designating as winner the domain candidate with the best match. The smallest disparity wins approach can include: if there is a contest between candidate elements in the domain for a given co domain element, wherein each candidate element has a corresponding disparity, selecting the domain candidate with the smallest disparity and designating as invalid die others. The seek alternative candidates approach can include: selecting and testing the next best domain candidate, based on a selected criterion, and iterating the selecting and testing until the violation is eliminated or a computational time ' limit is reached.

One aspect of rise present invention relates to methods, systems and computer software/program code products that enable video capture in which a first user is able to view a second user with direct virtual eye contact with the second user, including: (1) capturing images of the second user, the capturing comprising utilizing at least one camera having a view of the second user's face; (2) executing a feature correspondence function by detecting common features between corresponding images captured by the at. least one camera and measuring a relative distance in image space between the common features, to generate dispari ty values; (3) generating a data representation, represen tative of the captured images and the corresponding disparity values; (4) estimating a three-dimensional (3D) location of the first user's head, face or eyes, thereby generating tracking information; and (5) reconstructing a synthetic view of the second user, based on the representation, to enable a display to the first user of a synthetic view of the second user in which the second user appears to he gazing directly at the first user, wherein the

reconstructing of a synthetic view of the second user comprises reconstructing the synthetic view based on the generated data representation and the generated trackin information; and wherein the location estimating comprises: (a) passing a captured image of the first user, the captured image including the first user's head and face, to a two-dimensional (2D) facial feature detector that utilizes the image to generate a first estimate of head and eye location and a rotation angle of the face relative to an image plane; (b) util izing an estimated centerof-faee position, face rotation angle, and head depth range based on the first estimate, to determine a best-fit rectangle that includes the head; (c) extracting from the best- fit rectangle all 3D points that lie within the best-fit rectangle, and calculating therefrom a representative 3D head position; and (d) if the number of valid 3D points extracted from the best-fit rectangle exceeds a selected threshold in relation to the maximum number of possible 3D points in the region, then signaling a valid 3D head position result .

In a related aspect, the location estimating includes (1) determining, front the first estimate of head and eye location and face rotation angle, an estimated center-of-face position; (2) determining an average depth value for the face fay extracting three-dimensional (3D) points via the disparity values for a selected, small area located around the estimated eenter-of-face position; (3) utilizing the average depth value to determine a depth range that is Likely to encompass the entire head: (4) utilizing the estimated centet-of-face position, face rotation angle, and depth range to execute a 2D ray march to determine a best-fit rectangle that includes the head; (5) calculating, for both horizontal aad vertical axes, vectors that are perpendicular to each respective axis but spaced at different intervals; (6) for each of the calculated, vectors, testing the corresponding 3D points starting from a position outside the head region and working inwards, to the .horizontal or vertical axis; (7) when a 3D point is encountered that falls within the determined depth ran e, denominating that point as a valid extent of a best-fit head rectangle; (8) from each ray march along each axis, determining a best- fit rectangle lor the head, and extracting therefrom all 3D points that lie within the best-fit rectangle, and calculating therefrom, a weighted average: and (9) if the number of valid 3D points extracted from the best-fit rectangle exceed a selected threshold in relation to the maximum number of possible 3D points in the region, then signaling a valid 3 D head position result

A related aspect of the invention includes downsampling the captured image before passing it to the 2D facial feature detector. Another aspect includes interpolating image data from video frame to video frame, based on the tune that has passed from a given video frame from a previous video frame. Another aspect includes con verting image data to luminance val ues.

One aspect of the present invention relates to methods, systems and computer software/program code products that enable video capture and processing, including: (1) capturing images of a scene, the capturing comprising utilizing at least three cameras having a view of the scene, the cameras being arranged in substantially "L " -shaped configuration wherein a first pair of cameras is disposed along a first axis and second pair of cameras is disposed along a second axis intersecting with, but angularly displaced from, the first axis, wherein the first and second pairs of cameras share a common camera at or near the intersection of the first and second axi , so thai the first and second pairs of cameras represent respective first and second independent stereo axes that share a common camera; (2) executing a feature correspondence function by detecting coinmon featores between correspondin images captured by the at least three cameras and measuring a relative distance in image space between the common features, to generate dispari ty values; (3) generating a data .representation, representative of the captured images and the corresponding disparity values; and (4) utilizing an imrectiiied. undistorted (U UD) image space to integrate disparity data for pixels between the first, and second stereo axes, thereby to combine disparity data from the first and second axes, wherei the URU space is an image space in which polynomial lens distortion has been removed from the image data but the captured image remains unrectified.

A related aspect includes executing a stereo correspondence operation on the image data in a rectified, undistorted (RUD) image space, and storing resultant disparity data in a RUD space coordinate system. In another aspect, the resultant disparity data is stored in a URUD space coordinate system. Another aspect includes generating disparit histograms from the disparity data in either RUD or URUD space, and storing the disparity histograms in a unified URUD space coordinate system. A further aspect include applying a URUD to RUD coordinate transformation to obtain per-axis disparity values.

One aspect of the present invention relates to .methods, systems and computer software program code products that enable video capture and processing, including (1) capturing i mages of a scene, the capturing comprising utilizing at least one camera having a view of the scene; (2) executing a feature correspondence function by detecting coinmon featores between corresponding images captured by the at least one camer and measuring a relative distance in image space between the coinmon features, to generate dispari ty values: and (3) generating a data re esentation, representati ve of the captured images and the corresponding disparity values; wherein the feature correspondence function utilizes a disparity histogram-based method of integrating data and eterminin correspondence, the disparity histogram- based method comprising: (a) constructing a disparity histogram indicating the relati ve probabilit of a given disparity value being correct for a given pixel ; and (b) optimizing generation of disparity values on a GPU computing structure, the optimizing comprising: generating, in the GPU computing structure, a plurality of output pixel threads; and, for each output pixel thread, maintaining a private disparity histogram, in a storage element associated with the GPU computing structure and physically proximate to the computation units of the GPU computing structure.

in a related aspect, the private disparity histogram is stored such that each pixel thread writes to and reads from the corresponding private disparity histogram on a dedicated portion of shared local memory in the GPU. In another related aspect shared beat memory in the GPU is organized at least in part into memory words; the private disparity histogram is characterized by a series of histogram bins indicating the number of votes for a given disparity range; and if a maximum possible number of votes in the private dispari ty histogram is known, multiple histogram bins can be packed into a single word of the shared local memory, and accessed using bitwise GPU ace-ess operations.

One aspect of the invention includes a program product for use with a digital processing system, for enabling image capture and processing, the digital processing system comprising at least first and second cameras having a view of a scene, the cameras being arranged along an axis to configure a stereo camera pai r having a camera pair axis, and a digitai processing resource comprising at least one digitai processor, the program product comprising digital processor-executable program instructions stored on a non-transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to; (.1 ) capture images of the scene, utiliz n the at least first and second cameras; and (2) execute a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values, wherein the feature correspondence function comprises; constructing a multi-level disparity histogram indicating the relative probability of a given disparity value being correct for a given pixel, the constructing of a multi-level disparity histogram comprising; executing a Fast Dense Disparity Estimate (FDDE) image pattern matching operation on successively lower-frequency downsampled versions of the input stereo images, the successively lower-ftequency downsampled versions constituting a set of levels of FDDE histogram votes.

In another aspect of the invention the digital processing system comprises at least two stereo camera pairs, each pair being arranged along a respective camera pair axis, and the digital processor- executable program instructions further comprise instructions which when executed in the digital processing resource cause the digital processing resource to execute, for each camera pair axis, the following: (1) image capture utilizing the camera pair to generate image data; (2) rectification and undistorting transformations to transform the image data into ROD image space; (3) iteratively

downsamp!e to produce multiple, successively lower resolution levels; (4) execute FDDE calculations for each level to compile FDDE votes for each le el; (5) gather FDDE disparity range votes into a multilevel histogram; (6) determine the highest ranked disparity range in the multi-level histogram; and (7) process the multi-level histogram disparity data to generate a final disparity result.

Another aspect of the in vention includes a program product for use with a digital processing system, the digital processing system comprising at least first and second cameras having a view of a scene, the cameras being arranged along an axis to configure a stereo camera pair having a camera pair axis, and a digital processing resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored on a nojv-transitory digital processor- readable medium, which when executed in the digital processing resource cause the digital processing resource to: (1) captu re i mages of the scene, utilizing the at least first and second cameras; and <2) execute a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparit - values, wherein the feature correspondence function comprises: (a) generating a disparity solution based on the disparity values; and (b) applying an injective constraint to the disparity solution based on domain and co-domain, wherein the domain comprises pixels for a given image captured by the first camera and the co-domain comprises pixels for a corresponding image captured by the second camera, to enable correction of error in the disparity solution in response to violation of the injective constraint, wherein the injective constraint is that no element in the co-domain is referenced more than once b elements in the domain. In a related aspect the digital processor- executable program instructions further compose instructions which when executed in the digital processing resource cause the digital processing resource to: maintain a reference- count for each pixel in the co-domain, and check whether the reference count for fee pixels in the co-domain exceeds " 1 ",. and if the count exceeds " 1" then designate a violation and responding to the violation with a selected error correction approach.

Another aspect of the invention includes a program product for use with a digital processing system, for enabling a first user to view a second user with direct virtual eye contact with the second user, the digital processing system comprising at least one camera having a view of the second user's face, and a digital processing resource com rising at least one digital processor, the program product comprising digital processor-executable program instructions stored on a non-transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to: (1) capture images of the second user, utilizing the at least one camera; (2) execute a feature

correspondence function by detecting common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between the common features, to generate disparity values; (3) generate a data, representation, representative of the captured images and the corresponding disparit values, (4) estimate a three-dimensional (3D) location of the first user's head, face or eyes, thereby generating tracking information; and (5) reconstruct a synthetic view of the second- user, based on the representation, to enable a di splay to the first user of a synthetic view- of the second user in which the second user appears to be gazing directly at the first user, wherein the reconstructing of

I S a synthetic view of the second user comprises j¾constructing the synthetic view based on the generated data representatioii and the generated tracking information; wherein the 3D location estimating comprises: (a) passing a captured image of the first user, the captured image including the first user's head and face, to a two-dimensional (2D) facial feature detector that util izes the image to generate a first estimate of head and eye location and a rotation angle of the .face relative to an image plane; (b) utilizing an estimated cemer~of-face position, face rotation angle, and head depth range based on the first estimate, to determine a best-fit rectangle that includes the head: (e) extracting from the best-fit rectangle ail 3D points that lie within, the best-fit rectangle, and calculating therefrom a representative 3D head position; and (d) if the number of valid 3D points extracted from the best-fit .rectangle exceeds a selected threshold in rel ation to the maximum number of possible 3D points in the region, then signaling a valid 3D head position result.

Yet another aspect of the invention includes a program product for use with a digital processing system, for enabling capture and processing of images of a scene, the digital processing system, comprising (i) at least three cameras having a view of the scene,, the cameras being arranged in a substantially ".-."-shaped configuration wherein a first pair of cameras is disposed along a first axis and second pair of cameras is disposed along a second axis intersecting with, but angularly displaced from, the first axis, wherein the first and second pai rs of cameras share a common camera at or near the intersection of the first and second axis, so that the first and second pairs of cameras represent respective first and second independent stereo axes that share a common camera, and (ii) a digital processing resource comprising at least one digital processor, the program product comprising digital processor- executable program instructions stored on anon-transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to; ( I) capture images of the scene, utilizing the at least three cameras; (2) execute a feature correspondence function by detecting common features between corresponding images captured by the at least three cameras and measuring a relative distance in image space between the common features, to generate disparity values; (3) generate a data representation, representative of the captured images and the corresponding disparity values; and (4) utilize an uarectified, undistorted (URUD) image space to integrate disparity data for pixels between the first and second stereo axes, thereby to combine disparity data from the first and second axes, wherein the URU.D space is an image space in which polynomial lens distortion has been removed from the image data but the captured i mage remains unrectified. in a related aspect of the invention, the digital processor-executable program instructions further comprise instructions which when executed in die digital processing resource cause the digital processing resource to execute a stereo correspondence operation on the image data in a rectified, undistorted (RUD) image space, and store resultant disparity data in a RU D space coordinate system.

Another aspect of the iaventon includes a program product for use with a digital processing system, for enabling image capture and processing, the digital processing system comprising at least, one camera, having a view of a scene, and a digital processing resource comprising at least one digital processor, the program product comprising digital processor-executable program instructions stored on a non-transitory digital processor-readable medium, which when executed in the digital processing resource cause the digital processing resource to ; (.1 ) capture images of the scene, utilizing the at least one camera; (2) execute a feature correspondence function by detecting common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between die common features, to generate disparity values; and (3) generate a data representation, representative of the captured images and the corresponding disparity values; wherein the feature correspondence function utilizes a disparity histogram-based method of integrating data and determining correspondence, the disparity histogram-based method comprising: (a) constructing a disparity histogram indicating the relative probability of a given disparity value being correct for a given pixel; and (b) optimizing generation of disparity values on a GPU computing structure, the optimizing comprising; generating, in the GPU computing structu re, a plurality of output pixel threads; and for each output pixel thread, maintaining a private disparity histogram , in a storage element associated with the GPU computing structure and physically proximate to the computation units of the GPU computing structure.

One aspect of the invention includes a digital processing system for enabling a first user to view a second user with direct virtuai eye contact with the second user, the digital processing system

comprising: {1} at least one camera having a view of the second user's face; (2) a display scre n for use by the first user; and (3) a digital processing resource comprisin at least one digital processor, the digital processing resource being operable to: (a) capture images of the second user, utilizing the at least one camera; (b) generate a data representation, representative of the captured images; (c) reconstruct a synthetic view of the second user, based on the representation; and (d) display the synthetic v e w to the first user on the display screen for use b the first user; the capturing, generating, reconstructing and displaying being executed such that the first user can have direct virtual eye contact with the second user through the first user's display screen, by the reconstructing and displaying of a synthetic view of the second user in wh ich the second user appears to he gazing directly at the first user, even if no camera has a direct eye contact gaze vector to the second user.

Another aspect of the invention includes a digital processing system for enabling a first user to view a remote scene with the visual impression of being present with respect to the remote scene, the digital processing system comprising: (!) at least two cameras, each having a view of the remote scene; (2) a display screen for use fay the first user: and (3) a digital processing resource comprising at least one digital processor, the digital processing resource being operable to: (a) capture images of the remote scene, utilizing the at least two cameras; (b) execute a feature correspondence function by detecting common features between corresponding images captured b the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values; (c) generate a dat representation, representative of the captured images and the corresponding disparity values; (d) reconstruct a synthe tic vie w of the remote scene, based on the representation: and (e) display tits synthetic view to the first user on the display screen; the capturing, detecting, generating, reconstructing and displaying being executed such that: the first user is provided the visual impression of looking through his display screen as a physical window to the remote scene, and the first user is provided an immersive visual experience of the remo te scene.

Another aspect of the invention includes a system operable in a handheld digital processing device, for facilitating self-portraiture of a user utilizing the handheld device to take the self portrait the system comprising: ( 1) a digital processor: (2) a display screen for displaying images to the user: and (3) at least one camera around the periphery of the display screen, the at least one camera having a view of the user's face at a self portrait setup time during which the user is setting up the self portrait; the system being operable to: (a) capture images of the user during the setup time, utilizing the at least one camera around the periphery of the display screen; (b) estimate location of the user's head or eyes relative to the handheld device during the setup time, thereby generating tracking information; (c) generate a data representation, representative of the captured images; (d) reconstruct a synthetic view of the user, based on the generated data representation and the generated tracking information; and (e) display to the user, on the display screen during the setu time, the synthetic view of the user thereby enabling the user, while setting up the self-portrait, to selectively orient or position his gaze or head, or the handheld device and its camera, with realtime visual feedback.

One aspect of the invention includes a system operable in 8 handheld digital processing device, for facilitating composition of a photograph of a scene by a user utilizing the handheld device to take the photograph, the system comprising: (! } a digital processor; (2) a display screen on a first side of the handheld device for displaying images to the user; and (3) at least one camera on a second, opposite side of the handheld device, for capturing images; the system being operable to: (a) capture images of the scene, utilizing the at least one camera, at a photograph setup time during which the user is setting up the photograph; (b) estimate a location of the user's head or eyes relative to the handheld device during the setup time, thereby generating tracking information; (c) generate a data representation, representative of the captured, images; (d) reconstruct a synthetic view of the scene, based on the generated data representation and the generated tracking mfemmtiori. the synthetic view being reconstructed such that the scale and perspective of the synthetic view has a selected correspondence to the user's viewpoint relati ve to tire handheld de vice and the scene: and (e) displa to the user, on the display screen during the setup time, the synthetic view of the scene; thereby enabling the user, while setting up the photograph, to frame the scene to be photographed, with selected scale and perspective within the display frame, with realtime visual feedback.

Another aspect of the invention includes a system for enabling display of images to a user utilizing a binocular stereo head-mounted display (HMD), the system comprising: ( 1) at least one camera attached or mounted on or proximate to an external portion or surface of the HMD; and (2) a digital processing resource comprising at least one digital processor; the system being operable to: (a) capture at least tw o image streams using the at least one camera, the captured image steams containing images of a scene; (b) generate a data representation, representative of captured images contained in the captured image streams; (c) reconstruct two synthetic views, based on the representation: and (d) display the synthetic views to the user, via the HMD; the reconstructing and displaying being executed such that each of the synthetic views has a respective view origin corresponding to a respective virtual camera location, wherein fee respective view origins are positioned such that the respective virtual camera locations coincide with respective locations of the user's left and right eyes, so as to provide the user with a substantially natural visual experience of fee perspective, binocular stereo and occlusion aspects of fee scene, substantially as if the user were directly viewing fee scene without an HMD.

Another aspec t of the invention includes an image processing system for enabling the generation of an image data stream for use by a control system of an autonomous vehicle, the image processing system comprising: (1) at least one camera with a view of a scene around at least a portion of the vehicle; and (2) a digital processing resource comprising at least one digital processor; the system being operable to: (a) capture images of the scene around at least a portion of the vehicle, using the at least one camera; (b) execute a feature correspondence function by detecting common features between corresponding images captured b fee at least one camera and measuring a relative distance in image space between fee common features, to generate disparity values; (c) calculate corresponding depth information based on the disparity values; and (d) generate from the images and corresponding depth information an image data stream for use by fee control system.

These and othe r aspects, examples, embodiments aid practices of fee invention, whether in the form of methods, devices, systems or computer software/program code products, will be discussed in greater detail below in the following Detailed Description of the Invention and in connection with the attached drawing figures.

Those skilled in the ait will appreciate feat while fee following detailed description provides sufficient detail to enable one skilled in fee art to practice the present invention, fee various examples, embodiments and practices of the present invention that are discussed and described below, in conjunction with the attached drawing figures, are provided by way of example, and not by way of limitation. Numerous variations, additions, and other modifications or different implementations of the present invention are possible, and are within fee spirit and scope of fee invention.

Brief Description Of The Drawings

FIG. 1 shows a camera configuration useftil in an exemplary practice of the invention.

FIGS. 2-6 are schematic diagrams illustrating exemplary practices of the invention.

FIG. 7 is a flowchart sho wing an exemplary practice of the invention.

FIG. 8 is a block diagram depicting an exemplary embodiment of the invention.

FIGS. 9-Ϊ 8 are schematic diagrams ilhisirating exemplary practices of the iBvention.

FIG. 19 is a graph in accordance with m aspect of the invention.

FIGS. 20-45 are schematic diagrams illustrating exemplary practices of the invention.

FIG. 46 is a graph in accordance with an aspect of the invention.

FIGS. 47-54 are schematic diagrams ilhisirating exemplary practices of the invention.

FIGS. 55-80 are flowcharts depicting exemplary practices of the invention.

etai led . Descripti n of the Inventi n

1. OVERVIEW lis moDO ίθίΝ - V3D

Current video conferencing systems such as Apple's Facetime, Skype or Google Hangouts have a number of limitations which make the experience of each user's presence and environment significantly less engaging than being physically present on the other side. These limitations include (1) limited bandwidth between users, which typically results in poor video and audio quality : (2) highe than ideal latency between users (even if bandwidth is adequate, if latency is excessive, a first user's perception of the remote user's voice and visual actions will be delayed from when the remote user actually performed the action, resulting in difficult interaction between users: and (3) l imited sensory engagement (of the five traditionally defined senses, even the senses of sight and sound are only partially served, and of course taste, smell and touch are unaccouuted-for).

The first two issues can be addressed by using a higher performing network connection and will likely continue to improve as the underlying communications infrastructure improves. As for the third issue, the present invention, referred to herein as "V3D", aims to address and radically improve the visual aspect of sensory engagement in teleconferencing and other video capture settings, while doing so with low latency.

The visual aspect of conducing a video conference is conventionally achieved via a camera pointing at each user, transmitting the video stream captured by each camera, and then projecting the video stream(s) onto the two-dimensional (2D) display of the other user m a different location. Both users have a camera and display and thus is formed a full-duplex connection where both users can see each other and their respecti ve environments.

The V3D of the present invention aims to deliver a significant enhancement to this particular aspect by creating a "portaT where each user would look "through" their respective displays as if there were a "magic" sheet of glass in a frame to the other side in the remote location . Tins approach enables a number of important improvements for the users (assuming a robust implementation:

1 Each user can form direct eve contact with the other,

2 Each user can mo ve his or her head in any direction and look through the portal to the other side. They can even look "around" and see the

environment as if looking through a window.

Device shaking is automatically corrected for since each user sees a view

from their eye directly to the other side. Imagine if you looked through a window and shook the frame: there would be no change in the image seen through it

4 Object size will be accurately represented regardless of view distance and angle. The V3D aspects of the invention can be configu red to deliver these advantages in a manner thai fits within the highly optimized form factors of today 's modem mobile devices , does not dramatically alter the economics of building such devices, and is viable within the current connectivity performance levels available to most users.

By way of example of the invention, FIG. .1 shows a perspective view of an exemplars' prototype device 10, which includes a display .12 and three cameras: a top right camera 14, and bottom right: camera 16, and a bottom left camera 18. in connection with this example, there will next he described various aspects of the invention relating to the unique user experience provided by the V3D invention.

OVERALL USER EXPERIENCE

Communication (including Video Conferencing) with Eye Contact

The V3D system of fee invention enables immersive communication between people (and in various embodiments, between sites and places). In exemplary practices of the invention, each perso can look "'through" their screen and see the other place. Eye contact is greatly improved. Perspective and scale are matched to the viewer's natural view. Device shaking is inherently eliminated. As described herein, embodiments of die V3D system can be implemented in mobile configurations as well as traditional stationary devices,

FIGS. 2A-B, 3A-B. and 3A-B are tillages illustrating an aspect of the invention, in which the V3D system is used in conjunction with a smartphone 20, or tike device. Smartphoae 20 includes a display 22, on which is displayed an image of a face 24. The image may be, for example, part of video/telephone conversation, in which a video image and sound conversation is being conducted with someone in a remote location, who is looking into the camera of their own smartphone.

FIGS. 2 A and 2B illustrate a .feature of the V3D system for improving eye contact. FIG. 2A shows the face image prior to correction. It will be seen that the woman appears to be looking down, so thai there can be no eye contact with the other user or participant. FIG. IB show's the lace- image after correction. It will be seen that in the corrected image, the woman appears to be making eye contact with the smartphone user,

FIGS. 3A-3B are a pair of diagrams illustrating the V3.D system's "tnove left" (FIG. 3A) and "move right" (FIG. 3B) corrections. FIGS. 4A-4B are a pair of diagrams of the light pathways 26a, 26b in the scene shown respectively on display 22 in FIGS. 3A-3B (shown from above, with the background at the top) leading from face 24 and surrounding objects to viewpoints 28a, 28b through the "window" defined by display 22.

FIGS. 5A-5B are a pair of diagrams illustrating the V3D system's ""move m" (FIG. 5A) and "move out" (FI 5B) corrections. FIGS. 6A-6B are a pair of diagrams of the light pathways 26c, 26d in the scene shown respectively on display 22 in FIGS. 3 -3B (shown from above, with the background at the top) leading from face 24 and surrounding objects to viewpoints 28c, 28d through the "window "" defined by display 22. Self Portraiture Example

Another embodiment of the invention utilizes the invention's ability to synthesize a virtual camera view of the user to aid in solving the problem of "'where to look" when taking a self-portrait on a mobile device. Tins aspect of the invention operates by image-capturing the user per the overall V3D method of the invention described herein, tracking the position and orientation of die user's face, eyes or head, and by using a display, presenting an image of the user back to themselves with a synthesized virtual camera viewpoint as if the user were looking in a mirror.

Photography Composition

Another embodiment of the invention makes it easier to compose a photograph using a rear- facing camera on a mobile device. It works like the overall V3D method of invention described herein, except that the scene is captured through the rear-facing camerafs) and then, using the user's head location, a view is constructed such that die scale and perspective of the image matches the view of the user, such that the device display frame becomes like a picture frame. This results in a user experience where the photographer does not have to manipulate zoom controls or perform cropping, since they can simply frame the subject as they like within the frame of the display, and take the photo.

Panoramic Photography

Another embodiment, of the invention enables the creation of cylindrical or spherical panoramic photographs, by processing a series of photographs taken with a device using the camera(s) running the V3D system of the invention. The user can then enjoy viewing the panoramic view thus created, with an immersive sense of depth. The panorama can either be viewed on a 2D display with head tracking, a multi-view display or a binocular virtual reality (VR) headset with a unique perspective shown for each eye. If {he binocular VR headset has a facility to track head location, the V3D system can re-project the view accurately.

2. OVERALL V3D PROCESSING PIPELINE

FIG. 7 shows a general flow diagram illustrating the overall V3.D pipeline 70, which corporates the following aspects to deliver the user experience described above:

71: image. Capture: One or more images o a scene, which may include a human user, are collected instantaneously or over time via one or more cameras and feci into the system. Wide-angle lenses are generally preferred due to the ability to get greater stereo overlap between images, although this depends on the application and can in principle work with any focal length.

72: in order to compensate for optical lens distortion from each camera and relative misalignment between the cameras in the multi-view system, image processing is performed to apply an inverse transform to eliminate distortion, and an affine transform to correct misalignment between the cameras, in order to perform efficiently and in real-time, this process can be performed using a custom imaging pipeline or implemented using the shading hardware present in many conventional graphical processing units (GPUs) today, including GPU hardware present in devices such as iPhones and other commerciall available smartphones. Additional detail and other variations of these operations will be discussed in greater detail herein.

73: Feature Correspondence: With the exception of using time-of-f!ight type sensors in the image Capture phase that provide depth information directly, this process is used in order to extract paralla information present in the stereo images from the camera views. This process involves detecting common features between multi-view images and measuring their relative distance in image space to produce a disparity measurement. This disparity measurement can either be used directly or converted to actual depth based on knowledge of the camera field-of-vie , relative positioning, sensor si ze and image resolution. Additional detail and other variations of these operations will be discussed in greater detail herein.

74; Representation: Once disparity or depth information has been acquired, this information, combined with the original images must be represented and potentially transmitted over a network to another user or stored. This could take several forms as discussed in greater detail herein.

75: Reconstruction: Using the previously established representation, whether stored locally on the device or received over a network, a series of synthetic views into the originally captured scene can be generated, For example, in a vide chat the physical image inputs may have come from cameras surrounding the head of the user in which no one view has a direct eye contact gaze vector to the user. Using reconstruction, a synthetic camera view placed potentially within the botmds of the device display enabling the visual appearance of eye contact can be produced.

76: Head. Tracking: Using the image capture dat as an input, many different methods exist to establish an estimate of the viewer ' s head or eye location. This information can be used to drive the reconstruction and generate a synthetic view which looks valid from the user's established head location. Additional detail and various forms of these operations will be discussed in greater detail herein.

77; Display: Several types of display can be used with the V3D pipeline in different ways. The currently employed method involves a conventional 2D display combined with head tracking to update the display project in real-time so as to give the visual impression of bein tliree-dimensional (3D) or a look into a 3D environment. However, binocular stereo displays (such as the commercially available Oculus Rift) can be employed used, or st.il! further, a lenticular type display can be employed, to allow auto-stereoscopic viewing. 3. PIPELINE DETAILS

FIG. 8 is a diagram of an exemplar V3D pipeline SO configured in accordance with the invention, for immersive communication with eye contact. The depicted pipeline is full-duplex, meaning that it allows simultaneous two-way communication in both directions.

Pipeline 80 comprises a pair of communication devices 81 A- 8 (for example, commercially available smartphones such as iPhones) thai are linked to each other through a network 82. Each communication device includes a decoder end 83A-B for receiving and decoding communications from the other device and an encoder end 84A-B for encoding and sending communications to the other device 81A-B, The decoder end 83A.-B includes the following components:

a Receive module 831 A-B;

a Decode module 832 A-B;

a View Reconstruction module 833 A-B; and

a Displa 834 A~B.

The View Reconstruction module 833A-B receives data 835A-B from a Head Tracking Module 836-B, which provides x- ? y- and z-coordinate data with respect to the user's head that is generated by camera, 841 A-B.

The encoder end 84-B comprises a multi-camera array that includes camera ? 841.A-B, c meras 8 1A-B, and additional camerafs) 42A-B. (As noted herein, it is possible to practice various aspects of the invention using only two cameras. ) The camera array provides data in the form of color camera streams 843A-B that are fed into a Color Image .Redundancy Elimination module 844A-B and an Encode module. The output of the camera array is als fed into a Passive Feature Disparity Estimation module 845A-B that provides disparity estimation data to the Color Image Redundancy Elimination module 846A-B and the Encode module 847 A-B. The encoded output of the device is then transmitted over network 82 to the Receive module 83 ! A-B in the second device 81 A-B,

These and other aspects of the invention are described in greater detail elsewhere herein.

IMAGE CAPTURE

The V3D system requires an input of images in order to capture the user and the world around the user. Hie V3D sy stem can be configured to operate with a wide range of input imaging device. Some devices, such as normal color cameras, are inherently passive and thus require extensive image processing to extract depth information, whereas non-passive systems can get depth directly, although they have the disadvantages of requiring reflected IR. to work, and thus do not perform well in strongly naturally lit en vironments or large spaces. Those skilled in the art will understand that a wide range of color cameras and other passive imaging devices, as well as non-passi ve image capture de vices, are commercially available from a variety of manufacturers.

Color Cameras

This descriptor is intended to cover the use of any visible light came ra that can feed into a system in accordance with the V3D system, IR-Structured Light

This descriptor is intended to cover the use of visible light or infrared specific cameras coupled with an active infrared emitter that beams one of many potential patterns onto the surfaces of objects, to aid in computing distance. IR-Struetured Light devices are known in the art,

IR Time of Flight

This descriptor covers the use oftkne-of-flight cameras that work by emitting a pulse of light and then measuring the time taken for reflected light to reach each of the camera's sensor elements. This is a more direct method of measuring depth, but has currently not reached the cost and resolution levels useful for significant consumer adoption. Using this type of sensor, in some practices of the invention the feature correspondence operation noted above could be omitted, since accurate depth, information is already provided directly from the sensor.

Single Camera over Time

The V3D system of the invention can, be configu red to operate with multiple cameras positioned in a fixed relative position as part of a device. It is also possible to use a single camera, by taking images over time and with accurate tracking, so that the relati ve position of the camera between frames can be estimated with sufficient accuracy. With sufficientl accurate positional data, feature correspondence algorithms such as those described herein could continue to be used.

View- Vector Rotated Camera Configuration to Improve Correspondence Quality

The following describes a practice of the V3D invention that relates to the positioning of the cameras within the multi-camera configuration, to significantly increase the number of valid feature correspondences between images captured i real world settings. This approach is based on three observations:

1. Users typically orient their display, tablet or phone at a rotation that is level with their eyes.

2. Many features in man-made indoor or urban environments consist of edges aligned in the three orthogonal axes (x, y, z).

3. in order to have a practical search domain, feature correspondence algorithms typically perform their search along horizontal or vertical epipolar lines in image space.

Taken together, these observations lead to the conclusion that there are often large numbers of edges for which there is no definite correspondence. This situation can he significantly improved while keeping the image processing overhead minimal, by applying suitable rotation angle {or angular displacement) to the arrangement of the camera sensors, while also ensuring that the cameras are positioned relative to each other along epipolar lines. The amount of rotation angle can be relativel small. (See, for example, FIGS. 9, 10 and 1 1.)

After the images are captured in this alternative "rotated" configuration, the disparity values can either be rotated along with the images, or the reconstruction phase ca be ran, and the final image result rotated back to the correct orientation so that the user does not e ven perceive or see the rotated images.

There are a variety of spatial arrangements and orientations of the sensors that can accomplish a range of rotations while still fitting within many typical device form .factors. FIGS. 9, 10, and 11. show three exemplary sensor configurations 90, 100. 1 10.

FIG. 9 shows a handheld device 90 comprising a display screen 1 surrounded by a bezel 92. Sensors 93, 4, and 95 are located at the corners of bezel 92, and define a pair of perpendicular axes: a first axis 96 between sensors 93 and 94, and a second axis 97 between cameras 94 and 95. FIG. 1.0 shows a handheld device .! 00 comprising display 101 , bezel 1.02, and sensors 103, 104, 105. hi FIG, 10, each of sensors 103, 104, 103 is .rotated by an angle Θ relative to bezel 102. The position of the sensors 103, 104, and 105 on bezel 102 has been configured so tSiat tSie three sensors define a pair of perpendicular axes 106, 107.

FIG. 11 shows a handheld device 110 comprising display 111, bezel 112, and sensors 1 13, 114,

1 15. In the alternative configuration shown in FIG. 11, the sensors 1 13, 1 14, 115 are not rotated. The sensors i 13, 1 14, 115 are positioned to define perpendicular axes 116, 1 17 that are angled with respect to bezel 112. The data from sensors 113, 114, 115 are then rotated in software such that the correspondence continues to be performed along the epipo!ar lines.

Although an exemplars' practice of the V3D invention uses 3 sensors to enable vertical and horizontal cross correspondence, the methods and practices described above are also applicable in a 2- camera stereo system.

FIGS. 12 and 13 next highlight advantages of a "rotated configuration" in accordance with the invention. In particular, 12A shows a "non-rotated" device configuration 120, with sensors i ll, 122, 123 located in three comers, similar t configuration 90 shown in FIG. 9. FIGS. 12B, 1 C, and 1 D

(collectively, FIGS, 12A - 12D being referred to as "FIG, 12") show the respective scene image data collected at sensors 121, 12.2, 123.

Sensors 121 and 122 define a horizontal axis between them, and generate a pair of images with horizontally displaced viewpoints. For certain features, e.g., features HI , H2, there is a strong correspondence (i.e., the horizontally-displaced scene data provides a high level of certainty with respect to the correspondence of these features). For other features, e.g., features H3, 114, the correspondence is weak, as shown in FIG. 12 (i.e., the horizontally-displaced scene data provides a low level of certainty with respect to the correspondence of these features).

Sensors 122 and 123 define a vertical axis that is perpendicular to the axis defined by sensors 121 and 122. Again, for certain .features, e.g., feature VI. in FIG . 12, there is a strong correspondence. For other features, e.g. feature V2 in FIG. 12, die correspondence is weak.

FIG. 13A shows a device configuration 130, similar to configuration 100 shown in FIG. 10, with sensors 13.1, 132, 133 positioned and rotated to define an angled horizontal a is and an angled vertical axis. As shown in FIGS. 13B, 13C, and .13.0, the use of an angled sensor configuration eliminates the weakly corresponding features shown in FIGS 1 B, 12C. and 12D. As shown by FIGS. 12 and 13, a rotated configuration of sensors in accordance with an exemplary practice of the invention enables strong correspondence for certain scene features w here the non-rotated configuration did not.

Multi-Exposure Cycling

In accordance with the invention, during the process of calculating feature correspondence, a feature is selected in one image and then scanned for a corresponding feature in another image. During this process, there can often be several possible matches found and various methods are used to establish which match (if any) has the highest likelihood of being fee correct one, As a general fact, when the input camerals) capture art image, a choice is made to ensure that the camera exposure settings (such as gain and shutter speed) are selected according to various heuristics., with the goal of ensuring that a specific region or the majority of the image is within the dynamic range of the sensing element Areas thai are out of this dynamic range will either get clipped (overexposed regions) or suffer from a dominance of sensor noise rather than valid image signal.

During the process of feature correspondence and image reconstruction in an exemplary practice of the V3D invention, the correspondence errors in the excessively dark or light areas of the image can cause large-scale visible errors ia the image by causing the computing of radically incorrect disparity- or depth estimates.

Accordingly, another practice of he invention involves dynamically adjusting the exposure of the multi-view camera system on a jftame-by-ftame basis in order to improve the disparity estimation in areas out of the exposed region viewed by the user. Within the context of the histogram-based disparity method of the invention, described elsewhere herein, exposures taken at darker and lighter exposure settings surrounding the visibility optimal exposure would be taken, have their disparity calculated and then get integrated in the overall pi el histograms which are being retained and co verged over time. The dark and light images could be, but are not required to be, presented to the user and would serve only to improve the disparity- estimation.

Anothe aspect of this approach, i accordance with the invention, is to analyze the variance of the disparity histograms on "dark" pixels, -'mid-range " pixels and "light pixels", and use this to drive the exposure setting of the cameras, thus forming a. closed loop system between the qualit of the disparity estimate and the set of exposures which are requested from the input multi-view camera system. For example, if the cameras are viewing a purely indoor environment, such as an interior room, with limited dynamic range due to indirect lighting, only one exposure may be needed. If, however, the user were to (e.g.) open curtains or shades, and allow direct sunlight to enter into the room, the system would lack a stron disparity solution in those strongly lit areas and in response to the closed loop control described herein, would choose to occasionally take a reduced exposure sample on occasional video frames.

I MACE RECTIFICATION

An exemplar}' practice of the V3D system executes image rectification in real-time using the GPU hardware of the device on which it is operating, such as a conventional smartphone. to facilitate and improve an overall solution.

Typically, within a feature correspondence system, a search must be performed between two cameras arranged in a stereo configuration in order to detect the relative movement of features in the image due to parallax. This relative movement is measured in pixels and is referred to as "the disparity".

F!G. 14 shows an exemplary pair ofunrcctified and distorted camera (URD) source camera images 140 A and 1408 for left and right stereo. As shown in FIG. 14, the image pair includes a matched feature, i.e., the subject's right eye 141. A, 140B, The matching feature has largely been shifted horizontally, but there is also a vertical shift because of slight misalignment of the cameras and the fact that there is a polynomial, term resulting from lens distortion . The matching process can be optimized by measuring the lens distortion polynomial terms, ami by inferring the affine transform required to apply to the images such thai they are rectified to appear perfectly horizontally aligned arid co-planar. When this is done, what would otherwise be a freeforrn 2D search for a feature match can now be simplified by simply searching along the same horizontal row on the source image to find the match.

Typically, this is done in one step, in which the lens distortion and then affine transform

coefficients are determined and applied together to produce the corrected images. One practice of the invention, however, use a different approach, which wilt next be described. First however, we define a number of terms us d herein to describe this approach and the transforms used therein, as follows:

URD (Unrectified, Distorted) space; This is the image space in which the source camera images are captured. There is both polynomial distortion due to the lens shape and an affine transform that makes the image not perfectly co-planar and axis-aligned with the other stereo image. The number of URD images in the system is equal to the number of cameras in the system.

URUD rectified, Undistorted) space: This is a space in which the polynomial lens distortion is removed from the image but the images remain tmrectified. The number of U i D images in the system is equal to number of URD images and therefore, cameras, in the system.

RUD (Rectified, Undistorted) space; This is a space in which both the polynomial lens distortion is removed from the image and an affine transform is applied to make the image perfectly co-planar and axis aligned with the other stereo image on the respective axis. RUD always exist in pail's. As such, for example, in a 3 camera system where the cameras are arranged in a substantially L-shaped configuration (having two axes intersecting at a selected point), there would be two stereo axes, and thus 2 pairs of RUD images, and thus a total of 4 RUD images in the system..

FIG. 15 is a flow diagram 150 providing various examples of possible transforms in a 4-camera V3D system. Note that there are 4 stereo axes. Diagonal axes (not shown) would also be possible.

The typical transform when sampling the source camera images in stereo correspondence system is to transform from RUD space (the desired space for feature correspondence on a stereo axis) to U RD space (the source camera images).

In an exemplar}' practice of the V3D invention, .it is desirable to incorporate multiple stere axes into the solution in order to compute more accurate disparity values. In order to do this, it is appropriate to combine the disparity solutions between independent stereo axes that share a common camera. As such, an exemplary practice of the invention makes substantial use of the UR.UD image space to connect the stereo axes disparity values together. This is a significant observation, because of the trivial inveitibi!ity of the affine transform (which is simply, for example, a 3x3 matrix). We would not be able to use the URD space to combine disparities between stereo axes because the polynomial lens distortion is not invertible, due to the problem of multiple roots and general root finding. This process of combining axes in the V3D sy stem, is further described below, in "Combining Correspondences on Additional Axes " '.

FIG. 16 sets forth a flow diagram 1 0, and FIGS, 17A-C are a series of images that illustrate the appearance and purpose of the various transforms on a single camera image. Feature Correspondence Algorithm

The "image correspondence problem" has been the subject of computer science research for many years. However, given the recent advent of the -universal availability of low cost cameras and massively parallel computing hardware (CPUs) contained in many smartphones and other common mobile devices, it is now possible to apply brute force approaches and statistically based methods to feature correspondence, involving more than just a single stereo pair of images, involving images over the time dimension and at multiple spatial frequencies, to execute feature correspondence calculations at performance levels not previously possible.

Various exemplary practices of the invention will next be described, which arc novel and represent significant improvement to the quality and reliability attainable in feature correspondence . A number of these approaches, in accordance with the invention, utilize a method of representation referred to herein as "Disparity Histograms" on per-pixel (or pixel group) basis, to integrate and make sense of collected data.

Combining Correspondences on Additional Axes

An exemplar practice of the invention addresses the following two problems:

Typical correspondence errors resulting from matching errors in a single stereo image pair. Major correspondence errors that occur when a particular feature in one image within the stereo pair does not exist in the other image.

This practice of the invention works by extending the feature correspondence algorithm to include one or more additional axes of correspondence and integrating the results to improve the quality of the solution.

FIGS. 18A-D illustrate an example of this approach. FIG. I8A is a diagram of a sensor configuration 1.80 having 3 cameras 181, 182, 183 in a substantially L-shaped configuration such that a stereo pair exists on both the horizontal axis 185 and vertical axis 186, with one camera in common between the axes, similar to the configuration 90 shown in FIG. 9.

Provided the overall system contains a suitable representation to integrate the multiple disparit solutions (one such representation being the ""Disparity Histograms" practice of the invention discussed herein), this configuration will allow for uncertain correspondences in one stereo pair to be either corrobomted or discarded through the additional information found by performing correspondence on the other axis, in addition, certain features which have no correspondence on one axis, may find a correspondence on the other axis, allowing for a much more complete disparity solution for the overall image than would otherwise be possible.

FIGS. 18B ? 18C, and 18D are depictions of three simultaneous images received respectivel by sensors 181, 1 2. 183. The three-image set is illustrative of all the points mentioned above.

Feature (A), i.e., the human subject's. nose, is found to correspond both on the horizontal stereo pair (FIGS. 18B and 18C) and the vertical stereo pair (FIGS. 18C and I8D). Having the double correspondence helps eliminate correspondence errors by improving the signal-to-noise ratio, since the likelihood of the same erroneous correspondence being found in both axes is low. Feature (B), i.e., the spool of twine, is found to correspond only on the hori zontal stereo pairs. Had the system only included a vertical pair, this feature would not have had a depth estimate because it- is entirely out of view on the upper image.

Feature (C), i.e., the cushion on the couch, is only possible to correspond on the vertical axis. Had the system only included honzontal stereo pair, the cushion would have been entirely occl tided in the left image, meaning no valid disparity estimate could have been established.

An important detail is that in many cases the stereo pair on a particular axis will have undergone a calibration process such that the epipolar lines are aligned to the rows or colum ns of the images. Each stereo axis will have its own unique camera alignment properties and hence the coordinate systems of the features will be incompatible. In order to integrate disparity information on pixels between multiple axes, the pixels containing the disparity solutions will need to undergo coordinate transfomiation to a unified coordinate system . in an exemplar}' practice of the invention, this means that the stereo correspondence occurs in the RUD space but the resultant disparity data and disparity histograms would be stored in the URUD (Uiuectified, Undistorted) coordinate system and a URU ' D to RUD transform would be

performed to gather the per-axis disparity values.

Correspondence Refinement over Time

Th i s aspect of the invention involves retaini ng a representation of disparity in the form of the error function or, as described elsewhere herein, the disparity histogram, and continuing to integrate disparity solutions for each frame in time to converge on a better solution through additional sampling.

This aspect of the invention is a variation of the correspondence refinement ove r time aspect. In cases where a given feature is detected but for which no correspondence can be found in another camera, if there was a prior solution for that pixel from a previous frame, this can be used instead.

Histogfam-Base.d : .P s ^ty.¾:gpB;seii¾atiQa.Mgt >:Od

This aspect of the invention provides a representation to allow multiple disparity measuring techniques to be combined to produce a higher qualify estimate of image disparity, potentially even over time. It also permits a more efficient method of estimating disparity, taking into account more global context in the images, without the significant cost of large per pixel kernels and image differencing.

Most disparity estimation methods for a given pixel in an image in the stereo pair invol ve sliding a region of pixels (known as a kernel) surrounding the pixel in question from one image over the other in the stereo pair, and computing the difference for each pixel in the kernel, and .reducing this to a scalar value for each disparity being tested.

Given a kernel of reference pixels and a kernel of pixels to be compared with the reference, a iiumber of methods exist, to produce a scalar difference between them, including the following:

1. Sum of Absolute Differences (SAD)

2. Zero-mean Sum of Absolute Di ferences (ZSAD) 3. Locally scaled Sum of Absolute Differences (LSAD)

4. Sum of Squared Differences (SSD)

5. Zero-mean Sum of Squared Differences (ZSSD)

6. Locally scaled Sum of Squared Differences (LSSD)

7. Normalized Cross Correlation (NCC)

8. Zero-Mean Normalized Cross Correlation (ZNCC)

9. Sum of Hamming Distances (SHD)

This calculation is repeated as the kernel is slid over the image being compared.

FIG. 1 is a graph 190 of cumulative error for a 5x5 block of pixels for disparity values between 0 and 128 pixels, in this example, it can be seen that there is a single global .minimum that is likely to be the best solution.

Ϊ» various portions of this description of the in vention, reference may be made to a speci fic one of the image comparison methods, such as SSD (Sum of Square .Differences). Those skilled in the art wili understand that in many instances, others of the above-listed image comparison error measurement techniques could be used, as could others known in the art. Accordingly, this aspect of the image processing technique is referred to herein as a " Fast Dense Disparity Estimate", or "FDDE",

Used by itself, this type of approach as some problems, as follows:

Computational Overhead

Every pixel for which a disparit solution is required must perfonrt a large number of per pixel memory access and math operations. This cost scales approximaieiy with the square of the radius of the kernel .multiplied by the number of possible disparity values to be tested for.

Non-Uniform Importance of .Individual Features in the Kernel

With the exception of the normalized cross correlation methods, the error function is

significantly biased based on image intensify similarity across the entire kernel. Tins means that subtle features with non-extreme intensit changes wilt fait to attain a match if they arc surrounded by areas of high intensity change, since the error function will tend to "snap" to the high intensity regions, hi addition, small differences in camera exposure will bias the disparity because of the "non-denioeraiic" manner in which the optimal kernel position is chosen.

An example of this is shown in FIGS. 20A-B and 21 A-B. FIGS. 20A and 2 B are two horizontal stereo images. FIGS. 21 A and 21 B, which correspond to FIGS. 20A and 20B, show a selected kernel of pixels around the solution point for which we are trying to compute the disparity. It can be seen that for the kernel at its current size, the cumulati ve error function will have two minima, one representing fee features that have a small disparity since they are in the image background, and those on the wall which are in the foreground and will have a larger disparity. In the ideal situation, the minima would flip from the background to the foreground disparity value as close to the edge of the wall a possible. In practice, due to the high intensity of the wall pixels, many of the background pixels snap to die disparity of the foreground, resulting in a serious qualify issue forming a border near the wall. Lack ofMeoftingfiti Umis

The units of measure o ' " error *' , i.e. the Y-axis on the example graph, is unsealed and ma not be compatibie between multiple cameras, each with its own color and luminance response, This introduces difficulty in applying statistical methods or combining error estimates produced through other methods. For example, computing the error function from a different stereo axis would be incompatible in scale, and thus the terms could not be easily integrated to produce a better error function.

This is an instance in which the disparity histogram method of the invention becomes highly useful as will next be described. Operation . of the Disparity ffistpfr m Re resentation

One practice of the disparity histogram solution method of the invention works by maintaining a histogram showing the relative likelihood of a particular disparity being val d for a given pixel, in other words, the disparity histogram behaves as a probability density function (PDF) of dis arity' for a given pixel, higher values indicating a higher likelihood that the disparity range is the "truth".

F G. 22 shows an example of a typical disparity histogram for a pixel. For each pixel histogram, the -axis indicates a particular disparity range and the scale j » -axis is the number of pixels in the kernel surrounding the central pixel that are 'Voting" for that given disparity range.

FIGS , 23 and 24 show a pair of images and associated histograms. As shown therein, the votes can be generated by using a relatively fast and low-quality estimate of disparity produced using small kernels and standard SSD type methods. According to an aspect of the invention, the SSD method is used to produce a "fast dense disparity map" (FDDE), wherein each pixel lias a selected disparity that is the lowest error. Then, the algorithm would go through each pixel, accumulating into the histogram a tally of the number of votes for a gi ven disparity in a larger kernel, surrounding the pixel.

With a given disparity histogram, many forms of analysis can be performed to establish the most likely disparity for the pixel, confidence in the solution validity, and even identify cases where there are multiple highly likely solutions. For example, if the e is a single dominant mode in the histogram, the x coordinate of that peak denotes the most likely disparity solution.

FIG. 25 shows an example of a bi-modal disparity histogram with 2 equally probable disparity possibilities.

FIG. 26 is a diagram of an example showing tire disparity histogram and associated cumulative distribution function (CDF). The interquartile range is narrow, indicating high confidence.

FIG. 21 is a contrasting example showing a wide interquartile range in fee CDF and thus a low confidence in any peak within that range .

By transforming the histogram into a cumulative distribution function (CDF), the width of the interquartile range can be established. This range can then be used to establish a confidence level in the solution. A narrow interquartile range (as in FIG. 26) indicates that the vast majority of the samples agree with the solution, whereas a wide interquartile range (as in FIG, 27) indicates that the solution confidence is low because many other disparity values could be the truth. A count of the number of statistically significant modes in the histogram can be used to indicate "modality." For example, if there are two strong modes in the histogram (as in FIG. 25), it is highly likely that the point in question is right on the edge of a feature that demarks a background versus foreground transition in depth. This can be used to control the reconstruction later in the pipeline to control stretch versus slide (discussed in greater detail elsewhere herein).

Due to the fact that the v-axis scale is now in terms of votes for a given disparity rather than the typical error functions, the histogram is not biased by variation in image intensity at all, allowing for high quality disparity edges on depth discontinuities. In addition, this permits other methods of estimating disparity for the given pixel to be easily integrated into a combined histogram..

if we are processing multiple frames of images temporally, we can preserve the disparity histograms over time and accumulate samples in to them to account for camera noise or other spurious sources of motion or error.

If there are multiple cameras, it is possible to produce fast disparity estimates for multiple independent axes and combine the histograms to produce a much more statistically robust disparity solution. With a standard error function, this would be much more difficult because the scale would make the function less compatible. With the histograms of the present invention, in contrast, everything is measured in pixel votes, meaning the results can: simply be .multiplied or added to allow agreeing disparity solutions to compound, and for erroneous solutions to fail into the background noise.

Using the histograms, if we find the interquartile range of the CDF to be wide in areas of a particular image intensity, this may indicate an area of poor signal to noise, i.e., underexposed to overexposed areas. Using this, we can control the camera exposures to fill in poorly sampled areas of the histograms.

Computational performance is another major benefit of the histogram based method. The SSD approach (which is an input to the histogram method) is computationally demanding due to the per pixel math and memory access for even- kernel pixel for even- disparity to be tested. With the histograms, a small SSD kernel is all that is needed to produce inputs to the histograms. Tins is highly significant, since SSD performance is proportional to the square of its kernel size multiplied by the number of disparity values being tested for. Even through the small SSD kernel output is a noisy disparity solution, the subsequent voting, which is done by a larger kernel of the pixels to produce the histograms, filters out so much of the noise that it is, in practice, better than the SSD approach, even with very large kernels. The histogram accumulation is only an addition function, and need only be done oace per pixel per frame and does not increase in cost with additional disparity resolution.

Another useful practice of the invention involves testing only for a small set of disparity values with SSD, populating the histogram, and then using the histogram votes to drive further SSD testing within that range to improve disparity resolution over time.

One implementation of the invention involves each output pixel thread having a respective "private histogram" maintained in on-chip storage close to the computation units (e.g., GPUs). This private histogram can be stored such that each pixel thread will be reading and writing to the histogram on a single dedicated bank of shared local memory on a modem programmable GPIJ, in addition, if the maximum possible number of votes is known, multiple histogram b ns can be packed into a single word of the shared local memory and accessed using bitwise operations. These details can be useful to reduce the cost of dynamic indexing into an array during the voting and the summation. Multi-Level Histogram Voting

This practice of the invention is an extension of the disparity histogram aspect of the invention, and has proven to be an highly useful part of reducing error in the resulting disparity values, while still preserving important detail on depth discontinuities in the scene.

Errors in the disparity values can come from many sources. Multi-level disparity histograms reduce the contribution from several of these error sources, including:

1. Image sensor noise.

2. Repetitive patterns at a given image frequency.

As with the idea of combining multiple stereo axes' histogram votes into the disparity histogram for the purpose of "tie-breaking" and reducing false matches, the multi-level voting scheme applies that same concept, but across descending frequencies in the image space.

FIGS. 28A and 28B shows art example of a horizontal stereo image pair. FIGS. 28C and 28D show, respectively, the resulting disparity data before and after application of the described multi-level histogram techniqne.

This aspect of the invention works by performing the image pattern matching (FDDE) at several successively low-pass filtered versions of the input stereo images. The term 'level" is used herein to define a level of detail in the image, where higher level numbers imply a lower level of detail, in one practice of the invention, the peak image frequencies at level [n] will be half that of levelfn-l].

Many methods can be used to downsample, and such methods known in the area of image processing. Many of these methods involve taking a weighed summation of a kernel in level [n- 1 ) to produce a pixel in leveijnj. In one practice of the invention, the approach would be tor the normalized kernel center position to remain the same across all of the levels.

FIGS. 30A-E are a series of exemplar}' left and right multi-level input images. Each leveijnj is a downsampled version of level [n-lj. in the example of FIG. 30, the downsampling kernel is a 2x2 kernel with equal weights of 0.25 for each pixel. The kernel remains centered at each successive level of downsampl in .

In this practice of the invention, for a given desired disparity solution at the full image resolution, the FDDE votes for every- image level are included. Imagine a repetitive image feature, such as the white wooden beams on the cabinets shown in the background of the example of FIG. 30. At LevelfQ j {the l image resolution), several possible matches may be found by the FDDE image comparisons since each of the wooden beams looks rather similar to each other, given the limited kernel size used for the FDDE.

FIG. 31 depicts an example of an image pair and disparity histogram, illustrating an incorrect matching scenario and its associated disparit histogram {see the notation "Winuiiig candidate: incorrect" in the histogram of FIG. 31), In contrast, and in accordance with an exemplary practice of the invention, FIG. 32 shows the same scenario, but with the support of 4 lower levels of FDDE votes in the histogram, resulting in a correct winning candidate (see the notation "Winning candidate: correct" in the histogram of FIG. 31). " Note that the lower levels provide support for the true candidate at the higher levels, As shown in FIG. 32, if one looks at a lower level (i.e.. a level characterized by reduced image resolution via low-pass filtering), the individual wooden beams shown in the image become iess pronounced, and the overall form of the broader context of that image region begins to dominate the pattern matching , By combining together ail the votes at each level, where there may have been, multiple closely competing' candidate matches at the lower levels, the higher levels will likely have fewer potential candidates, and thus cause die true matches at the lower levels to be emphasized and the erroneous matches to be suppressed. This is the '"tie-breaking" effect that this -practice of the invention provides, resulting in a higher probability of correct winning candidates.

FIG. 33 is a schematic diagram of an exemplary practice of the invention, in particular, FIG. 33 depicts a processing pipeline showing the series of operations between the input camera images, through FDDE calculation and multi-level histogram voting, into a final disparity result. As shown in FIG, 33, multiple stereo axes (e.g., 0 through «) can be included into the multi-level histogram.

Having described multi-level disparity histogram representations in accordance with tlie invention, the follow ing describes how the multi-level histogram is represented, and how to reliably integrate its results to locate the final, most likely disparity solution.

Representation of the Multi-Level Histogram

FIG. 34 shows a logical representation of the multi-level histogram after votes have been placed at each level . FIG. 35 shows a physical representation of the same multi-level histogram in numeric arrays in device memory, such as the digital memory units in a conventional smartphone architecture. In an exemplary practice of the invention, the multi-level histogram consists of a series of initially independent histograms at each level of detail. Each histogram bin in a given level represents the votes for a. disparity found by the FDDE at that level. Since levelfn] has a fraction the .resolution as that of level [n-1 ], each calculated disparity value represents a disparity uncertainty range which is that same fraction as wide For example, in FIG. 34, each level is half the resolution as the one above it. As such, the disparity uncertainty range represented by each histogram bin is twice as wide as the level before it.

Sub-Pixel Shifting of Input Images to Enable Multi-Level Histogram Integration

In an exemplar)' practice of the invention, a significant detail to render the multi-level histogram integration correct invol ves applying a sub-pixel shift to the disparity values at each level during downsampling. As shown in FIG. 34. if we look at the votes in level (0J, disparity bin 8, these represent. votes for disparity values 8-9. At level [lj, the disparity bins are tw ice as wide. As such, we want to ensure that the histograms remain centered under the level above. Lev ci 1 j shows that the same bin represents 7.5 throug 9.5. This half-pixel offset is highly significant, because image error an cause the disparity to be rounded to the neighbor bin and then fail to receive support from the level below.

In order to ensure that the histograms remain centered under the level above, an exemplary' practice of the invention applies a half pixel shift to only one of the images in the stereo pair at each level of down sampling. This can be done inline within the weights of the filter kernel used to do the downsampling between levels. While it is possible to omit the half pixel shift and use more comple weighting during multi-level histogram summation, it is very inefficient. Performing the " half pixel shift during down-sampling only involves modifying the filter weights and adding two extra taps, making it almost "free", .from a computational standpoint.

This practice of the invention is further illustrated in FIG. 36, which shows an example of per- ieve! downsampling according to the invention, using a 2x2 box filter. On the left is illustrated a method without a half pixel shift. On the right of FIG. 36 is illustrated the modified filter with a half pixel shift, in accordance with an exemplary practice of the invention. Note that this half pixel shift should only be applied to one of the image in the stereo pair. This has the effect of disparity values remaining centered at each level in the multi-level histogram during voting, resulting in the configuration shown in FIG. 34, integration of the Multi-Level Histogram

FIG. 3? illustrates an exemplary practice of the invention, showing an example of the summation of the multi-level histogram to produce a combined histo ram in which the peak can be found. Provided that the correct sub-pixel shifting has been applied, the histogram integration involves performing a recursive summation across all of the le vels as shown in FIG. 37. Typically, only the peak disparity index and number of votes for that peak are needed and thus the combined histogram does not need to be actually stored in memory. In addition, maintaining a summation stack can reduce summation operations and multi-level histogram memory access.

During the summation, the weighting of each level can be modified to control t he amount of effect that the lower levels in the overall voting. In the example shown in Figure 37, the current value at level [nj gets added to two of the bins above it in level (n-1 J with a weight of ½ each.

Extraction of Sub-Pixel Disparity Information from Disparity Histograms

An exemplary practice of the invention, illustrated in FIGS. 39-40, builds on the disparity histograms and allows for a higher accuracy disparity estimate to be acquired without requi ing any additional SSD steps to be performed, and for only a small amount of incremental mam when selecting the optimal disparity from the histogram.

FIG. 38 is a disparity histogram for a typical pixel . In the example, there are 10 possible disparity values, each tested using SSD and then accumulated into the histogram with 10 bins. In this example, there is a clear peak in the 4th bin. which means that the disparity lies between 3 d 4 with a canter point of 3.5. FIG. 39 is a histogram in a situation in which a sob-pixel disparity solution can be inferred from the disparity histogram. We can see that an even number of votes exists in the 3rd and 4th bins. As such, we can say that the true disparity range lies between 3.5 and 4.5 with a center point of 4.0,

FIG. 40 is a histogram that reveals another case in which a sob-pixel disparity solution can be inferred. In this case, the 3rd bin is the peak with 10 votes. Its directly adjacent neighbor is at 5 votes. As such, we can state that the sob-pixel disparity is between these two and closer to the 3rd bin, ranging from 3.25 to 4.25, using the following equation:

Votes' 2nd Best

SubpixelOffset

Center- eighted SSI ) Method

Another practice of the invention provides a further method of solving the problem where larger kernels in the SS.D method tend to favor larger intensity differences with the overall kernel, rather tha for the pixel being solved. This method of the invention involves applying a higher weight to the center pixel with a decreasing weight proportional to the distance of the given kernel sample from the center. By doing this, the error function minima will tend to be found closer to the valid solution for the pixel being solved.

Injective Constraint

Yet another aspect of the invention involves the rise of an "injective constraint", as illustrated in FIGS. 41 -45. When producing a disparity solution for an image, the goal is to produce the most correct results possible. Unfortunately, due to imperfect input data from the stereo cameras, incorrect disparity values w ill get computed, especially if only using the FDDE data produced via image comparison using SSD. SAD or one of the many image comparison error measurement techniques,

FIG. 41 shows an exemplary pair of stereoscopic im ages and the disparity data resulting from the FDDE using SAD with a 3x3 kernel. Warmer colors represent closer objects. A close look at FIG, 41 re veals occasional val ues wh ich look obviousl incorrect. Some of the factors causing these errors include camera sensor noise, image color response differences between sensors and lack of visibility of a common feature between cameras.

In accordance with the invention, one way of reducing these errors is by applying "constraints" to the solution which reduce the set of possible solutions to a more realistic set of possibilities. As discussed elsewhere herein, solving the disparity across multiple stereo axes is a form of constraint, by using the solution on one axis to reinforce or contradict that of another axis. The disparity histograms are another form of constraint by limiting the set of possible solutions by filtering out spurious results in 2D space. Multi-level histograms constrain the solution by ensuring agreement of the solution across multiple frequencies in the image. The injective constraint aspect of the invention uses geometric rules about how features must correspond between images in the stereo pair to eliminate false disparity solutions, it maps these geometric ruses on the concept of an injective function in set theor .

In set theory there are four major categories of functio t pe that map one set of items (the domain) onto another set (the co-domain):

1. Injective, surjeetive function (also known as a htjection): All elements in the co- domain are reference exactly once by elements in the domain.

2. Injective, non-sutjeetive function: Some elements in the co-domain are

references at most once by elements in the domain. This means that not all

elements in the co-domain have to be referenced, but no element will be

referenced more than once ,

3. Non-injective, surjeetive function; Ail elements in the co-doma are referenced

one or more times by elements in the domain.

4. Non-injective, noii-surjeetive function: Some elements in the co-domain are

referenced one or more times by elements in the domain. This means that not all elements in the co-domain have to be referenced,

in the context of feature correspondence, the domain and co-domain are pixels from each of the stereo cameras on an axis. The references between (he sets are the disparity values. For example, if every pixel in the domain (image A) had a disparit value of "0", then this means that a perfect bijection exists between the two images, since every pixel in the domain maps to the same i el in the co-domain.

Given the way that features in an image are shifted between the two cameras, we know that elements in the co-domain (Image B) can only shift in one direction (i.e. disparity' values are 0) for diffuse features in the scene. When features exist at the same depth they will all shift together at the same rate, maintaining a bijection.

FIG. 42 shows an example of a bijection where every pixel in the domain maps to a unique pixel in the co-domain. In this case, fee image features are all at infinity' distance and thus do not appear to shift between the camera images.

FIG. 43 shows another example of a bijection. In this case all the image features are closer to the cameras, but are all at the same depth and hence shift together.

However, since features will exist at different depths, some features will shift more than others and will sometimes even cross over each other. In this situation, occlusions in the scene will be occurring which means that sometimes, a feature visible in image "A" will be totally occleded by another object in the image "B".

in this situation, not every feature in the co-domain image will be referenced if it was occluded in the domain image. Even still, it is impossible for a feature in the co-domain to be referenced more than one time by the domain. This means that while we cannot enforce a bijective function, we can assert that, the function must be injective. This is where the name "injective constraint " ' is derived. FIG. 44 shows an example of an image with a foreground and background. Note that the foreground moves substantially between images. This causes new features to be revealed in the co- domain that will have no valid reference in die domain. Has is still an injectfve function, but not a bijectkffl.

In accordance with the invention, now that we know we can enforce this constraint, we are able to use it as a form of error correction in the disparity solution, in an exemplary practice of the invention, a new stage would be inserted in the feature correspondence pipeline (either after the FDDE calculation but before histogram voting, or perhaps after histogram voting) that cheeks for violations of this constraint. By maintaining a reference count for each pixel in the co-domain and checking to ensure that the reference count never exceeds 1. we can determine that a violation exists. (See, e.g., FIG. 45, which shows an example of a detected violation of the injecti ve constraint.)

In accordance with the invention, if such a violation is detected, there are several ways of addressing it . These approaches have different performance levels, implementation complexity and memory overheads that will suggest which are appropriate in a given situation. They include the following;

1. First come, first served: The first element in the domain to claim an element in co-domain gets priority. If a second element claims the same co-domain element, we invalidate that match and mark it as "invalid". Invalid disparities would be skipped over or interpolated across later in the pipeline.

2. Best match wins: Hie actual image matching error or histogram vote count are compared between the two possible candidate element in the domain against the contested element in the co- domain. The one with the best match wins.

Smallest disparity wins: During image reconstruction, typically errors caused by too small a disparity are less noticeable than errors with too high a disparity. As such, if mere is contest for a given co-domain element, select the one with the smallest disparity- and invalidate the others.

Seek alternative candidates: Since each disparity value is the result of selecting a minimum in the image comparison error function or histogram peak vote count, this means there may be alternative possible matches, which didn't score as well. As such, if there is a contest for a given co-domain element, select the 2nd or 3rd best candidate in that order. This approach may need to iterate several times in order to ensure that all violations are eliminated across the entire domain. If after a given number of fall back attempts, the disparity value could be set to "invalid" as described in i 1). This attempt threshold would be a tradeoff between finding the ideal solution and computation time.

The concept of alternative match candidates is illustrated, by way of example, in FIG. 46, which shows a graph of an exemplar}' image comparison error function. As shown therein, in addition to the global minimum error point, there are other error minimums that could act as alternative match candidates. THE REPRESENTATION STAGE

Disparity and sample buffer index at 2D control points

Ait exemplary practice of the invention involves the use of a disparity value and a sample buffer index at 2D control points. " This aspect works by defining a data structure representing a 2D coordinate in image space and containing a disparity value, which is treated as a "pixel velocity * in screen space with respect to a given movement of the view vector.

With a strong disparity solution, that single scalar value can be modulated with a movement vector to slide around a pixel in the source image in any direction in 2D, and it will produce a credible reconstruction of 3D image .movement as if it had been taken from that different location.

in addition, the control points can con tain a sample buffer index that indicates which of the camera streams to take the samples from. For example, a gi ven feature may be visible in only one of die cameras in which case we will want to change the source that the samples are taken from when

reconstructing the final reconstructed image.

Not e very pixel m ast have a control point since die movement of roost pixels can be

approximated by interpolating the movement of key surrounding pixels. As such, there trie several methods that can be used to establish when a pixel should be given a control point. Given that the control point? are used to denote art important depth change, the control points should typically be placed along edges i the image, since edges often correspond to depth changes.

Computing edges is a known technique already present in commercially available camera pipelines and image processing. Most conventional approaches are based on the use of image convolution kernels such as the Sobel filter, and its more complex variants and derivatives. These work by taking the first derivative of the image intensity to produce a gradient field indicating the rate of change of image intensit surrounding each pixel. From mis a second derivative can be taken, thus locating the peaks of image intensity change and thus the edges as would be perceived by the hitman vision system.

Extraction of Unique Samples for Streaming Bandwidth Reduction

This aspect of the invention is based on the observation that many of the samples in the multiple camera steams are of the same feature and are thus redundant. With a valid disparity estimate, it can be calculated that a feature is either redundant or is a unique feature from a specific camera and

features samples can be flagged with a reference count of how man of the vie ws "reference" that feature .

Compression Method for Streaming with Video

Using the reference count established above, a system in accordance with the invention can choose to only encode and transmit samples exactly one time. For example, if the system is capturing 4 camera streams to produce the disparity and control points and have produced reference counts, the system will be able to determine whether a pixel is repeated in all the camera views, or only visible in one. As such, the system need only transmit to the encoder the chunk of pixels from each camera that are actuall unique. This allows for a bandwidth reduction in a video streaming session. HEAD TRACKING

Tracking to control modulation of disparity values

Using conventional head tracking methods, a system in accordance with the invention can establish an estimate of the viewer's head or eye location and/or orientation. With this information a id the disparity values acquired from feature correspondence or within the transmitted control point stream, the system can slide the pixels along the head movement vector at a rate that is proportional to the disparity. As such, the disparity forms the radius of a "sphere" of motion for a given feature.

This aspect allows a 3D reconstruction to be performed simply by warping a 2D image, provided the control points are positioned along important .feature edges and have a sufficiently high quality disparity estimate, in accordance with this method of the invention, no 3D geometry in the form of polygons or higher order surfaces is reqaired.

Tracking to control position of 2D crop box location and size in reconstruction

In order to create the appearance of an invisible device display, the system of the invention must not only re-project the view from a different view origin, but must account for the fact that as the viewer moves his or her head, they only see an aperture into the virtual scene defined by the perimeter of the device display. In accordance with a practice of the invention, a shortcut to estimate this behavior is to reconstruct the synthetic view based on the view origin and then crop the 2D image and scale it up to fill the view window before presentation, the minima and maxima of the crop box being defined as a function of the viewer head location with respect to the display and the display dimensions. Hybrid Marker-less Head Tracking

An exemplary practice of the V3D invention contains a hybrid 2D/3D head detection component that combines a fast 2D head detector with the 3D disparity data from the multi-view solver to obtain an accurate viewpoint position in 3D space relative to the camera system.

FIGS. 47A-B provide a flow diagram that illustrates the operation of the hybrid markerless head tracking system. As shown in FIGS, 47A-B. starting with an image captured by one of the color cameras, the system optionally converts to luminatice and downsamp.es the image, and then passes it to a basic 2D facial feature detector. The 2D feature detector uses the image to extract an estimate of the head and eye position as well as the face's rotation angle relative to the image plane. These extracted 2D feature positions are extremely noisy from frame to frame which, if taken alone as a 3D viewpoint, would. not be sufficientl stable for the intended purposes of the invention. Accordingly, the 2D feature detection is used as a starting estimate of a head posi tion .

The system uses this 2D feature estimate to extract 3D points from the disparit data that exists in the same coordinate system as the original 2D image. The system first determines an average depth for the face by extracting 3D points via. the disparity data for a small area located in the center of the face. This average depth is used to determine a reasonable valid depth range that would encompass the entire head. Using the estimated center of the face, the face's rotation angle, and the depth mage, the system then performs a 2D ray march to deteimine a best-fit rectangle that includes the head. For both the horizontal and vertical axis, the system calculates multiple vectors that are perpendicular to the axis but spaced at different intervals, f or each of these vectors, the system tests the 3D points starting from outside the head and working towards the inside, to die horizontal or vertical axis. When a 3D point is encountered that falls within the previously designated valid depth range, the system considers that a valid extent of the head rectangle.

From each of these ray marches along each axis, the system can determine a best-fit rectangle for the head, from which the system then extracts all 3 D points that tie within, this best-fit rectangle and calculates a weighted average. If the number of valid 3D points extracted from this region pass a threshold in relation to the maximum number of possible 3D points in the region, then there is design ated a valid 3D head position result.

FIG. 48 is a diagram depicting this technique for calculating the disparity extraction

two-dimensional rectangle (i.e.. the "best-fit rectangle " ).

To compensate for noise in the 3D position, the system can interpolate from frame -to-frame based on the time delta that has passed since the previous frame.

RECONSTRUCTION

2D warping reconstruction of specific view from samples and control points

Tliis method of the invention works by taking one or more source images and a set of control points as described previously. The control points denote "handles" on the image which we can then move around in 2D space and interpolate the pixels in between. The system can therefore slide the control points around in 2D image space propo.rtional.ly to their disparity- value and create the appearance of an. image taken from a different 3D perspective. The following are details of how the interpolation can be accomplished in accordance with exemplary practices of the invention. Lines

This implementation of 2D warping uses the line drawing hardware and texture filtering avaiiable on modem GPU hardware, such as in a conventional s artphone or other mobile device. t has the advantages of being easy to implement, fast to calculate, and avoiding the need to construct complex connectivity meshes between the control points in multiple dimensions.

it works by first rotating the source images and control points coordinates such that the rows or columns of pixels are parallel to the vector between the original image center and the new view vector. For purposes of this explanation, assume the view vector is aligned to image scanlines. Next, the system iterates through each scanline and goes through alt the control points for that scanline. The system draws a line beginning and ending at each control point in 2D image space, but. adds the disparity multiplied by the view vector magnitude with the x coordinate. The system assigns a texture coordinate to the beginning and end points that is equal to their original 2D location in the source image. The GPU will draw die line and will interpolate the texture coordinates linearly along the line. As such, image data between the control points will be stretched linearly. Provided control points are placed on edge features, the interpolation will not be visually obvious.

After die system lias drawn ail the lines, the result is a re-projected image, which is then rotated back by die inverse of the rotation originally applied to align die view vector with the scanliees.

Polygons

This approach is related to the lines but works by linking control points not only along a scanline but also between scanlines. In certain eases, this may provide a higher quality interpolation than lines alone.

Stretch / Slide

This is an extension of the control points data structure and effects the way the reconstruction interpolation is performed. It helps to impro ve the reconstruction quality on regions of large

disparity/depth change. In such .regions, for example on the boundary of a foreground and background object, it is not always idea to interpolate pixels between control points, but rather to slide the foreground and background independently of each other. This will open up a void in tire image, but this gets filled with samples from another camera view .

The determination of when it is appropriate to slide versus the default stretching behavior can be made by analyzing the disparity histogram and checking for multi-modal behavior. If two strong modes are present this indicates the control point is on a boundary where it w o uld be better to allow the foreground and background to move independently rather than interpolating depth between them.

Other practices of the invention can include a 2D crop based on head location (see the discussion above relating to head tracking), and rectification transforms for texture coordiiiates. Those skilled in the art will understand that the invention can he practiced in connection with conventional 2D displays, or various forms of head-mounted stereo displays (HMDs), which may include binocular headsets or lenticular displays.

Pi gjtaj Proce ssjng.. Eny i ronment . In Which . Invention. Can . Be . Implemented

Those skiiled in the art will understand that the above described embodiments, practices and examples of the invention can be implemented using known network, computer processor and telecommunications devices, in which the telecommunications devices can include known forms of cellphones, smartphones, and other known forms of mobile devices, tablet computers, desktop and laptop computers, and known forms of digital network components and sen'er/clouoVnetwo- /c-ient architectures that enable communications between such devices.

Those skilled in the art will also understand that method aspects of the present, invention can be executed in commercially available digital processing systems, such as servers, PCs, laptop computers, tabiet computers, cellphones, smartphones and other fomis of mobile devices, as we ' ll as known forms of digital networks, including architectures comprising server, cloud, network, and client aspects, for communications between such devices.

The terms "computer software," "computer code product," and "computer program product" as used herein can encompass any set of computer-readable programs instructions encoded on a non- transitory computer readable medium. A computer readable medium can encompass any form of computer readable element, including, but not limited to, a computer hard disk, computer floppy disk, computer-readable flash drive, computer-readable RAM or ROM element or any other known means of encoding, storing or providing digital information, whether local to or remote from the cellphone, smartphone, tablet computer, PC, laptop, computer-driven television, or other digital processing device or system. Various forms of computer readable elements and media are well known in the computing arts, and their selection is left to the im lemented

Ϊ» addition, those skilled in the art will understand that the invention can be implemented using computer program modules and digital processing hardware elements, including memory units and other data storage units, and including commercially available processing units, memory units, computers, servers, smariphones and other computing and telecommunications devices. The term "modules",

"program modules", "components", an the like include computer program instructions, objects, components, data structures, and the like that can be executed to perform selected tasks or achieve selected outcomes. The various modules shown in the drawings and discussed in the description herein refer to computer-based or digital processor-based elements that can be implemented as software, hardware, firm ware and/or other suitable components, taken separately or in combination, that provide the ftniclions described herein, and which may be read from computer storage or memory, loaded into the memory of a digital processor or set of digital processors., connected via a bus. a communications network, or other communications pathways, which, taken together, constitute an embodiment of the present invention.

The terms "data storage module", "date storage element", "memory element" and the like, as used herein, can refer to any appropriate memory element usable for storing program instructions;

machine readable files, databases, and other data structures. The various digital processing, memory and storage elements described herein can be implemented to operate on a single computing device or system, such as a server or collection of servers, or they can be implemented and inter-operated on various devices across a network, whether in a server-client arrangement, server-cloud-client arrangement, or other configuration in which client devices can communicate with allocated resources, functions or applications programs, or with a server, via a communications network.

It will also be understood that computer program instructions suitable for a practice of the presen t invention can be written in any of a wide range of computer programming languages, including Java, C++, and the like, it will also be understood thai method operations shown in the flowcharts can be executed in different orders, and that not all operations shown need be executed, and that many other combinations of method operations are within the scope of the invention as defined by the attached claims. Moreover, the functions provided by the modules and elements shown in the drawings and described in the foregoing description can. be combined or sub-divided in various ways, and still be within the scope of the invention as defined by the attached claims.

The Applicant has implemented various aspects and exemplary practices of the present invention, using, among others, the following commercially available elements:

1. A 7" 1280x800 IPS display.

2. Three PointGrey Charaekon3 (CM3-U3-13S2C-CS) 1.3 Megapixel camera modules with i/3" sensor size assembled on a polycarbonate plate with shatter synchronization circuit.

3. Sunex DSL377A~65 -F/2.S M12 wide-angle lenses

4. An Intel Core 17-4650!J processor which includes on-chip the following:

a. An Intel HD Graphics 5000 Integrated Graphics Processing Unit, and h An Intel QuickSync video encode and decode hardware pipeline.

5. OpenCL API on an Apple Mae OS X operating system to implement, in accordance with exemplary practices of the invention described herein, linage Rectification, Fast Dense Disparity Estimate(s) (FDDE) and Mufti-level Disparit Histogram aspects.

6. Apple Core Video and VideoToolbox APIs to access QuickSync video compression hardware. 7. OpenCL and QpenGL APi(s) for V3D view reconstruction in accordance with exemplary practices of the invention described herein.

The attached schematic diagrams FIGS. 49-54 depict system aspects of the invention, including digital processing devices and architectures in which the invention can be implemented. By way of example, FIG. 49 depicts a digital processing device, such as a commercially available sm&rtphone, in which die invention can be implemented; FIG. 50 shows a full-duplex, bi-directional practice of the invention between two users and their corresponding devices; FIG. 51 shows the use of a system in accordance with the invention to enable a first user to view a remote scene; FIG, 52 shows a one-io-many configuration in which multiple users (e.g., audience members) can view either simultaneously or asynchronously using a variety of different viewing elements in accordance with the invention, FIG. 53 shows ao embodiment of the invention in coiraectiosi with generating an image data streara for the control system of an autonomous or self-driving vehicle; and FIG. 54 shows the use of a head-mounted display (HMD) in connection with the invention, either in a pass-through mode to view an actual, external scene (shown on the right side of FIG. 54). or to view prerecorded image content

Referring now to FIG. 49, the commercially available smartphone, tablet computer or other digital processing device 492 communicates with a conventional digital communications network 494 via a communications pathway 495 of known form (the collective combination of device 492, network.494 and communications pathway (s) 495 forming configuration 490), and the device 492 includes one or more digital processors 496, cameras 4910 and 4912, digital memory or storage elements) 4914 containing, among other items, digital processor-readable and processor-executable computer program instructions (programs) 4916, and a displ ay element 498. lit accordance with known digital processing techniques, the processor 496 can execute programs 4916 to cany out various operations, including operations in accordance with the present invention.

Referring now to FIG . 50, the l-dupfex, bi-directional practice of the invention between two users and their corresponding devices (collectively forming configuration 500) includes first user and scene 503, second user and scene 505, smartphones, tablet computers or other digital processing devices 502, 504, network 506 and communications pathways 508, 5010, The devices 502, 504 respectively include cameras 5012, 5014, 5022, 5024, displays 5016, 5026, processors 5018, 5028, and digital memory or storage elements 5020, 5030 (which may store processor-executable compute program instructions, and which may be separate from the processors).

The configuration 51 of FIG . 51, in accordance with the invention, for enabling a first user 514 to view a remote scene 515 containing objects 502.2, includes smartphone or other digital processing device 5038. which can contain cameras 5030,5032. a display 5034, one or more processors) 5036 and storage 5038 (which can contain computer program instructions and which can be separate from processor 5036). Configuration 510 also includes network 5024, communications pathways 5026, 5028, remote cameras 51 , 518 with a view of the remote scene 515, processors) 5020, and digital memory or storage elements) 5 40 (which can contain computer program instructions, and which can be separate from processor 5020).

The one-to-inany configuration 520 of FIG. 52, in which multiple users (e.g., audience members) using smartphones, tablet computers or other devices 526.! , 526,2, 526,3 can view a remote scene or remote first user 522, either simultaneously or asynchronously, in accordance with the invention, includes digital processing device 524, network 521.2 and communications pathways 5214, 16, 1 , 5216.2, 5216,3. The smartphone or other digital processing device 524 used to capture images of the remove scene or first user 522, and the smartphones or other digital processing devices 526.1 , 526,2, 526.3 used by respective viewers/audience members, include respective cameras, digital processors, digital memory or storage elements) (which may store computer program instructions executable by the respective processor, and which ma be separate from the processor), and displays.

The embodiment or configuration 53 of the invention, illustrated in FIG, 53, for gene rating an image data stream for the control system 5312 of an autonomous or self-driving vehicle 532, can include camera(s) 5310 having a view of scene 534 containing objects 536, processoris) 538 (which ma include or have in communication therewith digital memory or storage elements for storing data and/or

processor-executable computer program instructions) in communication with vehicle control system 5312. The vehicle control sy stem 5312 may also include digital storage or memory elements) 5314, which may include executable program instructions, and which may be separate from vehicle control s stem 5312.

HMD-related embodiment or configuration 540 of the invention, illustrated in FIG. 54. can include the use of a head-mounted dispiay (HMD) 542 ia connection with the invention, either in a pass- through mode to view an. actual, external scene 544 containing objects 545 (shown on the right side of FIG . 54), or to view prerecorded image content or data representation 5410. The HMD 542, which can be a purpose-built HMD or an adaptation of a smartphone or other di ital processing de ice, can be in communication with an external processor 546, external digi tal memory or storage elements) 548 that can contain computer program instructions 549, and/or i communication with a source of prerecorded content or data representation 5410. The HMD 542 shown in FIG. 54 includes cameras 5414 and 5416 which can have a view of actual scene 544; left and right displays 5 18 and 5420 for respectively displaying to a human user's left and right eyes 5424 and 5426; digital processors) 5412, and a head/eye/face tracking element 5422. The tracking element 5422 can consist of a combination of hardware and software elements and algorithms, described in greater detail elsewhere herein, in accordance with the present invention. The processor element(s) 5412 of the HMD cart also contain, or have proximate thereto, digital memory or storage elements, which ma store processor-executable computer program instructions.

In each of these examples, illustrated in FIGS. 49-54. digital memory or storage elements can contain digital processor-executable computer program instructions, which, when executed by a digital processor, cause the p rocessor to execute operations in accordance with various aspects of the present invention.

Flowcharts. Of Exemplary; Practices Of The lay cation

FIGS. 55-80 are flowcharts illustrating method aspects and exemplary practices of the invention. The methods depicted in these flowcharts are examples only; the organization, order and number of operations in the exemplar} practices can be varied: and the exemplar} practices and methods can be arranged or ordered differently, arid include different functions, whether singly or in combination, while still being within the spirit and scope of the present invention, items described below in parentheses are, among other aspects, optional in a given practice of the invention.

FIG. 55 is a flowchart of a V3D method 550 according to an exemplary practice of the invention, including the following operations:

551 : Capture images of second user;

552: Execute image rectification; 553: Execute feature correspondence, by detecting common features;

554: Generate data representation;

555: Reconstruct synthetic view of second user based on representation;

556: Use head tracking as input to reconstruction

557: Estimate location of user's head/eyes;

558: Display synthetic view to first user on display screen used by first user; aid

559: Execute capturing, generating, reconstructing, and displaying such that the first user can have direct virtual eye contact with second user through first user's display screen, by reconstructing and displaying synthetic view of second user in which second user appears to he gazing directly at first user even if no camera has direct eye contact ze vector to second user,

(Execute such that first user is provided visual impression of looking through dispiay screen as a physical window to second user and visual scene surrounding second user, and first user is provided immersive visual experience of second user and scene surrounding the second user);

(Camera shake effects are inherently eliminated, in that capturing, detecting, generating, reconstructing and displaying are executed such thai first user has virtual direct view through hts dispiay screen to second user and visual scene surroiiiiding second user; and scale and perspective of image of second user and objects in visual scene suiroundiag second user are accurately represented to first user regardless of user view distance and angle).

FIG, 56 is a flowchart of another V3D method 560 according to an exemplary practice of the invention, including the following operations:

5 1 : Capture images of remote scene;

562: Execute image rectification;

563: Execute feature correspondence function by detecting common features and measuring relative distance in image space between common features, to generate disparity values;

564: Generate data representation, representative of captured images and corresponding disparity- values;

565: Reconstruct: synthetic view of the remote scene, based on representation; 566: Use head tracking as input to reconstruction;

567: Display synthetic view to first user (on display screen used by .first user); (Estimate location of user's head/eyes) ;

568: Execute capturing, detecting, generating, reconstructing, and displaying such that user is provided visual impression of looking through display screen as physical window to remote scene, and user is provided an immersive visual experience of remote sce e);

(Camera shake effects are inherently eliminated, in mat capturing, detecting, generating, reconstructing and displaying are executed such that first user has virtual direct view through his display screen to remote visual scene: and scale and perspective of image of arid objects in remote visual scene ate accurately represented regardless of view distance and angle).

FIG. 57 is a flowchart of a self-port raittire V3D method 570 according to an exemplary practice of the invention, including the following ope rations;

571 : Capture images of user during setup time (use camera provided on or around periphery of display screen of user's handheld device with view of user's face during self-portrait setup time);

572; Generate tracking information (by estimating location of user's head or eyes relative to handheld device during setup time);

573: Generate data representation representative of captured images;

574: Reconstruct synthetic view of user, based on the generated data representation and generated tracking information;

575: Display to user the synthetic view of user (on the display screen during the setup time) (thereby enabling user, while setting up self-portrait to selectively orient or position his gaze or head, or handheld device and its camera, with real-time visual feedback);

576; Execute capturing, estimating, generating, reconstructing and displaying such that, in self-portrait, user can appear to be looking directly into camera, even if camera does not have direct eye contact gaze vector to user.

FIG. 58 is a flowchart of a photo composition Υ3Ό method 580 according to an exemplar practice of the invention, including the following operations:

581 : At photograph setup time, capture images of scene to be photographed (use camera provided on a side of riser's handheld device opposite display screen side of user's device);

582; Generate tracking information (by estimating location of user's head or eyes relative to handheld device during setup time) (wherein estimating a location of the user's head or eyes relative to handheld device uses at least one camera o display side of handheld device, having a view of user's head or eyes during photograph setup time); 583: Generate data representation representative of captured images;

584: Reconstruct synthetic view of scene, based on generated data representation and generated

tracking information (synthetic view reconstructed such that scale and perspective of synthetic view have selected correspondence to user's viewpoint relative to handheld device and scene);

585: Display to user the synthetic, view of the scene (on display screen during setup time) (thereby enabling user, while setting up photograph, to feme scene to be photographed, with seiected scale and perspective within display .frame, with real-time visual feedback) (wherein user can control scale and perspective of synthetic view by changing position of handheld device relative to position of user's head).

FIG. 59 is a flowchart of an HMD-related V3D method 590 according to an exemplary practice of the invention, including the following operations:

59 i : Capture or generate at least two image streams;

(using at least one camera attached or mounted on or proximate to external portion or surface of HMD);

(w herein captured image steams contain images of a scene);

(wherein at least one camera is -panoramic, night-vision, or thermal imaging camera);

(at least one IR TOF camera or imaging device that directly provides depth);

592: Execute feature correspondence function;

593: Generate data representation representative of captured images contained in the captured image streams;

(Representation can also he representati ve of di sparity values or depth information);

594: Reconstruct two synthetic views, based on representation;

(use motion vector to modify respective view origins, during reconstructing, so as to produce intermediate image tone to be interposed between captured image francs in the captured image streams and interpose the intermediate image frames between the captured image frames so as to reduce apparent -latency );

5: Display synthetic views to the user, via HMD;

596: (Track location/position of user's head eyes to generate motion vector usable in reconstructing synthetic views); 597: Execute reconstructing arid displaying such that each of the synthetic views has respective view origin coixespondiiig to respective virtual camera location, wherein the respective view origins are positioned such that the respective virtual camera locations coincide with respective locations of user's left and right eyes, so as to provide user with substantially natural visual experience of perspective, binocular stereo and occlusion exemplary practices of the scene, substantially as if user were directly viewing scene without an HMD.

FIG. 60 is a flowchart of another HMD-related V3D method 600 according to an exemplary practice of the invention, including the following operations: 6 1 : Capture or generate at least two image streams;

(using at least one camera)

(wherein captured image streams cart contain images of a scene}:

(wherein captured image streams can be pre-recorded image content);

(wherein at least one camera is panoramic, night-vision, or thermal imaging):

(wherein at least one 1R TOP that directly provides depth);

602: Execute feature correspondence function;

603: Generate data representation representative of captared images contained in captured image teams;

(representation can also be representative of disparity values or depth information);

(data representation can. be pre-recorded);

604: Reconstruct two synthetic views, based on representation;

(use motion vector to modify respecti ve view origins, during reconstructing, so as to produce intermediate image frames to be interposed between captured image frames in the captured image steams and interpose the intermediate image frames between (he captured image frames so as to reduce apparent latency);

(track location/position of user's head/eyes to generate motion vector usable in reconstructing synthetic views);

605: Display synthetic views to the user, via HMD;

606: Execute reconnecting and displaying such that each of the synthetic views has respective view origin corresponding to respective virtual camera location, wherein th .respective view origins are positioned suc that d e respective virtual camera locations coincide with respective locations of user's left and right eyes, so as to provide user with substantially natural visual experience of perspective, binocular stereo and occlusion exemplary practices of the scene, substantially as if user were directly viewing scene without an HMD.

FIG . 1 is a flowchart of a vehicle control system-related method 610 according to an exemplary' practice of the invention, tocluding the following operations:

611 : Capture images of scene around at least a portion of vehicle (using at least one camera having a view of scene);

612: (Execute image rectification);

613: Execute feature correspondence function;

(by detecting common features between corresponding images captured by the at least om camera and measuriiig a relati ve distance in image space between common, features, to generate disparity values);

(detect common features between images captured by single camera over time);

(detect common features between corresponding images captured by two or more cameras);

6.14 : Calculate corresponding depth information based on disparity values;

(or obtain depth information using 1R TOF camera);

6 IS: Generate from the images and corresponding depth information an image data stream for use by the vehicle control system.

FIG. 62 is a flowchart of another V3D method 620 according to an exemplar}' practice of the invention, which can utilize a view vector rotated caniera configuration and/or a number of the following operations:

621 : Execute image capture;

622: (of other user);

623 : (of other user and scene surrounding other user);

624: (of remote scene);

625 : (Use single camera (and detect common features between images captured over time));

626: (Use at least one color camera); 627: (Use at .least one infrared structured light emitter):

628: (Use at least one camera which is an infra-red time-of-flight camera that directly provides depth infomiation);

629: (Use at least two cameras (and detect common: features between corresponding images captured by respective cameras):

6210: (Camera(sj for capturing images of the second user are located at or near the periphery or edges of a display device used by second user, display device used by second user having display screen viewable by second user and having a geometric center; synthetic view of second user

corresponds to selected virtual camera location, selected virtual camera location corresponding to poin t at or proximate the geometric center);

6 11 : {Use a view vector rotated camera configuration in which the locations of first and second

cameras define a line: rotate the line defined by first and second camera, locations by a selected amount from selected horizontal or vertical axis to increase number of valid feature

correspondences identified in typical real-world settings by feature correspondence function) (first and second cameras positioned relative to each other along epipoiar lines);

6212: (Subsequent to capturing of images, rotate disparity values back to selected horizontal or vertical orientation along with captured images);

6213; (Subsequent to reconstructing of synthetic view, rotate synthetic view back to selected horizontal or vertical orientation);

6214 : (Capture using exposure c cling) ;

6215 : (Use at least three cameras arranged in su stantially L-shaped configuration, suck that pair of cameras is presented along first axi and second pair of cameras is presented along second axis substantially perpendicoiar to first axis).

FIG. 63 is a flowchart of an exposure cycling method 630 according to an exemplary practice of the invention, including the following operations:

631 ; Dynamically adjust exposure of cauiera(s) on frame-by-frame basis to improve disparity

estimation in regions outside exposed region : take series of exposures, including exposures lighter than and exposures darker than a visibility-optifnal exposure: calculate disparity values for each exposure; and integrate disparity valises into an overall disparity solution over time, to improve disparity estimation;

632: The overall disparity solution includes a disparity histogram into which disparity values are

integrated, the disparity ' histogram bein converged over time, so as to improve disparit estimation;

633: (analyze quality of overall disparity solution on respective dark, mid-range and light pixels to generate variance information used to control exposure settings of fee camera(s), thereby to form a closed loop between quality of fee disparity estimate and set of exposures requested from camerais));

634; (overall disparity solution includes disparity histogram: analyze variance of disparity histograms on respective dark, mid-range and light pixels to generate variance information used to control exposure settings of camera(s), thereby to form a closed loop between quality of disparity estimate and set of exposures requested from came*a(s)).

FIG. 64 is a flowchart of an image rectification method 640 according to an exemplary' practice of the invention, including the following operations:

6 1 Execute image rectification;

642: (to compensate for optical distortion of each camera and relative misalignment of the cameras):

643: (executing image rectification includes applying 2D image space transform);

644; (applying 2.0 image space transform includes using GPGPIJ processor running shader program).

FIGS. 65A-B show a flowchart of a feature; correspondence method 650 according to an exemplary practice of the invention, which can include a number of the following operations:

651 ; Detect common features between corresponding images captured by the respective cameras;

652: (Detect common features between images captured by single camera over time; measure relative distance .in image space between common features, to generate disparity values);

653: (Evaluate and combine vertical- and horizontal-axis correspondence information);

654: (Apply , to image pixels containing disparity solution, a coordinate transformation to a unified coordinate system (un-reefified coordinate system of the captured, images));

655; Use a disparity histogram-based method of integrating data and determining correspondence; constructing disparit histogram indicating the relative probability of a given disparity value being correct for a gi ven pixel;

656: (Disparity histogram functions as probability density function (PDF) of disparity for given pixel, in which higher values indicate higher probability of corresponding disparity range being valid for given pixel); 657: (One axis of disparity histogram indicates given disparity range; second axis of histogram indicates number of pixels in kernel sunxvundmg centra! pixel in question that are voting for given disparity 1 range):

658: (Votes indicated by disparity histogram initially generated utilizing sum of square differences [SSD j method: executing SSD method with relatively small kernel to produce fast dense disparity map in which each pixel has selected disparity that represents lowest error; then, processing plurality of pixels to accumulate into disparity histogram a tally of number of votes for given disparity in relatively larger kernel surrounding pixel in question),

659: (Transform the disparit histogram into a cumulative distribution function (CDF) from which width of corresponding interquartile range can be determined, to establish confidence level in corresponding disparity solution);

6510: (Maintain a count of number of statistically significant modes in histogram, thereby to indicate modality);

6 1 1 : (Use modality as input to reconstruction, to control application of stretch vs. slide reconstruction method)

6512: (Maintain a disparity histogram over selected time interval and accumulate samples into

histogram, to compensate tor camera noise or other sources of motion or error),

6513 ; (Generate fast disparity estimates tor multiple independent axes; then combine corresponding, respective disparity histograms to produce statistically more robust disparity solution);

6514: (Evaluate interquartile (IQ) range of CDF of given disparity histogram to produce IQ result if IQ result is indicative of area of poor sampling signal to noise ratio, due to camera over- or underexposure, then control camera exposure based on IQ result to improve poorly sampled area of given disparity histogram);

6515 : (Test for only a smalt set of disparit values using small-kernel SSD method to generate initial results; populate corresponding disparit histogram with initial results; then use histogram votes to drive further SSD testing within given range to improve disparity resolution over time);

651.6: (Extract sub-pixel disparity information from disparity histogram: where histogram indicates a maximum-vote disparity range and an adj cent, runner-up disparity range, calculate a weighted average disparity 1 value based on ratio between number of votes for each of the adjacent disparity ranges);

6517: (The feature correspondence function includes weighting toward a center pixel, in a sum of

squared differences (SSD) approach: apply higher weight to the center pixel for which a disparity solution is sought, and a lesser weight outside the center pixel, the lesser weight being

proportional to distance of given kernel sample from the center); 651.8: (The feature correspondence function includes optimizing generation of disparity values on

GPGPU computing structures);

6519: (Refine correspondence information o ver time):

6520: (Retain a disparity solution over a time interval, and continue to integrate disparity solution values for each image frame over the time interval, to converge on improved disparity solution by sampling over time);

6521. : (Fill unknowns in a correspondence information set with historical data obtained from previously captured images: if a given image feature is detected in an image captured by one camera, and no correspoiidiag image feature is found in a corresponding image captured by another camera, then utilize data for a pixel corresponding to the given image feature, from a corresponding, previously captured image).

FIG, 66 is a .flowchart of a method 660 for generating a data representation, according to an exemplary practice of the invention, which can include a number of die following operations:

661 : Generate data structure representing 2D coordinates of control point in i mage space, and

containing a disparity value treated as a pixel velocity in screen space with respect to a given movement of a given view vector; and utilize the disparity value in combination with movement vector to slide a pixel in a given source image in selected directions, in 2D, to enable a reconstruction of 3D image movement;

662 : (Each camera, generates a respecti ve camera stream; and the date structure contains a sample buffer index, stored in association with control point coordinates, that indicates which camera- stream to sample in association with given control point);

663; (Determine whether a given pixel should be assigned a control point);

664: (Assign control points along image edges: execute computations enabling identification of image edges):

665: (Flag a given image feature with a reference count indicating how many samples reference the given image feature, to differentiate a uniquely referenced image feature, and a sample

corresponding to the uniquely referenced image feature, from repeatedly referenced image features; and utilize reference count, extracting unique samples, to enable reduction in bandwidth requirements);

666: (Utilize the reference count to encode and transmit a given sample exactly once, even if a pixel or image feature corresponding to the sample is repeated in multiple camera views, to enable reduction in bandwidth requirements). FIGS. 67A-B show a flowchart of an image reconstruction, method 670, according to an

exemplary practice of the invention, which can include a number of the following operations;

671 : Reconstruct synthetic view based on data representation and tracking information; execute 3d image reconstruction by warping 2D image, using control points: sliding given pixel along a head movement vector at a displacement rate proportional to disparity, based on tracking information and disparity values;

672: (wherein disparity values are acquired from feature correspondence function or control point data steam);

673: (Use tracking information to control 2D crop box: synthetic view is reconstructed based on view origin, and then cropped and scaled to fill user's display screen view window; define minima and maxima of crop bos as function of user's head location with respect to display screen and dimensions of display screen view window):

674: {Execute 2D warping reconstruction of selected view based on selected control points : designate set of control points, respecti ve con trol points corresponding to respective, selected pixels in a source image: slide control points in selected directions in 2D space, wherein the control points are slid proportionally to respective disparit values; interpolate data values tor pixels between the selected pixels corresponding to the control points; to create a synthetic view of the image from a selected new perspective in 3D space);

675: (Rotate source image and control point coordinates so that rows or columns of image pixels are parallel to the vector between the original source image center and the new view vector defined by the selected new perspecti ve);

676: (Rotate the source image and control point coordinates to align the view vector to image scanlines; iterate through each seanline and each control point for a given scan!ine. generating a line element beginning and ending at each control point in 2D image space, with the addition of the corresponding disparity value multiplied by the corresponding view vector magnitude with the corresponding x-axis coordinate; assign a texture coordinate to the beginning and ending points of each generated line element, equal to their respective, original 2D location in the source image; interpolate texture coordinates linearly along each line element; to create a resultin image in which image data between the control points is linearly stretched);

677; (Rotate resulting image back by the inverse of the rotation applied to align the view vector with the scanlines);

678; (Link control points between scanlines, as well as along scanlines, to create polygon elements defined by control points, across which interpolation is executed); 679: (For a given source image, selectively slide image foreground and image background

independently of each other, sliding is utilized in regions of large disparity or depth change);

6710: (Determine whether to utilize sliding: evaluate disparity histogram to detect multi-modal behavior indicating that given control point is on an image boundar for which allo wing foreground and background to slide independent of each other presents better solution than interpolating depth between foreground and background ; disparity histogram fiinctions as probability density function (PDF) of disparity for a given pixel, in which higher values indicate higher probability of the corresponding disparity range being valid for the given pixel);

6711: (Use at least one sample integration function table (sift), the sift including a table of sample

integration functions for one or more pixels in a desired output resolution of an image to be displayed to the user; a given sample integration function maps an input view origin vector to at least one known, weighted 2D image sample location in at least one input image buffer).

FIG. 68 is a flowchart of a display method 680. according to an exemplary practice of the invention, which can include a number of the following operations:

681 : Display synthetic view to user on display screen ;

682: (Display synthetic view to user on a 2D display screen; update display in real-time, based on tracking iufonmition. so that display appears to the user to be a window into a 3d scene responsiv to user's head or eye location;

683: (Display synthetic view to user on binocular stereo display device):

684: (Display synthetic view to user on lenticular display that enables auto-stereoscopic viewing).

FIG. 69 is a flowchart of a method 690 according to an exemplary practice of the invention, utilizing a multi-level disparity histogram, and which can also include the following:

6 1 : Capture images of scene, using at least fi rst and second cameras having a view of the scene, the cameras being arranged along an axis to configure a stereo camera pair having a camera pair axis;

692: Execute feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common .features, to generate disparity values, die feature correspondence functio including constructing a multi-level disparity histogram indicating the relative probability of a given disparity value being correct for a given pixel, and the constructing of a multi-level disparity histogram includes executing a fast dense disparity estimate (FDDE) image pattern matching operation on successively lower-frequency dowttsampled versions of the input stereo images, the successively lower-fiequeacy downsampled versions constituting a set of levels of FDDE histogram votes:

692.1 Each level is assigned a level number, and each successively higher level is

characterized by a lower image resolution;

692.2 (Downsampling is provided by reducing image resolution, via low-pass filtering);

692.3 (Downsampling includes using a weighted summation of a kernel in level jjn-l) to produce a pixel value in level fnj, and the normalized kernel center position remains the same across all levels);

692.4 (For a given desired disparity solution at. full image resolution, the FDDE votes for ever ' image level are included in the disparity solution);

692.5 Maintain in a memory unit a summation stack, for executing summation operations relating to feature correspondence);

; Generate a multi-level histogram including a set of initially independent histograms at different levels of resolution:

693.1 ; Each histogram bin in a given level represents votes for a disparity determined by the FDDE at that level;

693.2; Each histogram bin in a given level has an associated disparity uncertainty range, and the disparity uncertain ty range represented by each histogram bin is a selected multiple wider than the disparity uncertainty range of a bin in the preceding level;: Apply a sub-pixel shift to the disparity values at each level during downsampling, to negate rounding error effect: apply half pixel shift to only one of the images in a stereo pai r at each level of downsampling;

694.1 : Apply sub-pixel shift implemented inline, within the weights of the filter kernel utilized to implement the downsampling from: level to level; : Execute histogram integration, including executing a recursive summation across ail the FDDE levels:

695.1 : During summation, modify the weighting of each level to control the amplitude of the effect of lower levels in overall voting, by applying selected weighting coefficients to selected levels;

: Inter a sub-pixel disparity solution from the disparity histogram, by calculating a sub-pixel offset based on the number of votes for the maximum vote disparity range and the number of votes for an adjacent runner-up disparity range. FIG. 70 is a flowchart of a method 700 according to an exemplary practice of the invention, utilizing RUD image space and including the following operations:

701: Capture images of scene, using at {east first and second cameras having a view of the scene, the cameras being arranged along an axis to configure a stereo camera pair having a camera pair axis, and for each camera pair axis, execute image capture using the camera pair to generate image data:

702: Apply /execute rectification and undistorting transformations to transform the image data into RUD irnage space;

703: iter tiveiy downsampie to produce multiple, successively lower resolution levels;

704: Execute FDDB calculations for each level to compile FDDE votes for each level;

705: Gather FDDE disparity range votes into a multi-level histogram;

706: Determine the highest ranked disparity range in the multi-level histogram;

707: Process the multi-level histogram disparity data to generate a final disparity result.

FIG. 71 is a flowchart of a method 710 according to an exemplary practice of the invention, utilizing an infective constraint aspect and including the following operations:

711 : Capture images of a scene, using at least first and second cameras having a view of tire scene, the cameras being arranged along an axis to configure a stereo camera pair;

712: Execute a feature correspondence function by detecting common features between corresponding images captured by the respective cameras and measuring a relative distance in image space between the common features, to generate disparity values, the feature correspondence function including: generating a disparity solution based on the disparity values, and applying an injective constraint to the disparity solution based on domain arid co-domain, wherein the domain

comprises pixels for a given image captured by the first camera and the co-domain comprises pixels for a corresponding image captured by the second camera, to enable correction of error in the disparity solution in response to violation of the infective constraint, and wherein the injective constraint is that no element in the co-domain is referenced more than once by elements in the domai ,

FIG. 72 is a flowchart of a method 720 for applying an injective constraint, according to an exemplary practice of the invention, including the following operations: 721: Maintain a reference count for each pixel in the co-domain;

722: Does reference count for the pixels in the co-domain exceed "Γ'?;

723: if the count exceeds "J

724: Signal a violation and respond to the violation with a selected error correction approach.

FIG. 73 is a flowchart of a method 730 relating to error correction approaches based on infective constraint, according to an exemplar}' practice of the invention, including one or more of the following:

73 i : First-come, first-served: assign priority to the first element in the domain to claim an element in the co-domain, and if a second element in the domain claims the same co-domain element, invalidating that subsequent match and designating that subsequent match to be invalid;

732: Best match wins: compare the actual image matching error or corresponding histogram vote count between the two possible candidate elements in the domain against the contested element in the co-domain, and designate as winner the domain candidate with the best match;

733: Smallest disparity wins: if there is a contest between candidate elements in the domain for a given co-domain element, wherein each candidate element has a corresponding disparity, selecting the domain candidate with the smallest disparity and designating the others as invalid:

734: Seek alternative candidates: select and test the nest best domain candidate, based on a selected criterion, and iterating the selecting and testing until " the violation is eliminated or a computational time limit is reached,

FIG. 74 is a flowchart of a head e e fece location estimation method 740 according to an exemplary practice of the invention, including the following operations:

741 : Capture images of the second user, using at least one camera having a view of the second user's face;

742: Execute a feature correspondence function by detecting common features between corresponding images captured by the at least: one camera and measuring a relative distance in image space between the common features, to generate disparit values;

743: Generate a data representation , representative of the captured images and the corresponding

disparity values;

744: Estimate a three-dimensional (3D) location of the first user's head, face or eyes, to generate

tracking information, which can include the following:

744.1 : Pass a captured image of the first user, the captured image including- the first user's head and face, to a two-dimensional (2D) facial feature detector that utilizes the image to generate a first estimate of head and eye location and a rotation angle of the face relative to an image plane; 744.2: Use an estimated center-of-face position, face rotation angle, and head depth range based on the first estimate, to determine a best-fit rectangle that includes the bead; 744.3: Extract from the best-fit rectangle ail 3D points that tie within the best-fit rectangle, and calculate therefrom a representative 3D head position;

744.4: If the number of valid 3D points extracted from the best-fit rectangle exceeds a selected threshold in relation to the maximum number of possible 3D points in die region, then signal a valid 3D head position result

Reconstruct a synthetic vie w of the second user, based on the representation, to enable a di splay to the first user of a synthetic view of the second user in which the second user appears to be gazing directly at the first user, including reconstructing the synthetic view based on the generated data representation and the generated tracking information.

FIG. 75 is a flowchart of a method 750 providing further optional operations relating to the 3D location estimation sho wn in FIG. 74, according t an exemplar)- practice of the invention, incl uding the following;

75 i ; Determine, from the first estimate of head and eye location and face rotation angle, an estimated eemer~of-fa.ee position:

752; Determine an average dept value for the face by extracting three-dimensional (3D) points via the disparity values for a selected, small area located around the estimated center-of-tace position;

753; Utilize the average depth value to determine a depth range that is likely to encompass the entire head;

754: Utilize the estimated ce ter-of-face position, face rotation angle, and depth range to execute a second ray march to determine a best-fit. rectangle that includes the head;

755: Calculate, for both horizontal and vertical axes, vectors thai are perpendicular to each respective axis but spaced at different interval;

756; For each of the calculated vectors, test the corresponding 3D points starting from a position

outside the head region and working inwards, to the horizontal or vertical axis;

757: When a 3D point is encountered that falls within the determined depth range, denominate that point as a valid extent of a best-fit head rectangle;

758: From each ray march along each axis, determine a best-fit rectangle for the head, and extracting therefrom all 3D points that lie within the best-fit rectangle, and calculating therefrom a weighted average;

759: if the mtmber of valid 3D points extracted from: the best-fit rectangle exceed a selected threshold in relation to the maximum number of possible 3D points in the region, signal a valid 3D head position result FIG. 76 is a flowchart of optional sub-operations 760 relating to 3D location estimation, according to an exemplary practice of the iaveation, which can include a number of die following:

761 : Downsample captured image before passing it to the 2D fecial, feature detector.

762: Interpolate image data from video frame to video frame, based on the time that has passed from a given video frame from a previous video frame.

763: Convert image data to luminance values.

F G. 77 is a flowchart of a method 770 according to an exemplary practice of the invention, utilizing URUD image space and including (he following operations:

771 ; Capture images of a scene, using at .least three cameras having a view of the scene, the cameras being arranged in a substantially "F-shaped configuration wherein a first pair of cameras is disposed along a first axis and second pai r of cameras is disposed along a second axis intersecting with but angularly displaced from, the first axis, wherein the first and second pairs of cameras share a common camera at or near the intersection of the first and second axis, so that the first and second pairs of cameras represent respecti ve fi rst and second independent stereo axes that share a common camera;

772: Execute a feature correspondence function fay detecting common features between corresponding images captured by the at least three cameras and measuring a relati ve distance in image space between the common features, to generate disparity values;

773: Generate a data representation, representative of the captured images and the corresponding disparity values;

774: Utilize an nnrectified, undistorted (U.RUD) image space to integrate disparity data for pixels between the first and second stereo axes, thereby to combine disparit data from the first and second axes, wherein the URUD space is an image space in which polynomial lens distortion has been removed from the image data but the captured image remains imrectified.

FIG. 78 is a flowchart of a me thod 780 relating to optional operations in RUD/URIJD image space according to an exemplary practice of the invention, including die following operations:

781 ; Execute a stereo correspondence operation on the image data in a .rectified, undistorted (RUD) image space, and storing resultant disparity data in a RUD space coordinate system:

782; Store the resultant disparity data in a URUD space coordinate system;

783: Generate disparity histograms from the disparity data in either RUB or URUD space, and store the disparity histograms in a unified URUD space coordinate system (and apply a URUD to RUD coordinate transformation to obtain per-axts disparity values). FIG. 79 is a flowchart of a method 790 relating to private disparity histograms according to an exemplary practice of the invention, including the following operations:

79 i : Capture images of a scene using at least one camera having a view of the scene;

792: Execute a feature correspondence function by detecting common features between corresponding images captured by the at least one camera and measuring a relative distance in image space between the common features, to generate disparity values, using a disparity histogram method to integrate data and determine correspondence, which can include :

792.1 : Construct a disparity histogram indicating the relative probability of a given

disparity value being correct for a given pixel;

792.2: Optimize generation of disparity values on a GPU computing structure, by generating,, in the GPU computing structure, a plurali ty of output pixel threads and for each output pixel thread, maintaining a private disparity histogram in a storage element associated with the GPU computing structure and physically proximate to the computation units of the GPU computing structure;

793: Generate a data representation, representative of the captured images and the corresponding disparity values.

FIG. 80 is a flowchart of a method 800 further relating to private disparity' histograms according to an. exemplary practice of the invention, including the following operations: 801 : Store the private disparity histogram such that, each pixel thread writes to and reads from the corresponding private disparity histogram on a dedicated portion of shared iocal memor in the GPU;

802: Organize shared local memory in the GPU at least in part into memory words; the private

di sparity-- histogram is characterized by a series of histogram bins indicating the number of votes for a given disparity range; and if a maximum possible number of votes in the private disparity histogram is known, multiple histogram bins can be packed into a single word of the shared local memory, and accessed using bitwise GPU access operations.

Conclusion

While the foregoing description and the accompanying drawing figures provide details that will enable those skilled in the art to practice aspects of the invention,, it should be recognized that the description is illustrative in nature and that many modifications and variations thereof will be apparent to those skilled in. the art having the benefit of these teachings. It is accordingly intended that, the invention herein be defined solely by any claims that may be appended hereto and that the invention be interpreted as broadly as permitted fay the prior art.