Point-cloud rate-distortion coding method based on perception weighting, and related apparatus

Through the perceptually weighted point cloud rate distortion coding method, the perceptual distortion degree of the point cloud is calculated and the coding decision is optimized, which solves the problem of low coding efficiency in the existing technology and achieves more efficient point cloud data compression.

WO2024174679A1PCT designated stage expired Publication Date: 2024-08-29SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI

Patent Information

Application Number
PCT/CN2023/137731
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-22
Filing Date
2023-12-09
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing video point cloud compression technology fails to effectively consider the visual perception quality of dynamic point clouds, resulting in low coding efficiency and failure to fully utilize the perceptual redundancy of point clouds.

Method used

The point cloud rate-distortion coding method based on perceptual weighting is adopted. By obtaining the projection image and reference projection image of the point cloud to be encoded, the gradient weight and structural similarity distortion degree of the coding block are calculated, the perceptual distortion degree is determined, and the perceptual distortion degree is determined based on the perceptual distortion degree. Coding at rate distortion cost to improve coding efficiency.

Benefits of technology

It improves the matching between point cloud coding and visual perception quality, improves coding efficiency, and significantly reduces the requirements for storage space and transmission bandwidth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023137731_29082024_PF_FP_ABST
    Figure CN2023137731_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a point-cloud rate-distortion coding method based on perceptual weighting, and a related apparatus. The method comprises: acquiring projection images corresponding to a point cloud to be subjected to coding, and several reference projection images corresponding to a projection module; acquiring gradient weights and structural-similarity distortion degrees of coding blocks of the projection images and the reference projection images, and calculating perceptual distortion degrees of the projection images on the basis of the gradient weights and structural-similarity distortion degrees of the coding blocks; and according to the perceptual distortion degrees of the projection images, determining a rate distortion cost corresponding to said point cloud, and encoding the projection images on the basis of the rate distortion cost. In the present application, two-dimensional projection images are generated by means of projection, a perceptual distortion degree corresponding to each projection image is then determined by taking a coding block as a unit, and encoding decision-making is performed on the basis of a perceptual-loss degree, such that matching between point-cloud coding and visual perception quality is improved, thereby improving the coding efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

A point cloud rate-distortion coding method based on perceptual weighting and related devices Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a point cloud rate-distortion coding method based on perceptual weighting and related devices. Background Art

[0002] In recent years, virtual reality (VR), augmented reality (AR), and mixed reality (MR) have become popular in many applications, such as 3D movie viewing, heritage preservation, navigation, immersive remote communication, and remote surgery, due to their ability to provide users with unique six-degree-of-freedom (6DoF) interactive, realistic, and immersive 3D visual experiences. Dynamic point clouds (DPCs), due to their realistic representation capabilities, have become a mainstream form of expression for emerging immersive VR, AR, and MR media.

[0003] Dynamic point clouds (DPCs) represent three-dimensional scenes using a large number of unstructured, high-dimensional points. A DPC is a temporally continuous series of point clouds that not only reflects motion and temporal changes in light, but also includes geometric components for identifying positions in three-dimensional space, as well as photometric information for reflecting light and object properties, such as RGB color, reflectance, and transparency. However, the large number of high-dimensional points in a dynamic point cloud also generates a massive amount of data, requiring significant storage space and network bandwidth for transmission.

[0004] To address this issue, dynamic point clouds need to be compressed before storage and transmission to reduce the storage space and transmission bandwidth required. Currently, the most commonly used compression technology for dynamic point clouds is the Video Point Cloud Compression (V-PCC) model. The V-PCC model measures distortion using the signal difference between the original point cloud and the distorted point cloud, such as point-to-point (D1), point-to-plane (D2), and point-to-mesh (P2mesh). However, existing V-PCC models fail to consider the visual perceptual quality of dynamic point clouds and fail to exploit their perceptual redundancy, which in turn affects coding efficiency.

[0005] Therefore existing technology still needs to be improved and improved. Technical issues

[0006] The technical problem to be solved by this application is to provide a point cloud rate-distortion coding method and related devices based on perceptual weighting in response to the shortcomings of the existing technology. Technical Solutions

[0007] In order to solve the above technical problems, the first aspect of the embodiments of the present application provides a point cloud rate-distortion encoding method based on perceptual weighting, the method comprising:

[0008] Acquire a projection image corresponding to the point cloud to be encoded and several reference projection images corresponding to the projection module, wherein the projection image and the several reference projection images both include a geometric projection image and a texture projection image;

[0009] Obtaining the gradient weight and structural similarity distortion of each coding block of the projected image and each reference projected image, and calculating the perceptual distortion of the projected image based on the gradient weight and structural similarity distortion of each coding block;

[0010] A rate-distortion cost corresponding to the to-be-encoded point cloud is determined according to the perceived distortion of the projected image, and the projected image is encoded based on the rate-distortion cost.

[0011] In the perceptually weighted point cloud rate-distortion coding method, the reference projection image is obtained by downsampling the projection image, and the image scales of the projection image and the plurality of reference projection images are different from each other.

[0012] The point cloud rate-distortion coding method based on perceptual weighting, wherein the process of obtaining the gradient weight specifically includes:

[0013] A gradient value of each pixel in the coding block is calculated, and a gradient weight of the coding block is calculated based on the gradient value of each pixel.

[0014] The point cloud rate-distortion coding method based on perceptual weighting, wherein determining the rate-distortion cost corresponding to the point cloud to be encoded according to the perceptual distortion of the projected image specifically includes:

