空 挡 广 告 位 | 空 挡 广 告 位

Intel Patent | Suggested Viewport Indication For Panoramic Video

Patent: Suggested Viewport Indication For Panoramic Video

Publication Number: 20200045286

Publication Date: 20200206

Applicants: Intel

Abstract

A suggested viewport indication is generated and sent for use in a panoramic video. In one example, a method includes receiving encoded video including viewport metadata, decoding the video, extracting the viewport metadata, generating a viewport of the decoded video based on the viewport metadata, and buffering the generated viewport for display.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present application claims priority to U.S. Provisional Application Ser. No. 62/423,343 filed Nov. 17, 2016 entitled SUGGESTED VIEWPORT INDICATION FOR PANORAMIC VIDEO, the disclosure of which is hereby incorporated by reference herein.

FIELD

[0002] The present description relates to communication of encoded video, and in particular to communicating a suggested viewport with the video.

BACKGROUND

[0003] With the emergence of low cost high definition video cameras and high-speed internet connectivity, video internet traffic is growing quickly. 360-degree video is an emerging trend in virtual reality, video conferencing, automotive, and surveillance applications, among others and is supported by wide field of view cameras, including 180 and 360-degree field of view cameras. Dedicated web sites and channels are also available to post and view 360-degree videos, including virtual reality content. For collaboration between groups of users, 360-degree video offers greater flexibility. Instead of switching between cameras, a remote viewer can move across a room using a 360-degree view and zoom in on people or objects of interest in the camera’s view.

[0004] Panoramic video playback systems using Virtual Reality (VR) head mounted displays are emerging for consumer use. Panoramic and 360-degree video content is typically created by stitching together the 2D videos captured by multiple cameras into a spherical representation. In some cases, the multiple views are rendered in software. The spherical video is then projected into a format suited for video encoding, such as an equi-rectangular projection format or a cube map projection format.

[0005] At the client, the bitstream containing the full panoramic compressed video frames is received and decoded, creating a representation of the entire panoramic field of view. A smaller viewport is selected for display. The portion of decoded video represented by the viewport is determined by the head position of a head mounted display, or through a position selection user interface when viewing on a normal 2D display.

BRIEF DESCRIPTION OF THE DRAWING FIGURES

[0006] The material described herein is illustrated by way of example and not by way of limitation in the accompanying figures. For simplicity and clarity of illustration, elements illustrated in the figures are not necessarily drawn to scale. For example, the dimensions of some elements may be exaggerated relative to other elements for clarity.

[0007] FIG. 1 is a block diagram of a panoramic video coding system according to an embodiment.

[0008] FIG. 2 is a block diagram of an alternative panoramic video coding system according to an embodiment.

[0009] FIG. 3 is a diagram of a three-axis Cartesian coordinate system showing rotational directions for pitch, yaw, and roll.

[0010] FIG. 4 is a diagram of an equi-rectangular format projection from a sphere to a planar surface.

[0011] FIG. 5 is a diagram of a cube map projection in which a sphere is projected onto six planar faces labeled 0 to 5.

[0012] FIG. 6 is a diagram of a 4.times.3 planar grid with the six faces of a cube map projection.

[0013] FIG. 7 is a diagram of a 2.times.3 planar grid with the six faces of a cube map projection rearranged for compactness.

[0014] FIG. 8 is a diagram of an icosahedral format projection from a sphere to a planar surface.

[0015] FIG. 9 is a diagram of an equi-rectangular format projection of two objects from a sphere to a planar surface without rotation according to embodiments.

[0016] FIG. 10 is a diagram of an equi-rectangular format projection of two objects from a sphere to a planar surface with rotation according to embodiments.

[0017] FIG. 11 is a process flow diagram of suggesting a viewport indication for a wide field of view video for encoding and viewing according to embodiments.

[0018] FIG. 12 is a block diagram of a head mounted display with connected computing resources suitable for embodiments.

[0019] FIG. 13 is a block diagram of a computing device suitable for video capture, encoding, decoding, and display according to an embodiment.

DETAILED DESCRIPTION

[0020] Because the viewer of a panoramic video playback system is only viewing a portion of the entire panoramic video, e.g. 1/12th of the available area at a given time, the most interesting regions of the video may not be viewed. Existing methods of signaling a rectangular region of interest do not directly apply to the generation of a viewport from a spherical panoramic video or any other spherical or curved format video.

[0021] A supplemental enhancement information (SEI) message may be used which contains metadata to enable a panoramic video content creator to signal a suggested most interesting viewport to be displayed for a viewer. The suggested most interesting viewport may be indicated for a spherical representation of the panoramic video through metadata that signals the information needed to generate a viewport of the panoramic video. Using a spherical representation allows this signaling to be used for any of a variety of different planar projection formats including e.g. equi-rectangular, cube map, octahedral, truncated square pyramid, etc. It also allows the signaling to be used for any type of encoder and decoder.

[0022] At the client, the viewport generator can use the received metadata to generate the suggested rectilinear viewport to display for the viewer. This viewport offers an alternative to the one that would otherwise be selected based upon the viewer’s head position or selected based upon another position indication user interface.

[0023] While a rectangular region of interest may easily be signaled in some systems, the rectangular region approach is not effective for spherical video coded in a projection format. A rectangular region of interest of a frame coded in a planar projection format does not correspond to the portion of the video frame used for generation of a viewport. The corresponding positions used in generating the viewport correspond to one or more non-rectangular regions, possibly discontinuous, in the coded video frame of the projection format.

