This description generally relates to a camera rig. In particular, the description relates to generating stereoscopic panoramas from captured images for display in virtual reality (VR) environment.
Panoramic photography techniques can be used on images and video to provide a wide view of a scene. Conventionally, panoramic photography techniques and imaging techniques can be used to obtain panoramic images from a number of adjoining photographs taken with a conventional camera. The photographs can be mounted together in alignment to obtain a panoramic image.
A system of one or more computers, camera rigs, and camera devices housed upon the camera rigs can be configured to perform particular operations or actions by virtue of having software, firmware, hardware, or a combination of them installed on the system that in operation causes or cause the system to perform the actions. One general aspect includes a camera rig, having a hub and a camera mounting ring disposed around the hub. The camera mounting ring may include a plurality of recesses. The camera rig also includes a first recess from the plurality of recesses configured to receive a first image sensor. The camera rig also includes a second recess from the plurality of recesses configured to receive a second image sensor. The camera rig also includes a third recess from the plurality of recesses configured to receive a third image sensor. The camera rig also includes each of the first image sensor, the second image sensor, and the third image sensor having a projection facing away from an inner portion of the camera mounting rig. The camera rig also includes the plurality of recesses being defined such that a first field of view of the first image sensor intersects a second field of view of the second image sensor and a third field of view of the third image sensor. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform actions associated with the methods described herein.
Implementations can include one or more of the following features, alone or in combination with one or more other features. For example, in any or all of the above implementations the radius of the camera rig is defined such that the first field of view of a first image sensor intersects the second field of view of the second image sensor and the third field of view of the third image sensor. In any or all of the above implementations, the first image sensor, the second image sensor, and the third image sensor are disposed within a plane. In any or all of the above implementations and in any of the camera rigs of one of the preceding implementations, the spoke may be disposed between the hub and the mounting ring.
In any or all of the above implementations and/or camera rigs of one of the preceding implementations, the plurality of recesses are defined such that a gap is disposed between a first camera housing including the first image sensor and a second camera housing including the second image sensor.
In any or all of the above implementations and/or camera rigs of one of the preceding implementations, the first recess from the plurality of recesses is defined such that the first image sensor has a field of view in a portrait orientation and/or the first recess from the plurality of recesses is defined for removable coupling of the first image sensor to the camera rig.
In any or all of the above implementations and/or camera rigs of one of the preceding implementations, the camera rigs may further include a clip coupled to the mounting ring and/or a microphone mount coupled to the camera rig.
In any or all of the above implementations and/or camera rigs of one of the preceding implementations, the plurality of recesses includes between 12 to 16 recesses. In any or all of the above implementations and/or camera rigs of one of the preceding implementations, the plurality of recesses includes exactly 16 recesses.
In any or all of the above implementations and/or camera rigs of one of the preceding implementations, the camera mounting ring is between approximately 25 to 30 centimeters in diameter.
In another aspect, a method is described. The method may be performed using a system of one or more computers, camera rigs, and camera devices housed upon the camera rigs can be configured to perform particular operations or actions by virtue of having software, firmware, hardware, or a combination of them installed on the system that in operation causes or cause the system to perform the actions. One or more computer programs can be configured to perform particular operations or actions by virtue of including instructions that, when executed by data processing apparatus, cause the apparatus to perform the actions. The method may include defining a first image at a first image sensor coupled to a camera mounting ring of a camera rig. The method also includes defining a second image at a first image sensor coupled to the camera mounting ring of the camera rig. The method also includes defining a ray projecting from a capture circle having a diameter smaller than a diameter of the camera mounting ring. The method may also include interpolating a third image associated with the ray based on a first distance between the ray and the first image sensor and a second distance between the ray and the second image sensor. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
In any or all of the above implementations, the first image sensor has a first field of view that intersects a second field of view of the second image sensor and intersects a third field of view of a third image sensor coupled to the camera rig. In any or all of the above implementations, the first image sensor, the second image sensor, and the third image sensor are disposed within a plane.
In any or all of the above implementations, the first image, the second image, and the third image are each in a portrait orientation. In any or all of the above implementations, the ray is tangentially projected from the capture circle.
In any or all of the above implementations the ray is a first ray and the method further includes defining a second ray projecting from the capture circle, defining a fourth image at a third image sensor coupled to the camera mounting ring, and interpolating a fifth image associated with the second ray based on a third distance between the second ray and the first image sensor and a fourth distance between the second ray and the third image sensor. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.
Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims.
Like reference symbols in the various drawings indicate like elements.
Creating panoramic images generally includes capturing images or video of a surrounding, three-dimensional (3D) scene using a single camera or a number of cameras in a camera rig, for example. When using a camera rig that houses several cameras, each camera can be synchronized and configured to capture images at a particular point in time. For example, the first frame captured by each camera can be captured at approximately the same time as the second, third, and fourth cameras capture corresponding first frames. The image capture can continue in a simultaneous manner until some or all of the scene is captured. Although many of the implementations are described in terms of a camera, the implementations can instead be described in terms of image sensors or in terms of camera housings (which can include image sensors).
Camera rigs that house multiple cameras may be configured to capture particular angles of the scene. For example, cameras housed on the camera rig may be directed at a specific angle and all (or at least a portion of) content captured from that angle may be processed to generate a full panorama of a particular scene. In some implementations, each of the cameras can be directed at different angles to capture different angles of the scene. In the event that only a portion of the scene is captured or some or all of the scene includes distortion, a number of processes can be performed to interpolate or configure any missing, corrupted, or distorted content from the panorama. The following disclosure describes a number of apparatus and methods to capture, process, correct, and render 3D panoramic content for purposes of displaying such content in a head-mounted display (HMD) device in a 3D virtual reality (VR) environment.
The HMD device 110 may represent a virtual reality headset, glasses, eyepiece, or other wearable device capable of displaying virtual reality content. In operation, the HMD device 110 can execute a VR application (not shown) which can playback received and/or processed images to a user. In some implementations, the VR application can be hosted by one or more of the devices 106, 108, or 112, shown in
The camera rig 102 can be configured for use as a camera (also can be referred to as a capture device) and/or processing device to gather image data for rendering content in a VR environment. Although camera rig 102 is shown as a block diagram described with particular functionality herein, rig 102 can take the form of any of the implementations shown in
As shown in
The camera rig 102 can be configured to function as stationary rig or a rotational rig. Each camera on the rig is disposed (e.g., placed) offset from a center of rotation for the rig. The camera rig 102 can be configured to rotate around 360 degrees to sweep and capture a all or a portion of a 360-degree view of a scene, for example. In some implementations, the rig 102 can be configured to operate in a stationary position and in such a configuration, additional cameras can be added to the rig to capture additional outward angles of view for a scene.
In some implementations, the camera rig 102 includes multiple digital video cameras that are disposed in a side-to-side or back-to-back fashion (e.g., shown in
In some implementations, images from the cameras can be processed in neighboring pairs on the camera rig 102. In such a configuration, each first camera in each set of neighboring cameras is disposed (e.g., placed) tangentially to a circular path of the camera rig base and aligned (e.g., with the camera lens pointing) in a leftward direction. Each second camera in each set of neighboring cameras is disposed (e.g., placed) tangentially to the circular path of the camera rig base and aligned (e.g., with the camera lens) pointing in a rightward direction.
Example settings for the cameras used on the camera rig 102 can include a progressive scan mode at about 60 frames per second (i.e., a mode in which each raster line is sampled to produce each frame of the video, rather than every other line as is the standard recording mode of most video cameras). In addition, each of the cameras can be configured with identical (or similar) settings. Configuring each camera to identical (or similar) settings can provide the advantage of capturing images that can be stitched together in a desirable fashion after capture. Example settings can include setting one or more of the cameras to the same zoom, focus, exposure, and shutter speed, as well as setting the cameras to be white balanced with stabilization features either correlated or turned off.
In some implementations, the camera rig 102 can be calibrated prior to being used to capture one or more images or video. For example, each camera on the camera rig 102 can be calibrated and/or configured to take a panoramic video. The settings may include configuring the rig to operate at a particular rotational speed around a 360-degree sweep, with a wide field of view, and in a clockwise or counterclockwise direction, for example. In some implementations, the cameras on rig 102 can be configured to capture, for example, one frame per degree of a 360-degree sweep of a capture path around a scene. In some implementations, the cameras on rig 102 can be configured to capture, for example, multiple frames per degree of a 360-degree (or less) sweep of a capture path around a scene. In some implementations, the cameras on rig 102 can be configured to capture, for example, multiple frames around a sweep of a capture path around a scene without having to capture particularly measured frames per degree.
In some implementations, the cameras can be configured (e.g., set up) to function synchronously to capture video from the cameras on the camera rig at a specific point in time. In some implementations, the cameras can be configured to function synchronously to capture particular portions of video from one or more of the cameras over a time period. Another example of calibrating the camera rig can include configuring how incoming images are stored. For example, incoming images can be stored as individual frames or video (e.g., .avi files, .mpg files) and such stored images can be uploaded to the Internet, another server or device, or stored locally with each camera on the camera rig 102. In some implementations, incoming images can be stored as encoded video.
The image processing system 106 includes an interpolation module 114, a capture correction module 116, and a stitching module 118. The interpolation module 116 represents algorithms that can be used to sample portions of digital images and video and determine a number of interpolated images that are likely to occur between adjacent images captured from the camera rig 102, for example. In some implementations, the interpolation module 114 can be configured to determine interpolated image-fragments, image-portions, and/or vertical or horizontal image-strips between adjacent images. In some implementations, the interpolation module 114 can be configured to determine flow fields (and/or flow vectors) between related pixels in adjacent images. Flow fields can be used to compensate for both transformations that images have undergone and for processing images that have undergone transformations. For example, flow fields can be used to compensate for a transformation of a particular pixel grid of an obtained image. In some implementations, the interpolation module 114 can generate, by interpolation of surrounding images, one or more images that are not part of the captured images, and can interleave the generated images into the captured images to generate additional virtual reality content for a scene.
The capture correction module 116 can be configured to correct captured images by compensating for a non-ideal capture setup. Example capture setups can include, by way of non-limiting example, a circular camera trajectory, a parallel principal (camera) axis, a viewing-direction that is perpendicular to the camera trajectory, a viewing direction that is tangential to the camera trajectory and/or other capture conditions. In some implementations, the capture correction module 116 can be configured to compensate for one or both of a non-circular camera trajectory during image capture and/or a non-parallel principal axis during image capture.
The capture correction module 116 can be configured to adjust a particular set of images to compensate for content captured using multiple cameras in which camera separation is larger than about 30 degrees. For example, if the distance between cameras is 40 degrees, the capture correction module 116 can account for any missing content in a particular scene based on too little camera coverage by collecting content from additional cameras or by interpolating the missing content.
In some implementations, the capture correction module 116 can also be configured to adjust the set of images to compensate for camera misalignment due to camera pose errors and the like. For example, if camera pose errors (e.g. errors due to orientation and position of camera) occur during image capture, module 116 can blend two or more columns of pixels from several image frames to remove artifacts including artifacts due to poor exposure (or exposure changes from image frame to image frame) and/or due to misalignment of one or more cameras. The stitching module 118 can be configured to generate 3D stereoscopic images based on defined, obtained, and/or interpolated images. The stitching module 118 can be configured to blend/stitch pixels and/or image-strips from multiple image portions. Stitching can be based on flow fields as determined by the interpolation module 114, for example. For example, the stitching module 118 can receive (from interpolation module 114) interpolated image frames that are not part of the set of images and interleave the image frames into the set of images. The interleaving can include the module 118 stitching together the image frames and the set of images based at least in part on the optical flow generated by the interpolation module 114. The stitched combination can be used to generate an omnistereo (e.g., omnidirectional stereo) panorama for display in a VR head mounted display. The image frames may be based on captured video streams collected from a number of neighboring pairs of cameras disposed on a particular rig. Such a rig may include about 12 to about 16 cameras. In other words, other combinations of such a rig can include 12-16 non-paired or individual cameras, for example. In some implementations, an odd number of cameras can be included in a rig. In some implementations, the rig includes more than one or two sets of neighboring cameras. In some implementations, the rig may include as many sets of neighboring cameras that can be seated side-by-side on the rig. In some implementations, the stitching module 118 can use pose information associated, with at least one neighboring pair, to pre-stitch a portion of the set of images before performing the interleaving. Neighboring pairs on a camera rig are more explicitly shown and described below in connection with, for example,
In some implementations, using optical flow techniques to stitch images together can include stitching together captured video content. Such optical flow techniques can be used to generate intermediate video content between particular video content that previously captured using the camera pairs and/or singular cameras. This technique can be used as a way to simulate a continuum of cameras on a circular stationary camera rig capturing images. The simulated cameras can capture content similar to a method of sweeping a single camera around in a circle to capture 360 degrees of images, but in the above technique, fewer cameras are actually are placed on the rig and the rig may be stationary. The ability to simulate the continuum of cameras also provides an advantage of being able to capture content per frame in a video (e.g., 360 images at capture spacing of one image per degree).
The generated intermediate video content can be stitched to actual captured video content using optical flow by using a dense set of images (e.g., 360 images at one image per degree), when in actuality, the camera rig captured fewer than 360 images. For example, if the circular camera rig includes 8 pairs of cameras (i.e., 16 cameras) or 16 unpaired cameras, the captured image count may be as low as 16 images. The optical flow techniques can be used to simulate content between the 16 images to provide 360 degrees of video content.
In some implementations, using the optical flow techniques can improve interpolation efficiency. For example, instead of interpolating 360 images, optical flow can be computed between each consecutive pair of cameras (e.g., [1-2], [2-3], [3-4]). Given the captured 16 images and the optical flows, the interpolation module 114 and/or the capture correction module 116 can compute any pixel in any intermediate view without having to interpolate an entire image in one of the 16 images.
The image processing system 106 also includes a projection module 120 and an image correction module 122. The projection module 120 can be configured to generate 3D stereoscopic images by projecting images into a planar perspective plane. For example, the projection module 120 can obtain a projection of particular set of images and can configure a re-projection of a portion of the set of images by converting some of the images from a planar perspective projection into a spherical (i.e., equirectangular) perspective projection. The conversions include projection modeling techniques.
Projection modeling can include defining a center of projection and a projection plane. In the examples described in this disclosure, the center of projection can represent an optical center at an origin (0, 0, 0) of a predefined xyz-coordinate system. The projection plane can be placed in front of the center of projection with a camera facing to capture images along a z-axis in the xyz-coordinate system. In general, a projection can be computed using the intersection of the planar perspective plane of a particular image ray from a coordinate (x, y, z) to the center of projection. Conversions of the projection can be made by manipulating the coordinate systems using matrix calculations, for example.
Projection modeling for stereoscopic panormas can include using multi-perspective images that do not have a single center of projection. The multi-perspective is typically shown as a circular shape (e.g., spherical) (see
In general, a spherical (i.e., equirectangular) projection provides a plane that is sphere-shaped with the center of the sphere equally surrounding the center of projection. A perspective projection provides a view that provides images of 3D objects on a planar (e.g, 2D surface) perspective plane to approximate a user's actual visual perception. In general, images can be rendered on flat image planes (e.g., computer monitor, mobile device LCD screen), so the projection is shown in planar perspective in order to provide an undistorted view. However, planar projection may not allow for 360 degree fields of view, so captured images (e.g., video) can be stored in equirectangular (i.e., spherical) perspective and can be re-projected to planar perspective at render time.
After particular re-projections are completed, the projection module 120 can transmit re-projected portions of images for rendering in an HMD. For example, the projection module 120 can provide portions of a re-projection to a left eye display in HMD 110 and portions of the re-projections to a right eye display in HMD 110. In some implementations, the projection module 120 can be configured to calculate and reduce vertical parallax by performing the above re-projections.
The image correction module 122 can be configured to generate 3D stereoscopic images by compensating for distortion, including, but not limited to, perspective distortion. In some implementations, the image correction module 122 can determine a particular distance in which optical flow is maintained for 3D stereo and can segment the images to show only portions of a scene in which such flow is maintained. For example, the image correction module 122 can determine that the optical flow of 3D stereo images is maintained between about one radial meter from an outward edge of circular camera rig 102, for example, to about five radial meters from the outward edge of the camera rig 102. Accordingly, the image correction module 122 can ensure that the swatch between one meter and five meters is selected for rendering in the HMD 110 in a projection that is free from distortion while also providing proper 3D stereo effects that have proper parallax for a user of the HMD 110.
In some implementations, the image correction module 122 can estimate optical flow by adjusting particular images. The adjustments can include, for example, rectifying a portion of images, determining an estimated camera pose associated with the portion of images, and determining a flow between images in the portion. In a non-limiting example, the image correction module 122 can compensate for a difference in rotation between two particular images in which flow is being computed. This correction can function to remove the flow component caused by a rotation difference (i.e., rotation flow). Such correction results in flow caused by translation (e.g., parallax flow), which can reduce the complexity of flow estimation calculations while making the resulting images accurate and robust. In some implementations, processes in addition to image correction can be performed on the images before rendering. For example, stitching, blending, or additional corrective processes can be performed on the images before rendering is carried out.
In some implementations, the image correction module 122 can correct for projection distortion caused by image content captured with camera geometries that are not based on planar perspective projections. For example, corrections can be applied to the images by interpolating images from a number of different viewing angles and by conditioning viewing rays associated with the images as originating from a common origin. The interpolated images can be interleaved into captured images to produce virtual content that appears accurate to the human eye with a comfortable level of rotational parallax for the human eye.
In the example system 100, the devices 106, 108, and 112 may be a laptop computer, a desktop computer, a mobile computing device, or a gaming console. In some implementations, the devices 106, 108, and 112 can be a mobile computing device that can be disposed (e.g., placed/located) within the HMD device 110. The mobile computing device can include a display device that can be used as the screen for the HMD device 110, for example. Devices 106, 108, and 112 can include hardware and/or software for executing a VR application. In addition, devices 106, 108, and 112 can include hardware and/or software that can recognize, monitor, and track 3D movement of the HMD device 110, when these devices are placed in front of or held within a range of positions relative to the HMD device 110. In some implementations, devices 106, 108, and 112 can provide additional content to HMD device 110 over network 104. In some implementations, devices 102, 106, 108, 110, and 112 can be connected to/interfaced with one or more of each other either paired or connected through network 104. The connection can be wired or wireless. The network 104 can be a public communications network or a private communications network.
The system 100 may include electronic storage. The electronic storage can be included in any of the devices (e.g., camera rig 102, image processing system 106, HMD device 110, and/or so forth). The electronic storage can include non-transitory storage media that electronically stores information. The electronic storage may be configured to store captured images, obtained images, pre-processed images, post-processed images, etc. Images captured with any of the disclosed camera rigs can be processed and stored as one or more streams of video, or stored as individual frames. In some implementations, storage can occur during capture and rendering can occur directly after portions of capture to enable faster access to panoramic stereo content earlier than if capture and processing were not concurrent.
In the depicted example, the cameras 202A and 202B are disposed (e.g., placed) on a mount plate 208 at a distance apart (B1). In some implementations, the distance (B1) between each camera on the camera rig 200 may represent an average human interpupillary distance (IPD). Placing the cameras at IPD distance apart can approximate how human eyes would view images as they rotate (left or right as shown by arrow 204) to scan a scene around a capture path indicated by arrow 204. Example average human IPD measurements can be about 5 centimeters to about 6.5 centimeters. In some implementations, each camera disposed at standard IPD distance apart can be part of a stereo pair of cameras.
In some implementations, the camera rig 200 can be configured to approximate a diameter of a standard human head. For example, the camera rig 200 can be designed with a diameter 206 of about 8 centimeters to about 10 centimeters. This diameter 206 can be selected for the rig 200 to approximate how a human head would rotate and view scene images with human eyes with respect to center of rotation A1. Other measurements are possible and the rig 200 or system 100 can adjust the capture techniques and the resulting images if, for example, a larger diameter were to be used.
In a non-limiting example, the camera rig 200 can have a diameter 206 of about 8 centimeters to about 10 centimeters and can house cameras placed at an IPD distance apart of about 6 centimeters. A number of rig arrangements will be described below. Each arrangement described in this disclosure can be configured with the aforementioned or other diameters and distances between cameras.
As shown in
In operation, the rig 200 can be rotated 360 degrees around the center of rotation A1 to capture a panoramic scene. Alternatively, the rig can remain stationary and additional cameras can be added to the camera rig 200 to capture additional portions of the 360-degree scene (as shown in
In the depicted example, the cameras 202A and 202B are disposed at a specific distance apart (B1), similar to the cameras in rig 200. In this example, cameras 302A and 302B can function as a neighboring pair to capture angles off of a center camera lens to a leftward and rightward direction, respectively, as described in detail below.
In one example, the camera rig 300 is circular rig that includes a rotatable or fixed base (not shown) and a mount plate 306 (which can also be referred to a support) and the neighboring pair of cameras includes a first camera 302A, placed on the mount plate 306, and configured to point in a viewing direction that is tangential to an edge of the mount plate 306 and arranged to point toward a leftward direction, and a second camera 302B, placed on the mount plate 306 in a side-by-side fashion to the first camera and placed at an interpupillary distance (or a different distance (e.g., less than IPD distance)) from the first camera 302A, the second camera 302B arranged to point in a viewing direction that is tangential to an edge of the mount plate 306 and arranged to point toward a rightward direction. Similarly, neighboring pairs can be made from cameras 302C and 302D, another pair from cameras 302E and 302F, and yet another pair from cameras 302G and 302H. In some implementations, each camera (e.g., 302A) can be paired with a camera that is not adjacent to itself, but is adjacent to its neighbor, such that each camera on the rig can be paired to another camera on the rig. In some implementations, each camera can be paired with its direct neighbor (on either side).
In some implementations, one or more stereo images can be generated by the interpolation module 114. For example, in addition to the stereo cameras shown on camera rig 300, additional stereo cameras can be generated as synthetic stereo image cameras. In particular, analyzing rays from captured images (e.g., ray tracing) can produce simulated frames of a 3D scene. The analysis can include tracing rays backward from a viewpoint through a particular image or image frame and into the scene. If a particular ray strikes an object in the scene, each image pixel through which it passes can be painted with a color to match the object. If the ray does not strike the object, the image pixel can be painted with a color matching a background or other feature in the scene. Using the viewpoints and ray tracing, the interpolation module 114 can generate additional scene content that appears to be from a simulated stereo camera. The additional content can include image effects, missing image content, background content, content for outside the field of view.
As shown in
In some implementations, the camera rig 300 includes a neighboring cameras. For example, the rig 300 can include neighboring cameras 302A and 302B. Camera 302A can be configured with an associated lens directed in a viewing direction that is tangential to an edge of a mount plate 304 and arranged to point toward a leftward direction. Similarly, camera 302B can be disposed on the mount plate 304 in a side-by-side fashion to camera 302A and placed at approximate human interpupillary distance from camera 302A and arranged to point in a viewing direction that is tangential to an edge of the mount plate 304 and arranged to point toward a rightward direction.
In some implementations, particular sensors on cameras 302A-H (or on camera rig 300) may be disposed tangentially to the outer circumference of the cameras 302A-H (or the rig 300), rather than the having the actual cameras 302A-H disposed tangentially. In this manner, the cameras 302A-H can be placed according to a user preference and the sensors can detect which camera or cameras 302A-H can capture images based on rig 300 location, sweeping speed, or based on camera configurations and settings.
In some implementations, the neighbors can include camera 302A and camera 302E arranged in a back-to-back or side-by-side fashion. This arrangement can also be used to gather viewing angles to the left and right of an azimuth 308 formed by the respective camera lens and the mount plate 304. In some implementations, the cameras are arranged at a tilted angle to the left and right of the azimuth 308 formed by the camera lens and the mount plate 304, respectively.
In some implementations, cameras placed on camera rig 300 can be paired with any other neighboring camera during image interpolation and simply aligned around the circular rig in an outward facing direction. In some implementations, the rig 300 includes a single camera (e.g., camera 302A). In the event that only camera 302A is mounted to rig 300, stereo panoramic images can be captured by rotating the camera rig 300 a full 360 degrees clockwise.
Similar to the other implementations described herein, the cameras 405 of the camera rig 400 are outward facing (e.g., facing away from a center of the rig 400). In this implementation, each of the cameras 405 is oriented so that an axis along which a field of view of a lens system of the cameras 405 is centered is perpendicular to a tangent of a circle defined by the cameras 405. Such an example is illustrated in at least
In this implementation, each of the cameras is configured so that an axis A2 (shown in
Because the lens systems of each of the cameras 405 in this implementation are offset from the center of the body of each of the cameras 405, each of the cameras are offset at an angle with respect to the other cameras 405 so that the field of view of each of the cameras can be perpendicularly oriented (e.g., facing perpendicular to a circle (or tangent from the circle) defined by the support 410) with respect to the camera rig 400. Accordingly, a plane A4 along which a rear side (or plane) of a body of camera 405B is aligned intersects a side plane (e.g., a plane along which a side) of adjacent camera 405A and intersects a rear plane (e.g., a plane along which a rear side) of adjacent camera 405C.
As shown, the camera rig 410 includes support members 411, a camera mounting ring 412 (which also can be referred to as an outer ring), an inner ring 413, and a hub 414. The hub 414 can be located in a central portion of the camera rig 410 and the support members 411 are disposed between the hub 414 and the camera mounting ring 412. Specifically, the support members 411 extend (e.g., extend radially) from the hub 414 to the camera mounting ring 412. In this implementation, the camera mounting ring 412 and the inner ring 413 define concentric rings within the camera rig 410. The camera mounting ring 412 includes recesses 415 (also can be referred to as cradles, openings, etc.) into which each of the cameras 405 (e.g., image sensors) can be disposed. Each of the recesses 415 includes various openings, curves, protrusions, and/or so forth that can be used to support and/or allow access to one or more input ports and/or output ports included in the cameras 405. The support members 411 (and/or other portions of the camera rig 410) include openings so that the camera rig 410 can have less mass (e.g., may be lighter) and/or use less material when produced. Although illustrated in a hub and spoke type configuration in this implementation, in some implementations, the support 410 can have a different configuration.
Although not shown, in some implementations, an odd number of cameras may be included in a camera rig. In such implementations, the lens systems of the cameras may have a field of view centered about an axis perpendicular to a tangent of the camera rig (or a circle defined by the camera rig) without an axis disposed through multiple of the camera lens systems and the center of the camera rig.
In some implementations, a minimum or maximum geometry of the camera rig 410 can be defined based on the optics (e.g., field of view, pixel resolution) of one or more of the cameras 405 coupled thereto. For example, a minimum diameter and/or a maximum diameter of the camera rig 410 can be defined based on a field of view of at least one of the cameras 405. In some implementations, a relatively large (or wide) field of view and/or relatively high resolution of at least one of the cameras 405 (e.g., sensors of the at least one camera 405) can result in a relatively small diameter of the camera rig 410. As shown in
In this implementation, the diameter (or radius) of the camera rig 410, and a diameter (or radius) of a circle intersecting each of the sensors within the cameras 405, is defined so that the field of view of at least three adjacent cameras 405 overlaps. In this implementation, the sensors within the cameras 405 are disposed within a plane (which is substantially parallel to a plane through the camera rig 410). In some implementations, an entire field of view (e.g., or substantially an entire field of view) of at least two adjacent cameras 405 can overlap with a field of view of a third one of the cameras 405 (adjacent to at least one of the two adjacent cameras 405). In some implementations, the field of view of any set of three adjacent cameras 405 can overlap so that any point (e.g., any point within a plane through the sensors of the cameras 405) around the camera rig 410 can be captured by at least three cameras 405.
As shown in at least
As shown in at least
As shown in
An example of a recess (or opening) 407M into which a protrusion 451M of a clip 450M can be disposed (e.g., inserted) is illustrated in at least
As shown in
In some implementations, the camera rig 410 can include a mechanism for mounting to another device such as a tripod. In some implementations, one or more openings can be disposed (e.g., disposed on a bottom side of the camera rig 410) so that the camera rig 410 can be mounted to a tripod. In some implementations, the coupling mechanism for mounting the camera rig 410 to another device such as a tripod can be disposed on a side opposite the location for the microphone mount 460. In some implementations, the coupling mechanism for mounting the camera rig 410 to another device can be on a same side as the location for the microphone mount 460.
In some implementations, the camera rig 410 can be removably coupled to another device such as a vehicle (e.g., an aerial vehicle such as a quad copter). In some implementations, the camera rig 410 can be made of a material sufficiently light such that the camera rig 410 and associated cameras 405 can be moved using an aerial vehicle such as a quad copter
In some implementations, the support 410 (and associated components such as the clip 450 and microphone mount 460) of the camera rig 400 can be configured to be printable using a 3-D printer. In some implementations, one or more portions of the support 410 (and associated components) may have curves that are defined in a smooth (or curved) fashion to facilitate printing using a 3-D printer.
The camera rig 500 includes a support 510 and cameras 505. The support 510, in this implementation, is made of cardboard (e.g., substantially made of cardboard). This has the advantage that it is light and cost efficient in manufacturing. As shown in
In this implementation, the top portion 582 has a shape (e.g., an outline or a profile) that is the same as a shape of the bottom portion 586. In some implementations, the top portion 582 can have a shape that is different than a shape of the bottom portion 586. The top portion 582 includes openings through which a body of the cameras 505 can protrude.
The side portion 584 includes openings through which a lens system of one or more of the cameras 505 can protrude. In this implementation, the side portion 584 includes perforated edges that can be bent to defined tabs that can support and be coupled to the top portion 582 and the bottom portion 586, respectively. Also, the side portion 584 has a flat portion associated with each of the cameras 505 and includes bent portions between each of the flat portions.
In a non-limiting example, the circular camera rig 600 can capture a set of images, using any number of cameras disposed on the mount plate 602, by rotating in an arcing motion parallel to the rotatable base 604. In some implementations, the camera rig 600 includes neighboring cameras disposed on the mount plate 602. The neighbor may be synchronized configured, and positioned to capture a field of view associated of about 160 degrees to about 180 degrees. Other fields of view are possible. In some implementations, the camera rig 600 is not mounted on a rotatable base and functions in a stationary manner.
In one example of rig operation, the camera rig (e.g., rig 200, 300, 400, 500, or 600) can be rotated in a first direction during capture of a scene surround the particular rig and subsequently rotated in a different direction during capture of the scene. For example, the camera rig 600 can be rotated clockwise while one or more of the cameras (or neighbors) on the rig 600 are placed with a viewing direction that is offset at opposite sides of a center of the base 604 of the camera rig 600. In a similar fashion, the camera rig 600 can then be rotated in a counter-clockwise direction with any number of the cameras facing leftward or rightward to capture additional views of the scene. In one example orientation of rig 600, every other camera can be oriented in one direction (e.g., camera lens angled leftward or rightward) while the cameras in between are oriented in an opposite (e.g., leftward facing or rightward facing) direction.
In some implementations, the base 604 can be fixed. For example, each camera on rig 600 may be any still camera or a video camera that functions in a still mode. Accordingly, the cameras can be synchronized and/or configured to simultaneously capture image frames of a surrounding scene. The aspects can be stitched together to form a stereo panoramic view.
In some implementations, the camera rigs described in this disclosure can include any number of cameras mounted on a circular housing. In some implementations, cameras can be mounted equidistant with neighboring cameras on each of four directions outward from the center of the circular rig. In this example, the cameras, configured as stereoscopic neighbors, for example, can be aimed outward along a circumference and disposed in a zero degree, ninety degree, one-hundred eighty degree, and two hundred seventy degree fashion so that each stereoscopic neighbor captures a separate quadrant of a 360-degree field of view. In general, the selectable field of view of the cameras determines the amount of overlap of camera view of a stereoscopic neighbor, as well as the size of any blind spots between cameras and between adjacent quadrants. One example camera rig can employ one or more stereoscopic camera neighbors configured to capture a field of about 120 degrees up to about 180 degrees.
In some implementations, the camera rigs described in this disclosure can be configured with a diameter (e.g., diameter 206 in
In some implementations, the camera rig is scaled up from about 8 centimeters to about 25 centimeters to, for example, house additional camera fixtures. In some implementations, fewer cameras can be used on a smaller diameter rig. In such an example, the systems described in this disclosure can ascertain or deduce views between the cameras on the rig and interleave such views with the actual captured views.
In some implementations, the camera rigs described in this disclosure can be used to capture a panoramic image by capturing an entire panorama in a single exposure by using a camera with a rotating lens, or a rotating camera, for example. The cameras and camera rigs described above can be used with the methods described in this disclosure. In particular, a method described with respect to one camera rig can be performed using any of the other camera rigs described herein. In some implementations, the camera rigs and subsequent captured content can be combined with other content, such as virtual content, rendered computer graphics (CG) content, and/or other obtained or generated images.
In some implementations, camera rig 600 can include any number of cameras that can be placed onto the rig. The rig 600 may have a diameter of about 25 centimeters to about 75 centimeters, for example. In one non-limiting example, the rig 600 can include at least three cameras used to capture images that can be used to calculate depths for purposes of generating 3D stereoscopic imagery. For example, base 600 can include a first camera 606, placed on the base 604 of the camera rig 600. The first camera 606 can be configured to point in an outward viewing direction that is tangential to an edge of the base 604 and arranged to capture images at a distance of about one radial meter from an outward edge of the base 604 to about five radial meters from the outward edge of the base 604 of the camera rig 600.
Similarly, a second camera 608 can be placed on the base in a side-by-side fashion to the first camera 606 and can be configured to point in a viewing direction that is tangential to the edge of the base 604 and arranged to capture images at a distance of about one radial meter from the outward edge of the base 604 to about five radial meters from the outward edge of the base of the camera rig 600.
Similarly, a third camera 610 can be placed on the base 604 in a side-by-side fashion to the second camera 608 or alternatively in a side-by-side fashion to the first camera. The third camera 610 can be configured to point in a viewing direction that is tangential to the edge of the base 604 and arranged to capture images at a distance of about one radial meter from the outward edge of the base 604 to about five radial meters from the outward edge of the base 604 of the camera rig 600. In some implementations, the three cameras (606, 608, and 610) may not be placed side-by-side. For example, the cameras 606, 608, and 610 may instead be spaced around the rig 600, on one side of rig 600, evenly spaced, or unevenly spaced.
In general, images captured using at least three cameras (e.g., cameras 606, 608610) on camera rig 600 can be used to calculate depth measurements for a particular scene. The depth measurements can be used to translate portions of the scene (or images from the scene) into 3D stereoscopic content. For example, the interpolation module 114 can use the depth measurements to produce 3D stereoscopic content that can be stitched into 360 degree stereo video imagery.
In addition, the VR headset 702 can interface with/connect to the computing device 104 using one or more high-speed wired and/or wireless communications interfaces and protocols (e.g., Wi-Fi, Bluetooth, Bluetooth LE, Universal Serial Bus (USB), etc.). A computing device (
In some implementations, the VR headset 702 can include a removable computing device that can execute a VR application. The removable computing device can be similar to computing devices 108 or 112. The removable computing device can be incorporated within a casing or frame of a VR headset (e.g., the VR headset 702) that can then be put on by a user of the VR headset 702. In these implementations, the removable computing device can provide a display or screen that the user views when interacting with the computer-generated, 3D environment (a VR space). As described above, the mobile computing device 104 can connect to the VR headset 702 using a wired or wireless interface protocol. The mobile computing device 104 can be a controller in the VR space, can appear as an object in the VR space, can provide input to the VR space, and can receive feedback/output from the VR space.
In some implementations, the mobile computing device 108 can execute a VR application and can provide data to the VR headset 702 for the creation of the VR space. In some implementations, the content for the VR space that is displayed to the user on a screen included in the VR headset 702 may also be displayed on a display device included in the mobile computing device 108. This allows someone else to see what the user may be interacting with in the VR space.
The VR headset 702 can provide information and data indicative of a position and orientation of the mobile computing device 108. The VR application can receive and use the position and orientation data as indicative of user interactions within the VR space.
As shown in
In addition to interleaving the neighboring cameras, the optical flow requirement can dictate that the system 100 compute optical flow between cameras of the same type. That is, optical flow can be computed for a first camera and then for a second camera, rather than computing both simultaneously. In general, the flow at a pixel can be calculated as an orientation (e.g., direction and angle) and a magnitude (e.g., speed).
Given that two consecutive cameras do not typically capture images of exactly the same field of view, the field of view of an interpolated camera will be represented by the intersection of the field of views of the camera neighbors. The interpolated field of view [θ1] can then be a function of the camera field of view [0] and the angle between camera neighbors. If the minimum number of cameras is selected for a given camera field of view (using the method shown in
To mitigate the issue of too many cameras on the rig, the rig size can be designed with a larger size to accommodate the additional cameras and allow the stitching ratio to remain the same (or substantially the same). To ensure that the stitching algorithm samples content in images taken near to the center of the lens during capture, the stitching ratio can be fixed to determine an angle [a] of the cameras with respect to the rig. For example,
As shown in
In general, given a rig diameter [D], an optimal camera angle [α] can be calculated. From [a], a maximum field of view, [Θu], can be calculated. The maximum field of view, [Θu], generally corresponds to the field of view where the rig does not partially occlude the cameras. The maximum field of view can limit how few cameras the camera rig can hold and still provide views that are not occluded.
Since other methods are available to tune the field of view and image capture settings, these calculations can be combined with these other methods to further refine the camera rig dimensions. For example, optical flow algorithms can be used to change (e.g., reduce) the number of cameras typically used to stich an omnistereo panorama. In some implementations, the graphs depicted in this disclosure or generated from systems and methods described in this disclosure can be used in combination to generate virtual content for rendering in an HMD device, for example.
In some implementations, the ray origin may not be collectible. As such, the systems in this disclosure can approximate the left and/or right eye to determine an origin location for the ray.
A number of rays (and the color and intensity of images associated with each ray) can be approximated in this manner using a different direction outward from the circle. In this fashion, an entire 360-degree panoramic view including many images can be provided for both the left and right eye views. This technique can result in resolving distortion in mid-range objects, but in some instance can still have deformation when imaging nearby objects. For simplicity, approximated left eye ray directions are not depicted. In this example implementation, only a few rays 1306b through 1306f are illustrated. However thousands of such rays (and images associated with those rays) can be defined. Accordingly, many new images associated with each of the rays can be defined (e.g., interpolated).
As shown in
To define an image (e.g., an interpolated image, a new image) associated with ray 1306b, a first image (not shown) captured by image sensor 13-1 is combined (e.g., stitched together) with a second image (not shown) captured by image sensor 13-2. In some implementations, optical flow techniques can be used to combine the first image and the second image. For example, pixels from the first image corresponding with pixels from the second image can be identified.
To define an image associated with, for example, ray 1306b, corresponding pixels are shifted based on the distances G1 and G2. It can be assumed that the resolution, aspect ratios, elevation, etc. of the image sensors 13-1, 13-2 is the same for purposes of defining an image (e.g., a new image) for the ray 1306b. In some implementations, the resolution, aspect ratios, elevation, etc. can be different. However, in such implementations, interpolation would need to modified to accommodate for those differences.
As a specific example, a first pixel associated with an object in the first image can be identified as corresponding with a second pixel associated with the object in the second image. Because the first image is captured from the perspective of the image sensor 13-1 (which is at a first location around the camera rig circle 1303) and the second image is captured from the perspective of the image sensor 13-2 (which is at a second location around the camera rig circle 1303), the object will be shifted in a position (e.g., X-Y coordinates position) within the first image as compared with a position (X-Y coordinate position) in the second image. Likewise, the first pixel, which is associated with the object, will be shifted in position (e.g., X-Y coordinates position) relative to the second pixel, which is also associated with the object. To produce a new image associated with ray 1306b, a new pixel that corresponds with the first pixel and the second pixel (and the object) can be defined based on a ratio of the distances G1 and G2. Specifically, the new pixel can be defined at a location that is shifted in position from the first pixel based on distance G1 (and scaled by a factor based on the distance between the position of the first pixel and the position of the second pixel) and the second pixel based on the distance G2 (and scaled by a factor based on the distance between the position of the first pixel and the position of the second pixel).
According to the implementation described above, parallax can be defined for the new image associated with ray 1306b that is consistent with the first image and the second image. Specifically, objects that are relatively close to the camera rig can be shifted a greater amount than objects that are relatively far from the camera rig. This parallax can be maintained between the shifting of pixels (from the first pixel and the second pixel for example) can be based on the distances G1 and G2 of the ray 1306b.
This process can be repeated for all of the rays (e.g., rays 1306b through 1306f) around the capture circle 1302. New images associated with each of the rays around the capture circle 1302 can be defined based on a distance between each of the rays and the images sensors (e.g., neighboring image sensors, image sensors 13-1, 13-2) around the camera rig circle 1303.
As shown in
Other distortions can occur based on the selected projection scheme. For example,
and where r 1704 is the radius of the panoramic capture.
Performing a perspective division, the point projection can be determined, as shown by equations in Table 2 below:
It can be seen that if
being infinitely far away), then the point 1702 will generally project to the same y-coordinate in both perspective images and so there will be no vertical parallax. However as θ becomes further from
(as the point moves closer to me camera), the projected y-coordinates will differ for the left and right eyes (except for the case where α=0 which corresponds to the perspective view looking towards the point 1702.
In some implementations, distortion can be avoided by capturing images and scenes in a particular manner. For example, capturing scenes within a near field to the camera (i.e., less than one meter away) can cause distortion elements to appear. Therefore, capturing scenes or images from one meter outward is a way to minimize distortions.
In some implementations, distortion can be corrected using depth information. For example, given accurate depth information for a scene, it may be possible to correct for the distortion. That is, since the distortion can depend on the current viewing direction, it may not be possible to apply a single distortion to the panoramic images before rendering. Instead, depth information can be passed along with the panoramas and used at render time.
Capturing a set of rays for the panoramas described in this disclosure can include moving a camera (note shown) around on the circle 1900 aligning the camera tangential to the circle 1900 (e.g., pointing the camera lens facing outward at the scene and tangential to the circle 1900). For the left eye, the camera can be pointed to the right (e.g., ray 1904 is captured to the right of center line 1914a). Similarly, for the right eye, the camera can be pointed to the left (e.g., ray 1910 is captured to the left of center line 1914a). Similar left and right areas can be defined using centerline 1914b for cameras on the other side of the circle 1900 and below centerline 1914b. Producing omnidirectional stereo images works for real camera capture or for previously rendered computer graphic (CG) content. View interpolation can be used with both captured camera content and rendered CG content to simulate capturing the points in between the real cameras on the circle 1900, for example.
Stitching a set of images can include using a spherical/equirectangular projection for storing the panoramic image. In general, two images exist in this method, one for each eye. Each pixel in the equirectangular image corresponds to a direction on the sphere. For example, the x-coordinate can correspond to longitude and the y-coordinate can correspond to latitude. For a mono-omnidirectional image, the origins of the viewing rays for the pixels can be the same point. However, for the stereo image, each viewing ray can also originate from a different point on the circle 1900. The panoramic image can then be stitched form the captured images, by analyzing each pixel in the captured image, generating an ideal viewing ray form a projection model, and sampling the pixels form the captured or interpolated images whose viewing rays most closely match the ideal ray. Next, the ray values can be blended together to generate a panoramic pixel value.
In some implementations, optical flow-based view interpolation can be used to produce at least one image per degree on the circle 1900. In some implementations, entire columns of the panoramic image can be filled at a time because it can be determined that if one pixel in the column would be sampled from a given image, then the pixels in that column will be sampled from that same image.
The panoramic format used with capture and rendering aspects of this disclosure can ensure that the image coordinates of an object viewed by left and right eyes only differ by a horizontal shift. This horizontal shift is known as parallax. This holds for equirectangular projection, and in this projection, objects can appear quite distorted.
The magnitude of this distortion can depend on a distance to the camera and a viewing direction. The distortion can include line-bending distortion, differing left and right eye distortion, and in some implementations, the parallax may no longer appear horizontal. In general, 1-2 degrees (on a spherical image plane) of vertical parallax can be comfortably tolerated by human users. In addition, distortion can be ignored for objects in the peripheral eye line. This correlates to about 30 degrees away from a central viewing direction. Based on these findings, limits can be constructed that define zones near the camera where objects should not penetrate to avoid uncomfortable distortion.
If the distortion in the periphery can be ignored beyond 30 degrees, then all pixels whose viewing direction is within 30 degrees of the poles can be removed. If the peripheral threshold is allowed to be 15 degrees, then 15 degrees of pixels can be removed. The removed pixels can, for example, be set to a color block (e.g., black, white, magenta, etc.) or a static image (e.g., a logo, a known boundary, a texturized layer, etc.) and the new representation of the removed pixels can be inserted into the panorama in place of the removed pixels. In some implementations, the removed pixels can be blurred and the blurred representation of the removed pixels can be inserted into the panorama in place of the removed pixels.
The defined images can be accessed by a user, accessing content (e.g., VR content) with the use of a head mounted display (HMD), for example. The system 100 can determine particular actions performed by the user. For example, at some point, the system 100 can receive, as at block 2104, a viewing direction associated with a user of the VR HMD. Similarly, if the user changes her viewing direction, the system can receive, as at block 2106, an indication of a change in the user's viewing direction.
In response to receiving the indication of such a change in viewing direction, the system 100 can configure a re-projection of a portion of the set of images, shown at block 2108. The re-projection may be based at least in part on the changed viewing direction and a field of view associated with the captured images. The field of view may be from one to 180 degrees and can account for slivers of images of a scene to full panoramic images of the scene. The configured re-projection can be used to convert a portion of the set of images from a spherical perspective projection into a planar projection. In some implementations, the re-projection can include recasting a portion of viewing rays associated with the set of images from a plurality of viewpoints arranged around a curved path from a spherical perspective projection to a planar perspective projection.
Upon completing the re-projection, the system 100 can render an updated view based on the re-projection, as shown at block 2110. The updated view can be configured to correct distortion and provide stereo parallax to a user. At block 2112, the system 100 can provide the updated view including a stereo panoramic scene corresponding to the changed viewing direction. For example, the system 100 can provide the updated view to correct distortion in the original view (before re-projection) and can provide a stereo parallax effect in a display of a VR head mounted display.
At block 2204, the system 100 can calculate optical flow in the set of images. For example, calculating optical flow in the set of images can include analyzing image intensity fields for a portion of columns of pixels associated with the set of images and performing optical flow techniques on the portion of columns of pixels, as described in detail above.
In some implementations, the optical flow can be used to interpolate image frames that are not part of the set of images, (shown by block 2206) and as described in detail above. The system 100 can then stitch together the image frames and the set of images based at least in part on the optical flow. At block 2208, the system 100 can use the interleaved frames and set of images to generate an omnistereo panorama for display in a VR head mounted display. In some implementations, the system 100 can perform the image stitching using pose information associated with the at least one set of stereo neighbors to, for example, pre-stitch a portion of the set of images before performing the interleaving.
At block 2306, the selected portions of image frames can be stitched together to generate a stereoscopic panoramic view. In this example, the stitching may be based at least in part on matching the selected portions to at least one other image frame in the selected portions. At block 2308, the panoramic view can be provided in a display, such as an HMD device. In some implementations, the stitching can be performed using a stitching ratio selected based at least in part on the diameter of the camera rig. In some implementations, the stitching includes a number of steps of matching a first column of pixels in a first image frame to a second column of pixels in a second image frame, and matching the second column of pixels to a third column of pixels in a third image frame to form a cohesive scene portion. In some implementations, many columns of pixels can be matched and combined in this fashion to form a frame and those frames can be combined to form an image. Further, those images can be combined to form a scene.
In some implementations, the method 2300 can include an interpolation step that uses system 100 to interpolate additional image frames that are not part of the portions of image frames. Such an interpolation can be performed to ensure flow occurs between images captured by cameras that are far apart, for example. Once the interpolation of additional image content is performed, the system 100 can interleave the additional image frames into the portions of image frames to generate virtual content for the view. This virtual content can be stitched together as portions of image frames interleaved with the additional image frames. The result can be provided as an updated view to the HMD, for example. This updated view may be based at least in part on the portions of image frames and the additional image frames.
At block 2404, the system 100 can project a portion of the set of images from a perspective image plane onto a spherical image plane by recasting viewing rays associated with the portion of the set of images from multiple viewpoints arranged in a portion of a circular-shaped path to one viewpoint. For example, the set of images can be captured by a circular camera rig, which can host a number of cameras. Each camera can be associated with a view point and those view points are directed outward from the camera rig at a scene. In particular, instead of originating from a single point, viewing rays originate from each camera on the rig. The system 100 can recast rays from the various viewpoints on the path into a single viewpoint.
At block 2406, the system 100 can determine a periphery boundary corresponding to the single viewpoint and generate updated images by removing pixels outside of the periphery boundary. The periphery boundary may delineate clear concise image content from distorted image content. In some implementations, the periphery boundary may pertain to views outside of a user's typical peripheral view area. Removing such pixels can ensure that the user is not unnecessarily presented with distorted image content. Removing the pixels can include replacing the pixels with a color block, a static image, or a blurred representation of the pixels, as discussed in detail above. In some implementations, the periphery boundary is defined to a field of view of about 150 degrees for one or more cameras associated with the captured images. In some implementations, the periphery boundary is defined to a field of view of about 120 degrees for one or more cameras associated with the captured images. In some implementations, the periphery boundary is a portion of a spherical shape corresponding to about 30 degrees above a viewing plane for a camera associated with the captured images, and removing the pixels includes blacking out or removing a top portion of a spherical scene. In some implementations, the periphery boundary is a portion of a spherical shape corresponding to about 30 degrees below a viewing plane for a camera associated with the captured images, and removing the pixels includes blacking out or removing a top portion of a spherical scene. At block 2408, the system 100 can provide the updated images for display within the bounds of the periphery boundary.
In some implementations, the method 2400 can also include stitching together at least two frames in the set of images. The stitching can include a step of sampling columns of pixels from the frames and interpolating, between at least two sampled columns of pixels, additional columns of pixels that are not captured in the frames. In addition, the stitching can include a step of blending the sampled columns and the additional columns together to generate a pixel value. In some implementations, blending can be performed using a stitching ratio selected based at least in part on a diameter of a circular camera rig used to acquire the captured images. The stitching can also include a step of generating a three-dimensional stereoscopic panorama by configuring the pixel value into a left scene and a right scene, which can be provided for display in an HMD, for example.
At block 2504, the system 100 can stitch the set of images into an equirectangular video stream. For example, the stitching can include combining images associated with a leftward camera capture angle with images associated with a rightward facing camera capture angle.
At block 2506, the system can render the video stream for playback by projecting the video stream from equirectangular to perspective for a first view and a second view. The first view may correspond to a left eye view of a head-mounted display and the second view may correspond to a right eye view of the head-mounted display.
At block 2508, the system can determine a boundary in which distortion is above a predefined threshold. The predefined threshold may provide a level of parallax, level of mismatch, and/or a level of error allowable within a particular set of images. The distortion may be based at least in part on projection configuration when projecting the video stream from one plane or view to another plane or view, for example.
At block 2510, the system can generate an updated video stream by removing image content in the set of images at and beyond the boundary, as discussed in detail above. Upon updating the video stream, the updated stream can be provided for display to a user of an HMD, for example. In general, systems and methods described throughout this disclosure can function to capture images, remove distortion from the captured images, and render images in order to provide a 3D stereoscopic view to a user of an HMD device.
Computing device 2600 includes a processor 2602, memory 2604, a storage device 2606, a high-speed interface 2608 connecting to memory 2604 and high-speed expansion ports 2610, and a low speed interface 2612 connecting to low speed bus 2614 and storage device 2606. Each of the components 2602, 2604, 2606, 2608, 2610, and 2612, are interconnected using various busses, and may be mounted on a common motherboard or in other manners as appropriate. The processor 2602 can process instructions for execution within the computing device 2600, including instructions stored in the memory 2604 or on the storage device 2606 to display graphical information for a GUI on an external input/output device, such as display 2616 coupled to high speed interface 2608. In other implementations, multiple processors and/or multiple buses may be used, as appropriate, along with multiple memories and types of memory. Also, multiple computing devices 2600 may be connected, with each device providing portions of the necessary operations (e.g., as a server bank, a group of blade servers, or a multi-processor system).
The memory 2604 stores information within the computing device 2600. In one implementation, the memory 2604 is a volatile memory unit or units. In another implementation, the memory 2604 is a non-volatile memory unit or units. The memory 2604 may also be another form of computer-readable medium, such as a magnetic or optical disk.
The storage device 2606 is capable of providing mass storage for the computing device 2600. In one implementation, the storage device 2606 may be or contain a computer-readable medium, such as a floppy disk device, a hard disk device, an optical disk device, or a tape device, a flash memory or other similar solid state memory device, or an array of devices, including devices in a storage area network or other configurations. A computer program product can be tangibly embodied in an information carrier. The computer program product may also contain instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer- or machine-readable medium, such as the memory 2604, the storage device 2606, or memory on processor 2602.
The high speed controller 2608 manages bandwidth-intensive operations for the computing device 2600, while the low speed controller 2612 manages lower bandwidth-intensive operations. Such allocation of functions is exemplary only. In one implementation, the high-speed controller 2608 is coupled to memory 2604, display 2616 (e.g., through a graphics processor or accelerator), and to high-speed expansion ports 2610, which may accept various expansion cards (not shown). In the implementation, low-speed controller 2612 is coupled to storage device 2606 and low-speed expansion port 2614. The low-speed expansion port, which may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet) may be coupled to one or more input/output devices, such as a keyboard, a pointing device, a scanner, or a networking device such as a switch or router, e.g., through a network adapter.
The computing device 2600 may be implemented in a number of different forms, as shown in the figure. For example, it may be implemented as a standard server 2620, or multiple times in a group of such servers. It may also be implemented as part of a rack server system 2624. In addition, it may be implemented in a personal computer such as a laptop computer 2622. Alternatively, components from computing device 2600 may be combined with other components in a mobile device (not shown), such as device 2650. Each of such devices may contain one or more of computing device 2600, 2650, and an entire system may be made up of multiple computing devices 2600, 2650 communicating with each other.
Computing device 2650 includes a processor 2652, memory 2664, an input/output device such as a display 2654, a communication interface 2666, and a transceiver 2668, among other components. The device 2650 may also be provided with a storage device, such as a microdrive or other device, to provide additional storage. Each of the components 2650, 2652, 2664, 2654, 2666, and 2668, are interconnected using various buses, and several of the components may be mounted on a common motherboard or in other manners as appropriate.
The processor 2652 can execute instructions within the computing device 2650, including instructions stored in the memory 2664. The processor may be implemented as a chipset of chips that include separate and multiple analog and digital processors. The processor may provide, for example, for coordination of the other components of the device 2650, such as control of user interfaces, applications run by device 2650, and wireless communication by device 2650.
Processor 2652 may communicate with a user through control interface 2658 and display interface 2656 coupled to a display 2654. The display 2654 may be, for example, a TFT LCD (Thin-Film-Transistor Liquid Crystal Display) or an OLED (Organic Light Emitting Diode) display, or other appropriate display technology. The display interface 2656 may comprise appropriate circuitry for driving the display 2654 to present graphical and other information to a user. The control interface 2658 may receive commands from a user and convert them for submission to the processor 2652. In addition, an external interface 2662 may be provide in communication with processor 2652, to enable near area communication of device 2650 with other devices. External interface 2662 may provide, for example, for wired communication in some implementations, or for wireless communication in other implementations, and multiple interfaces may also be used.
The memory 2664 stores information within the computing device 2650. The memory 2664 can be implemented as one or more of a computer-readable medium or media, a volatile memory unit or units, or a non-volatile memory unit or units. Expansion memory 2674 may also be provided and connected to device 2650 through expansion interface 2672, which may include, for example, a SIMM (Single In Line Memory Module) card interface. Such expansion memory 2674 may provide extra storage space for device 2650, or may also store applications or other information for device 2650. Specifically, expansion memory 2674 may include instructions to carry out or supplement the processes described above, and may include secure information also. Thus, for example, expansion memory 2674 may be provide as a security module for device 2650, and may be programmed with instructions that permit secure use of device 2650. In addition, secure applications may be provided via the SIMM cards, along with additional information, such as placing identifying information on the SIMM card in a non-hackable manner.
The memory may include, for example, flash memory and/or NVRAM memory, as discussed below. In one implementation, a computer program product is tangibly embodied in an information carrier. The computer program product contains instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer- or machine-readable medium, such as the memory 2664, expansion memory 2674, or memory on processor 2652, that may be received, for example, over transceiver 2668 or external interface 2662.
Device 2650 may communicate wirelessly through communication interface 2666, which may include digital signal processing circuitry where necessary. Communication interface 2666 may provide for communications under various modes or protocols, such as GSM voice calls, SMS, EMS, or MMS messaging, CDMA, TDMA, PDC, WCDMA, CDMA2000, or GPRS, among others. Such communication may occur, for example, through radio-frequency transceiver 2668. In addition, short-range communication may occur, such as using a Bluetooth, Wi-Fi, or other such transceiver (not shown). In addition, GPS (Global Positioning System) receiver module 2670 may provide additional navigation- and location-related wireless data to device 2650, which may be used as appropriate by applications running on device 2650.
Device 2650 may also communicate audibly using audio codec 2660, which may receive spoken information from a user and convert it to usable digital information. Audio codec 2660 may likewise generate audible sound for a user, such as through a speaker, e.g., in a handset of device 2650. Such sound may include sound from voice telephone calls, may include recorded sound (e.g., voice messages, music files, etc.) and may also include sound generated by applications operating on device 2650.
The computing device 2650 may be implemented in a number of different forms, as shown in the figure. For example, it may be implemented as a cellular telephone 2680. It may also be implemented as part of a smart phone 2682, personal digital assistant, or other similar mobile device.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software, software applications or code) include machine instructions for a programmable processor, and can be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms “machine-readable medium” “computer-readable medium” refers to any computer program product, apparatus and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term “machine-readable signal” refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (“LAN”), a wide area network (“WAN”), and the Internet.
The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
A number of embodiments have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the specification. For example, each claim below and the examples of such claims described above can be combined in any combination to produce additional example embodiments.
In addition, the logic flows depicted in the figures do not require the particular order shown, or sequential order, to achieve desirable results. In addition, other steps may be provided, or steps may be eliminated, from the described flows, and other components may be added to, or removed from, the described systems. Accordingly, other embodiments are within the scope of the following claims.
This application claims priority to and the benefit of U.S. Provisional Application No. 62/167,151, filed, May 27, 2015, entitled, “Camera Rig and Stereoscopic Image Capture,” which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62167151 | May 2015 | US |