[0015] Converting the structural similarity distortion in the perceptual distortion into a mean square error distortion to obtain a perceptual coefficient corresponding to the projected image;

[0016] determining a perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient;

[0017] A rate-distortion cost corresponding to the to-be-encoded point cloud is determined based on the perceptual distortion and the perceptual Lagrangian multiplier.

[0018] The point cloud rate-distortion coding method based on perceptual weighting, wherein the corresponding relationship between the structural similarity distortion and the mean square error distortion is:

[0019] in, represents the structural similarity distortion of the coding block i of the k-th target projection image, represents the mean square error distortion of the coding block i of the kth target projection image, Φ k,iblk represents the perceptual coefficient of coding block i of the kth target projection image, n represents the nth sub-image block of coding block i, ρ n represents the linear model parameters of the nth sub-image block of coding block i, N represents the number of sub-image blocks, E i represents the pixel content weight, and the kth target projection image is a projection image in the projection image set formed by the projection image and several reference projection images.

[0020] The perceptually weighted point cloud rate-distortion coding method, wherein, when the perceptual Lagrangian multiplier is used for coding, determining the perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient specifically includes:

[0021] Calculating a first target perceptual coefficient based on the perceptual coefficient of each coding block of the projected image, and calculating a ratio of the first target perceptual coefficient to the perceptual coefficient of the coding block to obtain a first perceptual coefficient ratio;

[0022] A product of the first perceptual coefficient ratio and a mean square error Lagrangian multiplier of the projected image is calculated to obtain a perceptual Lagrangian multiplier corresponding to the coding block.

[0023] The point cloud rate-distortion coding method based on perceptual weighting, wherein, when the perceptual Lagrangian multiplier is used for mode decision, determining the perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient specifically includes:

[0024] Calculating a second target perceptual coefficient based on the perceptual coefficient of each coding block of the projected image, and calculating a ratio of the second target perceptual coefficient to a square root of the perceptual coefficient of the coding block to obtain a second perceptual coefficient ratio;

[0025] A product of the second perceptual coefficient ratio and a square root of the mean square error Lagrangian multiplier of the projected image is calculated to obtain a perceptual Lagrangian multiplier corresponding to the coding block.

[0026] A second aspect of an embodiment of the present application provides a point cloud rate-distortion coding system based on perceptual weighting, the system comprising:

[0027] An acquisition module, configured to acquire a projection image corresponding to the point cloud to be encoded and a plurality of reference projection images corresponding to the projection module, wherein the projection image and the plurality of reference projection images both include a geometric projection image and a texture projection image;

[0028] a calculation module, configured to obtain a gradient weight and a structural similarity distortion of each coding block of the projected image and each reference projected image, and calculate a perceptual distortion of the projected image based on the gradient weight and the structural similarity distortion of each coding block;

[0029] The encoding module is configured to determine a rate-distortion cost corresponding to the point cloud to be encoded according to a perceived distortion of the projected image, and encode the projected image based on the rate-distortion cost.

[0030] A third aspect of an embodiment of the present application provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in any of the perceptually weighted point cloud rate-distortion encoding methods described above.

[0031] A fourth aspect of an embodiment of the present application provides a terminal device, comprising: a processor, a memory, and a communication bus; the memory stores a computer-readable program executable by the processor;

[0032] The communication bus realizes the connection and communication between the processor and the memory;

[0033] When the processor executes the computer-readable program, the processor implements the steps in any of the above-described perceptually weighted point cloud rate-distortion encoding methods. Beneficial effects

[0034] Compared with the prior art, the present application provides a point cloud rate-distortion coding method and related devices based on perceptual weighting, the method comprising obtaining a projection image corresponding to the point cloud to be coded and several reference projection images corresponding to the projection module; obtaining the gradient weights and structural similarity distortions of each coding block of the projection image and each reference projection image, and calculating the perceptual distortion of the projection image based on the gradient weights and structural similarity distortions of each coding block; determining the rate-distortion cost corresponding to the point cloud to be coded based on the perceptual distortion of the projection image, and encoding the projection image based on the rate-distortion cost. The present application generates a two-dimensional projection image by projection, then calculates the perceptual distortion corresponding to each projection image in units of coding blocks, and makes coding decisions based on the perceptual loss, thereby improving the matching between point cloud coding and visual perception quality, thereby improving coding efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without inventive work.

[0036] FIG1 is a flowchart of the point cloud rate-distortion coding method based on perceptual weighting provided in this application.

[0037] FIG2 is a flow chart showing the principle of the point cloud rate-distortion coding method based on perceptual weighting provided in this application.

[0038] FIG3 is a scatter plot of the correlation between the texture projection map of the approximate model and the original model.

[0039] FIG4 is a scatter plot of the correlation between the approximate model and the original model on the geometric projection diagram.

[0040] FIG5 is a structural principle diagram of the point cloud rate-distortion coding method based on perceptual weighting provided in this application.

[0041] FIG6 is a schematic diagram of the structure of the terminal device provided in this application. Best Mode for Carrying Out the Invention

[0042] This application provides a perceptually weighted point cloud rate-distortion encoding method and related apparatus. To clarify the purpose, technical solutions, and effects of this application, the application is further described below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are intended only to explain this application and are not intended to limit this application.

[0043] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "said" and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any units and all combinations of one or more associated listed items.