[0024] FIG. 1 is a block diagram of a panoramic video coding system. Video is produced at a server, production system or a combination of different systems 102. At the server, multiple cameras 106 capture 2D video. Six cameras are shown, but more or fewer may be used. The cameras are connected to a first module 108. At the first module, the multiple videos are stitched together and mapped to a projection format. The stitched video in the projection format is input to a video encoder 110, such as HEVC or AVC. The encoder encodes the video and sends or buffers it for later transmission as a bitstream. The decoder may have an internal buffer or mass storage or a suitable buffer or data store may be provided external to the encoder.

[0025] The encoded video is sent as a bitstream through a network, Internet, broadcast, or point-to-point connection 112, from a server or head end to one or more clients 104. At the client, a video decoder 114 receives the video from the server and decodes the compressed bitstream. When only a portion of the decoded video is viewed, a viewport is generated in a viewport module 116 for that selected region. The portion of decoded video to view is determined by a position selector 120 using, for example the head position of a head mounted display or a position selection user interface. The position is sent to the viewport generator that receives the decoded video and provides a suitable video stream to a display 118. The display allows the viewport to be viewed on a normal 2D display. There may be a buffer associate with or integrated into the viewport generator to save the video before or display.

[0026] FIG. 2 is a block diagram of an alternative panoramic video coding system. Video is produced at a server 202, production system or a combination of different systems. Multiple cameras 206 capture 2D video and provide it to the first stitching and projection module 208. The multiple videos buffered in a buffer within the module. The videos are stitched together at this module and mapped to a projection format. The stitched video in the projection format is stored in another buffer of the module and then input to a video encoder 210, such as HEVC or AVC.

[0027] The content creator, a commentator, editor, or any other actor may select a most interesting viewport region. Alternatively, an automated system may select a viewport region for example as an area with high motion rates or high texture features. The selection is applied to a region of interest (ROI) selector 212 that is coupled to the video encoder 210. The video encoder encodes the video received from the video stitching and mapping projection 208. The selected ROI is provided as information such as metadata 216 to the video encoder and is included in the video bitstream 218 by the encoder. The information may be encoded in any of a variety of different ways. The ROI may be provided in the form of metadata that is added to the video bitstream output of the encoder. It may be added in the form of an SEI message or in another form. The ROI metadata may be associated with a frame or a group of frames and therefore may be updated as often as once per frame.

[0028] One such way to encode the information is as metadata within the structure of a Supplemental Enhancement Information (SEI) message, however, any of a variety of other message structures may be used. There may be multiple ROI selections provided as multiple SEI messages from different editors or commentators. There may also be multiple ROI selections from a single editor to indicate more than one ROI. The user may then select from among any that cannot be displayed at the same time. The messages may conflict with one another or complement one another. Since SEI messages are associated with a particular frame, the viewport or ROI selection or suggestion may be changed with any frame.

[0029] The video encoder encodes the video, combines it with the SEI message and any other metadata and sends or buffers it for later transmission as a bitstream. The encoder may include a suitable buffer or another storage device may be incorporated into the encoder or another part of the server.

[0030] The encoded video is sent as a bitstream through a data link 218 such as a network, Internet, broadcast, or point-to-point link from the server 202 or head end to one or more clients 204. At the client, a video decoder 224 receives the video 218 from the server, decodes 224 the compressed bitstream 218 and extracts any SEI messages. A viewport generator module 226 receives the SEI messages with the selected ROI for the video and also a position from a user position selector 230. The viewport generator receives the decoded video and provides a suitable video stream to a display 228. This video stream may be immediately displayed or stored in a buffer or other storage that is in the viewport generator or connected to the viewport generator. At the client end, the viewer can select to follow the recommendation of the content provider to view the suggested viewport of the SEI message or the client can select a viewport using a position selection 230 or other sensors. In this way, the selected or recommended ROI can be overridden by the viewer.

[0031] The suggested viewport metadata is associated with a frame and therefore may be updated as often as once per frame. More than one suggested viewport can be indicated, if the content creator wishes to indicate more than one, for example to track multiple moving objects separately. This allows the viewer to select to watch, for example, a particular person or event within the panoramic view.

[0032] The metadata representing a viewport position or a spherical rotation orientation may contain three or more parameters, such as longitude, latitude and field of view, pitch, yaw, and roll, or azimuth, elevation, and tilt. FIG. 3 is a diagram of a three-axis Cartesian coordinate system 240 showing rotational directions for pitch 254, yaw 256, and roll 151. The three axes are the x-axis 242, the y-axis 244, and the z-axis 246. The rotational directions are a clockwise rotation about each axis as seen from the origin of the frame of reference. Roll is around the x-axis. Pitch is around the y-axis, and yaw is around the z-axis. The axes may have different names, such as horizontal, vertical, or depth or any other suitable names. Azimuth, elevation and tilt correspond to angles between the origin and a ray from the origin to a position on a sphere around the origin. While the present embodiments are in the form of rotations around axes of a Cartesian coordinate frame of reference. The rotation of the spherical projection may be represented in any other desired way using other types of coordinate systems and projections.

