Video encoding method, video decoding method, device and storage medium
By adopting a small block packaging method based on picture groups in video point cloud compression, and processing frames in groups in parallel, the problem of low compression efficiency of dynamic point cloud data is solved, achieving parallel processing of multiple frames and reducing the amount of data.
Patent Information
- Application Number
- CN202180086139.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-10-08
- Filing Date
- 2021-10-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-10-12
AI Technical Summary
Existing video encoding and decoding technology is difficult to effectively compress dynamic point cloud data, resulting in large data volume, low transmission and storage efficiency, and parallel processing of multi-frame videos is limited by inter-frame dependencies, affecting compression efficiency.
A small block packaging method based on Group of Pictures (GoP) is used to group multiple frames into temporally adjacent groups, process the first frame and its dependent frames in parallel, generate an encoded video stream, and restore inter-frame correlation through propagation rules performance, achieving parallel processing of multiple frames.
It improves the efficiency of video point cloud compression, breaks the assumption of inter-frame dependency, realizes parallel processing of multiple frames, reduces data volume and processing complexity, and improves transmission and storage efficiency.
Smart Images

Figure CN116648904B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. Provisional Application No. 63 / 219,237, filed on July 7, 2021, and U.S. Application No. 17 / 497,326, filed on October 8, 2021, the disclosures of which are incorporated herein by reference in their entirety. Technical Field
[0003] The present disclosure relates to a set of advanced video coding techniques, and more particularly to video-based point cloud compression including group of pictures (GoP) based tile packing. Background Art
[0004] Advanced three-dimensional (3D) representations of the world are enabling more immersive interactions and immersive forms of communication. They also allow machines to understand, interpret, and navigate our world. Point clouds are already widely used as 3D representations of the world. For example, they can be used in autonomous vehicles for object detection and localization; in geographic information systems (GIS) for mapping, and in cultural heritage for visualization and archiving of cultural heritage objects and collections, etc. Several use cases associated with point cloud data have been identified, and some corresponding requirements for point cloud representation and compression have been developed.
[0005] A point cloud contains a set of high-dimensional points, such as three dimensions (3D), each of which includes 3D position information and additional attributes such as color, reflectivity, etc. These point clouds can be captured using multiple cameras and depth sensors or lidars in various settings, and can consist of thousands to billions of points to truly represent the original scene.
[0006] Compression techniques are needed to reduce the amount of data required to represent point clouds for faster transmission or reduced storage. ISO / IEC MPEG (JTC 1 / SC 29 / WG 11) has created an ad hoc group (MPEG-PCC) to standardize compression techniques for static or dynamic clouds. Summary of the invention
[0007] In an embodiment, a method for video encoding includes acquiring a plurality of frames including a first frame and remaining frames, wherein each frame in the plurality of frames is packed with a corresponding plurality of small blocks; grouping the remaining frames into a first group and a second group, wherein the frames grouped into the same group are temporally adjacent; processing the first frame; processing the frames in the first group in parallel after processing the first frame; and generating an encoded video stream based on the processed first frame and the processed frames in the first group, wherein at least one frame in the first group depends on the first frame. In addition, a method for video decoding is also provided, the method including: receiving an encoded video stream, the encoded video stream including a first frame and a plurality of frames in the remaining frames; wherein each frame in the plurality of frames is packed with a corresponding plurality of small blocks, the remaining frames are grouped into a first group and a second group, wherein the frames grouped into the same group are temporally adjacent; decoding the first frame from the encoded video stream; decoding the frames in the first group in parallel after decoding the first frame; wherein at least one frame in the first group depends on the first frame.
[0008] In an embodiment, a video encoding device, the device comprising: at least one memory configured to store program code; and at least one processor configured to read the program code and operate according to the instructions of the program code to perform a method according to an embodiment of the present application. In addition, a video encoding device, the device comprising: an acquisition unit, the unit acquires a plurality of frames including a first frame and remaining frames, wherein each of the plurality of frames is packaged with a corresponding plurality of small blocks; a grouping unit, grouping the remaining frames into a first group and a second group, wherein the frames grouped into the same group are temporally adjacent; a processing unit, processing the first frame; a first parallel processing unit, processing the frames in the first group in parallel after the processing unit processes the first frame; and a generation unit, generating an encoded video stream based on the processed first frame and the frames in the processed first group, wherein at least one frame in the first group depends on the first frame.
[0009] In an embodiment, a non-transitory computer-readable medium stores computer instructions for video encoding and decoding, and when the computer instructions are executed by at least one processor, the at least one processor performs the method of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Other features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings, in which:
[0011] Figure 1 is a schematic diagram of a simplified block diagram of a communication system according to an embodiment.
[0012] Figure 2 is a schematic diagram of a simplified block diagram of a streaming system according to an embodiment.
[0013] Figure 3 is a schematic diagram of a simplified block diagram of a video encoder according to an embodiment.
[0014] Figure 4 is a schematic diagram of a simplified block diagram of a video decoder according to an embodiment.
[0015] FIG. 5A to FIG. 5B An example of inter-frame dependency in a global tile allocation (GPA) design according to an embodiment is illustrated.
[0016] Figure 6 An exemplary GoP-based packing of tiles with a group size equal to two frames is illustrated according to an embodiment.
[0017] Figure 7 An exemplary GoP-based packing of tiles with a group size equal to four frames is illustrated according to an embodiment.
[0018] FIG. 8A to FIG. 8B An exemplary propagation of tile correlations to nearest neighboring frames according to an embodiment is illustrated.
[0019] Fig. 9 is a flow chart illustrating a method performed by an embodiment.
[0020] Fig.10 is a diagram illustrating a device according to an embodiment.
[0021] Fig.11 is a diagram of a computer system suitable for implementing the various embodiments. DETAILED DESCRIPTION
[0022] The idea behind video-based point cloud compression (V-PCC) is to leverage existing video codecs to compress the geometry, occupancy, and texture of a dynamic point cloud into three separate video sequences. The additional metadata required to interpret the three video sequences can be compressed separately. A small portion of the entire bitstream is metadata, which can be efficiently encoded / decoded using software implementations. Most of the information can be handled by the video codec.
[0023] Embodiments of the present disclosure relate to annealing iterative geometry smoothing to avoid over-smoothing in an iterative smoothing framework. Embodiments of the present disclosure relate to using a combination of mean and median statistics to derive reference points, aiming to reduce the computational complexity of using pure median statistics.
[0024] refer to Figures 1 to 4, describes an embodiment of a coding and decoding structure for implementing the present disclosure. The coding and decoding structure of the present disclosure can implement various aspects of the above-mentioned V-PCC.
[0025] Figure 1 A simplified block diagram of a communication system 100 according to an embodiment of the present disclosure is illustrated. The system 100 may include at least two terminals 110, 120 interconnected via a network 150. For unidirectional transmission of data, the first terminal 110 may encode video data at a local location for transmission to another terminal 120 via the network 150. The second terminal 120 may receive the encoded video data of the other terminal from the network 150, decode the encoded data and display the recovered video data. Unidirectional data transmission is common in media service applications and the like.
[0026] Figure 1 A second pair of terminals 130, 140 is illustrated, 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 130, 140 may encode video data captured at a local location for transmission to the other terminal via a network 150. Each terminal 130, 140 may also receive encoded video data transmitted by the other terminal, may decode the encoded data, and may display the recovered video data at a local display device.
[0027] exist Figure 1 In the embodiment, the terminals 110-140 can be, for example, servers, personal computers, and smart phones, and / or any other type of terminals. For example, the terminals (110-140) can be laptops, tablet computers, media players, and / or dedicated video conferencing equipment. The network 150 represents any number of networks that transmit encoded video data between the terminals 110-140, including, for example, wired and / or wireless communication networks. The communication network 150 can exchange data in circuit switching and / or packet switching channels. The network may include a telecommunications network, a local area network, a wide area network, and / or the Internet. For the purposes of this application, unless explained below, the architecture and topology of the network 150 may be irrelevant to the operations disclosed in this application.
[0028] As an embodiment of the subject matter of the present disclosure, Figure 2 The video encoder and video decoder are shown in a streaming environment. The disclosed subject matter can be used with other video-enabled applications, including, for example, video conferencing, digital TV, storing compressed video on digital media including CD, DVD, memory stick, etc.
[0029] ]like Figure 2As shown, the streaming system 200 may include a capture subsystem 213, which includes a video source 201 and an encoder 203. The streaming system 200 may further include at least one streaming server 205 and / or at least one streaming client 206.
[0030] For example, a video source 201 may create a stream 202 including a 3D point cloud corresponding to a 3D video. The video source 201 may include, for example, a 3D sensor (e.g., a depth sensor) or a 3D imaging technology (e.g., one or more digital cameras), and a computing device configured to generate a 3D point cloud using data received from the 3D sensor or the 3D imaging technology. The sample stream 202 may be processed by an encoder 203 coupled to the video source 201, and the sample stream 202 may have a high data volume compared to the encoded video stream. The encoder 203 may include hardware, software, or a combination thereof to implement or realize various aspects of the disclosed subject matter as described in more detail below. The encoder 203 may also generate an encoded video stream 204. The encoded video stream 204 may have a lower data volume than the uncompressed stream 202 and may be stored on a streaming server 205 for future use. One or more streaming clients 206 may access streaming server 205 to retrieve video stream 209 , which may be a copy of encoded video stream 204 .
[0031] The streaming client 206 may include a video decoder 210 and a display 212. The video decoder 210 may, for example, decode a video stream 209, which is an incoming copy of an encoded video stream 204, and create an outgoing video sample stream 211 that may be presented on a display 212 or another presentation device (not shown). In some streaming systems, the video streams 204, 209 may be encoded according to certain video encoding / compression standards. Examples of such standards include, but are not limited to, ITU-T Recommendation H.265, Versatile Video Coding (VVC), and MPEG / V-PCC.
[0032] refer to Figure 3 to Figure 4 , some aspects of V-PCC that can be performed by embodiments of the present disclosure are described below.
[0033] Figure 3 An example functional block diagram of the video encoder 203 according to an embodiment of the present disclosure is illustrated.
[0034] like Figure 3As shown, the video encoder 203 may receive one or more point cloud frames 350 and generate a geometry image 352, a texture image 356, and an occupancy map 334 based on the point cloud frame 350. The video encoder 203 may compress the geometry image 352 into a compressed geometry image 362, compress the texture image 356 into a compressed texture image 364, and compress the occupancy map 334 into a compressed occupancy map 372. The multiplexer 328 of the video encoder 203 may form a compressed code stream 374, which includes the compressed geometry image 362, the compressed texture image 364, and the compressed occupancy map 372.
[0035] More specifically, in an embodiment, the video encoder 203 may include a patch generation module 302 that divides the point cloud frame 350 into patches. Patches are useful entities for V-PCC. The patch generation process includes decomposing the point cloud frame 350 into a minimum number of patches with smooth boundaries while also minimizing reconstruction errors. The encoder of the present disclosure may implement various methods to produce such decomposition.
[0036] The video encoder 203 may include a tile packing module 304 that performs a packing process. The packing process includes mapping the extracted tiles onto a 2D grid while minimizing unused space and ensuring that each M×M (e.g., 16×16) block of the grid is associated with a unique tile. Efficient tile packing directly affects compression efficiency by minimizing unused space or ensuring temporal consistency. The tile packing module 304 may generate an occupancy map 334.
[0037] The video encoder 203 may include a geometry image generation module 306 and a texture image generation module 308. To better handle situations where multiple points are projected onto the same sample, each tile may be projected onto two images referred to as layers. For example, the geometry image generation module 306 and the texture image generation module 308 may store the geometry and texture of the point cloud as images (aka "layers") using the 3D to 2D mapping computed during the packing process of the tile packing module 304. The generated images / layers may be stored as one or more video frames and compressed using a video codec (e.g., an HM video codec) according to the configuration provided as a parameter.
[0038] In an embodiment, based on the input point cloud frame 350 and the occupancy map 334, the geometry image generation module 306 generates a geometry image 352, and the texture image generation module 308 generates a texture image 356. In an embodiment, the geometry image 352 may be represented by a monochrome W×H frame in a YUV420-8 bit format. In an embodiment, the occupancy map 334 image consists of a binary map that indicates for each cell of the grid whether the cell belongs to empty space or to a point cloud. To generate the texture image 356, the texture image generation module 308 may utilize the reconstructed / smoothed geometry 358 to calculate the color to be associated with the resampled points.
[0039] The video encoder 203 may also include an image filling module 314 and an image filling module 316 for filling the geometric image 352 and the texture image 356, respectively, to form a filled geometric image 354 and a filled texture image 360. Image filling (also known as "background filling") simply fills unused space of an image with redundant information. A good background filling is a filling that minimally increases the bit rate without introducing significant codec distortion around tile boundaries. The image filling module 314 and the image filling module 316 may use the occupancy map 334 to form the filled geometric image 354 and the filled texture image 360, respectively. In one embodiment, the video encoder 203 may include a group expansion module 320 to form the filled texture image 360.
[0040] The video encoder 203 may include a video compression module 322 and a video compression module 324 for compressing the filled geometry image 354 and the filled texture image 360 into a compressed geometry image 362 and a compressed texture image 364, respectively.
[0041] The video encoder 203 may include an entropy compression module 318 for lossless encoding 366 of the occupancy map 334 , and a video compression module 326 for lossy encoding 368 of the occupancy map 334 .
[0042] In an embodiment, the video encoder 203 may include a smoothing module 310 for generating a smoothed geometric shape 358 by using the reconstructed geometric image 365 provided by the video compression module 322 and the tile information 332. The smoothing process of the smoothing module 310 may be intended to mitigate potential discontinuities that may occur at tile boundaries due to compression artifacts. The smoothed geometric shape 358 may be used by the texture image generation module 308 to generate the texture image 356.
[0043] The video encoder 203 may further include an auxiliary tile information compression module 312 for forming compressed auxiliary tile information 370 provided by the multiplexer 328 in a compressed code stream 374 .
[0044] Figure 4 An example functional block diagram of a video decoder 210 according to an embodiment of the present disclosure is illustrated.
[0045] like Figure 4 As shown, the video decoder 210 may receive the encoded code stream 374 from the video encoder 203 to obtain the compressed texture image 362, the compressed geometric image 364, the compressed occupancy map 372, and the compressed auxiliary tile information 370. The video decoder 210 may decode the compressed texture image 362, the compressed geometric image 364, the compressed occupancy map 372, and the compressed auxiliary tile information 370 to respectively obtain the decompressed texture image 460, the decompressed geometric image 462, the decompressed occupancy map 464, and the decompressed auxiliary tile information 466. Next, the video decoder 210 may generate a reconstructed point cloud 474 based on the decompressed texture image 460, the decompressed geometric image 462, the decompressed occupancy map 464, and the decompressed auxiliary tile information 466.
[0046] In an embodiment, the video decoder 210 may include a demultiplexer 402 that separates the compressed texture image 362 , the compressed geometry image 364 , the compressed occupancy map 372 , and the compressed auxiliary tile information 370 of the received compressed code stream 374 .
[0047] The video decoder 210 may include a video decompression module 404, a video decompression module 406, an occupancy map decompression module 408, and an auxiliary tile information decompression module 410, which respectively decode the compressed texture image 362, the compressed geometry image 364, the compressed occupancy map 372, and the compressed auxiliary tile information 370.
[0048] The video decoder 210 may include a geometry reconstruction module 412 that obtains a reconstructed (three-dimensional) geometry 468 based on the decompressed geometry image 462 , the decompressed occupancy map 464 and the decompressed auxiliary tile information 466 .
[0049] The video decoder 210 may include a smoothing module 414 that smoothes the reconstructed geometry 468 to obtain a smoothed geometry 470. The smoothing process may be intended to mitigate potential discontinuities that may occur at tile boundaries due to compression artifacts.
[0050] The video decoder 210 may include a texture reconstruction module 416 for obtaining a reconstructed texture 472 based on the decompressed texture image 460 and the smoothed geometry 470 .
[0051] The video decoder 210 may include a color smoothing module 418 that smoothes the colors of the reconstructed texture 472 to obtain a reconstructed point cloud 474. Non-adjacent tiles in 3D space are usually crowded together in 2D video. This means that pixel values from non-adjacent tiles may be mixed by a block-based video codec. Color smoothing by the color smoothing module 418 may be intended to reduce visible artifacts that appear at tile boundaries.
[0052] Small Block Packing in Video-based Point Cloud Compression (V-PCC)
[0053] In the MPEG PCC test model category 2 (TMC2) model, which may correspond to V-PCC, the tile packing process attempts to generate geometry and texture maps by efficiently placing the geometry or texture data corresponding to each generated tile onto a 2D grid of size W×H. This placement may also take into account a user-defined minimum size block T×T, which specifies the minimum distance between different tiles placed on the 2D grid. The corresponding value (T) may be encoded and sent to the decoder.
[0054] The packing method in TMC 2 can use the following exhaustive search algorithm:
[0055] Initially, tiles are placed on a 2D grid in a way that guarantees non-overlapping insertion. Samples belonging to a tile (rounded to a value that is a multiple of T) are considered to be occupied tiles.
[0056] Furthermore, the safety measure between neighboring tiles is enforced to be at least one tile distance that is a multiple of T.
[0057] Based on the tile index list, the tiles are processed in an ordered manner. Each tile from the list is iteratively placed on the grid. The grid resolution depends on the original point cloud size, and the original point cloud width (W) and height (H) are transmitted to the decoder.
[0058] In the case where there is no empty space available for the next tile, the height value of the grid is first doubled and the insertion of the tile is evaluated again. If the insertion of all tiles is successful, the height is trimmed to the minimum required value. However, it is not allowed to set this value lower than the value originally specified in the encoder.
[0059] The final values of W and H correspond to the frame resolution used to encode the texture and geometry video signals using an appropriate video codec.
[0060] To generate video compression friendly packing results, a temporally consistent patch ordering method can be used to reorder the patches in the frames generated after the projection stage. A global patch allocation (GPA) packing method can be utilized to improve the temporally consistent packing within a set of frames.
[0061] However, GPA assumes that the temporal correlation is from the most recent frame. Figure 6 , the small blocks in frame T will find their matching small blocks in frame T-1 and / or frame T+1. FIG. 5A to FIG. 5B An example of inter-frame dependency in a global tile allocation (GPA) design according to an embodiment is illustrated. Figure 5A The current frame can depend only on its previous frame, as shown in Figure 5B As shown, the current frame can depend on its previous frame and the next frame. Therefore, frame T cannot be processed before processing frame T-1. In other words, the current frame must wait for its previous frame. This limitation hinders the possibility of parallel processing of multiple frames.
[0062] The embodiments may be used alone or in combination in any order. Further, each of the method (or embodiment), encoder, and decoder may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-volatile computer-readable medium.
[0063] Embodiments may relate to a small tile packing method based on group of pictures (GoP), which may enable parallel processing of multiple frames.
[0064] An example embodiment may proceed as follows:
[0065] • Frames can be divided into groups, where temporally adjacent frames can be placed in the same group.
[0066] o In an embodiment, the size of each group may be set equal. The size may be assumed by both the encoder and decoder, or the size may be signaled in the codestream.
[0067] o In an embodiment, the size of each group may be different. For example, when the packed frame changes are small, a large size may be used. To indicate the size of the next group, GoP level signaling may be used. A predictive signaling method may be used to signal only incremental sizes relative to previous size information.
[0068] Frames in the same group may depend on frames that are not in the group and have already been processed. In this case, frames in the same group may be processed in parallel.
[0069] In an embodiment, the use of GoP-based tile packing can break the original dependency of tiles in the latest frame. However, the unidirectional / bidirectional dependencies (such as FIG. 5A to FIG. 5B shown) can be recovered by certain propagation rules.
[0070] In an embodiment, frames other than the first frame of the sequence may be grouped into groups of every two adjacent frames, such as Figure 6 As shown. First, F0 can be processed independently. F1 and F2 are in the same group, and they depend on the same frame F0. In this case, F0 is not in the group and has been processed before the group. Similarly, F3 and F4 are in the same group, and they depend on the same frame F2. F2 is not in the group and has been processed before the group. Therefore, F1 and F2 can be processed in parallel after processing F0, and F3 and F4 can be processed in parallel after processing F2.
[0071] In an embodiment, frames other than the first frame of the sequence may be grouped into groups of four adjacent frames, such as Figure 7 As shown. First, F0 can be processed independently. Frames from F1 to F4 are in the same group, and they depend on the same frame F0. F0 is not in the group and has been processed before the group. Similarly, frames from F5 to F8 are in the same group, and they depend on the same frame F4. F4 is not in the group and has been processed before the group. Therefore, frames from F1 to F4 can be processed in parallel after processing F0, and frames from F5 to F8 can be processed in parallel after processing F4.
[0072] like FIG. 5A to FIG. 5B As shown, the GoP-based small block packing embodiment can break the assumption that the temporal correlation in the current GPA comes from the most recent frame. Therefore, a propagation method can be applied to restore the small block correlation between the nearest neighboring frames based on the small block correlation derived in the proposed GoP-based small block packing. FIG. 8A to FIG. 8B An example small block correlation propagation to the nearest neighbor frame according to an embodiment is illustrated. Specifically, Fig. 8A illustrates the dependency of small blocks before performing small block tracking propagation, and Figure 8B The diagram illustrates the tile correlation after forming the tile trace propagation.
[0073] Fig. 8A An example is shown in FIG, where GoP-based patch packing is enabled. F1 and F2 are in the same group, and they both depend on F0. Assume that each frame has four patches, P0 to P3. The patch correlation derived by GoP-based patch packing can be found in Fig. 8A As shown in FIG. 1 , the small blocks in F1 find corresponding relationships in F0, and the small blocks in F2 also find corresponding relationships in F0.
[0074] By performing propagation, we can find the small patch correspondence between F1 and F2, such as Figure 8B As shown. For example, P0 in F2 and P0 in F1 are related because they both correspond to P0 in F0. In another example, P1 in F2 and P2 in F1 are related because they both correspond to P1 in F0. In a third example, P2 in F2 and P1 in F1 are related because they both correspond to P2 in F0. In a fourth example, P3 in F2 and P3 in F1 are not related because they cannot find the same correspondence in F0. In this way, if necessary, the small block correspondence between adjacent frames can be predicted from the GoP-based small block packing.
[0075] Fig. 9 is a flow chart of a method 900 for encoding a video stream using a video point cloud codec. In some embodiments, Fig. 9 One or more process blocks of may be performed by encoder 203. In some implementations, Fig. 9 One or more process blocks of may be performed by another device or a group of devices, such as the decoder 210, separate from the encoder 203 or including the encoder 203.
[0076] like Fig. 9 As shown, in operation 910, method 900 may include acquiring a plurality of frames including a first frame and remaining frames, wherein each frame in the plurality of frames is packed with a corresponding plurality of small blocks. In some embodiments, the first frame may correspond to F0 discussed above.
[0077] In operation 920, method 900 may include grouping the remaining frames into a first group and a second group, wherein the frames grouped into the same group may be adjacent in time. In an embodiment, the first group may correspond to group 0 discussed above, and the second group may correspond to group 1 discussed above. In some embodiments, the remaining frames may be grouped such that at least one frame in the first group may depend on the first frame, at least one frame in the second group may depend on a frame in the first group, and no frame in the second group depends on the first frame.
[0078] At operation 930 , method 900 may include processing the first frame.
[0079] In operation 940, method 900 may include processing frames in the first group in parallel after processing the first frame. In an embodiment, parallel processing may include processing one or more frames in the first group in parallel with each other.
[0080] In operation 950 , method 900 may include generating an encoded video stream based on the processed first frame, the processed first group, and the processed second group.
[0081] In an embodiment, method 900 may include processing frames in the second group in parallel after processing the first group, and the encoded video stream may be further generated based on the processed frames in the second group. In an embodiment, parallel processing may include processing one or more frames in the second group in parallel with each other.
[0082] In an embodiment, the size of the first group and the size of the second group may be equal sizes.
[0083] In an embodiment, equal sizes may be signaled in the encoded video stream.
[0084] In an embodiment, the size of the first group may be different from the size of the second group.
[0085] In an embodiment, the size of the first group may be signaled in the encoded video stream, and the difference between the size of the first group and the size of the second group may be signaled in the encoded video stream.
[0086] In an embodiment, the method may further include determining at least one of the following: a first small block correspondence between the small blocks included in the first group and a second small block correspondence between the small blocks included in the second group, and an encoded video code stream may be generated based on at least one of the first small block correspondence and the second small block correspondence.
[0087] although Fig. 9 An example block diagram of method 900 is shown, but in some embodiments, method 900 may include comparing Fig. 9 The blocks depicted in the method 900 may be more blocks, fewer blocks, different blocks, or differently arranged blocks. Additionally or alternatively, two or more of the blocks of the method 900 may be executed in parallel.
[0088] Fig.10 FIG. 1 is a diagram of an apparatus 1000 for encoding a video bitstream using video point cloud codec according to an embodiment. Fig.10 As shown, the apparatus 800 includes an acquisition code 1010 , a grouping code 1020 , a processing code 1030 , a first parallel processing code 1040 , and a generation code 1050 .
[0089] The acquisition code 1010 may be configured to cause at least one processor to acquire a plurality of frames including a first frame and remaining frames, wherein each of the plurality of frames is packed with a corresponding plurality of small blocks. In an embodiment, the first frame may correspond to F0 discussed above.
[0090] The grouping code 1020 may be configured to cause at least one processor to group the remaining frames into a first group and a second group, wherein the frames grouped into the same group may be adjacent in time. In an embodiment, the first group may correspond to the group 0 discussed above, and the second group may correspond to the group 1 discussed above. In an embodiment, the remaining frames may be grouped such that at least one frame in the first group may depend on the first frame, at least one frame in the second group may depend on the frame in the first group, and no frame in the second group may depend on the first frame.
[0091] The processing code 1030 may be configured to cause at least one processor to process the first frame.
[0092] The first parallel processing code 1040 may be configured to cause at least one processor to process the first group in parallel after processing the first frame. In an embodiment, the parallel processing may include processing one or more frames in the first group in parallel with each other.
[0093] The generation code 1050 may be configured to cause at least one processor to generate an encoded video stream based on the processed first frame, the processed first group, and the processed second group.
[0094] In an embodiment, the device 1000 may further include code configured to cause at least one processor to process the second group in parallel after processing the first group, and a coded video stream may be generated based on the frames in the processed second group. In an embodiment, the parallel processing may include processing one or more frames in the second group in parallel with each other.
[0095] The above techniques may be implemented as computer software via computer-readable instructions and physically stored in one or more computer-readable media. Fig.11 A computer system (1100) is shown that is suitable for implementing certain embodiments of the present disclosure.
[0096] The computer software may be encoded in any suitable machine code or computer language, and may be assembled, compiled, linked, or other mechanisms to create a code comprising instructions, which may be directly executed by a computer central processing unit (CPU), graphics processing unit (GPU), or the like, or executed by decoding, microcode, or the like.
[0097] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablets, servers, smartphones, gaming devices, IoT devices, etc.
[0098] Fig.11The components shown for the computer system (1100) are exemplary and are not intended to limit the scope of use or functionality of the computer software implementing the embodiments of the present application. The configuration of the components should not be interpreted as having any dependency or requirement on any component or combination of components shown in the exemplary embodiment of the computer system (1100).
[0099] The computer system (1100) may include certain human-computer interface input devices. Such human-computer interface input devices may respond to input from one or more human users through tactile input (e.g., keyboard input, sliding, data glove movement), audio input (e.g., sound, applause), visual input (e.g., gestures), and olfactory input (not shown). The human-computer interface devices may also be used to capture certain media that are not necessarily directly related to conscious human input, such as audio (e.g., speech, music, ambient sound), images (e.g., scanned images, photographic images obtained from a still image camera), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).
[0100] The human-computer interface input device may include one or more of the following (only one of which is drawn): keyboard (1101), mouse (1102), touchpad (1103), touch screen (1110), data gloves (not shown), joystick (1105), microphone (1106), scanner (1107), camera (1108).
[0101] The computer system (1100) may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate one or more human user senses through, for example, tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include tactile output devices (e.g., tactile feedback through a touch screen (1110), a data glove (not shown), or a joystick (1105), but there may also be tactile feedback devices that are not used as input devices), audio output devices (e.g., speakers (1109), headphones (not shown)), visual output devices (e.g., screens (1110) including cathode ray tube screens, liquid crystal screens, plasma screens, organic light emitting diode screens, each of which has or does not have a touch screen input function, each of which has or does not have a tactile feedback function - some of which may output two-dimensional visual output or output of more than three dimensions through means such as stereoscopic image output; virtual reality glasses (not shown), holographic displays, and smoke boxes (not shown)) and printers (not shown).
[0102] The computer system (1100) may also include human-accessible storage devices and their associated media, such as optical media including high-density read-only / rewritable optical disks (CD / DVD ROM / RW) (1120) with CD / DVD or similar media (1121), thumb drives (1122), removable hard disk drives or solid state drives (1123), traditional magnetic media such as tapes and floppy disks (not shown), special-purpose ROM / ASIC / PLD-based devices such as security software protectors (not shown), and the like.
[0103] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the disclosed subject matter does not include transmission media, carrier waves, or other transient signals.
[0104] The computer system (1100) may also include an interface to one or more communication networks. For example, the network may be wireless, wired, or optical. The network may also be a local area network, a wide area network, a metropolitan area network, an in-vehicle network, an industrial network, a real-time network, a delay-tolerant network, and the like. The network also includes local area networks such as Ethernet, wireless local area networks, cellular networks (GSM, 3G, 4G, 5G, LTE, etc.), television wired or wireless wide area digital networks (including cable television, satellite television, and terrestrial broadcast television), in-vehicle and industrial networks (including CANBus), and the like. Some networks typically require an external network interface adapter for connecting to some universal data ports or peripheral buses (1149) (e.g., a USB port of the computer system (1100)); other systems are typically integrated into the core of the computer system (1100) by connecting to a system bus as described below (e.g., an Ethernet interface integrated into a PC computer system or a cellular network interface integrated into a smart phone computer system). By using any of these networks, the computer system (1100) can communicate with other entities. The communication can be one-way, for receiving only (e.g., wireless television), one-way for sending only (e.g., CAN bus to certain CAN bus devices), or two-way, such as to other computer systems via a local or wide area digital network. Each of the above networks and network interfaces can use certain protocols and protocol stacks.
[0105] The above-mentioned human-machine interface devices, human-accessible storage devices, and network interfaces may be connected to the core (1140) of the computer system (1100).
[0106] The core (1140) may include one or more central processing units (CPUs) (1141), graphics processing units (GPUs) (1142), dedicated programmable processing units in the form of field programmable gate arrays (FPGAs) (1143), hardware accelerators for specific tasks (1144), etc. These devices, as well as read-only memory (ROM) (1145), random access memory (1146), internal mass storage (e.g., internal non-user accessible hard disk drives, solid-state drives, etc.) (1147), etc., may be connected via a system bus (1148). In some computer systems, the system bus (1148) may be accessed in the form of one or more physical plugs so that it can be expanded by additional central processing units, graphics processing units, etc. Peripheral devices may be directly attached to the core's system bus (1148), or connected via a peripheral bus (1149). The architecture of the peripheral bus includes PCI, USB, etc.
[0107] The CPU (1141), GPU (1142), FPGA (1143) and accelerator (1144) can execute certain instructions, which can be combined to form the above-mentioned computer code. The computer code can be stored in ROM (1145) or RAM (1146). Transition data can also be stored in RAM (1146), while permanent data can be stored in, for example, internal mass storage (1147). Fast storage and retrieval of any memory device can be achieved by using a cache memory, which can be closely associated with one or more CPUs (1141), GPUs (1142), mass storage (1147), ROMs (1145), RAMs (1146), etc.
[0108] The computer readable medium may have computer code thereon for performing various computer-implemented operations. The medium and computer code may be specially designed and constructed for the purpose of this application, or may be medium and code well known and available to those skilled in the art of computer software.
[0109] As an example and not a limitation, a computer system having an architecture (1100), in particular a core (1140), can provide the function of executing software contained in one or more tangible computer-readable media as a processor (including a CPU, a GPU, an FPGA, an accelerator, etc.). Such a computer-readable medium can be a medium associated with the above-mentioned user-accessible mass storage, as well as a specific memory of the core (1140) having non-volatility, such as a core internal mass storage (1147) or a ROM (1145). Software implementing various embodiments of the present application can be stored in such a device and executed by the core (1140). Depending on specific needs, the computer-readable medium may include one or more storage devices or chips. The software can enable the core (1140), in particular the processor therein (including a CPU, a GPU, an FPGA, etc.) to perform a specific process or a specific part of a specific process described herein, including defining a data structure stored in the RAM (1146) and modifying such a data structure according to a software-defined process. Additionally or alternatively, the computer system may provide functionality hardwired in logic or otherwise contained in circuitry (e.g., accelerator (1144)) 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 circuitry (e.g., an integrated circuit (IC)) storing the executing software, circuitry containing the executing logic, or both. The present application includes any suitable combination of hardware and software.
[0110] Although the present application has described a number of exemplary embodiments, various changes, arrangements and various equivalent substitutions of the embodiments are within the scope of the present application. Therefore, it should be understood that those skilled in the art can design a variety of systems and methods, which, although not explicitly shown or described herein, embody the principles of the present application and are therefore within the spirit and scope of the present application.
Claims
1. A video encoding method, characterized in that: The method comprises: Acquire a plurality of frames including a first frame and remaining frames, wherein each frame of the plurality of frames is packed with a corresponding plurality of small blocks; grouping the remaining frames into a first group and a second group, wherein the frames grouped into the same group are adjacent in time; processing the first frame; Processing frames in the first group in parallel after processing the first frame, wherein processing of any frame in the first group is independent of other frames in the first group; and generating an encoded video stream based on the processed first frame and the processed frames in the first group, wherein at least one frame in said first group is dependent on said first frame; processing the frames in the second group in parallel after processing the first group, wherein the processing of any frame in the second group is independent of other frames in the second group, wherein at least one frame of the second group is dependent on a frame of the first group, wherein the processing of any frame in the second group does not depend on the first frame, and The encoded video code stream is generated based on the processed frames in the second group.
2. The method according to claim 1, characterized in that The number of frames of the first group and the number of frames of the second group are equal.
3. The method according to claim 2, characterized in that An equal number of frames is signaled in the encoded video stream.
4. The method according to claim 1, characterized in that: The number of frames of the first group is different from the number of frames of the second group.
5. The method according to claim 4, characterized in that signaling the number of frames of the first group in the encoded video stream, and The difference between the number of frames in the first group and the number of frames in the second group is signaled in the encoded video stream.
6. The method according to claim 1, characterized in that Further comprising determining at least one of the following: a first small block correspondence relationship between the small blocks included in the first group, and a second small block correspondence relationship between the small blocks included in the second group, The encoded video code stream is generated based on at least one of the first small block correspondence relationship and the second small block correspondence relationship.
7. The method according to claim 1, characterized in that The processing of the first frame comprises: dividing the first frame into a plurality of small blocks; Packing each of the plurality of small blocks and generating an occupancy map; wherein the packing includes mapping the plurality of small blocks onto a two-dimensional grid, and the occupancy map indicates for each unit of the two-dimensional grid whether the unit belongs to a blank space or a point cloud; Based on the first frame and the occupancy map, generating a geometric image and a texture image corresponding to the first frame, wherein each of the plurality of small blocks is projected onto the geometric image and the texture image; The occupancy map, the geometry image, and the texture image are compressed.
8. A method for video decoding, characterized in that: The method comprises: Receiving an encoded video stream, the encoded video stream comprising a first frame and a plurality of frames of remaining frames; wherein each of the plurality of frames is packed with a corresponding plurality of small blocks, the remaining frames are grouped into a first group and a second group, wherein the frames grouped into the same group are adjacent in time; Decoding the first frame from an encoded video stream; Decoding frames in the first group in parallel after decoding the first frame, wherein decoding of any frame in the first group is independent of other frames in the first group; wherein at least one frame in said first group is dependent on said first frame; decoding frames in the second group in parallel after decoding the first group, wherein processing of any frame of the second group is independent of other frames of the second group, wherein at least one frame of the second group is dependent on a frame of the first group, The decoding of any frame in the second group does not depend on the first frame.
9. The method according to claim 8, characterized in that Decoding the first frame from the encoded video stream comprises: Obtaining a compressed texture image, a compressed geometric image, and a compressed occupancy map corresponding to the first frame from the encoded video stream; Decompressing the compressed texture image, the compressed geometric image, and the compressed occupancy map to obtain a decompressed texture image, a decompressed geometric image, and a decompressed occupancy map; reconstructing a geometric shape corresponding to the first frame based on the decompressed texture image, the decompressed geometric image, and the decompressed occupancy map; The texture corresponding to the first frame is reconstructed based on the decompressed texture image and the geometric shape.
10. A video encoding and decoding device, the device comprising: at least one memory configured to store program code; and At least one processor is configured to read the program code and operate according to instructions of the program code to execute the method according to any one of claims 1 to 9.
11. A video encoding device, the device comprising: An acquisition unit, the unit acquiring a plurality of frames including a first frame and remaining frames, wherein each frame of the plurality of frames is packed with a corresponding plurality of small blocks; a grouping unit, grouping the remaining frames into a first group and a second group, wherein the frames grouped into the same group are adjacent in time; A processing unit, processing the first frame; a first parallel processing unit, which processes frames in the first group in parallel after the processing unit processes the first frame, wherein the processing of any frame in the first group is independent of other frames in the first group; as well as a generating unit, generating an encoded video stream based on the processed first frame and the processed frames in the first group, wherein at least one frame in said first group is dependent on said first frame; processing the frames in the second group in parallel after processing the first group, wherein the processing of any frame in the second group is independent of other frames in the second group, wherein at least one frame of the second group is dependent on a frame of the first group, wherein the processing of any frame in the second group does not depend on the first frame, and The encoded video code stream is generated based on the processed frames in the second group.
12. A video decoding device, characterized in that: The device comprises: A receiving unit receives an encoded video code stream, wherein the encoded video code stream includes a first frame and a plurality of frames of remaining frames; wherein each of the plurality of frames is packed with a corresponding plurality of small blocks, and the remaining frames are grouped into a first group and a second group, wherein the frames grouped into the same group are adjacent in time; A first decoding unit, decoding the first frame; a second decoding unit, configured to decode frames in the first group in parallel after the first decoding unit decodes the first frame, wherein decoding of any frame in the first group is independent of other frames in the first group; wherein at least one frame in said first group is dependent on said first frame; decoding frames in the second group in parallel after decoding the first group, wherein processing of any frame of the second group is independent of other frames of the second group, wherein at least one frame of the second group is dependent on a frame of the first group, The decoding of any frame in the second group does not depend on the first frame.
13. A non-transitory computer-readable medium, characterized in that A computer instruction for video coding and decoding is stored, and when the computer instruction is executed by at least one processor, the at least one processor executes the method according to any one of claims 1 to 9.
14. A method for processing a video bitstream, characterized in that: The video bit stream is encoded according to the encoding method according to any one of claims 1-7, or decoded based on the decoding method according to any one of claims 8-9.
Citation Information
Patent Citations
Point cloud viewpoint and scalable compression / decompression
US20200043182A1
Method and apparatus for obtaining global matched patch
US20210029381A1
Method and apparatus for point cloud coding
US20210168386A1