[0044] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0045] It should be understood that the sequence numbers and sizes of the steps in this embodiment do not imply the order of execution. The order of execution of each process is determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of this application.

[0046] Research has shown that in recent years, virtual reality (VR), augmented reality (AR), and mixed reality (MR) have become increasingly popular in a variety of applications, such as 3D movie viewing, heritage preservation, navigation, immersive remote communication, and remote surgery, due to their ability to provide users with unique six-degree-of-freedom (6DoF) interactive, realistic, and immersive 3D visual experiences. Dynamic point clouds (DPCs), with their realistic representation capabilities, have become a mainstream form of expression for emerging immersive VR, AR, and MR media.

[0047] Dynamic point clouds (DPCs) represent three-dimensional scenes using a large number of unstructured, high-dimensional points. A DPC is a temporally continuous series of point clouds that not only reflects motion and temporal changes in light, but also includes geometric components for identifying positions in three-dimensional space, as well as photometric information for reflecting light and object properties, such as RGB color, reflectance, and transparency. However, the large number of high-dimensional points in a dynamic point cloud also generates a massive amount of data, requiring significant storage space and network bandwidth for transmission.

[0048] To address this issue, dynamic point clouds need to be compressed before storage and transmission to reduce the storage space and transmission bandwidth required. Currently, the most commonly used compression technology for dynamic point clouds is the Video Point Cloud Compression (V-PCC) model. The V-PCC model measures distortion using the signal difference between the original point cloud and the distorted point cloud, such as point-to-point (D1), point-to-plane (D2), and point-to-mesh (P2mesh). However, existing V-PCC models fail to consider the visual perceptual quality of dynamic point clouds and fail to exploit their perceptual redundancy, which in turn affects coding efficiency.

[0049] To this end, integrating visual perception with coding has been a hot topic in the field of video and image processing. Among existing research works, Jiang et al. proposed a new perceptual coding scheme compliant with the H.265 / HEVC standard by utilizing spatiotemporal saliency. Wu et al. proposed a rate-distortion (RD) model based on the perceptual weighted mean squared error (PWMSE) and derived the Lagrange multipliers for the rate-distortion optimization (RDO) process based on the equivalent distortion. Based on WS-PSNR, Li et al. optimized the RDO task using a spherical 360-degree video evaluation metric. Li et al. proposed an RDO method for spherical videos to address the inaccurate calculation of the two-dimensional image plane distortion. The basic idea of ​​these methods is to use the HVS model or its approximation as the distortion in the coding module and select the optimal coding mode or parameters based on the constraint of minimizing perceptual distortion. However, these methods are designed for traditional 2D or 360-degree video coding and cannot be applied to dynamic point clouds.

[0050] To exploit visual redundancy in point clouds, Li et al. adopted an occupancy map-based RDO method, which designed an occupancy map-guided video compression framework and used occupancy maps to improve DPC compression performance. Since the current RDO and geometric distortion are inconsistent with the evaluation criteria D1 and D2, Xiong et al. proposed an EPM-based RDO method, which first describes the relationship between the existing distortion model and geometric quality measurement, and then estimates the normal vectors of D1 and D2 by estimating the normal vector of the CU, thereby modifying the three-dimensional geometric distance. However, the quality of the reconstructed point cloud in these rate-distortion coding methods is still measured by D1 and D2, which cannot truly reflect human perception. Therefore, existing point cloud coding schemes do not fully consider the perceptual characteristics of point clouds and do not exploit the perceptual redundancy of point clouds.

[0051] In order to solve the above problems, in an embodiment of the present application, a projection image corresponding to the point cloud to be encoded and several reference projection images corresponding to the projection module are obtained; the gradient weight and structural similarity distortion of each coding block of the projection image and each reference projection image are obtained, and the perceptual distortion of the projection image is calculated based on the gradient weight and structural similarity distortion of each coding block; the rate-distortion cost corresponding to the point cloud to be encoded is determined according to the perceptual distortion of the projection image, and the projection image is encoded based on the rate-distortion cost. The present application generates a two-dimensional projection image by projection, and then calculates the perceptual distortion corresponding to each projection image in units of coding blocks, and makes encoding decisions based on the perceptual loss, thereby improving the matching of point cloud encoding and visual perception quality, thereby improving encoding efficiency. Modes for Carrying Out the Invention

[0052] The application content will be further explained below through description of embodiments in conjunction with the accompanying drawings.

[0053] This embodiment provides a point cloud rate-distortion coding method based on perceptual weighting, as shown in FIG1 and FIG2 , and the method includes:

[0054] S10: Acquire a projection image corresponding to the point cloud to be encoded and several reference projection images corresponding to the projection module.

[0055] Specifically, the projection image and the plurality of reference projection images each include a geometric projection map and a texture projection map, wherein the projection image is formed by patch segmentation and packaging of a point cloud to be coded, the geometric projection map and the texture projection are both two-dimensional images, and the image scales of the geometric projection map and the texture projection map are the same. Each reference projection image in the plurality of reference projection images is an image group, and the image group includes a reference geometric projection map and a reference texture projection map, wherein the image scales of the geometric projection maps in each reference projection image are different from each other and are not equal to the image scale of the geometric projection map; the image scales of the texture projection maps in each reference projection image are different from each other and are not equal to the image scale of the texture projection map.