[0033] This metadata may be included in a Supplemental Enhancement Information (SEI) message, as used in the HEVC and AVC standards. Using an SEI message allows legacy encoders and decoders to be used because the normative encoding and decoding process is unchanged. Rotation may be applied as a preliminary process 214 at the transmitter 202 and as a post process 222 at the receiver 204 or in other positions in the process, depending on the particular implementation. The post-process spherical rotation is applied to the decoder’s output pictures.

[0034] As alternatives to SEI and metadata, the rotation orientation metadata may be included in a parameter set in a video codec, or in a slice header. In this case, the definition of conformant output pictures may be changed such that the inverse spherical rotation is already applied before a picture is output.

[0035] Table 1 is an example of a syntax for an SEI message with metadata parameters for ROI suggestion or selection syntax. This syntax may be used with existing video codec standards, such as HEVC and AVC, because it does not change the core encoding or decoding process. The metadata has flags to indicate whether the viewport supersedes prior viewports. It also provides a position on the sphere of the image and a horizontal and vertical field of view.

[0036] The metadata includes the information needed to generate a viewport, identified by an ID and a cancel flag. The information includes the position of the center of the viewport in the spherical representation, as represented by longitude and latitude, and the horizontal and vertical field of view sizes, in angles. The angles may be indicated in degrees, radians, or a linear distance. Although other types of representations may be used to indicate a position and a size of the ROI. Using a spherical representation as the basis allows the same syntax to be used for any projection format or layout, such as equi-rectangular projection, cube map projection, octahedral projection, icosahedral projection, truncated square pyramid projection, etc.

TABLE-US-00001 TABLE 1 Descriptor viewport_info_( payloadSize ) { viewport_info_id ue(v) viewport_cancel_flag u(1) if( !viewport_cancel_flag ) { viewport_cnt_minus1 ue(v) for( i = 0; i <= viewport_cnt_minus1; i++ ) { viewport_longitude[ i ] ue(v) viewport_latitude[ i ] ue(v) viewport_fov_hor[ i ] ue(v) viewport_fov_ver[ i ] ue(v) } viewport_info_persistence_flag u(1) } }

[0037] An ROI position may be sent in metadata for an entire coded video sequence, and/or per frame. The signaled values, i.e. latitude, longitude, and field of view parameters in the metadata, indicate a viewport to be applied to the output images following the decoder.

[0038] Table 2 provides and alternative omnidirectional viewport SEI message syntax.

TABLE-US-00002 TABLE 2 Descriptor omni_viewport( payloadSize ) { omni_viewport_id u(10) omni_viewport_cancel_flag u(1) if( !omni_viewport_cancel_flag ) { omni_viewport_persistence_flag u(1) omni_viewport_cnt_minus1 u(4) for( i = 0; i <= omni_viewport_cnt_minus1; i++ ) { omni_viewport_azimuth_centre[ i ] i(32) omni_viewport_elevation_centre[ i ] i(32) omni_viewport_tilt_centre[ i ] i(32) omni_viewport_hor_range[ i ] u(32) omni_viewport_ver_range[ i ] u(32) } } }

[0039] In some embodiments, the omnidirectional viewport SEI message specifies the coordinates of one or more regions of spherical-coordinate geometry, bounded by four great circles, corresponding to viewports recommended for display when the user does not have control of the viewing orientation or has released control of the viewing orientation to the viewport recommendations.

[0040] omni_viewport_id contains an identifying number that may be used to identify the one or more recommended viewport regions.

[0041] omni_viewport_cancel_flag equal to 1 indicates that the SEI message cancels the persistence of any previous omnidirectional viewport SEI message in output order. omni_viewport_cancel_flag equal to 0 indicates that omnidirectional viewport information follows. This may be used so that a viewport SEI is used only when there is a change in the viewport.

[0042] omni_viewport_persistence_flag specifies the persistence of the omnidirectional viewport SEI message for the current layer. omni_viewport_persistence_flag equal to 0 specifies that the omnidirectional viewport SEI message applies to the current decoded picture only.

[0043] omni_viewport_persistence_flag equal to 1 specifies that the omnidirectional viewport SEI message persists for the current layer in output order until one or more of the following conditions are true. Let picA be the current picture:

[0044] A new CLVS of the current layer begins.

[0045] The bitstream ends.

[0046] A picture picB in the current layer in an access unit containing an omnidirectional viewport SEI message that is applicable to the current layer is output for which PicOrderCnt(picB) is greater than PicOrderCnt(picA), where PicOrderCnt(picB) and PicOrderCnt(picA) are the PicOrderCntVal values of picB and picA, respectively, immediately after the invocation of the decoding process for picture order count for picB.

[0047] When an equirectangular projection SEI message with erp_cancel_flag equal to 0 or a cubemap projection SEI message with cmp_cancel_flag equal to 0 is not present in the CLVS that applies to the current picture and precedes the omnidirectional viewport SEI message in decoding order, an omnidirectional viewport SEI message with omni_viewport_cancel_flag equal to 0 shall not be present in the CLVS that applies to the current picture. Decoders shall ignore omnidirectional viewport SEI messages with omni_viewport_cancel_flag equal to 0 that do not follow, in decoding order, an equirectangular projection SEI message with erp_cancel_flag equal to 0 or a cubemap projection SEI message with cmp_cancel_flag equal to 0 in the CLVS that applies to the current picture.

[0048] omni_viewport_cnt_minus1 plus 1 specifies the number of recommended viewport regions that are indicated by the SEI message. When omni_viewport_cnt_minus1 is greater than 0 and there is no information on which recommended viewport is suggested to be displayed, the following applies:

