A method, system, device and storage medium for rate-distortion optimization of geometric video
By introducing the human visual system into geometry video point cloud compression and using saliency measures to optimize the encoding of geometry videos, the problems of visual redundancy and rate distortion in geometry videos are solved, and the coding performance and subjective quality of point cloud videos are improved.
Patent Information
- Application Number
- CN202410727340.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-06
AI Technical Summary
During the video point cloud compression process, existing technologies are difficult to effectively reduce visual redundancy and rate distortion in geometric videos, especially due to improper processing of unoccupied pixels, which leads to reduced coding performance, and human visual characteristics are not fully considered.
Generate occupancy maps, geometry videos and attribute videos of point cloud data through patch projection, use similarity judgment and saliency measurement formulas to extract salient image blocks, calculate the rate distortion cost of decoding tree units, introduce the human visual system, and optimize Encoding process for geometric videos that reduces rate distortion in high-saliency regions.
It effectively reduces the visual redundancy of geometric videos, improves the subjective quality and coding performance of point cloud videos, and improves the reconstruction quality of point cloud videos, making it more suitable for human viewing.
Smart Images

Figure CN118301352B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rate-distortion optimization, and in particular to a rate-distortion optimization method, system, device and storage medium for geometric video. Background Art
[0002] In the process of video-based point cloud compression (V-PCC), the dynamic point cloud is often first converted into a 2D video (several frames of 2D images) through a patch projection method; when these patches are packed into 2D images, geometric videos (several frames of geometric images) and attribute videos (several frames of attribute images) are generated respectively; since patches usually have irregular shapes, an occupancy map is generated to indicate whether a pixel in the 2D image belongs to the patch; then the occupancy map, geometric video and attribute video are compressed through a video decoder, such as High Efficiency Video Coding (HEVC) and Versatile Video Coding (VCC).
[0003] In HEVC / VVC, the encoder first divides the input video sequence into coding tree units (CTUs), selects intra-frame or inter-frame prediction mode for each CTU, and calculates the prediction residual. Since there are usually a large number of zero values in the residual, coding compression can reduce redundant information and achieve effective compression. CTU usually consists of luma CTB (Coding Tree Block), chroma CTB and corresponding syntax elements. CTU can usually be divided into several CUs (coding units) of different sizes.
[0004] Reducing the bit rate (bit rate) of video decoding usually increases the distortion of the video, while reducing the distortion of the video increases the bit rate of video decoding. Therefore, how to reduce the distortion as much as possible while maintaining the target bit rate is an important issue to consider when decoding videos. The video decoding optimization problem can also be called the rate-distortion optimization problem, which can be described by a mathematical expression:
[0005] ;
[0006] in, represents the distortion of the video sequence, Indicates the number of bits consumed by video decoding. Indicates the target bit rate.
[0007] In HEVC / VVC, the above constraint problem is often converted into an unconstrained optimization problem through the Lagrangian factor, and the relationship between distortion and bit rate is adjusted through the Lagrangian factor.
[0008] At the same time, since the human eye, as the final receiver of video content, cannot accurately perceive all distortions in images and video signals, the human visual system (HVS) has the potential to play an important role in order to keep the bit rate within the constraint range and make the subjective quality of the reconstructed point cloud higher. However, there are still few such studies, which makes it impossible to effectively reduce visual redundancy in videos.
[0009] In addition, the rate-distortion optimization (RDO) technology was originally designed for natural videos and did not take into account the characteristics of projected point cloud videos. In particular, there are a large number of unoccupied pixels in geometric videos. Although the distortion of these pixels does not affect the quality of the reconstructed point cloud, traditional RDO schemes often treat them the same as other pixels, reducing the rate-distortion performance of point cloud video encoding. Summary of the invention
[0010] The object of the present invention is to provide a method, system, device and storage medium for rate-distortion optimization of geometric video to solve at least one of the above-mentioned technical problems existing in the prior art.
[0011] In a first aspect, in order to solve the above technical problems, the present invention provides a rate-distortion optimization method for geometric video, comprising:
[0012] Step 1: Generate an occupancy map, a geometric video and an attribute video of the point cloud data by patch projection according to the input point cloud data; the geometric video includes a set of image blocks of several frames of geometric images;
[0013] Step 2: Based on any image block in the image block set, determine a number of similar image blocks in the image block set through similarity judgment, and construct a similar image block subset;
[0014] Step 3: in the similar image block subset, the difference measurement formula is used to calculate the difference measurement between the image block and the similar image block; based on the difference measurement, the significance measurement of the image block is determined by the significance measurement formula, and the significance extraction is performed to obtain the significant image block;
[0015] Step 4: Based on the salient image block, determine the saliency of the corresponding decoding tree unit; calculate the rate-distortion cost of the decoding tree unit through the rate-distortion optimization formula, so as to achieve rate-distortion optimization.
[0016] Through the above process, the spatial saliency extraction method can be used to effectively describe the area that the human eye pays attention to in the point cloud geometric video, thereby introducing the human visual system into the rate-distortion optimization and effectively reducing the visual redundancy in the geometric video.
[0017] In a feasible implementation manner, the similarity judgment method in step 2 includes: selecting a preset number of image blocks having the smallest brightness difference with the current image block from the image block set.
[0018] Preferably, the preset number is 256.
[0019] In a feasible implementation, the significance metric includes premise principles, and the premise principles include:
[0020] Principle 1: When the current pixel (e.g., contrast, color value, etc.) is significantly different from other pixels, the current pixel is significant;
[0021] Principle 2: Suppress frequently appearing features in the entire image and highlight abnormal features;
[0022] Principle 3: Group the salient pixels in the entire image into one group to avoid spreading the salient pixels throughout the image.
[0023] Among them, principles 1-2 explain: when extracting saliency, we should not consider isolated pixel blocks (image blocks), but the pixel blocks around the pixel blocks. When a pixel block is significantly different from other pixel blocks, it can be considered as salient to obtain complete contextual information; principle 3 explains: the position distance between pixel blocks is an important factor in judging saliency. The salient parts tend to be clustered together, while the insignificant pixel blocks may have many similar pixel blocks at different positions in the image. When there are other similar pixel blocks near the pixel block, the pixel block will be more salient, and when the similar pixel blocks are far away, its saliency will be weakened;
[0024] Through the above premise principles, a context-based saliency extraction method can be obtained, which is conducive to extracting the saliency of geometric videos more accurately and comprehensively;
[0025] In a feasible implementation manner, the specific formula of the difference measurement may be:
[0026] ;
[0027] in, Indicates Image blocks With Image blocks The difference value between Indicates Image blocks With Image blocks The Euclidean distance between the brightness components after normalization; Indicates Image blocks With Image blocks The normalized Euclidean distance between the spatial positions; represents the control coefficient;
[0028] Through the above formula, the brightness component difference (corresponding to principles 1-2) and the spatial position difference (corresponding to principle 3) between image blocks can be introduced into the difference measurement calculation;
[0029] The reason for designing the formula in this way is that the brightness component comes from the brightness channels of different geometric images, and the projection depth information of the point cloud video is stored in the brightness channel. In this way, the well-known characteristic that the human eye is highly sensitive to changes in spatial depth can be utilized, and the areas with obvious changes in spatial depth are regarded as high-saliency areas, and the areas with insignificant changes in spatial depth are regarded as low-saliency areas, thereby effectively determining the areas in the point cloud video that the human eye pays attention to, and thus making the decoding effect of the point cloud video more suitable for human viewing.
[0030] In a feasible implementation manner, the control coefficient The value of is 3.
[0031] In a feasible implementation manner, the specific formula of the significance measurement may be:
[0032] ;
[0033] in, Indicates that it contains pixels The size scale is The saliency value of the image patch; Indicates the x-axis coordinate value of the pixel; Indicates the y-axis coordinate value of the pixel; Represents the preset number of most similar image patches; Indicates the size scale is The Image blocks With Image blocks The difference measure between them; in this way, for each image block, a preset number of the most similar image blocks can be searched for difference comparison based on the difference measure value, without comparing all similar image blocks one by one (because if the most similar image blocks have large differences, then all similar image blocks must have large differences), thereby greatly improving the computing efficiency.
[0034] In a feasible implementation manner, the The value is 256, which has better effect of saliency extraction and higher computational efficiency.
[0035] In a feasible implementation manner, the The value is 4, which means that the image block of 4*4 pixels is used as the basic unit of image processing.
[0036] In a feasible implementation, the saliency value of unoccupied pixels is set to 0, that is, the saliency of unoccupied pixels is not extracted, so that the unoccupied pixels can be eliminated in subsequent processing, thereby improving the rate-distortion performance of point cloud video encoding.
[0037] In a feasible implementation manner, the significance value of the CTU is determined based on the average of the significance values of the pixels in the image block.
[0038] In a feasible implementation manner, the step 3 specifically includes:
[0039] Step 31: Down-sampling the image blocks in the similar image block subset to obtain image blocks reduced according to a preset ratio;
[0040] Step 32: Calculate the difference measure between the image block and the similar image block by using the difference measure formula;
[0041] Step 33: Based on the difference measurement, determine the significance measurement of the image block through a significance measurement formula, perform significance extraction, and obtain a significant image block;
[0042] Step 34: up-sample the salient image block to obtain an image block of the original scale, thereby obtaining a saliency value of each pixel in the original image block;
[0043] Through the above steps, the amount of calculation can be greatly reduced, thereby effectively reducing the time complexity of saliency extraction without having a significant impact on the detection results.
[0044] In a feasible implementation manner, the preset ratio is 4 times.
[0045] In a feasible implementation, step 32 further includes: based on the occupancy map, calculating the difference measure for each patch in the geometric image one by one; this can avoid the difference measure deviation caused by different patches corresponding to different projection planes, thereby avoiding the problems of decreased accuracy and increased time complexity of subsequent saliency extraction.
[0046] In a feasible implementation, step 4 includes: determining whether the CTU is a significant CTU based on a significance metric of the significant image block, and calculating the rate-distortion cost of the CTU only for the significant CTU using a rate-distortion optimization formula.
[0047] In a feasible implementation manner, the step 4 includes: determining a saliency metric of the CTU based on a saliency metric of the saliency image block; and calculating a rate-distortion cost of the CTU through a rate-distortion optimization formula based on the saliency metric of the CTU.
[0048] In a feasible implementation manner, the rate-distortion optimization formula may specifically be:
[0049] ;
[0050] in, represents the rate-distortion cost or Lagrangian cost (RD-cost) of CTU, Indicates CTU-level distortion; represents the Lagrangian factor; Indicates the number of bits consumed by video decoding.
[0051] In a feasible implementation manner, the specific formula of the significance measurement also includes:
[0052] ;
[0053] in, Indicates The significance value of each CTU; Indicates the number of occupied pixels in the current CTU; Indicates the size of the largest CTU: For example, in HEVC, is 63, corresponding to the maximum CTU size of 64; while in VVC, is 127, corresponding to the maximum CTU size of 128;
[0054] ;
[0055] in, Represents the average visual importance value of the current frame; Indicates the number of CTUs occupied in the current frame;
[0056] ;
[0057] in, Indicates The geometry visual sensitivity factor (GVS) value of a CTU is: When it is less than 1, it means CTU belongs to the non-salient area, that is, the human eye is not sensitive to this area; when When it is greater than or equal to 1, it means CTU belongs to the salient area, that is, the human eye pays more attention to this area; Represents the intensity factor of the geometric vision sensitivity factor, that is, the scaling range of the geometric vision sensitivity factor.
[0058] The above three formulas are designed because in the HEVC encoding process, the bit rate and distortion are often weighed by adjusting the encoding parameters of each CTU in a frame, that is, each CTU is encoded by the same Lagrangian factor to obtain the optimal rate-distortion performance. However, different CTUs have different visual importance to the human eye, and the visual characteristics of the human eye are not considered in the CTU-level rate-distortion optimization process of HEVC. Therefore, in order to improve the subjective quality of the reconstructed point cloud, this application uses the extracted spatial saliency to measure the visual importance of each CTU in the geometric video, and then adopts different optimization strategies for different CTUs to achieve accurate visual perception encoding; by calculating through the above three formulas in turn, the visual importance of each CTU can be measured.
[0059] In a feasible implementation, a syntax element at the CTU level may be set to indicate whether the current CTU belongs to a significant CTU. The syntax element may be encoded into a compressed bit stream so as to be parsed at a decoding end. By parsing the syntax element, the decoding end may determine that the current CTU belongs to a significant CTU, so as to perform processing that is beneficial to visual presentation on the significant CTU, such as enhancement processing, etc., thereby improving the visual presentation effect of the point cloud data associated with the significant CTU.
[0060] In a feasible implementation manner, the rate-distortion optimization formula can also be expressed as:
[0061] ;
[0062] in, Represents the CTU-level perceptual distortion metric; Indicates CTU-level distortion, and only takes occupied pixels into account; Represents the weighting coefficient, which is closely related to the content of the geometric video, and a larger weighting coefficient means a smaller coding distortion. It can be defined by the sigmoid function. The specific calculation formula can be:
[0063] ;
[0064] in, Indicates the encoding quality of the salient area, Indicates the encoding quality of non-salient areas, Indicates the rate of change of coding quality from non-salient area to salient area; Indicates the geometric visual sensitivity factor value of CTU: When it is greater than or equal to 1, it means that the current CTU belongs to the visually salient area. will be greater than or equal to 1, the CTU should achieve higher encoding quality; When it is less than 1, it means that the current CTU belongs to the visual non-salient area. will be less than 1, the CTU will get greater distortion;
[0065] Preferably, according to experience, , and ;
[0066] ;
[0067] in, Indicates Perceptual distortion metric for each CTU; Indicates The number of bits consumed by a CTU during video decoding; Indicates the number of occupied pixels in the current CTU; Represents a set of all optional decoding modes; Indicates The rate-distortion cost of each CTU;
[0068] The above three formulas are designed because in point cloud video, unoccupied pixels have no associated points in the point cloud. Therefore, in the rate-distortion optimization process, this application sets the distortion of unoccupied pixels to 0, and only considers the distortion effect of occupied pixels. Reducing the encoding distortion of CTUs with higher visual importance will help improve perceptual coding performance. Therefore, a CTU-level perceptual distortion metric is defined and the rate-distortion optimization formula is improved.
[0069] In a feasible implementation manner, the rate-distortion optimization formula can be further derived as follows:
[0070] ;
[0071] in, Indicates Distortion of each CTU; Indicates The weighting coefficient of each CTU;
[0072] make: ;
[0073] in, Indicates The final Lagrangian factor value of a CTU: If the current CTU belongs to a significant area, then Greater than or equal to 1, resulting in the current CTU The value decreases, thereby reducing the distortion of the current CTU; if the current CTU belongs to a non-significant area, then Less than 1, resulting in the current CTU The value increases, thereby increasing the distortion of the current CTU, thereby reducing the encoding quality of the current CTU; in particular, The same value for the current CTU, regardless of changes with the changes of.
[0074] Through the above two formulas, the adjustable weighting coefficient can be transferred to the Lagrangian factor. Therefore, as long as the Lagrangian factor of the current CTU is adjusted, the rate-distortion optimization can be improved and a better video encoding effect can be achieved.
[0075] In a second aspect, based on the same inventive concept, the present application also provides a rate-distortion optimization system for geometric video, including a data receiving module, a data processing module and a result generating module;
[0076] The data receiving module is used to receive input point cloud data;
[0077] The data processing module includes an image block set unit, a similar image block unit, a significant image block unit and a rate-distortion optimization unit;
[0078] The image block set unit is used to generate an occupancy map, a geometric video and an attribute video of the point cloud data by patch projection according to the input point cloud data; the geometric video includes an image block set of several frames of geometric images;
[0079] The similar image block unit determines a number of similar image blocks in the image block set based on any image block in the image block set by similarity judgment, and constructs a similar image block subset;
[0080] The significant image block unit calculates the difference measure between the image block and the similar image block in the similar image block subset by using the difference measure formula; based on the difference measure, determines the significance measure of the image block by using the significance measure formula, performs significance extraction, and obtains the significant image block;
[0081] The rate-distortion optimization unit determines the saliency of the corresponding decoding tree unit based on the saliency image block; and calculates the rate-distortion cost of the decoding tree unit through a rate-distortion optimization formula;
[0082] The result generation module is used to send out the rate distortion cost of the decoding tree unit.
[0083] On the third aspect, based on the same inventive concept, the present application also provides a rate-distortion optimization device for geometric video, including a processor, a memory and a bus, wherein the memory stores instructions and data that can be read by the processor, and the processor is used to call the instructions and data in the memory to execute the rate-distortion optimization method for geometric video as described above, and the bus connects the functional components for transmitting information.
[0084] In a fourth aspect, based on the same inventive concept, the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the rate-distortion optimization method of the geometric video as described above is implemented.
[0085] By adopting the above technical solution, the present invention has the following beneficial effects:
[0086] The present invention provides a rate-distortion optimization method, system, device and storage medium for geometric video, which introduce the human visual system into the rate-distortion optimization method, distinguish significant areas based on saliency video decoding, and reduce the rate-distortion of high-saliency areas, thereby effectively improving the subjective quality of point cloud compression; this application mainly processes occupied pixels and improves the rate-distortion performance of point cloud video encoding. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0088] Figure 1 A flow chart of a rate-distortion optimization method for geometric video provided by an embodiment of the present invention;
[0089] Figure 2 for Figure 1 Specific flow chart of step 3 in ;
[0090] Figure 3 for Figure 1 An example diagram illustrating the occupancy map referenced in step 3;
[0091] Figure 4 A rate-distortion optimization system diagram for geometric video provided by an embodiment of the present invention;
[0092] Reference numerals:
[0093] 1-Original image patch; 2-Occupancy map; 3-Saliency image patch. DETAILED DESCRIPTION
[0094] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0095] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0096] In the description of the present invention, the terms "component", "module", "system", etc. are intended to refer to computer-related entities, such as but not limited to hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be but not limited to: a process running on a processor, a processor, an object, an executable, an execution thread, a program, and / or a computer. For example, an application running on a computing device and the computing device can both be components. One or more components can be located within an execution process and / or an execution thread, and a component can be located on one computer and / or distributed on two or more computers. In addition, these components can be executed from various computer-readable media with various data structures stored thereon. Components can communicate by means of local and / or remote processes, such as according to signals having one or more data packets, such as data from a component that interacts with another component in a local system, a distributed system, and / or interacts with other systems by means of signals on a network such as the Internet.
[0097] In the description of the present invention, “CTU partition” and “CU partition” may be used interchangeably, “coding block”, “CU”, “region” may be used interchangeably, and “image”, “picture” and “frame” may be used interchangeably.
[0098] In the description of the present invention, "decoding" may mean "encoding" or "decoding", and "decoder" may mean "encoder" or "decoder" or "codec", which is determined according to the complementarity of the video encoding and decoding process.
[0099] In the description of the present invention, the terms "video" and "frame" are used interchangeably because the present application does not involve the essential difference between "video" and "frame" but mainly focuses on the frames in the video.
[0100] The present invention is further explained below in conjunction with specific implementation modes.
[0101] It should also be noted that the following specific embodiments or specific implementations are a series of optimized settings listed in the present invention to further explain the specific content of the invention, and these settings can be used in combination or in association with each other.
[0102] Embodiment 1:
[0103] like Figure 1 As shown, this embodiment provides a rate-distortion optimization method for geometric video, including:
[0104] Step 1: Generate an occupancy map, a geometric video and an attribute video of the point cloud data by patch projection according to the input point cloud data; the geometric video includes a set of image blocks of several frames of geometric images;
[0105] Step 2: Based on any image block in the image block set, determine a number of similar image blocks in the image block set through similarity judgment, and construct a similar image block subset;
[0106] Step 3: in the similar image block subset, the difference measurement formula is used to calculate the difference measurement between the image block and the similar image block; based on the difference measurement, the significance measurement of the image block is determined by the significance measurement formula, and the significance extraction is performed to obtain the significant image block;
[0107] Step 4: Based on the salient image block, determine the saliency of the corresponding decoding tree unit; calculate the rate-distortion cost of the decoding tree unit through the rate-distortion optimization formula, so as to achieve rate-distortion optimization.
[0108] Through the above process, the spatial saliency extraction method can be used to effectively describe the area that the human eye pays attention to in the point cloud geometric video, thereby introducing the human visual system into the rate-distortion optimization and effectively reducing the visual redundancy in the geometric video.
[0109] Furthermore, the similarity judgment method in step 2 includes: selecting a preset number of image blocks having the smallest brightness difference with the current image block from the image block set.
[0110] Preferably, the preset number is 256.
[0111] Furthermore, the significance measurement includes premise principles, and the premise principles include:
[0112] Principle 1: When the current pixel (e.g., contrast, color value, etc.) is significantly different from other pixels, the current pixel is significant;
[0113] Principle 2: Suppress frequently appearing features in the entire image and highlight abnormal features;
[0114] Principle 3: Group the salient pixels in the entire image into one group to avoid spreading the salient pixels throughout the image.
[0115] Among them, principles 1-2 explain: when extracting saliency, we should not consider isolated pixel blocks (image blocks), but the pixel blocks around the pixel blocks. When a pixel block is significantly different from other pixel blocks, it can be considered as salient to obtain complete contextual information; principle 3 explains: the position distance between pixel blocks is an important factor in judging saliency. The salient parts tend to be clustered together, while the insignificant pixel blocks may have many similar pixel blocks at different positions in the image. When there are other similar pixel blocks near the pixel block, the pixel block will be more salient, and when the similar pixel blocks are far away, its saliency will be weakened;
[0116] Through the above premise principles, a context-based saliency extraction method can be obtained, which is conducive to extracting the saliency of geometric videos more accurately and comprehensively;
[0117] Furthermore, the specific formula of the difference measurement can be:
[0118] ;
[0119] in, Indicates Image blocks With Image blocks The difference value between Indicates Image blocks With Image blocks The Euclidean distance between the brightness components after normalization; Indicates Image blocks With Image blocks The normalized Euclidean distance between the spatial positions; represents the control coefficient;
[0120] Through the above formula, the brightness component difference (corresponding to principles 1-2) and the spatial position difference (corresponding to principle 3) between image blocks can be introduced into the difference measurement calculation;
[0121] The reason for designing the formula in this way is that the brightness component comes from the brightness channels of different geometric images, and the projection depth information of the point cloud video is stored in the brightness channel. In this way, the well-known characteristic that the human eye is highly sensitive to changes in spatial depth can be utilized, and the areas with obvious changes in spatial depth are regarded as high-saliency areas, and the areas with insignificant changes in spatial depth are regarded as low-saliency areas, thereby effectively determining the areas in the point cloud video that the human eye pays attention to, and thus making the decoding effect of the point cloud video more suitable for human viewing.
[0122] Furthermore, the control coefficient The value of is 3.
[0123] Furthermore, the specific formula of the significance measurement can be:
[0124] ;
[0125] in, Indicates that it contains pixels The size scale is The saliency value of the image patch; Indicates the x-axis coordinate value of the pixel; Indicates the y-axis coordinate value of the pixel; Represents the preset number of most similar image patches; Indicates the size scale is The Image blocks With Image blocks The difference measure between them; in this way, for each image block, a preset number of the most similar image blocks can be searched for difference comparison based on the difference measure value, without comparing all similar image blocks one by one (because if the most similar image blocks have large differences, then all similar image blocks must have large differences), thereby greatly improving the computing efficiency.
[0126] Furthermore, the The value is 256, which has better effect of saliency extraction and higher computational efficiency.
[0127] Furthermore, the The value is 4, which means that the image block of 4*4 pixels is used as the basic unit of image processing.
[0128] Furthermore, the saliency value of unoccupied pixels is set to 0, that is, the saliency of unoccupied pixels is not extracted.
[0129] Furthermore, based on the average of the pixel significance values in the image block, the significance value of the CTU is determined.
[0130] Furthermore, if Figure 2 As shown, the step 3 specifically includes:
[0131] Step 31: Down-sampling the image blocks in the similar image block subset to obtain image blocks reduced according to a preset ratio;
[0132] Step 32: Calculate the difference measure between the image block and the similar image block by using the difference measure formula;
[0133] Step 33: Based on the difference measurement, determine the significance measurement of the image block through a significance measurement formula, perform significance extraction, and obtain a significant image block;
[0134] Step 34: up-sample the salient image block to obtain an image block of the original scale, thereby obtaining a saliency value of each pixel in the original image block;
[0135] Through the above steps, the amount of calculation can be greatly reduced, thereby effectively reducing the time complexity of saliency extraction without having a significant impact on the detection results.
[0136] Furthermore, the preset ratio is 4 times.
[0137] Furthermore, the step 32 further includes: calculating the difference measure for each patch in the geometric image one by one based on the occupancy map; Figure 3 As shown, the original image block 1 is reduced based on the occupied Figure 2 The difference measure calculation is performed to correct the difference measure deviation. After saliency extraction, the saliency image block 3 is obtained. After enlargement, the saliency image block of the original size is obtained. This can avoid the difference measure deviation caused by different patches corresponding to different projection planes, thereby avoiding the problems of decreased accuracy and increased time complexity of subsequent saliency extraction.
[0138] Furthermore, the step 4 includes: determining whether the CTU belongs to a significant CTU based on a significance metric of the significant image block, and calculating the rate-distortion cost of the CTU only for the significant CTU through a rate-distortion optimization formula.
[0139] Furthermore, the step 4 includes: determining a saliency metric of the CTU based on a saliency metric of the saliency image block; and calculating a rate-distortion cost of the CTU through a rate-distortion optimization formula based on the saliency metric of the CTU.
[0140] Furthermore, the rate-distortion optimization formula may be specifically:
[0141] ;
[0142] in, represents the rate-distortion cost or Lagrangian cost (RD-cost) of CTU, Indicates CTU-level distortion; represents the Lagrangian factor; Indicates the number of bits consumed by video decoding.
[0143] Furthermore, the specific formula of the significance measurement also includes:
[0144] ;
[0145] in, Indicates The significance value of each CTU; Indicates the number of occupied pixels in the current CTU; Indicates the size of the largest CTU: For example, in HEVC, is 63, corresponding to the maximum CTU size of 64; while in VVC, is 127, corresponding to the maximum CTU size of 128;
[0146] ;
[0147] in, Represents the average visual importance value of the current frame; Indicates the number of CTUs occupied in the current frame;
[0148] ;
[0149] in, Indicates The geometry visual sensitivity factor (GVS) value of a CTU is: When it is less than 1, it means CTU belongs to the non-salient area, that is, the human eye is not sensitive to this area; when When it is greater than or equal to 1, it means CTU belongs to the salient area, that is, the human eye pays more attention to this area; The intensity factor of the geometric visual sensitivity factor, that is, the scaling range of the geometric visual sensitivity factor, can be 2;
[0150] The above three formulas are designed because in the HEVC encoding process, the bit rate and distortion are often weighed by adjusting the encoding parameters of each CTU in a frame, that is, each CTU is encoded by the same Lagrangian factor to obtain the optimal rate-distortion performance. However, different CTUs have different visual importance to the human eye, and the visual characteristics of the human eye are not considered in the CTU-level rate-distortion optimization process of HEVC. Therefore, in order to improve the subjective quality of the reconstructed point cloud, this application uses the extracted spatial saliency to measure the visual importance of each CTU in the geometric video, and then adopts different optimization strategies for different CTUs to achieve accurate visual perception encoding; by calculating through the above three formulas in turn, the visual importance of each CTU can be measured.
[0151] Furthermore, a syntax element at the CTU level may be set to indicate whether the current CTU belongs to a significant CTU. The syntax element may be encoded into a compressed bit stream so as to be parsed at a decoding end. By parsing the syntax element, the decoding end may determine that the current CTU belongs to a significant CTU, so as to perform processing that is beneficial to visual presentation on the significant CTU, such as enhancement processing, etc., thereby improving the visual presentation effect of the point cloud data associated with the significant CTU.
[0152] Furthermore, the rate-distortion optimization formula can also be expressed as:
[0153] ;
[0154] in, Represents the CTU-level perceptual distortion metric; Indicates CTU-level distortion, and only takes occupied pixels into account; Represents the weighting coefficient, which is closely related to the content of the geometric video, and a larger weighting coefficient means a smaller coding distortion. It can be defined by the sigmoid function. The specific calculation formula can be:
[0155] ;
[0156] in, Indicates the encoding quality of the salient area, Indicates the encoding quality of non-salient areas, Indicates the rate of change of coding quality from non-salient area to salient area; Indicates the geometric visual sensitivity factor value of CTU: When it is greater than or equal to 1, it means that the current CTU belongs to the visually salient area. will be greater than or equal to 1, the CTU should achieve higher encoding quality; When it is less than 1, it means that the current CTU belongs to the visual non-salient area. will be less than 1, the CTU will get greater distortion;
[0157] Preferably, according to experience, , and ;
[0158] ;
[0159] in, Indicates Perceptual distortion metric for each CTU; Indicates The number of bits consumed by a CTU during video decoding; Indicates the number of occupied pixels in the current CTU; Represents a set of all optional decoding modes; Indicates The rate-distortion cost of each CTU;
[0160] The above three formulas are designed because in point cloud video, unoccupied pixels have no associated points in the point cloud. Therefore, in the rate-distortion optimization process, this application sets the distortion of unoccupied pixels to 0, and only considers the distortion effect of occupied pixels. Reducing the encoding distortion of CTUs with higher visual importance will help improve perceptual coding performance. Therefore, a CTU-level perceptual distortion metric is defined and the rate-distortion optimization formula is improved.
[0161] Furthermore, the rate-distortion optimization formula can also be expressed as:
[0162] ;
[0163] in, Indicates Distortion of each CTU; Indicates The weighting coefficient of each CTU;
[0164] ;
[0165] in, Indicates The final Lagrangian factor value of a CTU: If the current CTU belongs to a significant area, then Greater than or equal to 1, resulting in the current CTU The value decreases, thereby reducing the distortion of the current CTU; if the current CTU belongs to a non-significant area, then Less than 1, resulting in the current CTU The value increases, thereby increasing the distortion of the current CTU, thereby reducing the encoding quality of the current CTU; in particular, The same value for the current CTU, regardless of changes with the changes of.
[0166] Through the above two formulas, the adjustable weighting coefficient can be transferred to the Lagrangian factor. Therefore, as long as the Lagrangian factor of the current CTU is adjusted, the rate-distortion optimization can be improved and a better video encoding effect can be achieved.
[0167] Embodiment 2:
[0168] like Figure 4 As shown, this embodiment provides a rate-distortion optimization system for geometric video, including a data receiving module, a data processing module and a result generating module;
[0169] The data receiving module is used to receive input point cloud data;
[0170] The data processing module includes an image block set unit, a similar image block subset unit, a significant image block unit and a rate-distortion optimization unit;
[0171] The image block set unit is used to generate an occupancy map, a geometric video and an attribute video of the point cloud data by patch projection according to the input point cloud data; the geometric video includes an image block set of several frames of geometric images;
[0172] The similar image block subset unit determines a number of similar image blocks in the image block set through similarity judgment based on any image block in the image block set, and constructs a similar image block subset;
[0173] The significant image block unit calculates the difference measure between the image block and the similar image block in the similar image block subset by using the difference measure formula; based on the difference measure, determines the significance measure of the image block by using the significance measure formula, performs significance extraction, and obtains the significant image block;
[0174] The rate-distortion optimization unit determines the saliency of the corresponding decoding tree unit based on the saliency image block; and calculates the rate-distortion cost of the decoding tree unit through a rate-distortion optimization formula;
[0175] The result generation module is used to send out the rate distortion cost of the decoding tree unit.
[0176] Embodiment three:
[0177] The present embodiment provides a rate-distortion optimization device for geometric video, including a processor, a memory and a bus. The memory stores instructions and data that can be read by the processor. The processor is used to call the instructions and data in the memory to execute the rate-distortion optimization method for geometric video as described above. The bus connects the functional components for transmitting information.
[0178] In another embodiment, the present solution can be implemented by a device, which may include a corresponding module for performing each or several steps in the above-mentioned embodiments. The module may be one or more hardware modules specially configured to perform the corresponding steps, or implemented by a processor configured to perform the corresponding steps, or stored in a computer-readable medium for implementation by a processor, or implemented by some combination.
[0179] The processor performs the various methods and processes described above. For example, the method implementation in the present solution can be implemented as a software program, which is tangibly contained in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via a memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps in the method described above can be executed. Alternatively, in other embodiments, the processor can be configured to perform one of the above methods by any other appropriate means (for example, by means of firmware).
[0180] The device can be implemented using a bus architecture. The bus architecture can include any number of interconnecting buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus connects various circuits including one or more processors, memories, and / or hardware modules together. The bus can also connect various other circuits such as peripherals, voltage regulators, power management circuits, external antennas, etc.
[0181] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0182] The video encoder may be implemented or executed using a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or any combination thereof designed to perform the functions described herein. The general purpose processor may be a microprocessor, but alternatively, the processor may also be any conventional processor, controller, microcontroller, or state machine.
[0183] The processor may also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a combination of multiple microprocessors, a combination of one or more microprocessors and a DSP core, or any other such structure. In addition, at least one processor may include one or more modules operable to perform one or more steps and / or operations described above.
[0184] When a video encoder is implemented using hardware circuits such as ASIC, FPGA, etc., it may include various circuit blocks configured to perform various functions. Those skilled in the art may design and implement these circuits in various ways according to various constraints imposed on the entire system to implement the various functions disclosed in the present invention.
[0185] Embodiment 4:
[0186] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the rate-distortion optimization method for geometric video as described above is implemented.
[0187] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A rate-distortion optimization method for geometric videos, It is characterized in that include: Step 1: Generate an occupancy map, a geometric video and an attribute video of the point cloud data by patch projection according to the input point cloud data; the geometric video includes a set of image blocks of several frames of geometric images; Step 2: Based on any image block in the image block set, determine a number of similar image blocks in the image block set through similarity judgment, and construct a similar image block subset; Step 3: In the similar image block subset, the difference measurement formula is used to calculate the difference measurement between the image block and the similar image blocks; Based on the difference measurement, determining the significance measurement of the image block through a significance measurement formula, performing significance extraction, and obtaining a significant image block; Step 4: Determine the significance of the corresponding decoding tree unit based on the significant image block; The rate-distortion cost of the decoding tree unit is calculated by using the rate-distortion optimization formula; The specific formula of the difference measurement is: ; in, Indicates Image blocks With Image blocks The difference value between Indicates Image blocks With Image blocks The Euclidean distance between the brightness components after normalization; Indicates Image blocks With Image blocks The normalized Euclidean distance between the spatial positions; represents the control coefficient; The specific formula of the significance measurement includes: ; in, Indicates that it contains pixels The size scale is The saliency value of the image patch; Indicates the x-axis coordinate value of the pixel; Indicates the y-axis coordinate value of the pixel; Represents the preset number of most similar image patches; Indicates the size scale is The Image blocks With Image blocks The difference measure between ; in, Indicates The significance value of each CTU; Indicates the number of occupied pixels in the current CTU; Indicates the size of the maximum CTU; CTU stands for decoding tree unit; ; in, Represents the average visual importance value of the current frame; Indicates the number of CTUs occupied in the current frame; ; in, Indicates The geometric visual sensitivity factor value of a CTU: When it is less than 1, it means CTU belongs to the non-salient area; when When it is greater than or equal to 1, it means CTUs belong to the significant area; Intensity factor representing the geometric visual sensitivity factor; The rate-distortion optimization formula specifically includes: ; in, Represents the CTU-level perceptual distortion metric; Indicates CTU-level distortion, and only takes occupied pixels into account; Represents the weighting coefficient, and the specific calculation formula is: ; in, Indicates the encoding quality of the salient area, Indicates the encoding quality of non-salient areas, Indicates the rate of change of coding quality from non-salient area to salient area; Indicates the geometric visual sensitivity factor value of CTU: When it is greater than or equal to 1, it means that the current CTU belongs to the visually salient area. will be greater than or equal to 1, the CTU should achieve higher encoding quality; When it is less than 1, it means that the current CTU belongs to the visual non-salient area. will be less than 1, the CTU will get greater distortion; ; in, Indicates Perceptual distortion metric for each CTU; Indicates The number of bits consumed by a CTU during video decoding; Represents the set of all selectable decoding modes; Indicates The rate-distortion cost of each CTU; represents the Lagrangian factor.
2. The method according to claim 1, It is characterized in that The similarity judgment method in step 2 includes: selecting a preset number of image blocks having the smallest brightness difference with the current image block from the image block set.
3. The method according to claim 1, It is characterized in that The step 3 specifically includes: Step 31: Down-sampling the image blocks in the similar image block subset to obtain image blocks reduced according to a preset ratio; Step 32: Calculate the difference measure between the image block and the similar image block by using the difference measure formula; Step 33: Based on the difference measurement, determine the significance measurement of the image block through a significance measurement formula, perform significance extraction, and obtain a significant image block; Step 34: upsample the salient image block to obtain an image block of the original scale.
4. The method according to claim 1, It is characterized in that Replace the third formula in the rate-distortion optimization formula with: ; in, Indicates Distortion of each CTU; Indicates The weighting coefficient of each CTU; make: ; in, Indicates The final Lagrangian factor value of a CTU: If the current CTU belongs to a significant area, then Greater than or equal to 1, resulting in the current CTU The value decreases; if the current CTU belongs to a non-significant area, then Less than 1, resulting in the current CTU The value increases.
5. A rate-distortion optimization system for geometric videos, It is characterized in that It includes a data receiving module, a data processing module and a result generating module; The data receiving module is used to receive input point cloud data; The data processing module includes an image block set unit, a similar image block unit, a significant image block unit and a rate-distortion optimization unit; The image block set unit is used to generate an occupancy map, a geometric video and an attribute video of the point cloud data by patch projection according to the input point cloud data; the geometric video includes an image block set of several frames of geometric images; The similar image block unit determines a number of similar image blocks in the image block set based on any image block in the image block set by similarity judgment, and constructs a similar image block subset; The significant image block unit calculates the difference measure between the image block and the similar image blocks in the similar image block subset by using a difference measure formula; Based on the difference measurement, determining the significance measurement of the image block through a significance measurement formula, performing significance extraction, and obtaining a significant image block; The rate-distortion optimization unit determines the significance of the corresponding decoding tree unit based on the significance image block; The rate-distortion cost of the decoding tree unit is calculated by using the rate-distortion optimization formula; The result generation module is used to send out the rate distortion cost of the decoding tree unit; The specific formula of the difference measurement is: ; in, Indicates Image blocks With Image blocks The difference value between Indicates Image blocks With Image blocks The Euclidean distance between the brightness components after normalization; Indicates Image blocks With Image blocks The normalized Euclidean distance between the spatial positions; represents the control coefficient; The specific formula of the significance measurement includes: ; in, Indicates that it contains pixels The size scale is The saliency value of the image patch; Indicates the x-axis coordinate value of the pixel; Indicates the y-axis coordinate value of the pixel; Represents the preset number of most similar image patches; Indicates the size scale is The Image blocks With Image blocks The difference measure between ; in, Indicates The significance value of each CTU; Indicates the number of occupied pixels in the current CTU; Indicates the size of the maximum CTU; CTU stands for decoding tree unit; ; in, Represents the average visual importance value of the current frame; Indicates the number of CTUs occupied in the current frame; ; in, Indicates The geometric visual sensitivity factor value of a CTU: When it is less than 1, it means CTU belongs to the non-salient area; when When it is greater than or equal to 1, it means CTUs belong to the significant area; Intensity factor representing the geometric visual sensitivity factor; The rate-distortion optimization formula specifically includes: ; in, Represents the CTU-level perceptual distortion metric; Indicates CTU-level distortion, and only takes occupied pixels into account; Represents the weighting coefficient, and the specific calculation formula is: ; in, Indicates the encoding quality of the salient area, Indicates the encoding quality of non-salient areas, Indicates the rate of change of coding quality from non-salient area to salient area; Indicates the geometric visual sensitivity factor value of CTU: When it is greater than or equal to 1, it means that the current CTU belongs to the visually salient area. will be greater than or equal to 1, the CTU should achieve higher encoding quality; When it is less than 1, it means that the current CTU belongs to the visual non-salient area. will be less than 1, the CTU will get greater distortion; ; in, Indicates Perceptual distortion metric for each CTU; Indicates The number of bits consumed by a CTU during video decoding; Represents the set of all selectable decoding modes; Indicates The rate-distortion cost of each CTU; represents the Lagrangian factor.
6. A rate-distortion optimization device for geometric video, It is characterized in that It includes a processor, a memory and a bus, wherein the memory stores instructions and data read by the processor, the processor is used to call the instructions and data in the memory to execute the method described in any one of claims 1-4, and the bus connects the functional components for transmitting information.
7. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Video abstract generation method and system based on adaptive weighted graph difference analysis
CN111510792A
Classification of image blocks by region contrast significance and uses therefor in selective image enhancement in video and image coding
US20050111744A1
Visual perception feature-fused scaled video coding method
WO2016115968A1