[0056] The reference projection image is obtained by downsampling the projection image, wherein the reference projection image is obtained by downsampling the projection image, which means that the reference geometric projection map is obtained by downsampling the geometric projection map, and the reference texture projection map is obtained by downsampling the geometric projection map. In one implementation, the multiple reference projection images can be downsampled using a Gaussian pyramid. That is, the geometric projection map and texture projection map included in the projection image are input into the Gaussian pyramid, and the output items of each layer of the Gaussian pyramid are obtained to obtain multiple reference projection images. It can be understood that, through each layer of the Gaussian pyramid, the resolution of the output items of that layer is reduced to half of the input items. For example, k is used to represent different scales. k=1 represents the image scale corresponding to the projection image, k=2 represents that the projection image is downsampled once, and the image scale of the reference projection image obtained by downsampling is half of the image scale corresponding to the projection image, and so on, to obtain multiple projection images.

[0057] Of course, in practical applications, after generating a projection image through projection, other methods can be used to obtain multiple reference projection images. For example, multiple projection images can be sorted from largest to smallest according to image scale to form a first reference projection image, a second reference projection image, and so on, to form an Nth reference projection image. The first reference projection image is obtained by downsampling the projection image by a factor of 2, the second reference projection image is obtained by downsampling the projection image by a factor of 4, and so on, to obtain the Nth reference projection image. Furthermore, the corresponding relationship between the image scales of each Nth reference projection image can also be different. For example, the image scale corresponding to the projection image is three times the image scale of the first reference projection image, and the image scale corresponding to the first reference projection image is three times the image scale of the second reference projection image, and so on.

[0058] S20 , obtaining the gradient weight and structural similarity distortion of each coding block of the projected image and each reference projected image, and calculating the perceptual distortion of the projected image based on the gradient weight and structural similarity distortion of each coding block.

[0059] Specifically, the gradient weight is determined based on the gradient of each pixel in the coding block, and the structural similarity distortion is used to reflect the distortion of the distortion block corresponding to the coding block. The distortion block is determined based on the geometric reconstruction map and texture reconstruction map formed by the reconstructed point cloud corresponding to the point cloud to be coded. That is, when acquiring the projection image and several reference projection images, a reconstructed projection image of the reconstructed point cloud corresponding to the point cloud to be coded is simultaneously acquired. The reconstructed projection image includes a geometric reconstruction map and a texture reconstruction map. The reconstructed projection image is then downsampled to obtain several reference reconstructed projection images. The process of determining the reconstructed projection image and the several reference reconstructed projection images is the same as the process of determining the projection image and the several reference projection images. This will not be described in detail here. It will only be explained that the projection image corresponds to the reconstructed projection image, that the several reference projection images correspond one-to-one to the several reference reconstructed projection images, and that the image scale of the reference projection image is the same as the image scale of its corresponding reference reconstructed projection image. That is, the image scale of the reference geometric projection map in the reference projection image is equal to the image scale of the reference geometric reconstruction map in its corresponding reference reconstructed projection image, and the image scale of the reference texture projection map in the reference projection image is equal to the image scale of the reference texture reconstruction map in its corresponding reference reconstructed projection image.

[0060] In one implementation, the process of obtaining the gradient weight specifically includes:

[0061] A gradient value of each pixel in the coding block is calculated, and a gradient weight of the coding block is calculated based on the gradient value of each pixel.

[0062] Specifically, the gradient value of each pixel in the coding block includes a horizontal gradient and a vertical gradient. The calculation formulas for the horizontal gradient and the vertical gradient are respectively:

[0063] Among them, F H represents the gradient operator in the horizontal direction, I i represents the i-th coding block, with a size of M×N, and j represents the j-th pixel in the coding block.

[0064] After obtaining the pixel gradient value of each pixel point, the gradient value of the coding block is calculated based on the pixel gradient value of each pixel point in the coding block. The calculation formula of the candidate gradient value of the coding block can be:

[0065] in, Represents the candidate gradient value.

[0066] After obtaining the candidate gradient values ​​of each coding block, each candidate gradient value is normalized to obtain the gradient value of each coding block. The gradient value of the coding block is used to reflect the importance of the coding block relative to all coding blocks.

[0067] The calculation formula of the gradient value is:

[0068] Among them, W i Represents the gradient value of the coding block, and Nomal(·) represents the normalization operation. The specific calculation method is:

[0069] The C(·) operation constrains the calculated maximum and minimum values ​​to be between [0, 1], that is, values ​​less than 0 are set to 0, and values ​​greater than 1 are set to 1. x Represents x i The mean of x Represents x i The standard deviation of .

[0070] Furthermore, the structural similarity distortion is the structural similarity distortion between the coding block and its corresponding reconstructed coding block. After obtaining the gradient weight and structural similarity distortion of each coding block, the perceptual distortion corresponding to the projected image can be determined based on the gradient weight and structural similarity distortion of each coding block. In the projection image set formed by the projection image and several reference projection images, the texture image block distortion of the i-th texture distortion image block in the k-th target projection image in the projection image set can be expressed as:

[0071] Among them, W k,i represents the gradient weight of the i-th coding block in the k-th image group, It represents the SSIM distortion of the i-th coding block in the k-th group of images relative to the i-th reconstructed coding block.

[0072] Of course, it is worth noting that when calculating the perceptual distortion of the coding block, the geometric projection map and the texture projection map in the projected image respectively calculate their corresponding perceptual distortions, and the calculation processes of the two are the same. Therefore, this embodiment uses the projected image to illustrate the process of determining the perceptual distortion.

[0073] S30 . Determine a rate-distortion cost corresponding to the to-be-encoded point cloud according to the perceived distortion of the projected image, and encode the projected image based on the rate-distortion cost.

