A decoding method and device for a projection picture of a non-planar surface on a plane
Through intra-frame prediction technology, using prediction samples of non-straight curves and geometric relationship correction, the problem of low coding and decoding performance of projection images from spherical surfaces to flat surfaces in the existing technology is solved, and good coding and decoding in areas with severe geometric distortion are achieved. Effect.
Patent Information
- Application Number
- CN202080018473.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-06
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-03-06
AI Technical Summary
Existing intra prediction technology does not perform well in encoding and decoding projection images from a spherical surface to a planar surface, especially in areas with severe geometric distortion.
A decoder that uses intra prediction creates prediction samples along these curves by determining non-straight curves that represent straight lines on a non-planar surface, and considers the difference between the geometric relationships of the samples in the projection and the geometric relationships on the sphere when decoding. To alleviate the decoding performance deficiency caused by geometric distortion.
Even in areas where projection and spherical geometric distortion are severe, good encoding and decoding performance is achieved, improving the accuracy of planar representations of spherical captured scenes.
Smart Images

Figure CN113994702B_ABST
Abstract
Description
[0001] Cross-references
[0002] This application claims priority to U.S. Application No. 16 / 293,920, filed on March 6, 2019, the entire disclosure of which is incorporated herein by reference. Technical Field
[0003] The present invention relates to video processing technology, and in particular to a method and a related device for decoding a coded image or a coded picture in a coded video sequence into a picture representing the projection of a non-planar surface on a planar surface. Background Art
[0004] Video encoding and decoding that can use inter-picture prediction with motion compensation has been known for decades. Uncompressed digital video can include a series of pictures, each with a spatial dimension of, for example, 1920×1080 luminance samples and associated chrominance samples. The series of pictures can have a fixed or variable picture rate (also informally referred to as a frame rate) of, for example, 60 pictures per second or 60Hz. Uncompressed video has significant bit rate requirements. For example, 1080p60 4:2:0 video with 8 bits per sample (1920×1080 luminance sample resolution at 60Hz frame rate) requires a bandwidth of nearly 1.5Gbit / s. One hour of such video requires more than 600 GBytes of storage space.
[0005] One purpose of video encoding and decoding can be to reduce the redundancy of the input video signal by compression. Compression can help reduce the bandwidth requirements or storage space requirements mentioned above, in some cases by two orders of magnitude or more. Both lossless compression and lossy compression and their combinations can be used. Lossless compression refers to a technique that can reconstruct an exact copy of the original signal based on the compressed original signal. When lossy compression is used, the reconstructed signal may be different from the original signal, but the distortion between the original signal and the reconstructed signal is small enough to make the reconstructed signal usable for the intended application. In the case of video, lossy compression is widely used. The amount of distortion tolerated depends on the application, for example, users of certain consumer streaming applications may tolerate higher distortion than users of television distribution applications. The compression ratio that can be achieved can reflect that higher allowable / tolerable distortion can produce higher compression ratios.
[0006] Video encoders and decoders may utilize techniques in several broad categories including, for example, motion compensation, transforms, quantization, and entropy coding, some of which are described below.
[0007] Video coding according to the above techniques has historically generally assumed that the input content is captured from a single camera. Other content that has attracted attention is called stereoscopic content: two camera signals from cameras that are spatially aligned so that the capture axes are approximately parallel can provide the illusion of a three-dimensional picture when viewed under certain conditions when combined in a suitable rendering device. Because the camera signals are highly correlated, certain video coding techniques are designed to correlate the two signals to obtain higher coding efficiency than that that can be achieved when encoding the two signals separately. One such technique is called multi-view coding, as available in the form of profiles in both H.264 and H.265. In some cases, such multi-view coding can be extended to the combined encoding of more than two camera signals, while still exploiting the similarities (if any) of the multiple camera signals. However, multi-view coding in the above sense still operates on planar camera images.
[0008] Recently, input devices for many cameras that potentially include capture angles that are not parallel have become available. These input devices allow the capture of spherical volumes of space to the extent that they are based on physical layout as much as possible. Such cameras can be sold and are referred to herein as "360 cameras" because they can capture a 360-degree field of view in all dimensions. Still image 360 cameras can be operated by using a pan-tilt camera head, which is equipped with a single camera with a lens that can capture a relatively wide angle. By rotating the two axes of the pan-tilt head to a certain position before shooting, the camera can capture a series of still images in a way that each still image is superimposed to a certain extent. Using geometric information consistent with the control information for controlling the pan-tilt camera head, these images can be geometrically corrected and spliced together to form a planar image, which can be input into traditional image processing techniques, for example, for the purpose of compression and transmission. The geographic correction and splicing process is referred to as "projection" in this article. Rendering a 360 image may involve selecting a viewpoint or viewing direction with respect to the 360 captured scene, inverse geometric correction, de-stitching, etc., to create a planar image suitable for viewing. Inverse geometric correction and de-stitching are referred to herein as "de-projection" or "inverse projection." Ideally, the scene depicted in the image will be the same as a planar image captured along the viewing direction or captured from the selected viewpoint.
[0009] The above concept can be extended to the capture of video, because video can be represented by a series of still images captured and presented in a sufficiently short time interval. There are two basic variants of commercially available cameras that support 360 video. The first variant uses a fast rotating camera head, in which one or more cameras and appropriate lenses are arranged so that a 360-degree scene (in one dimension) can be captured during one rotation. One or more cameras and lenses can be arranged so that another dimension is covered. In order to obtain a frame rate of, for example, 60 frames per second, the camera head must rotate at, for example, a minimum of 3600 revolutions per minute. In order to avoid camera blur, the capture time of the camera may have to be selected to be very short, which may limit the number of photons exposed to the camera sensor, resulting in noisy images, high lighting requirements for the scene, or both. Other implementations can omit the mechanically critical rotating head by using many cameras and appropriate lenses, the cameras and lenses being arranged so that the overlapping views of all cameras and lenses capture the entire 360-degree sphere, thereby avoiding the above-mentioned problems at the additional cost of requiring more cameras and lenses. A hybrid form of these two concepts is also possible. Due to the cost reduction of electro-optical components relative to mechanical components, there seems to be a trend from mechanical 360 cameras to multi-lens cameras. In addition, based on the understanding that the 360 camera as a physical device may need to be installed somewhere and the mounting hardware may limit the interest of the viewer, some designs omit the capture at certain, usually relatively narrow, capture angles. Like the static camera above, many 360-enabled cameras geometrically project images (captured at the same instant, or captured at almost the same instant in the case of a rotating head) together to form a series of projected images representing the 360-degree view of the camera.
[0010] Projecting an image representing a spherically captured scene onto a planar surface has been a known and well-studied problem for centuries. For example, one well-known projection is the Mercator projection, introduced in 1569, which is a cylindrical projection and is still used in many world maps. Since then, many other projections have been designed, including, for example, the Equirectangular projection, the Conic projection, the Aitoff projection, the Hammer projection, the PlateCarree projection, and the like.
[0011] These and other suitable projection formats attempt to map a spherical surface to a planar surface. The planar representation may not necessarily be a mathematically correct representation of the geometric features of the sphere, but rather an approximation with some error. Where the error is located in space and how large it can become depends on the nature of the projection. For example, it is well known that the equidistant projection significantly exaggerates longitude distances at latitudes far from the equator. For example, in an equidistant projection of the world map, Greenland is depicted as being larger than the continent of Australia, but in reality Greenland has only about 1 / 3 of the surface area.
[0012] However, the current intra-frame prediction technology has low encoding and decoding performance for projected images from a spherical surface to a planar surface. Summary of the invention
[0013] According to an embodiment, a method for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface is provided, and the method is performed by a decoder using intra-frame prediction. The method includes: obtaining an intra-frame prediction mode indicating an intra-frame prediction direction for a block of the picture; determining at least one non-straight curve representing a straight line on the non-planar surface based on the projection and the obtained intra-frame prediction mode; and for the block, creating a prediction sample along at least one non-straight curve determined according to at least one boundary sample along the determined at least one non-straight curve.
[0014] According to an embodiment, a method for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface is provided, the method being performed by a decoder using intra-frame prediction. The method comprises: performing a back projection on a block of the picture, the block having a first aspect ratio; based on at least one characteristic of the projection and the position of the block in the picture, identifying a rectangle corresponding to a surface area of the block on which the back projection is performed on the non-planar surface; and based on a second aspect ratio of the identified rectangle, performing addition to and removal from at least one intra-frame prediction direction that can be used to decode the block according to the first aspect ratio and a video compression standard.
[0015] According to an embodiment, a computer device is provided, comprising: at least one memory configured to store computer program code; and at least one processor configured to access the at least one memory and operate according to the computer program code to execute the aforementioned method.
[0016] According to an embodiment, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores a program including instructions for causing at least one processor to execute the aforementioned method.
[0017] According to an embodiment, a device is provided for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface, the device being a decoder using intra-frame prediction, and the device comprising an obtaining unit, a determining unit and a creating unit: the obtaining unit is used to obtain an intra-frame prediction mode indicating an intra-frame prediction direction for a block of the picture; the determining unit is used to determine at least one non-straight curve representing a straight line on the non-planar surface based on the projection and the obtained intra-frame prediction mode; the creating unit is used to create, for the block, a prediction sample along at least one determined non-straight curve based on at least one boundary sample along the determined at least one non-straight curve.
[0018] According to an embodiment, a device is provided for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface, the device being a decoder using intra-frame prediction, and the device comprising a backprojection unit, an identification unit and an execution unit: the backprojection unit is used to perform backprojection on a block of the picture, the block having a first aspect ratio; the identification unit is used to identify a rectangle corresponding to a surface area of the block on which the backprojection is performed on the non-planar surface based on at least one characteristic of the projection and the position of the block in the picture; the execution unit is used to perform one or both of adding to and removing from at least one intra-frame prediction direction that can be used to decode the block according to the first aspect ratio and a video compression standard based on a second aspect ratio of the identified rectangle.
[0019] In the above technical solution, an intra-frame prediction mode indicating an intra-frame prediction direction is obtained for a block of a picture; based on the projection and the obtained intra-frame prediction mode, at least one non-straight curve representing a straight line on a non-planar surface is determined; and for the block, a prediction sample along the at least one non-straight curve is created according to at least one boundary sample along the at least one non-straight curve determined. Since the prediction sample is created along the at least one non-straight curve, and the at least one non-straight curve represents a straight line on a non-planar surface (e.g., a spherical surface), the method of the present application takes into account the difference between the geometric relationship of the sample in the projection and the geometric relationship of the sample on the spherical surface, i.e., the geometric distortion of the projection and the spherical surface, when decoding, so as to alleviate the inadequacy of the decoding performance caused by the geometric distortion. Through the solution of the present invention, good encoding and decoding performance can be obtained even in areas where the geometric distortion of the projection and the spherical surface is more serious (e.g., areas close to the two poles of the sphere). BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a schematic diagram of several projections according to the prior art.
[0021] Figure 2 is a schematic diagram of a simplified block diagram of a communication system according to an embodiment.
[0022] Figure 3 is a schematic diagram of a simplified block diagram of how a video encoder and a video decoder are placed in a streaming system according to an embodiment.
[0023] Figure 4 is a schematic diagram of a simplified block diagram of a 360 communication / streaming system according to an embodiment.
[0024] Figure 5 is a schematic diagram of a simplified block diagram of a video decoder according to an embodiment.
[0025] Figure 6 is a schematic diagram of a simplified block diagram of a video encoder according to an embodiment.
[0026] Figure 7 It is a schematic diagram of the projection.
[0027] Figure 8 is a schematic diagram of the equirectangular projection of the Earth's surface with Tissot lines.
[0028] Fig. 9 is a diagram of the Earth's surface in the Kravrayski-VII projection.
[0029] Fig.10 is a schematic diagram of details of a projection according to an embodiment.
[0030] Fig.11 is a schematic diagram of intra-frame prediction according to the planar video codec of H.265.
[0031] Fig.12 is a schematic diagram of projection and back-projection according to an embodiment.
[0032] Fig.13 is a schematic diagram of projection-based curved intra prediction according to an embodiment.
[0033] Fig.14 is a schematic diagram of projection-based intra-prediction directional spectrum modification according to an embodiment.
[0034] Fig.15 is a flowchart illustrating a method of decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface according to an embodiment.
[0035] Fig.16is a flow chart illustrating a method of decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface onto a planar surface according to another embodiment.
[0036] Fig.17 is a simplified block diagram of an apparatus for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface onto a planar surface according to an embodiment.
[0037] Fig.18 is a simplified block diagram of an apparatus for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface onto a planar surface according to another embodiment.
[0038] Fig.19 is a schematic diagram of a computer system according to an embodiment. DETAILED DESCRIPTION
[0039] A 360 image or video compression system may operate by first using a projection, such as an equirectangular projection, a cubic projection, or the like, to map the images of a 360 image or video sequence into a flat picture or sequence of flat pictures, and the flat picture or sequence thereof may be subjected to compression. Compression techniques for flat images and videos are well known, but are optimized for input material in which the correlation of each sample is roughly similar and there is no known geometric distortion, or at least no need to consider geometric distortion. However, geometric inaccuracies and errors introduced by the projection step present a flat image that causes certain areas and samples of the planar representation to have lower correlation than other areas and samples because they represent relatively small surface areas on the sphere from which they are projected. Reference Figure 1 , shows some projections (some of many) that can be used to map a spherical capture scene onto a planar surface, and is studied in the context of 360-degree video compression. Shown is a globe (101) where there are three projections of a planar map to the globe. The first projection is called an equirectangular projection (102). The second projection is a cubic projection where the surface of the globe is projected onto six square, flat square surfaces representing six directions at a 90-degree displacement in each dimension. The six squares can be arranged on a single planar surface to produce a cubemap (103). The arrangement of the surfaces of the cube presented here in the planar surface is one of several options. Finally, an icosahedral projection projects the surface of the globe onto the surface of an icosahedron (104) (a three-dimensional symmetrical geometric figure consisting of 20 triangular planes), and these 20 triangular surfaces can be arranged on a single planar surface (105). Similarly, there are many reasonable options for the spatial allocation of the 20 triangular surfaces on a single planar surface (105).
[0040] In addition, in some projections, the geometric relationship of the samples in the projection may be different from the geometric relationship of the corresponding samples on the sphere. For example, samples that form an approximate straight line (more specifically, a large loop segment) on the surface of a sphere may be represented by samples that form a curve in a planar image after projection. In order to obtain the highest rate-distortion performance when measuring the performance of the surface representing the sphere (rather than the planar projection), it may be necessary to perform certain optimizations in the planar compression technology, because the planar compression technology is suboptimal in its unmodified form. When coding tools in planar image or video coding - including, for example, intra-frame prediction coding tools - operate best under the assumption that the relationship between certain samples is a straight line, these coding tools may produce suboptimal results when applied to projections as described above. For optimal performance, it may be necessary to adjust such coding tools for the properties of the geometric distortion introduced by the projection.
[0041] Figure 2 Schematic diagram of a simplified block diagram of a communication system (200) according to an embodiment. The communication system (200) may include at least two terminals (210-220) interconnected via a network (250). For unidirectional data transmission, a first terminal (210) may encode video data at a local location for transmission to another terminal (220) via the network (250). The second terminal (220) may receive encoded video data of another terminal from the network (250), decode the encoded data, and display the recovered video data. Unidirectional data transmission may be common in media service applications, etc.
[0042] Figure 2 A second pair of terminals (230, 240) is shown, which are provided to support bidirectional transmission of encoded video, such as may occur during a video conference. For bidirectional transmission of data, each terminal (230, 240) can encode video data captured at a local location for transmission to the other terminal via a network (250). Each terminal (230, 240) can also receive encoded video data transmitted by the other terminal, can decode the encoded data, and can display the recovered video data at a local display device.
[0043] exist Figure 2In the embodiment of the present disclosure, the terminals (210-240) may be shown as servers, personal computers and smart phones, but the principles of the present disclosure may not be limited thereto. Embodiments of the present disclosure are applicable to laptop computers, tablet computers, media players and / or dedicated video conferencing equipment. The network (250) represents any number of networks that transmit encoded video data between the terminals (210-240), including, for example, wired and / or wireless communication networks. The communication network (250) may exchange data in a circuit switching channel and / or a packet switching channel. Representative networks include telecommunication networks, local area networks, wide area networks and / or the Internet. For the purposes of this discussion, unless otherwise specified below, the architecture and topology of the network (250) may be insignificant to the operation of the present disclosure.
[0044] Figure 3 Schematic diagram of a simplified block diagram of how a video encoder (303) and a video decoder (310) are placed in a streaming system (300) according to an embodiment. The disclosed subject matter may be equally applicable to other video-enabled applications including, for example, video conferencing, digital TV, storing compressed video on digital media including CDs, DVDs, memory sticks, etc., and the like.
[0045] The streaming system may include a capture subsystem (313) that may include a video source (301) such as a digital camera that creates, for example, an uncompressed video sample stream (302). The sample stream (302) is depicted as a thick line to emphasize the high amount of data compared to an encoded video bitstream, and the sample stream (302) may be processed by an encoder (303) coupled to the camera (301). The encoder (303) may include hardware, software, or a combination thereof to implement or implement various aspects of the disclosed subject matter as described in more detail below. The encoded video bitstream (304) is depicted as a thin line to emphasize the lower amount of data compared to the sample stream, and the encoded video bitstream (304) may be stored on a streaming server (305) for future use. One or more streaming clients (306, 308) may access the streaming server (305) to retrieve a copy (307, 309) of the encoded video bitstream (304). The client (306) may include a video decoder (310) that decodes an incoming copy (307) of an encoded video bitstream and creates an outgoing video sample stream (311) that may be presented on a display (312) or other presentation device (not depicted). In some streaming systems, the video bitstreams (304, 307, 309) may be encoded according to certain video coding standards / compression standards. Examples of these standards include ITU-T Recommendation H.265. Under development is a video coding standard informally referred to as Versatile Video Coding or VVC. The disclosed subject matter may be used in the context of VVC.
[0046] Communication system (200) or Figure 3 The streaming system can be extended to enable the use of 360 video.
[0047] Figure 4 is a schematic diagram of a simplified block diagram of a 360 communication / streaming system according to an embodiment. Figure 4, the layout of such a 360 system can be as follows. A 360 video capture unit (401) can include a 360-capable camera (402) and a projector (404) that projects an incoming 360 image (403) as a planar image (405). The 360 image (403) and the planar image (405) are depicted as bold arrows to emphasize the high data rate when compared to a compressed signal such as an encoded video sequence (407). The planar image can be converted by a planar encoder (406) into one or more encoded video sequences (407), which can also include, for example, edge element information related to a projection generated by or obtained from the projector (404). The encoded video sequence (407) can be forwarded directly to a decoder / rendering device via a network (not depicted), or can be stored on a streaming server (408). The streaming server (408) may stream the encoded video sequence directly to a 360 video enabled endpoint (409), which may include a (flat) decoder (410) and a deprojector (411). The deprojector (411) may, for example, invert the projection introduced by the projector (404) so as to form one or more image sequences suitable for display, for example, by a device such as virtual reality goggles (not depicted), a pseudo 3D enabled screen (412), etc. The projector may be controlled by a user interface (not depicted) that allows the user to select a viewing angle, a viewpoint, etc. The data stream may require a full 360 video presentation as projected and compressed by the projector (404) and encoder (406) for streaming to the 360 enabled endpoint (409).
[0048] Alternatively or in addition, in some cases, the receiving endpoint may not have the connectivity or computing resources to perform the decoding or back-projection of all the data required to reconstruct a complete 360-degree scene. In this case, a traditional (non-360-capable) endpoint (413) can send viewpoint-related meta-information (414) obtained from the user interface of the endpoint (413) to a 360 processor (415) located in the network. The 360 processor can perform the tasks of the 360-capable endpoint based on the obtained meta-information, and then the 360 processor re-encodes the rendered planar video (416) in a traditional (planar-optimized) encoder for consumption by the traditional endpoint (413). In such a scenario, the computationally heavy decoding and back-projection of the 360 scene can be offloaded to cloud-based resources, such as the 360 processor (415). As described, the 360 processor can act as a transcoder because the 360 processor has both a decompression mechanism and a compression mechanism.
[0049] In some cases, some of the 360 data may be removed by a Selective Forwarding Unit (SFU) when correctly formed and appropriately labeled. For example, if the projection format is a cubic projection, then for any given viewpoint, at least three and at most five of the six planar square representations do not need to be rendered (assuming a non-transparent source sphere). Assuming the bitstream is correctly formed, e.g., through the use of slices, tiles, layers, views, etc., an SFU that understands the correct configuration of the viewpoint, e.g., because it has received metadata such as that being used by the 360 processor (415), can omit forwarding of unnecessary 360 data. Such an SFU may be viewed as a lightweight transcoder that does not include some of the signal processing techniques that may be required by a full transcoder.
[0050] Figure 5 is a schematic diagram of a simplified block diagram of a video decoder (310) according to an embodiment.
[0051] The receiver (510) may receive one or more codec video sequences to be decoded by the decoder (310); in the same or another embodiment, one coded video sequence is received at a time, and the decoding of each coded video sequence is independent of the other coded video sequences. The coded video sequence may be received from a channel (512), which may be a hardware / software link to a storage device storing the coded video data. The receiver (510) may receive the coded video data as well as other data, such as coded audio data and / or auxiliary data streams that may be forwarded to their respective consuming entities (not depicted). The receiver (510) may separate the coded video sequence from the other data. To cope with network jitter, a buffer memory (515) may be coupled between the receiver (510) and an entropy decoder / parser (520) (hereinafter referred to as "parser"). When the receiver (510) receives data from a store / forward device with sufficient bandwidth and controllability or from an isochronous network, the buffer (515) may not be needed, or the buffer may be small. In order to make the best possible use of a packet network such as the Internet, a buffer (515) may be required, which may be relatively large and may advantageously have an adaptive size.
[0052] The video decoder (310) may include a parser (520) to reconstruct symbols (521) from an entropy coded video sequence. The categories of these symbols include information for managing the operation of the decoder (310) and potentially for controlling a presentation device such as a display (312) that is not part of the decoder but may be coupled to the decoder, such as Figure 3As shown. The control information for the presentation device may be in the form of a Supplemental Enhancement Information (SEI message) or a Video Usability Information (VUI) parameter set fragment (not depicted). The parser (520) may parse / entropy decode the received coded video sequence. The coding of the coded video sequence may be performed according to a video coding technique or standard, and may follow various principles known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (520) may extract any one of the subgroups or any combination of subgroup parameter sets for pixels in the video decoder from the coded video sequence based on at least one parameter corresponding to the group. The subgroup may include a Group of Picture (GOP), a picture, a tile, a slice, a macroblock, a Coding Unit (CU), a block, a Transform Unit (TU), a Prediction Unit (PU), etc. The entropy decoder / parser can also extract information from the encoded video sequence, such as transform coefficients, quantizer parameter (QP) values, motion vectors, etc.
[0053] The parser (520) may perform an entropy decoding operation / parsing operation on the video sequence received from the buffer (515), thereby creating symbols (521).
[0054] Depending on the type of coded video picture or part of coded video picture (e.g., inter-picture and intra-picture, inter-block and intra-block) and other factors, the reconstruction of symbol (521) may involve multiple different units. Which units are involved and how they are involved can be controlled by subgroup control information parsed from the coded video sequence by parser (520). For the sake of brevity, such subgroup control information flow between parser (520) and the multiple units below is not depicted.
[0055] In addition to the functional blocks already mentioned, the decoder (310) can be conceptually subdivided into a plurality of functional units as described below. In a practical implementation operating under commercial constraints, many of these units interact closely with each other and can be at least partially integrated with each other. However, for the purpose of describing the disclosed subject matter, it is appropriate to conceptually subdivide into the functional units below.
[0056] The first unit is a sealer / inverse transform unit (551). The sealer / inverse transform unit (551) receives quantized transform coefficients as symbols (521) from the parser (520) and control information including which transform method to use, block size, quantization factor, quantization scaling matrix, etc. The sealer / inverse transform unit (551) can output blocks including sample values that can be input into the aggregator (555).
[0057] In some cases, the output samples of the scaler / inverse transform unit (551) may belong to an intra-coded block; that is, a block that does not use predictive information from a previously reconstructed picture, but may use predictive information from a previously reconstructed portion of the current picture. Such predictive information may be provided by an intra-picture prediction unit (552). In some cases, the intra-picture prediction unit (552) uses surrounding reconstructed information extracted from the current (partially reconstructed) picture (556) to generate a block of the same size and shape as the block being reconstructed. In some cases, the aggregator (555) adds the prediction information generated by the intra-prediction unit (552) to the output sample information provided by the scaler / inverse transform unit (551) on a per-sample basis.
[0058] In other cases, the output samples of the scaler / inverse transform unit (551) may belong to an inter-frame coded and potentially motion compensated block. In such a case, the motion compensated prediction unit (553) may access the reference picture memory (557) to extract samples for prediction. After the extracted samples are motion compensated according to the symbols (521) belonging to the block, these samples may be added to the output of the scaler / inverse transform unit (called residual samples or residual signal in this case) by the aggregator (555) to generate output sample information. The address within the reference picture memory from which the motion compensation unit extracts the predicted samples may be controlled by a motion vector, which can be used for the motion compensation unit in the form of a symbol (521), which may have, for example, an X component, a Y component and a reference picture component. Motion compensation may also include interpolation of sample values extracted from the reference picture memory when using sub-sample accurate motion vectors, motion vector prediction mechanisms, etc.
[0059] The output samples of the aggregator (555) may be subjected to various loop filtering techniques in a loop filter unit (554). The video compression techniques may include in-loop filter techniques controlled by parameters included in the coded video bitstream and available to the loop filter unit (554) as symbols (521) from the parser (520), however the video compression techniques may also be responsive to meta-information obtained during decoding of a previous (in decoding order) portion of a coded picture or coded video sequence, and to previously reconstructed and loop filtered sample values.
[0060] The output of the loop filter unit (554) may be a sample stream that may be output to a rendering device (312) and stored in a reference picture memory (557) for subsequent inter-picture prediction.
[0061] Once fully reconstructed, certain coded pictures can be used as reference pictures for future prediction. Once a coded picture is fully reconstructed and the coded picture is identified as a reference picture (e.g., by a parser (520)), a current reference picture (556) can become part of a reference picture buffer (557) and a new current picture memory can be reallocated before starting to reconstruct a subsequent coded picture.
[0062] The video decoder (310) may perform decoding operations according to a predetermined video compression technique that may be recorded in a standard such as ITU-T H.265 Recommendation. The encoded video sequence may conform to the syntax specified by the video compression technology or standard used, in the sense that the encoded video sequence follows the syntax of the video compression technology or standard as specified in the video compression technology document or standard and specifically in its profile. For compliance, it may also be required that the complexity of the encoded video sequence is within the range defined by the hierarchy of the video compression technology or standard. In some cases, the hierarchy limits the maximum picture size, maximum frame rate, maximum reconstruction sampling rate (measured in, for example, megasamples per second), maximum reference picture size, etc. In some cases, the limits set by the hierarchy may be further defined by a Hypothetical Reference Decoder (HRD) specification and metadata for HRD buffer management signaled in the encoded video sequence.
[0063] In an embodiment, the receiver (510) may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the encoded video sequence. The additional data may be used by the video decoder (310) to correctly decode the data and / or more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial or SNR (signal noise ratio, SNR) enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.
[0064] Figure 6 is a schematic diagram of a simplified block diagram of a video encoder (303) according to an embodiment.
[0065] The encoder (303) may receive video samples from a video source (301) (which is not part of the encoder) that may capture video images to be encoded by the encoder (303).
[0066] The video source (301) may provide a source video sequence in the form of a digital video sample stream to be encoded by the encoder (303), wherein the digital video sample stream may have any suitable bit depth (e.g., 8 bits, 10 bits, 12 bits, ...), any color space (e.g., BT.601 Y CrCB, RGB, ...), and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media service system, the video source (301) may be a storage device storing previously prepared videos. In a video conferencing system, the video source (301) may be a camera device that captures local image information as a video sequence. The video data may be provided as a plurality of separate pictures that are given motion when viewed sequentially. The pictures themselves may be constructed as a spatial pixel array, wherein each pixel may include one or more samples depending on the sampling structure, color space, etc. used. The relationship between pixels and samples may be easily understood by those skilled in the art. The following focuses on describing samples.
[0067] According to an embodiment, the encoder (303) can encode and compress the pictures of the source video sequence into an encoded video sequence (643) in real time or under any other time constraints required by the application. It is a function of the controller (650) to perform the appropriate encoding speed. The controller controls other functional units described below and is functionally coupled to these units. For the sake of brevity, the coupling is not depicted. The parameters set by the controller may include rate control related parameters (picture skipping, quantizer, lambda value of rate distortion optimization technology, etc.), picture size, picture group (GOP) layout, maximum motion vector search range, etc. Those skilled in the art can easily identify other functions of the controller (650) because these functions may involve a video encoder (303) optimized for a specific system design.
[0068] Some video encoders operate in what is readily understood by those skilled in the art as a "coding loop". As an overly simplified description, the coding loop may include: an encoding portion of an encoder (630) (hereinafter referred to as a "source encoder") (responsible for creating symbols based on an input picture to be encoded and a reference picture); and a (local) decoder (633) embedded in the encoder (303), which reconstructs the symbols to create sample data that will also be created by the (remote) decoder (because in the video compression techniques considered in the disclosed subject matter, any compression between the symbols and the encoded video bitstream is lossless). This reconstructed sample stream is input to a reference picture memory (634). Since the decoding of the symbol stream produces bit-accurate results that are independent of the decoder location (local or remote), the reference picture buffer contents are also bit-accurate between the local encoder and the remote encoder. In other words, the reference picture samples "seen" by the prediction portion of the encoder are exactly the same sample values that the decoder will "see" when using prediction during decoding. This basic principle of reference picture synchronization (and the drift that results when synchronization cannot be maintained, for example due to channel errors) is well known to those skilled in the art.
[0069] The operation of the "local" decoder (633) can be combined with the above Figure 5 The operation of the "remote" decoder (310) described in detail is the same. However, reference is also briefly made to Figure 5 , when symbols are available and the entropy encoder (645) and the parser (520) are capable of losslessly encoding / decoding the symbols into an encoded video sequence, the entropy decoding portion of the decoder (310) including the channel (512), the receiver (510), the buffer (515) and the parser (520) may not be fully implemented in the local decoder (633).
[0070] At this point, it can be observed that any decoder technology other than the parsing / entropy decoding present in the decoder must also be present in the corresponding encoder in substantially the same functional form. For this reason, the disclosed subject matter focuses on the decoder operation. The description of the encoder technology can be simplified because the encoder technology is mutually inverse to the decoder technology described comprehensively. A more detailed description may only be needed in certain areas and is provided below.
[0071] As part of the operation of the source encoder (630), the source encoder (630) may perform motion compensated predictive encoding, which predictively encodes an input frame with reference to one or more previously encoded frames in the video sequence designated as "reference frames." In this manner, the encoding engine (632) encodes the differences between pixel blocks of the input frame and pixel blocks of a reference frame that may be selected as a prediction reference for the input frame.
[0072] The local video decoder (633) can decode the encoded video data of the frame that can be designated as the reference frame based on the symbols created by the source encoder (630). The operation of the encoding engine (632) can advantageously be a lossy process. When the encoded video data can be decoded at the video decoder ( Figure 6 When decoded at a remote video decoder (not shown), the reconstructed video sequence may typically be a copy of the source video sequence with some errors. The local video decoder (633) replicates the decoding process that may be performed on the reference frame by the video decoder and may cause the reconstructed reference frame to be stored in the reference picture memory (634). In this way, the encoder (303) may store locally copies of the reconstructed reference frames that have common content (absent transmission errors) with the reconstructed reference frames that will be obtained by the remote video decoder.
[0073] The predictor (635) may perform a prediction search for the encoding engine (632). That is, for a new frame to be encoded, the predictor (635) may search the reference picture memory (634) for sample data (as candidate reference pixel blocks) or certain metadata, such as reference picture motion vectors, block shapes, etc., that may serve as appropriate prediction references for the new picture. The predictor (635) may operate on a pixel block by pixel block basis to find a suitable prediction reference. In some cases, as determined by the search results obtained by the predictor (635), the input picture may have prediction references taken from multiple reference pictures stored in the reference picture memory (634).
[0074] The controller (650) can manage the encoding operations of the video encoder (630), including, for example, setting parameters and subgroup parameters for encoding video data.
[0075] The outputs of all the above functional units may be entropy encoded in an entropy encoder (645). The entropy encoder converts the symbols generated by the various functional units into a coded video sequence by losslessly compressing them according to techniques known to those skilled in the art (e.g., Huffman coding, variable length coding, arithmetic coding, etc.).
[0076] The transmitter (640) can buffer the encoded video sequence created by the entropy encoder (645) in preparation for transmission via a communication channel (660), which can be a hardware / software link to a storage device that can store the encoded video data. The transmitter (640) can combine the encoded video data from the video encoder (630) with other data to be transmitted, such as encoded audio data and / or auxiliary data streams (source not shown).
[0077] The controller (650) may manage the operation of the encoder (303). During encoding, the controller (650) may assign a certain coded picture type to each coded picture, which may affect the coding techniques that may be applied to the corresponding picture. For example, a picture may generally be assigned one of the following frame types:
[0078] An intra picture (I picture) may be a picture that can be encoded and decoded without using any other frame in the sequence as a prediction source. Some video codecs allow different types of intra pictures, including, for example, Independent Decoder Refresh pictures. Those skilled in the art are aware of variations of I pictures and their corresponding applications and features.
[0079] A predictive picture (P picture) may be a picture that may be encoded and decoded using intra prediction or inter prediction, which predicts sample values of each block using at most one motion vector and a reference index.
[0080] Bidirectional predictive pictures (B pictures) can be pictures that can be encoded and decoded using intra prediction or inter prediction, which uses up to two motion vectors and reference indices to predict sample values for each block. Similarly, multiple predictive pictures can use more than two reference pictures and associated metadata for reconstructing a single block.
[0081] The source picture may typically be spatially subdivided into a number of blocks of samples (e.g., blocks of 4×4, 8×8, 4×8 or 16×16 samples, respectively) and coded block by block. These blocks may be predictively coded with reference to other (already coded) blocks, which are determined according to the coding allocation applied to the corresponding picture of the block. For example, blocks of an I picture may be non-predictively coded, or may be predictively coded (spatial prediction or intra-frame prediction) with reference to already coded blocks of the same picture. Pixel blocks of a P picture may be non-predictively coded via spatial prediction or via temporal prediction with reference to one previously coded reference picture. Blocks of a B picture may be non-predictively coded via spatial prediction or via temporal prediction with reference to one or two previously coded reference pictures.
[0082] The video encoder (303) may perform encoding operations according to a predetermined video encoding technique or standard, such as ITU-T H.265 Recommendation. In its operation, the video encoder (303) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancy in an input video sequence. Thus, the encoded video data may conform to the syntax specified by the video encoding technique or standard used.
[0083] In an embodiment, the transmitter (640) may transmit additional data along with the encoded video. The video encoder (630) may include such data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, auxiliary enhancement information (SEI) messages, visual usability information (VUI) parameter set fragments, etc.
[0084] When encoding or decoding samples from a planar video source, all samples may represent approximately the same angular spacing perpendicular to the capture axis and sufficient distance from the projection plane, as measured from the camera's viewpoint.
[0085] Figure 7 This is a schematic diagram of the projection. Figure 7 In part (a), as an example, consider the division of the projection surface (701) in the vertical dimension into samples (702, 703, 704), which are captured by a camera (705). The sample sizes are not depicted to scale; in a practical system, the vertical resolution of the camera may be 720, 1080 or more samples, rather than just three samples. It can be observed that the angular intervals (706, 708) representing the samples are approximately the same. Assuming the scene is fairly flat and approximately perpendicular to the capture axis (709), the samples (702, 703, 704) are also of approximately the same size. This relationship has been known since the advent of photography, and lenses for cameras can be designed to create as close to this relationship as possible, even in situations where optical correction may be required, such as when the camera is close to the scene relative to the size of the scene being captured.
[0086] Reference Figure 7 In part (b), now consider the capture of a scene (only one quarter of the sphere is depicted) of a sphere (710) using a simplified representation of an equirectangular projection, in which only one dimension is depicted. Assume that the capture axis (711) is perpendicular to the equator of the sphere (not depicted). Three samples (713, 714, 715) with the same angular width (not depicted) are shown. Intuitively, it seems obvious that the samples close to the equator represent a much smaller surface area of the sphere than the samples responsible for depicting the polar regions. For example, consider sample 715, which represents the northernmost latitude of the sphere. Its associated surface area, shown by separators (716, 717), is much larger than the surface area associated with sample 713.
[0087] While the above example may seem extreme, there are some commonly used projections that, for practical applications, depict polar areas that are many times larger than would be warranted by the surface area measured on a sphere. See the "Greenland / Australia" example above.
[0088] Figure 8 is a schematic diagram of an equidistant cylindrical projection (801) of the surface of the earth with Tissot index lines. An example of the well-known Tissot index lines is shown. Each ellipse (802, 803, 804) superimposed on the map represents a circular surface area on the globe. Assume that the projection is represented by a sample map with the same sample size. Obviously, in areas far from the equator, such as the area represented by the ellipse (804), a larger surface area in the projection - and therefore more samples - represents the same area on the surface of the globe then, for example, the ellipse (802) on the equator.
[0089] Fig. 9 is a schematic diagram of the Kavrayskiy-VII projection (901) of the Earth's surface, also overlaid with Tissot indicators. Fig. 9 Also included are some "lines" of longitude and latitude; more specifically, lines of constant latitude or longitude, respectively. On the surface of the globe, each of these lines intersects the others at right angles, and the surface distance between each intersection point is assumed to be the same. However, in the projection, particularly in certain polar regions and far from meridians, "square" surface areas are represented by non-square areas. Consider the surface area (902) covering northern central Africa. Due to the proximity to both the equator and the meridian, surface area (902) is represented by a square approximation (although not exactly). As an extreme counterexample, consider the surface area (903) covering most of Alaska. The shape of this (approximately square on the globe) surface area is severely distorted. This is in the Fig.10 Shown in.
[0090] Fig.10 is a schematic diagram of details of a projection according to an embodiment. Fig.10 Part (a) and part (b) show Fig. 9 An excerpt of a projection of where only a small portion of the northwestern hemisphere (903) is depicted; in (903) there is a sample block (905). The shape of the surface area (1002) can be back-projected (1003) into a square surface (1004), which is a close approximation of the surface area on a globe. Fig.10 In parts (c) and (d) of FIG. 1 , the same surface region (903) and block (905) are projected as above. Note the non-square, distorted geometry (on the projection square) of block (1005). Note also that the back-projection of block (905) onto the distorted block (1005) is a simplification of region (903) into a quadrilateral. If the curved nature of the edges of the surface region in the projections (1006, 1007) were taken into account, block (1005) would be even more distorted.
[0091] When some samples of the image represent a significantly larger surface area or angular width of the spherical scene due to the projection of the spherical scene as a flat image for compression, these samples become more relevant to the true reproduction of the spherical scene after decompression and de-projection. Similarly, for example, when using an equidistant cylindrical projection, samples depicting the equatorial region of the sphere may cover a relatively small surface area, which makes the samples relatively less relevant to the true reproduction of the spherical scene. Traditional image and video codecs optimized for flat images and videos may not necessarily resolve this inequality. In addition, consider equivalent lines of latitude or longitude. On the surface of the sphere, these lines are straight. In the projection, the lines are curved.
[0092] One observation that must be made is that the planar encoder may have information about the nature and characteristics of the projection used. Furthermore, in a practical system design, it may be desirable to make such information known to the deprojector as well, for example via a bitstream. Without this information, the deprojector may not be able to perform meaningful operations on the sample stream produced by the planar decoder. Since side information about the projection used is readily available to both the encoder system and the decoder system (it may have to be transmitted from the transmitting system to the receiving system in order to enable the deprojector to deproject the scene created by the projector), the video encoding itself does not need to encode this information again; the encoder can assume that the decoder has a priori knowledge of this information. Of course, this side information may also be included in the video bitstream, in which case it may not need to be sent in some other way.
[0093] The disclosed subject matter relates to intra-frame prediction. Figure 5 , intra-frame prediction, which has been briefly introduced above, is as follows: In some cases, the output samples of the scaler / inverse transform (551) may belong to an intra-coded block; that is, a block that does not use predictive information from a previously reconstructed picture, but may use predictive information from a previously reconstructed portion of the current picture. Such predictive information may be provided by an intra-frame picture prediction unit (552). In some cases, the intra-frame picture prediction unit (552) uses surrounding reconstructed information extracted from the current (partially reconstructed) picture (556) to generate a block of the same size and shape as the block in reconstruction. In some cases, the aggregator (555) adds the predictive information of the intra-frame prediction unit (552) to the output sample information provided by the scaler / inverse transform unit (551) on a per-sample basis.
[0094] So far, no details have been provided on how the intra picture prediction unit (552) creates intra prediction blocks that can be used for future predictions. Although the disclosed subject matter can be applied to many possible intra prediction mechanisms defined in planar video compression techniques or standards, what is now described is an implementation of an intra prediction technique optimized for planar video, i.e., an implementation used in High Efficiency Video Coding (HEVC) video compression technology, which may be particularly suitable for using modifications to support efficient encoding of projected videos or pictures. Certain details of the technique may not be described because they are not necessary for understanding the disclosed subject matter.
[0095] From the decoder's point of view, the HEVC intra prediction mechanism for a block conceptually starts with creating a list of "Most Probably Modes" (MPMs) based on certain characteristics and statistics of previously decoded blocks, including the availability of neighboring blocks for intra prediction, the coding modes of neighboring blocks, etc. The list contains a finite number of entries, such as three. The intra prediction modes can be a finite range of integer numbers, such as 0 to 34.
[0096] The decoder then decodes at least one symbol representing a portion of one of up to three "most probable modes" (MPMs) or explicitly coded intra-prediction modes.
[0097] Fig.11 is a schematic diagram of intra-frame prediction according to the planar video codec of H.265. In detail, Fig.11 Part (a) of FIG. 1 depicts the 34 intra-frame prediction modes of H.265 and their associated directions. The statistically frequently selected "planar" prediction mode is referred to as mode 0. DC prediction is referred to as mode 1. The remaining 32 modes are associated with intra-frame prediction directions. For example, mode 29 (1101) is associated with a prediction direction that is downward and slightly to the left. An example of intra-frame prediction when intra-frame prediction mode 29 (1101) is used is also shown. Specifically, referring to FIG. Fig.11 In parts (a) and (b) of FIG. 5 , the boundary samples of the prediction unit (PU) above ( 1102 ) are copied to the samples of the prediction block ( 1103 ) along the direction shown, which is parallel to the direction of intra prediction mode 29 ( 1101 ). The term "copy" must be interpreted broadly, as it may involve techniques such as interpolation. Once the prediction block is filled with sample values, it can be used by the aggregator ( 555 ) during reconstruction of the block.
[0098] In VVC, the intra prediction mechanism is enhanced to efficiently support non-square blocks by allowing certain additional intra prediction directions and disallowing certain other directions, based on the geometry of the block in reconstruction - more precisely: the aspect ratio. Furthermore, additional intra prediction modes are introduced that provide a finer granularity of prediction directions. Finally, many other advances, such as the introduction of additional MPMs, enable more efficient entropy coding of the intra prediction mode selected by the encoder.
[0099] According to an embodiment, a planar video encoder optimized for encoding of projected 360° video may optimize the encoded video sequence produced by the encoder based on the encoder's knowledge of the characteristics of the projection in use.
[0100] Ideally, a planar video encoder that compresses projected 360 footage can fully account for the geometric properties of the projection. Using an equirectangular projection as an example, the geometric distortions in areas close to the poles can be large. With respect to the disclosed subject matter, it can be observed that for certain locations on the projection, straight lines on the surface of the sphere are represented by curved lines on the projection.
[0101] Briefly refer to Fig. 9 As an example, consider block (904). This block is located next to the equator and close to the center of the projection. Therefore, the geometric distortion is minimal and correction of the intra prediction may not be required to obtain a good encoding result.
[0102] Now consider block (905), which covers northern Alaska. Obviously, there is a significant geometric distortion. For example, consider the iso-vertical lines (pole to pole) close to block (905). Obviously, these lines are curved, and for the north-south direction on the sphere, these lines do not point vertically up or down, but point diagonally. Both of these have certain effects on intra-frame prediction. In particular, in order to correctly represent the geometry of the sphere, the boundary samples may not need to be copied in a straight line, but rather bend appropriately according to the projection. In addition, certain intra-frame prediction directions may become more likely to be selected for projected content than for planar content. This may have an impact on the MPM list creation process. Finally, since the shape of the block on the sphere may have an aspect ratio different from the shape of the block on the projection, and since the efficiency of intra-frame prediction may depend on the geometry on the sphere rather than the geometry on the projection, some additional intra-frame prediction modes may be wise choices relative to the intra-frame prediction modes for block geometry encoded with only planes, while some other prediction modes may be unwise.
[0103] Fig.12 Schematic diagram of projection and back-projection according to an embodiment. Fig.12, showing a portion of a map of the Earth in an equirectangular projection focusing on Alaska. In the projection format, approximately square regions on the Earth's surface have a certain shape (1201). Many image and video compression techniques can use one of several options or specifically use square block sizes; therefore, this example assumes square blocks of projection data to be encoded (1202).
[0104] Reference Fig.12 Part (b) of FIG. 1 shows the approximate geometry of the projection for the same area in the equidistant column diagram. The square area on the surface of the sphere (1203) is represented by a geometric figure (1204). As already pointed out, the exact geometry varies depending on the location of the area concerned on the surface of the sphere and the projection used.
[0105] Move to Fig.12 , shows a magnified view of the projection (1208), which is subdivided into square blocks (1209) for encoding. (Only a subset of these blocks are shown). One of these blocks (1210) contains a curved dashed line (1211). The dashed line represents a straight line pointing north when back-projected onto a sphere. Note that the curvature of the line (1211) is overemphasized for simplicity.
[0106] The relationship is Fig.12 d. Shown is a square area (1205) that may be a representation of the projection surface as shown in (1208). Within this area, there is a geometric shape (1206) that represents a back-projected square block (1210). Within this geometric shape (1206), there is a dashed line (1207) pointing north and south, which is a deprojected representation of the curve (1211).
[0107] Those skilled in the art can easily adapt the above observations to various other projections, patch sizes, patch shapes, etc., as required by the application.
[0108] The above observations can be used to design intra-prediction mechanisms optimized for projection formats. A common understanding of the nature and characteristics of projections can be established by encoding relevant information into the video bitstream. This is described later.
[0109] In an embodiment, there are two aspects of the disclosed subject matter: a) intra prediction direction "curves" within a block; and b) adding / removing intra prediction modes based on the geometry of the deprojected block.
[0110] In a first aspect of the disclosed subject matter, intra prediction uses non-straight lines when copying boundary samples in a prediction block.
[0111] Fig.13is a schematic diagram of projection-based curved intra prediction according to an embodiment. Consider Fig.13 Part (a) of FIG. 13 shows a block (1301) consisting of 16 samples in a 4×4 matrix. Six boundary samples (1302) are shown above the block (1301).
[0112] Assume that the block (1301) is located on an equirectangular projection of a map of the Earth covering northern Alaska, as previously described in Fig.12 As shown. Based on the geometric position of the block (1301) in the projection (which is known to both the encoder and the decoder) and knowledge of the geometric characteristics of the projection format, the decoder can adjust the sample replication mechanism so that the sample replication mechanism follows a line that is appropriately curved according to the projection and geometric position. In most cases, interpolation techniques involving multiple samples may be required to calculate the predicted sample value for a given sample. Such techniques are known to those skilled in the art and, in some cases, are used even without using curves.
[0113] In the same or another embodiment, directional intra prediction is used in combination with curved intra prediction. Specifically, in the same or another embodiment, the intra prediction mode determines the direction of a curve identified, for example, by a start point and an end point, by an initial direction of the curve approaching a reference sample to be copied, etc.
[0114] Consider Again Fig.13 . In this example, the intra prediction mode determines the direction of the rightmost curve (1308) in a set of curves that constitute the intra prediction replica direction adjusted for the projection. Note that the curves are not necessarily parallel, as their shape depends on the projection, but when one of the curves is defined, the shapes of the remaining curves can be derived from the projection. In this example, the shape of the rightmost curve is defined by: the nature of the projection (here: equirectangular); the spatial position of the block in the projection (here: northern Alaska in a world map, e.g. Fig.12 previously shown); and Fig.13 Part (b) of FIG. 1 shows intra-frame prediction mode 31 (1303). Note that the extension of the line identifying the intra-frame prediction direction of prediction mode 31 (1303) is parallel to the straight line (1304) between the end points (1305, 1306) of the curve (1307), as shown in FIG. Fig.13 As shown in part (c).
[0115] Video compression techniques or standards may also define other mappings between intra prediction directions and the "slope" of the curve.
[0116] In a second aspect of the disclosed subject matter, certain intra prediction directions that are not specified for a given block architecture and planar content may be introduced and other directions removed based on the geometry of the spatial region back-projected on a sphere (and more specifically: based on the aspect ratio).
[0117] The VVC working draft at the time JVET-L1001 was written included certain differences from the intra prediction modes described above. Relevant to the context of the present disclosure, for non-square blocks, certain intra prediction directions are enabled and others are disabled based on the aspect ratio of the block to be encoded.
[0118] Fig.14 is a schematic diagram of projection-based intra-frame prediction direction spectrum modification according to an embodiment. Fig.14 As an example, for a square block (1401), the intra prediction direction covers an angular spectrum (1402) between -135 degrees and +45 degrees measured from the vertical axis. Fig.14 In part (b), for a block (1403) that is twice as wide as it is high, some intra-prediction directions to the right of those defined for the square block (1404) are enabled, while some intra-prediction directions toward the bottom left (1405) are removed, resulting in an angular spectrum (1406) of possible intra-prediction directions of approximately -112.5 degrees to +67.5 degrees.
[0119] In the following, for simplicity of description, it is assumed that the blocks to be encoded in the projection are square. However, the example in which the square blocks in the projection represent the northern region of Alaska and the projection is equirectangular is used again. Fig.14 Part (c) and Fig.12 , in this example, the block in question is (1210) in the projection and (1206) on the sphere. Fig.14 In part (d) of , the block (1206) on the sphere covers a surface area that is not a square. However, the block (1206) fits into a rectangle (1407) with a certain aspect ratio; here, the aspect ratio is approximately 1.6:1 in the x / y dimension. In the same embodiment or another embodiment, the aspect ratio of the rectangle (1407) can determine the addition and / or removal of certain intra-prediction directions. In the example given, the width of the rectangle is greater than the height. Following logic similar to that introduced for non-square blocks in the VVC working draft, intra-prediction directions can be added to the right of the intra-prediction directions specified for non-projected square blocks, while other directions at the bottom left can be removed. In the example given, the angular spectrum for the square block (-135 degrees to +45 degrees measured from the vertical axis) can be modified to -112.5 degrees to +67.5 degrees, reflecting that the width of the rectangle is greater than the height.
[0120] In the VVC draft, the block size can be a power of 2 in each dimension, so the variation in aspect ratio can also be based on a power of 2. For example, the aspect ratio can be 4:1, 2:1, 1:1, 1:2, and 1:4. However, the size of the rectangle in the projection is not determined by the details of the coding mechanism (and specifically by the block partitioning options provided by the video coding technology or standard) but by the nature or characteristics of the projection (e.g., size) and the position of the block in the picture. The projection may not follow a rectangular aspect ratio that is a power of 2 - for example, the example rectangle (1407) has an aspect ratio of approximately 1.4:1.
[0121] In the same or another embodiment, to simplify implementation, the aspect ratio of the rectangle may be rounded to the closest aspect ratio among the aspect ratios defined for non-square blocks. Fig.14 In part (e), consider an example where the aspect ratio of the rectangle (1408) would be 1.6:1. Therefore, in this example, the closest aspect ratio with each dimension rounded to a power of 2 would be 2:1, and this aspect ratio can be used to determine the intra prediction directions to add or remove. The resulting angular spectrum (1406) would be the same as the rectangular block (1403) with an aspect ratio of 2:1 when using VVC planar coding.
[0122] As one of many possible alternatives, the aspect ratio of the rectangle can be used directly to determine which intra prediction directions can be added and removed. Fig.14 In part (e), a rectangle with an aspect ratio of 1.6:1 is considered (1408). In this example, an angular spectrum of -122 degrees to +58 degrees can be applied (1409). Also possible are hybrid forms between discrete allowed expansion or reduction of the spectrum (beyond those defined in the VVC draft for non-square blocks), as well as floating enable / disable of intra-prediction modes as described above. In both cases, in addition to notifying the decoder of the nature and / or geometric characteristics of the projection, it may not be necessary to signal the allowed mode / not allowed mode in the bitstream, because the shape of the rectangle can be determined by the decoder based on the nature and geometric position of the projection of the block.
[0123] The situation may become more complicated when non-square blocks are encoded in the projection. In this case, the appropriate angular spectrum can be determined by a suitable combination of angular spectra, such as by considering the aspect ratio of both the block in the encoding and the rectangle in the projection. Suitable combinations include: for example, selecting any one of the two options (implied by the specification in the video coding technology or standard); the widest angular spectrum determined by the two mechanisms (but this may result in an angular spectrum wider than 180%, which in turn may result in significant changes in the requirements of the video coding technology or standard relative to the VVC draft, because it may be necessary to add intra-frame prediction modes), etc.
[0124] In the same or another embodiment, the projected features may be available to the decoder as one or more canonical syntax elements within the coded video bitstream, such as in a sequence parameter set, a picture parameter set, a sequence header, a group of pictures (GOP) header, a picture header, a slice header, or a similar syntax structure (hereinafter referred to as a high-level syntax structure). In the same or another embodiment, the projected features may be made available to the decoder through an out-of-band mechanism.
[0125] The encoding of features can take many forms. In the same embodiment or another embodiment, the abstract value of a single or a small number of syntax elements can be used to directly or indirectly indicate the geometric characteristics of the projection in the form of parameters suitable for the mathematical formula of the projection. From these parameters, the decoder can derive the projection and apply its knowledge of the projection as appropriate and as described above. The coding technique or standard may specify multiple such projection parameters. For example, it may be a syntax element "projection id", encoded as an unsigned integer of, for example, 8 bits. This syntax element will allow the signaling of up to 256 projections. For example, one of these 256 values can be assigned to an equirectangular projection, while other values are assigned to other clearly defined projection formats.
[0126] The choice between the above two mechanisms, and other mechanisms that may serve a similar purpose, may depend on the application requirements, as well as the compression constraints, computational constraints, and memory constraints that such an application may have.
[0127] Additionally, it may be advisable to include the syntax element "enable_360intrapred", which may enable the use of intra prediction optimized for the projection format as described above. When the value of this syntax element is "false", a planar decoder may not use the 360-optimized intra prediction technique. However, when the value of this syntax element is "true", the decoder may use the 360-optimized intra prediction technique in the manner described above.
[0128] Fig.15 is a flowchart illustrating a method (1500) of decoding a coded image or coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface according to an embodiment. In some implementations, Fig.15 One or more processing blocks of may be performed by a decoder (310). In some implementations, Fig.15 One or more processing blocks of may be performed by another device or a group of devices separate from or including the decoder (310), such as the encoder (303).
[0129] Reference Fig.15In a first block (1510), the method (1500) includes obtaining, for a block of a picture, an intra-prediction mode indicating an intra-prediction direction.
[0130] In a second block (1520), the method (1500) includes determining at least one non-straight curve representing a straight line on the non-planar surface based on the projection and the obtained intra-prediction mode.
[0131] Determining the at least one non-straight curve may include determining a shape of the at least one non-straight curve as a projected shape.
[0132] Determining at least one non-straight curved line may include determining that a position of the at least one non-straight curved line corresponds to a position of a block in the picture.
[0133] Determining at least one non-straight curve may include determining a direction of the at least one non-straight curve as an intra-frame prediction direction, the intra-frame prediction direction being from a start point close to at least one boundary sample to an end point close to one of the prediction samples.
[0134] In a third block (1530), the method (1500) includes creating, for the block, prediction samples along the determined at least one non-straight curve based on at least one boundary sample along the determined at least one non-straight curve.
[0135] Fig.16 is a flowchart illustrating a method (1600) of decoding a coded image or coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface according to another embodiment. In some implementations, Fig.16 One or more processing blocks of may be performed by a decoder (310). In some implementations, Fig.16 One or more processing blocks of may be performed by another device or a group of devices separate from or including the decoder (310), such as the encoder (303).
[0136] Reference Fig.16 In a first block (1610), the method (1600) includes performing a backprojection on a block of a picture, the block having a first aspect ratio.
[0137] In a second block (1620), the method (1600) includes identifying a rectangle corresponding to a surface area of the block on the non-planar surface on which the backprojection is performed based on at least one characteristic of the projection and the location of the block in the picture.
[0138] In a third block (1630), the method (1600) includes determining whether the second aspect ratio of the identified rectangle is wider than the first aspect ratio of the block. If it is determined that the second aspect ratio of the identified rectangle is wider than the first aspect ratio of the block, the method (1600) continues in a fourth block (1640). Otherwise, the method (1600) continues in a fifth block (1650).
[0139] In a fourth block (1640), the method (1600) includes adding one or more intra prediction directions to the upper right of at least one intra prediction direction that can be used to decode the block according to the first aspect ratio and the video compression standard.
[0140] In a fifth block (1650), the method (1600) includes determining whether the second aspect ratio of the identified rectangle is shorter than the first aspect ratio of the block. If it is determined that the second aspect ratio of the identified rectangle is shorter than the first aspect ratio of the block, the method (1600) continues in a sixth block (1660). Otherwise, the method (1600) ends.
[0141] In a sixth block (1660), the method (1600) includes removing, from the at least one intra prediction direction, one or more intra prediction directions to the lower left of the at least one intra prediction direction.
[0142] The method (1600) may also include: rounding the second aspect ratio of the identified rectangle to a closest aspect ratio defined in a video compression standard for non-square blocks; and performing addition to and removal from at least one intra-prediction direction based on the rounded second aspect ratio of the identified rectangle. The closest aspect ratio may be a power of 2.
[0143] Although Fig.15 and Fig.16 Example blocks of methods (1500 and 1600) are shown, but in some implementations, Fig.15 and Fig.16 Compared to the blocks depicted in , the methods (1500 and 1600) may include additional blocks, fewer blocks, different blocks, or differently arranged blocks. Additionally or alternatively, two or more of the blocks of the methods (1500 and 1600) may be executed in parallel.
[0144] In addition, the proposed method can be implemented by a processing circuit (eg, one or more processors or one or more integrated circuits). In an example, one or more processors execute a program stored in a non-transitory computer readable medium for executing one or more of the proposed methods.
[0145] Fig.17is a simplified block diagram of an apparatus (1700) for decoding a coded image or coded picture in a coded video sequence into a picture representing a projection of a non-planar surface onto a planar surface according to an embodiment.
[0146] Reference Fig.17 , the device (1700) includes obtaining a code (1710), determining a code (1720) and creating a code (1730).
[0147] The obtaining code (1710) is configured to obtain, for a block of a picture, an intra prediction mode indicating an intra prediction direction.
[0148] The determining code (1720) is configured to determine at least one non-straight curve representing a straight line on the non-planar surface based on the projection and the obtained intra-prediction mode.
[0149] The determining code (1720) may also be configured to determine the shape of at least one non-straight curve as a projected shape.
[0150] The determining code (1720) may also be configured to determine that a position of at least one non-straight curve corresponds to a position of a block in the picture.
[0151] The determining code (1720) may also be configured to determine a direction of at least one non-straight curve as an intra-frame prediction direction, the intra-frame prediction direction being from a start point close to at least one boundary sample to an end point close to one of the prediction samples.
[0152] The creation code (1730) is configured to create, for the block, prediction samples along the determined at least one non-straight curve based on at least one boundary sample along the determined at least one non-straight curve.
[0153] Fig.18 is a simplified block diagram of an apparatus (1800) for decoding a coded image or coded picture in a coded video sequence into a picture representing a projection of a non-planar surface onto a planar surface according to another embodiment.
[0154] Reference Fig.18 , the device (1800) includes a first execution code (1810), an identification code (1820), a second execution code (1830) and a rounding code (1840).
[0155] The first execution code (1810) is configured to perform backprojection on a block of a picture, the block having a first aspect ratio.
[0156] The identification code (1820) is configured to identify a rectangle corresponding to a surface area of the block on the non-planar surface on which the backprojection is performed based on at least one characteristic of the projection and the location of the block in the picture.
[0157] The second execution code (1830) is configured to perform one or both of adding and removing to and from at least one intra-prediction direction that can be used to decode the block according to the first aspect ratio and the video compression standard based on the second aspect ratio of the identified rectangle.
[0158] The rounding code (1840) may be configured to round the second aspect ratio of the identified rectangle to a closest aspect ratio defined in a video compression standard for non-square blocks. The second execution code (1830) may also be configured to perform one or both of adding to and removing from at least one intra-prediction direction based on the rounded second aspect ratio of the identified rectangle. The closest aspect ratio may be a power of 2.
[0159] The second execution code (1830) may also be configured to add one or more intra-frame prediction directions to the upper right of at least one intra-frame prediction direction based on the second aspect ratio of the identified rectangle being wider than the first aspect ratio of the block.
[0160] The second execution code (1830) may also be configured to remove one or more intra prediction directions from the at least one intra prediction direction, for a lower left of the at least one intra prediction direction, based on the second aspect ratio of the identified rectangle being shorter than the first aspect ratio of the block.
[0161] The above-described techniques for QP selection for 360 image and video encoding may be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media.
[0162] Fig.19 is a schematic diagram of a computer system (1900) according to an embodiment. For example, Fig.19 A computer system (1900) suitable for implementing certain embodiments of the disclosed subject matter is shown.
[0163] Computer software may be encoded using any suitable machine code or computer language, which may be assembled, compiled, linked, or the like to create code comprising instructions that may be executed directly by a computer central processing unit (CPU), graphics processing unit (GPU), or the like, or by interpretation, microcode execution, or the like.
[0164] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, etc.
[0165] Fig.19 The components for the computer system (1900) shown in the embodiment of the present disclosure are exemplary in nature and are not intended to suggest any limitation on the scope of use or functionality of computer software implementing embodiments of the present disclosure. Nor should the configuration of components be interpreted as having any dependency or requirement related to any one or combination of components shown in the embodiment of the computer system (1900).
[0166] The computer system (1900) may include certain human-machine interface input devices. Such human-machine interface input devices may be responsive to input by one or more human users through, for example, tactile input (such as keystrokes, swipes, data glove movements), audio input (such as voice, tapping), visual input (such as gestures), olfactory input (not depicted). The human-machine interface device may also be used to capture certain media that are not necessarily directly related to human conscious input, such as audio (such as voice, music, ambient sound), images (such as scanned images, photographic images obtained from a still image camera), video (such as two-dimensional video, three-dimensional video including stereoscopic video).
[0167] The input human-machine interface device may include one or more of the following (only one of each is depicted): keyboard (1901), mouse (1902), touch pad (1903), touch screen (1910), data glove (1904), joystick (1905), microphone (1906), scanner (1907), camera (1908).
[0168] The computer system (1900) may also include certain human-machine interface output devices. Such human-machine interface output devices may stimulate the senses of one or more human users through, for example, tactile output, sound, light, and smell / taste. Such human-machine interface output devices may include: tactile output devices (e.g., tactile feedback through a touch screen (1910), a data glove (1904), or a joystick (1905), but there may also be tactile feedback devices that do not serve as input devices), audio output devices (such as: speakers (1909), headphones (not depicted), visual output devices (such as screens (1910), including CRT (Cathode Ray Tube) screens, LCD (Liquid Crystal Display) screens, plasma screens, OLED (Organic Light Emitting Diode) screens), each with or without touch screen input capabilities, each with or without tactile feedback capabilities - some of these screens may be able to output two-dimensional visual output or more than three-dimensional output through means such as stereographic output; virtual reality glasses (not depicted), holographic displays, and smoke boxes (not depicted)), and printers (not depicted).
[0169] The computer system (1900) may also include human-accessible storage devices and their associated media, such as optical media including CD / DVD ROM / RW (1920) with CD / DVD and other media (1921), thumb drives (1922), removable hard drives or solid-state drives (1923), traditional magnetic media such as tapes and floppy disks (not depicted), dedicated ROM / ASIC / PLD-based devices such as security dongles (not depicted), etc.
[0170] Those skilled in the art should also understand that the term "computer-readable medium" used in conjunction with the subject matter disclosed herein does not include transmission media, carrier waves, or other transient signals.
[0171] The computer system (1900) may also include an interface to one or more communication networks. The network may be, for example, wireless, wired, optical. The network may also be local, wide, metropolitan, vehicle-mounted and industrial, real-time, delay-tolerant, etc. Examples of networks include local area networks such as Ethernet, wireless LAN, cellular networks (including GSM (Global System for Mobile Communication), 3G (Third Generation), 4G (Fourth Generation), 5G (Fifth Generation), LTE (Long Term Evolution), etc.), television wired or wireless wide area digital networks (including cable television, satellite television and terrestrial broadcast television), vehicle-mounted and industrial (including CANBus), etc. Some networks typically require an external network interface adapter attached to some universal data port or peripheral bus (1949) (such as, for example, a USB (Universal Serial Bus, USB) port of the computer system (1900)); other networks are typically integrated into the core of the computer system (1900) by attaching to a system bus as described below (for example, an Ethernet interface integrated into a PC computer system or a cellular network interface integrated into a smart phone computer system). The computer system (1900) can use any of these networks to communicate with other entities. Such communication can be one-way receive-only (for example, broadcast television), one-way send-only (for example, from a CAN bus to certain CAN bus devices), or two-way (for example, using a local area digital network or a wide area digital network to other computer systems). Certain protocols and protocol stacks can be used on each of these networks and network interfaces as described above.
[0172] The above-mentioned human-machine interface device, human-accessible storage device, and network interface may be attached to the core ( 1940 ) of the computer system ( 1900 ).
[0173] The core (1940) may include one or more central processing units (CPUs) (1941), graphics processing units (GPUs) (1942), dedicated programmable processing units in the form of field programmable gate arrays (FPGAs) (1943), hardware accelerators for certain tasks (1944), etc. These devices, along with read-only memory (ROM) (1945), random-access memory (RAM) (1946), internal large-capacity storage devices such as internal non-user accessible hard drives, SSDs (Solid State Drives, SSDs), etc. (1947), may be connected via a system bus (1948). In some computer systems, the system bus (1948) may be accessed in the form of one or more physical plugs to enable expansion through additional CPUs, GPUs, etc. Peripheral devices may be attached to the core's system bus (1948) directly or via a peripheral bus (1949). The architecture of the peripheral bus includes PCI (Peripheral Component Interconnect, PCI), USB, etc.
[0174] The CPU (1941), GPU (1942), FPGA (1943) and accelerator (1944) can execute certain instructions, which can be combined to form the computer code mentioned above. The computer code can be stored in ROM (1945) or RAM (1946). Transition data can also be stored in RAM (1946), while permanent data can be stored in, for example, an internal mass storage device (1947). Fast storage and retrieval for any of the memory devices can be achieved by using a cache memory, which can be closely associated with one or more CPUs (1941), GPUs (1942), mass storage devices (1947), ROMs (1945), RAMs (1946), etc.
[0175] The computer readable medium may have computer code thereon, which is used to perform various computer-implemented operations. The medium and computer code may be those specially designed and constructed for the purposes of the present disclosure, or they may be of a type well known and available to those skilled in the art of computer software.
[0176] As an example and not a limitation, a computer system (1900) having an architecture and in particular a core (1940) can provide functionality by executing software contained in one or more tangible computer-readable media through a processor (including a CPU, GPU, FPGA, accelerator, etc.). Such a computer-readable medium can be a medium associated with the following storage devices: a user-accessible mass storage device as described above, and certain storage devices of the core (1940) with non-transitory properties, such as a core mass storage device (1947) or a ROM (1945). Software that implements various embodiments of the present disclosure can be stored in such a device and executed by the core (1940). Depending on specific needs, the computer-readable medium may include one or more memory devices or chips. The software can enable the core (1940) and in particular the processor therein (including a CPU, GPU, FPGA, etc.) to perform specific processing or specific parts of specific processing described herein, including defining data structures stored in RAM (1946) and modifying these data structures according to processing defined by the software. Additionally or alternatively, the computer system may provide functionality in a hardwired logic manner or in other ways represented by circuits (e.g., accelerators (1944)) that may operate in place of or in conjunction with software to perform a particular process or a particular portion of a particular process described herein. Where appropriate, references to software may include logic, and vice versa. Where appropriate, references to computer-readable media may include circuits (such as integrated circuits (ICs)) storing software for execution, circuits implementing logic for execution, or both. The present disclosure includes any suitable combination of hardware and software.
[0177] Although the present disclosure has described several embodiments, there are changes, permutations, and various replacement equivalents that fall within the scope of the present disclosure. It is therefore understood that those skilled in the art will be able to conceive of a variety of systems and methods that, although not explicitly shown or described herein, embody the principles of the present disclosure and therefore fall within the spirit and scope of the present disclosure.
Claims
1. A decoding method for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface, characterized in that The method comprises: For a block of the picture, obtaining an intra prediction mode indicating an intra prediction direction; determining at least one non-straight curve representing a straight line on the non-planar surface based on the projection and the obtained intra-prediction mode; and For the block, creating a prediction sample along the at least one non-straight curve according to at least one boundary sample along the at least one non-straight curve; performing a backprojection on a block of the picture, the block having a first aspect ratio, the first aspect ratio having a first width and a first height; identifying, based on at least one characteristic of the projection and a location of the block in the picture, a rectangle corresponding to a surface area of the block on the non-planar surface for which the backprojection is performed; rounding a fraction of a second height of a second aspect ratio of the identified rectangle to the nearest power of 2 as defined in a video compression standard for non-square blocks; Based on a decimal of a second height of the second aspect ratio of the identified rectangle being rounded to the nearest power of 2 and the second height of the second aspect ratio of the identified rectangle being shorter than a first height of the first aspect ratio of the block and a second width of the second aspect ratio being wider than a first width of the first aspect ratio, removing one or more intra-prediction directions toward a lower left corner of the block from at least one intra-prediction direction available for decoding the block.
2. The method according to claim 1, characterized in that Determining the at least one non-straight curve includes determining a shape of the at least one non-straight curve based on a property of the projection.
3. The method according to claim 1, characterized in that Determining the at least one non-straight curve includes determining a shape of the at least one non-straight curve based on a position of the block in the projection.
4. The method according to claim 1, characterized in that Determining the at least one non-straight curve includes determining a direction of the at least one non-straight curve as the intra-frame prediction direction, wherein the intra-frame prediction direction is from a starting point close to the at least one boundary sample to an end point close to one of the prediction samples.
5. A decoding method for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface, characterized in that The method comprises: performing a backprojection on a block of the picture, the block having a first aspect ratio, the first aspect ratio having a first width and a first height; identifying a rectangle corresponding to a surface area of the block on the non-planar surface for which the backprojection is performed based on at least one characteristic of the projection and the location of the block in the picture; and performing, based on a second aspect ratio of the identified rectangle, one or both of adding to and removing from at least one intra-prediction direction that can be used to decode the block according to the first aspect ratio and a video compression standard; The performing, based on the second aspect ratio of the identified rectangle, one or both of adding to and removing from at least one intra-prediction direction that can be used to decode the block according to the first aspect ratio and the video compression standard comprises: rounding a fraction of a second height of a second aspect ratio of the identified rectangle to the nearest power of 2 as defined in a video compression standard for non-square blocks; Based on a decimal of a second height of the second aspect ratio of the identified rectangle being rounded to the nearest power of 2 and the second height of the second aspect ratio of the identified rectangle being shorter than a first height of the first aspect ratio of the block and a second width of the second aspect ratio being wider than a first width of the first aspect ratio, removing one or more intra-prediction directions toward a lower left corner of the block from at least one intra-prediction direction available for decoding the block.
6. The method according to claim 5, characterized in that The method further comprises rounding a second aspect ratio of the identified rectangle to the closest aspect ratio defined in the video compression standard for non-square blocks, Wherein, performing one or both of adding to and removing from the at least one intra-frame prediction direction comprises: performing one or both of adding to and removing from the at least one intra-frame prediction direction based on the second aspect ratio of the rounded identified rectangle.
7. The method according to claim 5, characterized in that Performing one or both of adding to and removing from the at least one intra-prediction direction includes: adding one or more intra-prediction directions to the at least one intra-prediction direction, to the upper right of the at least one intra-prediction direction, based on the second aspect ratio of the identified rectangle being wider than the first aspect ratio of the block.
8. The method according to claim 5, characterized in that Performing one or both of adding to and removing from the at least one intra-prediction direction includes: based on the second aspect ratio of the identified rectangle being shorter than the first aspect ratio of the block, removing one or more intra-prediction directions from the at least one intra-prediction direction for a lower left of the at least one intra-prediction direction.
9. The method according to claim 5, characterized in that The performing one or both of adding to and removing from at least one intra-prediction direction that can be used to decode the block according to the first aspect ratio and the video compression standard based on the identified second aspect ratio of the rectangle further comprises: Based on a decimal of a second height of the second aspect ratio of the identified rectangle being rounded to the nearest power of 2 and the second height of the second aspect ratio of the identified rectangle being shorter than a first height of the first aspect ratio of the block and a second width of the second aspect ratio being wider than a first width of the first aspect ratio, one or more intra prediction directions toward an upper right corner of the identified rectangle are added to the at least one intra prediction direction.
10. A coding method for coding a picture of a projection of a non-planar surface on a planar surface to obtain a coded video sequence, characterized in that: The method comprises: For a block of the picture, obtaining an intra prediction mode indicating an intra prediction direction; determining at least one non-straight curve representing a straight line on the non-planar surface based on the projection and the obtained intra-prediction mode; and For the block, creating a prediction sample along the at least one non-straight curve according to at least one boundary sample along the at least one non-straight curve; performing a backprojection on a block of the picture, the block having a first aspect ratio, the first aspect ratio having a first width and a first height; identifying, based on at least one characteristic of the projection and a location of the block in the picture, a rectangle corresponding to a surface area of the block on the non-planar surface for which the backprojection is performed; rounding a fraction of a second height of a second aspect ratio of the identified rectangle to the nearest power of 2 as defined in a video compression standard for non-square blocks; Based on the decimal of the second height of the second aspect ratio of the identified rectangle being rounded to the nearest power of 2 and the second height of the second aspect ratio of the identified rectangle being shorter than the first height of the first aspect ratio of the block and the second width of the second aspect ratio being wider than the first width of the first aspect ratio, one or more intra-prediction directions toward the lower left corner of the block are removed from at least one intra-prediction direction that can be used to encode the block.
11. A computer device, characterized in that: The computer device comprises: at least one memory configured to store computer program code; and At least one processor configured to access the at least one memory and to operate according to the computer program code to perform the method of any one of claims 1 to 10.
12. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores a program including instructions for causing at least one processor to execute the method according to any one of claims 1 to 10.
13. A device for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface, characterized in that The device is a decoder using intra-frame prediction, and the device includes an obtaining unit, a determining unit and a creating unit: The obtaining unit is used to obtain an intra-frame prediction mode indicating an intra-frame prediction direction for a block of the picture; The determining unit is used to determine at least one non-straight curve representing a straight line on the non-planar surface based on the projection and the obtained intra-frame prediction mode; The creating unit is used to create, for the block, a prediction sample along the at least one non-straight curve determined according to at least one boundary sample along the at least one non-straight curve determined; The determination unit is further configured to perform a back projection on a block of the picture, the block having a first aspect ratio, the first aspect ratio having a first width and a first height; identify a rectangle corresponding to a surface area of the block on which the back projection is performed on the non-planar surface based on at least one characteristic of the projection and a position of the block in the picture; round off a decimal of a second height of a second aspect ratio of the identified rectangle to the nearest power of 2 defined for non-square blocks in a video compression standard; and remove one or more intra-prediction directions toward the lower left corner of the block from at least one intra-prediction direction that can be used to decode the block based on rounding off a decimal of a second height of the second aspect ratio of the identified rectangle to the nearest power of 2 and the second height of the second aspect ratio of the identified rectangle being shorter than the first height of the first aspect ratio of the block and the second width of the second aspect ratio being wider than the first width of the first aspect ratio.
14. A device for decoding a coded image or a coded picture in a coded video sequence into a picture representing a projection of a non-planar surface on a planar surface, characterized in that The device is a decoder using intra-frame prediction, and the device includes a back-projection unit, an identification unit, and an execution unit: The backprojection unit is configured to perform backprojection on a block of the picture, the block having a first aspect ratio; The identification unit is configured to identify, based on at least one characteristic of the projection and the position of the block in the picture, a rectangle corresponding to a surface area of the block on which the backprojection is performed on the non-planar surface; The execution unit is configured to perform one or both of adding and removing from at least one intra-prediction direction that can be used to decode the block according to the first aspect ratio and a video compression standard based on a second aspect ratio of the identified rectangle; Wherein, the execution unit is specifically used for: rounding a fraction of a second height of a second aspect ratio of the identified rectangle to the nearest power of 2 as defined in a video compression standard for non-square blocks; Based on a decimal of a second height of the second aspect ratio of the identified rectangle being rounded to the nearest power of 2 and the second height of the second aspect ratio of the identified rectangle being shorter than a first height of the first aspect ratio of the block and a second width of the second aspect ratio being wider than a first width of the first aspect ratio, removing one or more intra-prediction directions toward a lower left corner of the block from at least one intra-prediction direction available for decoding the block.
Citation Information
Patent Citations
Techniques for intra prediction for 360 image and video coding
US11012710B2
Method and apparatus for omnidirectional video coding with adaptive intra prediction
EP3301931A1
Method and apparatus for omnidirectional video coding with adaptive intra most probable modes
WO2018060329A1
An intra-prediction apparatus for extending a set of predetermined directional intra-prediction modes
WO2018117892A1