[0049] When omni_viewport_id is equal to 0 or 1, the 0-th recommended viewport is suggested to be displayed when the user does not have control of the viewing orientation or has released control of the viewing orientation.

[0050] omni_viewport_azimuth_centre[i] and omni_viewport_elevation_centre[i] indicate the centre of the i-th recommended viewport region, in units of 2.sup.-16 degrees, radians, or any other desired units relative to the global coordinate axes.

[0051] omni_viewport_tilt_centre[i] indicates the tilt angle of the i-th recommended viewport region, in units of 2.sup.-16 degrees. omni_viewport_hor_range[i] indicates the azimuth range of the i-th recommended viewport region. omni_viewport_ver_range[i] indicates the elevation range of the i-th recommended viewport region.

[0052] The specific definitions of each of these parameters, the units, and the ranges of values may be modified to suit any other particular implementation. Similarly, any one or more of the parameters may be deleted or replaced with a different parameter to suit other implementations. Additional parameters may be added and the order of the parameters may be modified to suit different implementations.

[0053] FIG. 4 is a diagram of an equi-rectangular format projection. The original spherical view 266 is shown on the left and the projection of the sphere onto an unwrapped planar grid 260 is shown on the right. Discontinuities are introduced at the left 262 and right 264 edges of the rectangular planar frame 260 on the right. With the real-world spherical representation on the left, the left and right edges connect. In addition, significant warping distorts pixels along the top and bottom of the frame on the right. This corresponds to the north pole and south pole regions on the left. A particular suggested viewport might cross the left and right edges of the equi-rectangular format, and hence would correspond to two different regions in the coded projection format frame. Similarly, a particular suggested viewport might cross through different parts of the top edge and be distorted.

[0054] Current video coding standards which use spatial directional intra-prediction and block translational motion compensation will perform better near the center of the equi-rectangular prediction than near the poles, or along the left and right edges. An object which stretches across the left/right edge discontinuity would not be well predicted using spatial intra-direction position or with motion compensation.

[0055] In the cube map projection, six cube faces are arranged into a rectangular frame. FIG. 5 is a diagram of a cube map projection in which a sphere is projected onto six planar faces labeled 0 to 5. Each of the 6 faces is projected onto a part of the sphere. The faces may then be represented on a planar grid. FIG. 6 illustrates a 4.times.3 planar layout of the six faces in which adjacent areas of the projection are placed next to each other. As shown, the boundaries between faces 1 and 2, 1 and 3, 1 and 4, 4 and 0 and 0 and 5 are maintained adjacent. However, no other boundaries are placed adjacent to each other as they are in FIG. 6. The 2 and 3 faces may be moved to be on either side of face 4, 5, or 0 to maintain those boundaries instead. While the planar grid representation is well suited for many codecs and other digital processing and compression systems, there are some areas of the planar frame of FIG. 6 that do not contain pixels representing the cube. These are the areas above and below faces 4, 5, and 0. These faces may be set to a background color but require some data to encode. FIG. 7 illustrates a 3.times.2 planar layout, where the cube faces have been rearranged to fit into a more compact layout. The FIG. 7 representation may require some additional complexity in processing edges but the number of pixels is reduced by one half from 4.times.3 to 3.times.2.

[0056] The selection of a rotation orientation for encoding of a cube map projection format will depend upon the particular layout selected, as the projection formats differ in the number and positions of discontinuities. The edge regions of each cube face have more distortion than the center region of the cube face. The selection of the rotation orientation should particularly attempt to minimize objects straddling across discontinuities in cube face edges. Other projection formats which contain faces with edges also introduce similar discontinuities and distortions.

[0057] FIG. 8 is a diagram of an icosahedral projection. This is another type of projection from a spherical representation to a planar representation using an icosahedron. In this example, the left side shows a sphere 280 projected onto the 20 facets of a surrounding icosahedron, rather than the only six facets of the cube map of FIG. 5. The 20 facets are then shown as laid out on a two-dimensional space 282 on the right. As with the other projections, there are distortions and inconsistencies at the edges of each of the facets. Using more facets reduces the amount of distortion but increases the numbers and positions of the seams.

[0058] Any of a variety of other projections may also be used as mentioned above including octahedral, truncated square pyramid, and any of a variety of other types of polygonal projections. With more facets, the distortion of each facet is reduced, but complexity may be increased and it may be more difficult to avoid the edges.

[0059] In some embodiments, the recommended viewport can be selected as part of the encoding process. In some embodiments, the recommended viewport can be selected through an “a posterion” process by analyzing a scene for motion or other characteristics and determining which portion of the scene contains the features of greatest interest. In some embodiments, hierarchical methods can be used with the approach, such that a down sampled version of the frame is encoded rather than the full resolution frame.

[0060] An alternative approach is to detect areas of high motion and/or high texture in the panoramic frame, and aim to center those areas in the equi-rectangular frame, or in a cube face, depending on the projection format being used.

[0061] The SEI message as described above may be used in combination with a spherical selected viewport SEI message. When the two SEI messages are used together, the rotation suggested by the spherical rotation information orientation SEI message may be applied first, and then the suggested viewport location from the suggested viewport SEI message determined with respect to the rotated spherical representation.

[0062] If frame packed stereo video is contained within the video frame, either orientation values may be sent separately for each view, or values for the second view may be derived based on the first view’s value, possibly considering any information about the relative position of the second view to the first view.