[0074] Specifically, the objective function of the rate-distortion cost is:

[0075] where J represents the total rate-distortion (RD) cost, D represents the distortion difference between the point cloud to be encoded and the reconstructed point cloud corresponding to the unit to be encoded, R represents the number of coded bits, and λ represents the Lagrange multiplier used to balance distortion and bit rate.

[0076] Based on this, the objective function for determining the rate-distortion cost corresponding to the to-be-encoded point cloud according to the perceived distortion of the projected image can be expressed as:

[0077] Among them, D PPCM Indicates the perceived distortion.

[0078] Since the V-PCC standard uses HEVC to encode geometric video and texture video separately, the compression of geometric video and texture video is considered as two independent processes. The distortion of texture video is only related to the texture video coding parameters, and the distortion of geometric video is only related to the geometry video coding parameters. Therefore, the objective functions of the rate-distortion cost of texture projection image and the rate-distortion cost of geometric projection image are expressed as:

[0079] Among them, J G Indicates the independent constraints of the texture projection image, J T Represents the independent constraints of the geometric projection image, R T For geometric video encoders, R is a constant. G For texture video encoders.

[0080] In addition, since the encoding decision process of the texture projection image is the same as the encoding decision process of the geometric projection image, only the encoding decision process is explained here, and the texture projection image and the geometric projection image are not explained. The texture projection image and the geometric projection image can adopt the following encoding decision process.

[0081] In one implementation, determining the rate-distortion cost corresponding to the to-be-encoded point cloud according to the perceived distortion of the projected image specifically includes:

[0082] Converting the structural similarity distortion in the perceptual distortion into a mean square error distortion to obtain a perceptual coefficient corresponding to the projected image;

[0083] determining a perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient;

[0084] A rate-distortion cost corresponding to the to-be-encoded point cloud is determined based on the perceptual distortion and the perceptual Lagrangian multiplier.

[0085] Specifically, under high-resolution quantization approximation, the encoding process will preserve as much luminance information as possible. In addition, for different video contents, even at high QP settings, The Pearson correlation coefficient (PCC) value between and μ is also over 0.99. Based on this, we can t□ The SSIM value of a pixel is rewritten as:

[0086] in, represents the pixel-level square error, E i represents the pixel content weight, M represents the number of coding blocks, C2 is the C2 constant in SSIM, ε t Represents the filter coefficient of the t-th position of the current coding block, and It represents the variance of the coding block before and after encoding at it.

[0087] Furthermore, in order to reduce the amount of calculation, the SSIM distortion of the coding block is set to the average value of 16 sub-blocks, where n represents the sub-image block of the coding block, that is:

[0088] It is known that the coding units in HEVC have the following relationship

[0089] Among them, ρ n is a linear model parameter related to the image content, where the result of encoding the same-position block of the previous frame is used as the reference image content (except the first frame), Q n It is the quantization step size of the sub-block, which is usually applied to all sub-blocks with the same value.

[0090] For the coding block, D MSE can be expressed as:

[0091] in, represents the structural similarity distortion of the coding block i of the k-th projected image, represents the mean square error distortion of the coding block i of the k-th projected image, Φ k,i blk represents the perceptual coefficient of coding block i of the k-th projected image, n represents the nth sub-image block of coding block i, ρ n represents the linear model parameters of the nth sub-image block of coding block i, N represents the number of sub-image blocks, E i represents the pixel content weight, and the kth projection image is a projection image in a projection image set formed by the projection image and several reference projection images.

[0092] Based on this, the image MSE numerical loss caused by video compression can be approximated to the SSIM loss of the domain image after appropriate transformation, that is, D PPCM It can be expressed as:

[0093] Furthermore, after the perception coefficient is obtained, a perception Lagrangian multiplier corresponding to the projected image is determined, wherein the process of determining the perception Lagrangian multiplier may be:

[0094] When the PPCM-based distortion metric D PPCM When applied to the RD objective function in V-PCC, the Lagrange multiplier needs to be and Adjustment is made so that the perceptual distortion of channel φ (wherein the channel includes the texture channel and the geometry channel, here represented by φ) and bit rate R φ The best compromise between the rate-distortion cost and the MSE-based The calculation at each coding block i is:

[0095] in, and λ MSE is the MSE-based distortion, bit rate and Lagrange multiplier in HEVC, bit rate and distortion The relationship between can be modeled as

[0096] in, is the variance of the coded residual after inter-frame or intra-frame prediction, and α is a proportionality constant. right Find the partial derivative, and when the partial derivative is zero, we can get:

[0097] Solving the above formula can get the optimal and for:

[0098] The total bit rate of a video is the sum of the number of bits in all blocks, which can be calculated as:

[0099] Where M is the number of coding blocks in a frame / video.

[0100] Similarly, the rate-coding-distortion objective function for D MSE Taking the partial derivative, and when the partial derivative is zero, we can get:

[0101] Solving the above formula we can get

[0102] The total number of bits of the coding channel φ is calculated as:

[0103] Based on this, the perceptual Lagrangian parameter can be determined based on the total number of bits of the coding channel φ.

[0104] In one implementation, when the perceptual Lagrangian multiplier is used for encoding, determining the perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient specifically includes:

[0105] Calculating a first target perceptual coefficient based on the perceptual coefficient of each coding block of the projected image, and calculating a ratio of the first target perceptual coefficient to the perceptual coefficient of the coding block to obtain a first perceptual coefficient ratio;

[0106] A product of the first perceptual coefficient ratio and a mean square error Lagrangian multiplier of the projected image is calculated to obtain a perceptual Lagrangian multiplier corresponding to the coding block.

[0107] Specifically, in the V-PCC model, the attribute and geometry videos are encoded by the MSE-based encoder. ,The total bit rate R of MSE-based V-PCC is MSE The total bit rate R of V-PCC based on perceptual distortion φ Same, in different point cloud encoding channels φ, namely R MSE =R φ , from which we can get λ φ and λ MSE The relationship between them is:

[0108] Therefore, based on formula (1) and formula (2), the RD cost of mode decision is:

[0109] Therefore, the perceptual Lagrangian coefficient is:

[0110] In one implementation, when the perceptual Lagrangian multiplier is used for mode decision, determining the perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient specifically includes:

[0111] Calculating a second target perceptual coefficient based on the perceptual coefficient of each coding block of the projected image, and calculating a ratio of the second target perceptual coefficient to a square root of the perceptual coefficient of the coding block to obtain a second perceptual coefficient ratio;

[0112] A product of the second perceptual coefficient ratio and a square root of the mean absolute error Lagrangian multiplier of the projected image is calculated to obtain a perceptual Lagrangian multiplier corresponding to the coding block.

[0113] In traditional MSE-based video encoders, SAD / MAD is used as the distortion term in rate-distortion optimization to avoid squaring operations to keep the complexity low. The RD cost is calculated as:

[0114] in and are the distortion, bit rate and Lagrange multiplier based on MAD in HEVC. Lagrange multiplier of ME Similarly, based on relationship, there is

[0115] Therefore, the RD cost is:

[0116] Therefore, the perceptual Lagrangian multiplier based on the perceptual distortion is Updated to:

[0117] To further illustrate the encoding process of this embodiment, the V-PCC encoding standard maps the geometric features and texture features of the three-dimensional point cloud into two video sequences, respectively recorded as a geometric projection map sequence and a texture projection map sequence, and then uses the existing HEVC / VVC or other video encoders to compress the video sequence of the dynamic point cloud. In the encoding process, some metadata needs to be generated, such as placeholder maps and auxiliary blocking information, to illustrate the two video sequences. The encoding process is the same as the existing process and is not described in detail here.

[0118] In V-PCC, a point cloud projection patch is a collection of information, including the 3D bounding box of the point cloud, related geometric and texture information, and the atlas information required for 3D reconstruction. The point cloud projection patch partitioning process projects each frame of the point cloud from 3D space onto a given 2D plane, dividing the point cloud into as few smooth-bounded patches as possible to minimize reconstruction error. The point cloud projection process can be performed by first calculating the normal vector for each point in the input point cloud. The entire point cloud is then clustered according to the normal vector and projected onto the six faces of a cube to form initial clusters. Next, the cluster index of each point is iteratively updated based on the normal vector and the index of the nearest neighboring point, achieving finer patch partitioning. Finally, the connected component extraction method is used to extract connected patches and merge them into larger patch blocks, resulting in the final patch set. Therefore, by packaging and reorganizing the point cloud projection patch set on a two-dimensional plane, the geometric and texture information in the three-dimensional space are converted into two-dimensional images respectively, thereby realizing the generation and filling process of geometric and texture images to obtain a geometric projection map sequence and a texture projection map sequence.

[0119] The following description assumes that the geometric projection map sequence and the texture projection map sequence have been obtained. The encoding process of the geometric projection map sequence and the texture projection map sequence includes:

[0120] a) Perform geometric projection analysis to obtain the perceptual coefficient of each coding block in the geometric projection Among them, except for the first frame reference frame, the coded block based on the current coding block and the previous frame is obtained ρ in n parameter;

[0121] b) determining a perceptual Lagrangian multiplier based on the perceptual coefficient;

[0122] c) Encoding the current geometric projection frame; if the geometric projection images corresponding to all video frames are encoded, proceed to step d) for texture encoding; otherwise, proceed to step a) for encoding the next frame;

[0123] d) Perform texture projection analysis to obtain the perceptual coefficient of each coding block in the geometric projection map Among them, except for the first frame reference frame, the coded block based on the current coding block and the previous frame is obtained ρ in n parameter;

[0124] e) determining a perceptual Lagrangian multiplier based on the perceptual coefficient;

[0125] f) Encode the current texture projection map, and then go to step d) to encode the next frame texture projection map until all texture projection maps are encoded.

[0126] In summary, this embodiment provides a point cloud rate-distortion coding method based on perceptual weighting, the method comprising obtaining a projection image corresponding to the point cloud to be coded and several reference projection images corresponding to the projection module; obtaining the gradient weights and structural similarity distortions of each coding block of the projection image and each reference projection image, and calculating the perceptual distortion of the projection image based on the gradient weights and structural similarity distortions of each coding block; determining the rate-distortion cost corresponding to the point cloud to be coded according to the perceptual distortion of the projection image, and encoding the projection image based on the rate-distortion cost. This application generates a two-dimensional projection image by projection, then calculates the perceptual distortion corresponding to each projection image in units of coding blocks, and makes coding decisions based on the perceptual loss, thereby improving the matching of point cloud coding and visual perception quality, thereby improving coding efficiency.