[0063] FIG. 9 is a diagram of a sphere 302 that has a panorama multiple camera view and an equi-rectangular projection of the sphere onto a planar surface 304. In this example, video content is represented as an oval 314, 316 and a triangle 312 in the sphere. The two portions of the oval 314, 316 represent the same oval as seen on two side of the panorama view. These objects are projected into the equi-rectangular mapping 304 and show up as two parts of the same oval 324, 326 and the triangle 322. In the equi-rectangular mapping, the oval has a discontinuity 324, 326 across the left and right edges. It is also stretched horizontally because it is close to the north pole.

[0064] FIG. 10 is a diagram of the sphere 334 and the rectangular mapping 336 of the same content after spherical rotation has been applied to the sphere. The oval 332 of the rotated sphere is now closer to the center of the frame. The triangle 330 is as close to the center as the oval, so the distortion of the two items will be about the same. In an equi-rectangular projection every two-dimensional object is distorted. The amount of distortion increases with distance from the center. As shown with the rotated sphere 334 as compared to the same sphere 302 without the rotation, there is no longer a discontinuity in the oval. Since the oval is closer to the center of the frame, there is also less distortion. The triangle is also improved but not as significantly. The planar grid 336 of the projection make it clearer that the projected oval 340 and the projected triangle 338 are close to the middle of the grid where distortion is less and the oval is not in one part instead of two as with the projection 304 before rotation. A video that is encoded based on the rotated of frame should code more efficiently by a legacy video encoder than a video using the frames that are not rotated.

[0065] Any of a variety of other projections may also be used as mentioned above including octahedral, truncated square pyramid, and any of a variety of other types of polygonal projections. With more facets, the distortion of each facet is reduced, but complexity may be increased and it may be more difficult to avoid the edges. A selected viewport may nevertheless be indicated using latitude, longitude, or other coordinates.

[0066] Returning to FIG. 2, the unique structure and configuration improves a user’s experience for panoramic video, 360.degree. video, VR video systems and any other wide field of view system that uses a projection. The operation of the structure may be better understood in light of the description of spherical to rectangular mapping above.

[0067] FIG. 11 is a process flow diagram of using a preferred viewport and sending a viewport indication as described above. On the server or sender side 202, the projection mapping receives a wide field of view video at 404. In the figure, the video is received from multiple cameras and so the mapping module or another video stitcher stitches the video from the multiple cameras together at 402 to produce a single wide field of view video. In other cases, the video may be previously stored and then retrieved for encoding or some or all of the video may be generated by a graphics system based on software and user input. The video input may include a simulated or virtual world or there may be virtual and real parts combined together. The video may be 180.degree., 360.degree., panoramic, or any other wide field of view. The video may have a wider horizontal field of view than a vertical field of view.

[0068] The complete stitched-together wide field of view video however generated or received is then mapped into a planar projection at 406. Any of a variety of different projections may be used. Equi-rectangular projection, spherical cube projection, and icosahedral projection are shown and described but there may be other projections as well.

[0069] In the examples shown herein, the video is spherical, however a complete sphere is not required. The video may contain only a portion of a sphere. The 180.degree. field of view mentioned above is only half of a sphere. The field of view may be reduced both horizontally and vertically to show only a portion of a sphere. On the other hand, the field of view is curved in the manner of a portion of a sphere. This allows the image to be the same distance from a viewer in all directions.

[0070] This curved image is then projected onto a planar surface using any desired type of geometry including the examples shown above. While the curved field of view, being all or part of a portion of a sphere, has no inherent distortions, a planar projection of such a curved surface does have distortions. The planar projection, however, is well suited to encoding, compression, and other image processes.

[0071] Before or after the video is mapped, a suitable viewport selection is received for the scene at 408. The selection is made in some embodiments so that important areas or regions of interests are in the view port. In some embodiments, the scene is analyzed to select a viewport. Alternatively, the viewport selection is from a producer or creator or is based on viewer statistics. In some embodiments, such as with virtual reality, a viewport is also received from the user. This may provide an option for a user that does not want to use the viewport selected at the server end. The viewport indicates which part of the wide field of view video will be in the user’s field of view and therefore in the middle of the user’s field of view. This area or region may have a speaker, a character, a newly appearing object or some other characteristic that makes it more important than other areas. This area or region may then be selected as the most important, corresponding to a recommended or selected viewport.

[0072] The received or generated viewport is then compared to the video to determine its location in the video at 412. The position may be identified as latitude and longitude on the spherical projection or as a position on the planar projection. The planar projection position may be indicated as Cartesian coordinates or in some other way. In addition, the size of the viewport may be indicated. In the example of Tables 1 and 2, the size is indicated as a horizontal and vertical field of view, however, other units may be used, including a number of pixels or an angular or linear distance in the horizontal and vertical directions.

[0073] The size of the viewport may be used to create a zooming effect in which the user’s view is made wider or narrower depending on the size of the viewport. In another embodiment, the user’s view remains the same size so that a larger field of view for the viewport may fill the user’s entire field of view. A smaller field of view for the viewport may fill only a part of the user’s field of view. The smaller field of view may allow the user to move the viewport to different positions to see elements beside the recommended viewport.