[0127] Furthermore, to illustrate the accuracy of this embodiment, a statistical analysis is performed on the Longdress and Andrew point clouds. Each point cloud is compressed with 17 quantization parameter (QP) pairs ranging from 20 to 32 and 27 to 42. Each point cloud is projected onto a two-dimensional image and decomposed into 400 blocks, i.e., 400×17 sampling blocks. As shown in Figures 3 and 4, the R 2 To calculate and The approximate model accuracy between the two is expressed as the average R on the attribute and geometry channels. 2 The approximations are 0.9732 and 0.9556, which are perceived to be accurate.

[0128] To validate the proposed coding efficiency, the coding method was implemented on the V-PCC reference software TMC2-10.0 and the corresponding HEVC reference software HM16.20-SCM8.8. The latest V-PCC (TMC2-10.0 + HM16.20-SCM8.8) was used as an anchor method for comparison. In addition, two state-of-the-art V-PCC RDO methods, occupancy map-based RDO (denoted as "OC-RDO") and EPM-based RDO (denoted as "EPM-RDO"), were also used as baselines for comparison. Since the proposed coding method can be applied to both intra- and inter-frame coding in V-PCC, V-PCC was configured as a random access coding (RA) scheme for geometry and texture coding. Five bitrate points, ranging from low (r1) to high (r5), were selected for testing according to the V-PCC Common Test Conditions (CTC). For a fair comparison, GraphSIM (independent of the proposed PPCM) was used to measure the perceptual quality of compressed point clouds for different coding schemes. Then, Bjontegaard Delta Bit Rate (BDBR) is used to compare the RD performance of the proposed scheme and the baseline scheme.

[0129] Table 1 shows the RD comparison on the 6 tested DPCs, where the visual quality of the compressed video is measured using GraphSIM, R T represents the total bitrate (Mbps). As can be seen, compared to V-PCC, OC-RDO achieves bitrate reductions ranging from 0.34% to 17.05%, with an average of 9.61%. EPM-RDO achieves BDBR savings ranging from -4.08% to 5.61%, with an average of 1.17%. As for the proposed PWRDO, it achieves BDBR reductions ranging from 7.09% to 22.79%, an average of 13.52% compared to V-PCC, significantly outperforming the two coding optimization comparison schemes, OC-RDO and EPM-RDO. To evaluate the perceptual coding efficiency of the proposed PWRDO, five different perceptual PCQA metrics, including D1, GraphSIM, MPED, SIAT_PCQA, and the proposed PPCM, were used to measure the visual quality of the compressed DPC in different schemes. The BDBR, which includes the total number of coded bits, including geometry bits, attribute bits, and metadata bits, was then calculated for each PCQA. A negative BDBR indicates bit savings, while a positive one indicates a decrease in coding efficiency compared to the anchor point. Table 1 shows the RD comparison of the proposed PWRDO and the baseline RDO scheme under five different perceptual PCQA metrics. These comparison results show that the proposed PWRDO can stably achieve higher encoding gains in all PCQAs, which demonstrates the effectiveness of the proposed PWRDO.

[0130] Table 1. Gains of the proposed method and two point cloud coding rate-distortion optimization methods on five evaluation indicators

[0131] Based on the above-mentioned perceptually weighted point cloud rate-distortion coding method, this embodiment provides a perceptually weighted point cloud rate-distortion coding system, as shown in FIG5 , the system including:

[0132] An acquisition module 100 is configured to acquire a projection image corresponding to a point cloud to be encoded and a plurality of reference projection images corresponding to the projection module, wherein the projection image and the plurality of reference projection images both include a geometric projection image and a texture projection image;

[0133] A calculation module 200 is configured to obtain a gradient weight and a structural similarity distortion of each coding block of the projected image and each reference projected image, and calculate a perceptual distortion of the projected image based on the gradient weight and the structural similarity distortion of each coding block;

[0134] The encoding module 300 is configured to determine a rate-distortion cost corresponding to the point cloud to be encoded according to the perceived distortion of the projected image, and encode the projected image based on the rate-distortion cost.

[0135] Based on the above-mentioned point cloud rate-distortion encoding method based on perceptual weighting, this embodiment provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the point cloud rate-distortion encoding method based on perceptual weighting as described in the above embodiment.

[0136] Based on the above-mentioned perceptually weighted point cloud rate-distortion encoding method, the present application also provides a terminal device, as shown in Figure 6, which includes at least one processor (processor) 20; a display screen 21; and a memory (memory) 22, and may also include a communication interface (Communications Interface) 23 and a bus 24. Among them, the processor 20, the display screen 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a preset user guide interface in the initial setting mode. The communication interface 23 can transmit information. The processor 20 can call the logic instructions in the memory 22 to execute the method in the above embodiment.

[0137] In addition, the logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0138] The memory 22, as a computer-readable storage medium, can be configured to store software programs or computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the software programs, instructions, or modules stored in the memory 22 to perform functional applications and data processing, thereby implementing the methods in the above embodiments.

[0139] The memory 22 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data created based on the use of the terminal device. In addition, the memory 22 may include high-speed random access memory and non-volatile memory. For example, various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.