[0074] A position on a spherical video may be expressed in many different ways. In spherical coordinates, roll, pitch, and yaw may alternatively be used to express position on the sphere. One or more of these may be used or Cartesian coordinates, e.g. vertical and horizontal may be used with reference to the projection. For roll, pitch, and yaw, it is not required that all three be used. Only one may be required to move the region of interest away from the poles. A second coordinate may be used to indicate distance from the left and right seam edges. The rotation information for roll, pitch, and yaw may be expressed as an angle. The angle of rotation will be relative to the original orientation of the video. In addition, the absolute orientation of the video may be included in the metadata. The absolute orientation reflects an orientation of a camera or of one or more of the multiple cameras when there is a camera array.

[0075] After the viewport is determined then the region of interest selector 212 generates viewport metadata describing the selected viewport at 412. This is provided to the video encoder so that when the video encoder encodes the planar projection of the spherical video at 414, the viewport metadata is included in the encoded video at 416. Rotation orientation metadata may also be included at 417. The encoded video with the metadata is then transmitted, buffered, or stored so that it can be provided as encoded video for immediate or later transmission and display. For many types of encoding, such as HEVC and AVC, an SEI message may be used, although the invention is not so limited.

[0076] The selection of a viewport may be made for each frame of the video or for each frame in which the region of interest moves. SEI messages are tied to a particular frame so that each frame at which the region of interest has moved may have its own viewport message. In some cases, the message may be to cancel a viewport selection for the next set of frames until a new viewport message is received. This may be done using the flags shown and described above in Tables 1 and 2. This allows each scene and region of interest change to be flagged with a different SEI message to change the viewport for the corresponding frame.

[0077] At the receiver or client side 204, the encoded video, including the metadata, such as an SEI message, is received from the server or broadcaster at 422. The client has a decoder to decode the video at 424 and to extract the viewport metadata at 426. A viewport may then be generated for the decoded video based on the viewport metadata. If rotation orientation metadata is also included in the metadata, then a rotation may be performed at 427 that is determined by a pitch, roll, and yaw angle or in some other way as indicated in the message. This is rotation of the spherical video to reverse rotation that wash applied at the cameras or the encoder. This viewport of the video is then provided to a display, such as a headset, 3D monitor, or 2D display screen for viewing by the user.

[0078] For many applications, there will be a viewport selected by the user through a position selector 230 of a user interface. This may be done through a conventional user input device or through some other sensor. For a VR headset, the movement of the headset or user’s eyes may be detected and the viewport determined based on where the user is looking. A viewport generator 226 may then generate a view of the decoded video using either the recommended viewport from the metadata, the user’s selected viewport of a combination of the two.

[0079] At 428 it is determined whether to use the user selected viewport, such as the one received from the position selector. The decision may be based on a user input or the lack of a user input. There may be a default to use the user-selected input only if the user has made a selection and if the user has indicated that the user selection overrides any other viewport. If the user-selected viewport is not to be used then at 432, a viewport is generated using the extracted metadata. As mentioned, in some cases, there may be more than one viewport selection received in the metadata. In such a case, there will be a default, such as the director’s cut and the user may be allowed to select a different viewport from among the other viewports contained in the metadata.

[0080] If the user’s selection is to be used, then at 430 the viewport generator generates a viewport using the user selection. The generated viewport in either case is provided as a video for display at 434.

[0081] As mentioned above, the received encoded video is a projection of a wide field of view received from multiple cameras or generated by a graphics system. The projection may be an equi-rectangular projection or any other suitable planar projection. Many video encoding systems allow metadata, such as SEI messages, to be associated with a particular frame of the encoded video. As a result, when the decoder finds a new SEI viewport message, the viewport generator may be commanded to change the viewport for the corresponding frame using the new message. The viewport may then be maintained until the next message comes. As a result, additional metadata can be received for additional frames of the encoded video.

[0082] FIG. 12 is a diagram of high performance HMD (Head Mounted Display) with multiple remote information sources. An HMD 502 has a main body 504 and an attachment strap 506. The main body carries user displays and speakers to render the virtual world to the wearer. The main body also has inertial sensors, a microphone and other user input devices. A processing, communications, and power or battery suite allow the HMD to render video and sound and to communicate wirelessly 508 with a tethered computer 510.

[0083] The user interacts with the virtual world through head and body movements and may also interact using voice commands, hand gestures and other user input devices. A game controller 520 may be coupled to the tethered computer through the same 508 or another 522 wireless interface to provide additional controls. The HMD may be coupled to the computer through a WiFi, WiDi, or other high speed digital wireless connections to receive rendered or compressed video frames and audio from the computer for display to the user. Additional descriptions, data, parameters, and commands may also be received from the computer. The HMD may also send command, control, and virtual interaction data to the computer through the same or another wireless link. The controller, for example may communicate through Bluetooth or unlicensed bands. Multiple wireless interfaces may be combined to provide the complete user experience.

[0084] In some cases, the computer is portable and carried by the user. This allows for a wired connection, if desired. The carried computer may have a notebook, tablet, smartphone, or any other desired physical configuration. In other cases, the computer is fixed and is attached to the HMD using a wired connection.

[0085] The computer may in turn be connected through the Internet, a LAN (Local Area Network) or other connection 514, wired or wireless, to a remote server 516. The remote server provides encoded video and may provide additional information about the virtual world. The remote server may also provide communication with other users that are experiencing the same or a related virtual world. Alternatively, the HMD may communicate directly with the server without going through the computer 510. In other embodiments, no remote server is used and the tethered computer operates independently.

[0086] In the examples herein, a wireless HMD has a local computing resource or client device, such as a CPU (Central Processing Unit) that may be coupled to a GPU (Graphics Processing Unit), graphics processor, memory and other resources to allow the HMD to store and render received encoded video. The local rendering may include rotation and viewport generating as described, among other tasks.

[0087] FIG. 13 illustrates a computing device 100 in accordance with one implementation. The computing device 100 houses a system board 42. The board 42 may include a number of components, including but not limited to a processor 44 and at least one communication package 46. The communication package is coupled to one or more antennas 16. The processor 44 is physically and electrically coupled to the board 42.

[0088] Depending on its applications, computing device 100 may include other components that may or may not be physically and electrically coupled to the board 42. These other components include, but are not limited to, volatile memory (e.g., DRAM) 48, non-volatile memory (e.g., ROM) 49, flash memory (not shown), a graphics processor 12, a digital signal processor (not shown), a crypto processor (not shown), a chipset 14, an antenna 16, a display 18 such as a touchscreen display, a touchscreen controller 20, a battery 22, an audio codec (not shown), a video codec (not shown), a power amplifier 24, a global positioning system (GPS) device 26, a compass 28, an accelerometer (not shown), a gyroscope (not shown), a speaker 30, a camera array 32, a microphone array 34, and a mass storage device (such as hard disk drive) 10, compact disk (CD) (not shown), digital versatile disk (DVD) (not shown), and so forth). These components may be connected to the system board 42, mounted to the system board, or combined with any of the other components.

[0089] The camera array may be coupled to an image chip 36 and to the processor 44, either directly or through the image chip. The image chip may take a variety of different forms, such as a graphics co-processor, a digital signal processor (DSP), an image signal processor (ISP), or any other type of separate dedicated imaging management module. Such a device or module may comprise logic, algorithms, and/or instructions operative to capture, process, edit, compress, store, print, and/or display one or more images. In some embodiments, the imaging management module may comprise programming routines, functions, and/or processes implemented as software within an imaging application or operating system. In various other embodiments, the image processing may be implemented as a standalone chip or integrated circuit, or as circuitry comprised within the processor, within a graphics chip or other integrated circuit or chip, or within a camera module. The techniques described above may be implemented in the image chip of the processor or functions may be distributed between different components which may include the cameras, image chip, processor, and other components.

[0090] The communication package 46 enables wireless and/or wired communications for the transfer of data to and from the computing device 100. The term “wireless” and its derivatives may be used to describe circuits, devices, systems, methods, techniques, communications channels, etc., that may communicate data through the use of modulated electromagnetic radiation through a non-solid medium. The term does not imply that the associated devices do not contain any wires, although in some embodiments they might not. The communication package 6 may implement any of a number of wireless or wired standards or protocols, including but not limited to Wi-Fi (IEEE 802.11 family), WiMAX (IEEE 802.16 family), IEEE 802.20, long term evolution (LTE), Ev-DO, HSPA+, HSDPA+, HSUPA+, EDGE, GSM, GPRS, CDMA, TDMA, DECT, Bluetooth, Ethernet derivatives thereof, as well as any other wireless and wired protocols that are designated as 3G, 4G, 5G, and beyond. The computing device 100 may include a plurality of communication packages 6. For instance, a first communication package 6 may be dedicated to shorter range wireless communications such as Wi-Fi and Bluetooth and a second communication package 6 may be dedicated to longer range wireless communications such as GPS, EDGE, GPRS, CDMA, WiMAX, LTE, Ev-DO, and others.

[0091] In various implementations, the computing device 100 may be a laptop, a netbook, a notebook, an ultrabook, a smartphone, a wearable device, a tablet, a personal digital assistant (PDA), an ultra mobile PC, a mobile phone, a desktop computer, a server, a printer, a scanner, a monitor, a set-top box, an entertainment control unit, a digital camera, a portable music player, or a digital video recorder. The computing device may be fixed, portable, or wearable. In further implementations, the computing device 100 may be any other electronic device that processes data.

[0092] The camera array 32 may be of the type described in reference to FIGS. 1 and 2 or another suitable configuration. The camera array may be incorporated into the same housing as the rest of the computing device 100 or it may be a separate peripheral device attached through a suitable wired or wireless connector. The computing device may be used a server device, editing device, or client device in a fixed or portable configuration.

[0093] Embodiments may be implemented as a part of one or more memory chips, controllers, CPUs (Central Processing Unit), microchips or integrated circuits interconnected using a motherboard, an application specific integrated circuit (ASIC), and/or a field programmable gate array (FPGA).

[0094] References to “one embodiment”, “an embodiment”, “example embodiment”, “various embodiments”, etc., indicate that the embodiment(s) so described may include particular features, structures, or characteristics, but not every embodiment necessarily includes the particular features, structures, or characteristics. Further, some embodiments may have some, all, or none of the features described for other embodiments.

[0095] In the following description and claims, the term “coupled” along with its derivatives, may be used. “Coupled” is used to indicate that two or more elements co-operate or interact with each other, but they may or may not have intervening physical or electrical components between them.

[0096] As used in the claims, unless otherwise specified, the use of the ordinal adjectives “first”, “second”, “third”, etc., to describe a common element, merely indicate that different instances of like elements are being referred to, and are not intended to imply that the elements so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.