[0140] In addition, the specific process of loading and executing the multiple instruction processors in the above-mentioned storage medium and the terminal device has been described in detail in the above-mentioned method and will not be described here one by one. Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, rather than to limit them. Although this application has been described in detail with reference to the above-mentioned embodiments, a person of ordinary skill in the art should understand that it is still possible to modify the technical solutions described in the above-mentioned embodiments, or to replace some of the technical features therein with equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A point cloud rate-distortion coding method based on perceptual weighting, characterized in that: The method comprises: Acquire a projection image corresponding to the point cloud to be encoded and a plurality of reference projection images corresponding to the projection module, wherein the projection image and the plurality of reference projection images both include a geometric projection image and a texture projection image; Obtaining the gradient weight and structural similarity distortion of each coding block of the projection image and each reference projection image, and calculating the perceptual distortion of the projection image based on the gradient weight and structural similarity distortion of each coding block; A rate-distortion cost corresponding to the to-be-encoded point cloud is determined according to the perceived distortion of the projected image, and the projected image is encoded based on the rate-distortion cost.

2. The point cloud rate-distortion coding method based on perceptual weighting according to claim 1, characterized in that: The reference projection image is obtained by downsampling the projection image, and the image scales of the projection image and the reference projection images are different from each other.

3. The point cloud rate-distortion coding method based on perceptual weighting according to claim 1, characterized in that: The process of obtaining the gradient weight specifically includes: The gradient value of each pixel in the coding block is calculated, and the gradient weight of the coding block is calculated based on the gradient value of each pixel.

4. The point cloud rate-distortion coding method based on perceptual weighting according to claim 1, characterized in that: The determining, according to the perceived distortion of the projected image, the rate-distortion cost corresponding to the to-be-encoded point cloud specifically includes: Converting the structural similarity distortion in the perceptual distortion into a mean square error distortion to obtain a perceptual coefficient corresponding to the projection image; Determining a perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient; A rate-distortion cost corresponding to the to-be-encoded point cloud is determined based on the perceptual distortion and the perceptual Lagrangian multiplier.

5. The point cloud rate-distortion coding method based on perceptual weighting according to claim 4, characterized in that: The corresponding relationship between the structural similarity distortion and the mean square error distortion is: in, represents the structural similarity distortion of the coding block i of the k-th target projection image, represents the mean square error distortion of the coding block i of the kth target projection image, φ k,i represents the perceptual coefficient of the coding block i of the kth target projection image, blk n represents the nth sub-image block of coding block i, ρ n represents the linear model parameters of the nth sub-image block of coding block i, N represents the number of sub-image blocks, E i represents the pixel content weight, and the kth target projection image is a projection image in a projection image set formed by the projection image and several reference projection images.

6. The point cloud rate-distortion coding method based on perceptual weighting according to claim 4, characterized in that: When the perceptual Lagrangian multiplier is used for encoding, determining the perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient specifically includes: Calculating a first target perceptual coefficient based on the perceptual coefficient of each coding block of the projected image, and calculating a ratio of the first target perceptual coefficient to the perceptual coefficient of the coding block to obtain a first perceptual coefficient ratio; The product of the first perceptual coefficient ratio and the mean square error Lagrangian multiplier of the projected image is calculated to obtain a perceptual Lagrangian multiplier corresponding to the coding block.

7. The point cloud rate-distortion coding method based on perceptual weighting according to claim 4, characterized in that: When the perceptual Lagrangian multiplier is used for mode decision, determining the perceptual Lagrangian multiplier corresponding to the projected image based on the perceptual coefficient specifically includes: Calculating a second target perceptual coefficient based on the perceptual coefficient of each coding block of the projected image, and calculating a ratio of the second target perceptual coefficient to a square root of the perceptual coefficient of the coding block to obtain a second perceptual coefficient ratio; Calculate the mean square error between the ratio of the second perception coefficient and the projection image The product of the square roots of the Lagrangian multipliers is calculated to obtain the perceptual Lagrangian multiplier corresponding to the coding block.

8. A point cloud rate-distortion coding system based on perceptual weighting, characterized in that: The system comprises: An acquisition module, used to acquire a projection image corresponding to the point cloud to be encoded and a plurality of reference projection images corresponding to the projection module, wherein the projection image and the plurality of reference projection images both include a geometric projection image and a texture projection image; A calculation module, used to obtain the gradient weight and structural similarity distortion of each coding block of the projection image and each reference projection image, and calculate the perceptual distortion of the projection image based on the gradient weight and structural similarity distortion of each coding block; The encoding module is used to determine the rate-distortion cost corresponding to the to-be-encoded point cloud according to the perceived distortion of the projected image, and encode the projected image based on the rate-distortion cost.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the perceptually weighted point cloud rate-distortion encoding method as described in any one of claims 1-7.

10. A terminal device, characterized in that: include: Processor, memory and communication bus; The memory stores a computer-readable program executable by the processor; The communication bus realizes the connection and communication between the processor and the memory; When the processor executes the computer-readable program, the steps in the point cloud rate-distortion encoding method based on perceptual weighting are implemented as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • High efficiency video coding sensing rate-distortion optimization method based on structural similarity

    CN103607590A

  • Method and system for structural similarity based perceptual video coding

    CN103918271A

  • Video-based fast dynamic point cloud coding method and system

    CN112601082A

  • Projection-based point cloud quality evaluation method and device, equipment and storage medium

    CN115018753A

  • Point cloud quality evaluation method based on information amount weighted projection

    CN115631126A

Cited By

  • Color point cloud JND threshold prediction method and device, equipment and storage medium

    CN119743620A

  • Bathing beach risk electronic fence, sound-light alarm method, medium and system

    CN122531145A

  • A bathing beach risk electronic fence and sound-light alarm method, medium and system

    CN122531145B

  • Panoramic image projection optimization method based on texture complexity and geometric perception

    CN122798615A