[0097] The drawings and the forgoing description give examples of embodiments. Those skilled in the art will appreciate that one or more of the described elements may well be combined into a single functional element. Alternatively, certain elements may be split into multiple functional elements. Elements from one embodiment may be added to another embodiment. For example, orders of processes described herein may be changed and are not limited to the manner described herein. Moreover, the actions of any flow diagram need not be implemented in the order shown; nor do all of the acts necessarily need to be performed. Also, those acts that are not dependent on other acts may be performed in parallel with the other acts. The scope of embodiments is by no means limited by these specific examples. Numerous variations, whether explicitly given in the specification or not, such as differences in structure, dimension, and use of material, are possible. The scope of embodiments is at least as broad as given by the following claims. The various features of the different embodiments may be variously combined with some features included and others excluded to suit a variety of different applications.

[0098] Some embodiments pertain to a method that includes receiving encoded video including viewport metadata, decoding the video, extracting the viewport metadata, generating a viewport of the decoded video based on the viewport metadata, and buffering the generated viewport for display.

[0099] In further embodiments the viewport metadata includes a center of the region of interest.

[0100] In further embodiments the center is indicated as a latitude and longitude of a viewport representation.

[0101] In further embodiments the viewport metadata includes a field of view of the region interest based on distance from the center.

[0102] In further embodiments the field of view is indicated as a horizontal angle and a vertical angle.

[0103] In further embodiments the viewport metadata is encoded as a Supplemental Enhancement Information message.

[0104] In further embodiments the received encoded video is a planar projection of a wide field of view.

[0105] In further embodiments the planar projection is an equi-rectangular projection and the wide field of view is panoramic.

[0106] In further embodiments the viewport metadata is associated with a frame of the received encoded video, the method comprising receiving additional viewport metadata for additional frames of the encoded video.

[0107] Further embodiments include determining whether a user has indicated using a user-selected viewport and if so, then generating a viewport using the user-selected viewport instead of generating a viewport using the viewport metadata.

[0108] In further embodiments the viewport metadata includes multiple viewports, the method further comprising selecting one of the multiple viewports and wherein generating a viewport comprises generating a viewport using the selected one of the multiple viewports.

[0109] In further embodiments selecting one of the multiple viewports comprises receiving a user selection of one of the multiple viewports.

[0110] In further embodiments the sizes of the multiple viewports are used to create a zooming effect.

[0111] In further embodiments the viewport metadata is associated with a frame of the received encoded video, the method comprising receiving additional viewport metadata for additional frames of the encoded video.

[0112] In further embodiments the encoded video further includes rotation orientation metadata, and the method includes extracting the rotation orientation metadata, and rotating the decoded video based on the rotation orientation metadata, wherein generating a viewport comprises generating a viewport using the rotated decoded video.

[0113] Further embodiments pertain to a machine-readable medium having instructions stored thereon that when executed cause the machine to perform operations that include receiving encoded video including viewport metadata, decoding the video, extracting the viewport metadata, generating a viewport of the decoded video based on the viewport metadata, and buffering the generated viewport for display.

[0114] Further embodiments pertain to an apparatus that includes a video decoder to receive a wide field of view video including viewport metadata and to extract the viewport metadata, and a viewport generator to generate a viewport of the decoded video based on the viewport metadata to buffer the generated viewport for display.

[0115] Further embodiments pertain to a method that includes receiving a wide field of view video mapping the video into a planar projection, receiving a selected region of interest in the video, generating viewport metadata describing the selected region of interest, encoding the planar projection as encoded video including the viewport metadata, and storing the encoded video.

[0116] In further embodiments the viewport metadata includes a center of the region of interest.

[0117] In further embodiments the center is indicated as a latitude and longitude of a viewport representation.

[0118] In further embodiments the viewport metadata includes a field of view of the region interest based on distance from the center.

[0119] In further embodiments the field of view is indicated as a horizontal angle and a vertical angle.

[0120] In further embodiments the viewport metadata is encoded as a Supplemental Enhancement Information message.

[0121] In further embodiments the received wide field of view video is received from multiple cameras, the method further comprising stitching the video from multiple cameras together to produce a single wide field of view video.

[0122] In further embodiments mapping the video comprises mapping the video to an equi-rectangular projection and wherein the wide field of view is panoramic.

[0123] Further embodiments include selecting a rotation of the projection, generating rotation orientation metadata describing the selected rotation, and rotating the projection based on the selected rotation, wherein encoding the planar projection comprises encoding after rotating the projection and including the rotation orientation metadata in the encoded video.

[0124] Some embodiments pertain to a machine-readable medium having instructions stored thereon that when executed cause the machine to perform operations that include receiving a wide field of view video, mapping the video into a planar projection, receiving a selected region of interest in the video, generating viewport metadata describing the selected region of interest, encoding the planar projection as encoded video including the viewport metadata, and storing the encoded video.

[0125] Further embodiments include selecting the selected region of interest by analyzing a scene of the video for motion and determining which part of the scene contains the fastest motion.

[0126] Some embodiments pertain to an apparatus that includes a buffer to receive a wide field of view video, a projection mapping module to map the video into a planar projection, a region of interest selector to receive a selected region of interest in the video and to generate viewport metadata describing the selected region of interest, and an encoder to encode the planar projection as encoded video including the viewport metadata and to store the encoded video.

[0127] In further embodiments the region of interest selector further analyzes the video to select the selected region of interest as having features with the highest complexity.

您可能还喜欢...