Dynamic point cloud coding rate-distortion optimization method based on visual perception and partitioning

By optimizing the coding rate distortion of dynamic point clouds through methods based on visual perception and partitioning, the problem of low coding efficiency of dynamic point clouds is solved, achieving more efficient coding efficiency and ensuring subjective quality.

CN114827615BActive Publication Date: 2024-08-30NINGBO UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210309601.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-28
Publication Date
2024-08-30
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

The coding efficiency of dynamic point clouds still needs to be further improved in existing technologies, especially while ensuring subjective quality, especially given its huge data volume and efficient transmission requirements.

Method used

Using a dynamic point cloud coding rate distortion optimization method based on visual perception and partitioning, the color information and geometric information of the point cloud are mapped into color video and geometric video through the V-PCC standard, and the background brightness masking degree, color texture masking degree and The geometric complexity masking degree calculates the visual tolerance, combines the occupancy map to distinguish the area of ​​interest, full sensing area, partial sensing area and non-perception area, and adjusts the quantization parameters to optimize the coding rate distortion performance.

Benefits of technology

While ensuring the subjective quality of the reconstructed point cloud, the coding efficiency of the point cloud is significantly improved. Experimental results show that the coding efficiency of geometry and color is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114827615B
    Figure CN114827615B
Patent Text Reader

Abstract

The present invention discloses a method for optimizing the coding rate distortion of a dynamic point cloud based on visual perception and partitioning, which maps the color information of a dynamic point cloud of a person into a color video and the geometric information into a geometric video; obtains a color distortion tolerance threshold through the background brightness masking degree and the color texture masking degree of each pixel in the color video, and then obtains a perception-based quantization parameter offset of each tree structure unit; obtains a geometric distortion tolerance threshold through the geometric complexity masking degree of each pixel in the geometric video, and then obtains a perception-based quantization parameter offset of each tree structure unit; obtains an occupancy map-based quantization parameter offset of each tree structure unit in each of the color video and the geometric video in combination; adopts different quantization parameters for tree structure units belonging to an area of ​​interest, a full perception area, a partial perception area, or a non-perception area; and has the advantage that the method can effectively improve the coding efficiency and ensure the subjective quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a dynamic point cloud coding technology, and in particular to a dynamic point cloud coding rate distortion optimization method based on visual perception and partitioning. Background Art

[0002] Point cloud is a collection of points on three-dimensional coordinates, which describes a three-dimensional scene or three-dimensional object through geometric position (X, Y, Z), attributes (color (R, G, B), reflectivity, normal), etc. Compared with traditional imaging methods, point cloud, as an efficient representation of three-dimensional objects in visual media, can provide viewers with an immersive visual experience and has been widely used in many fields such as medical imaging, virtual museums, autonomous driving, and free viewpoint video systems. In recent years, with the rapid development of three-dimensional imaging, integrated circuits, and computing technology, people can quickly acquire and process high-precision and high-density dynamic point clouds. However, the huge amount of data in dynamic point clouds poses a challenge to their efficient encoding and transmission. The Moving Picture Experts Group (MPEG) is committed to the standardization of efficient point cloud compression technology and launched the Video-based Point Cloud Compression (V-PCC) standard in 2017. V-PCC mainly focuses on solving the compression problem of dynamic point clouds. Even though the dynamic point clouds have been greatly compressed, their coding efficiency still needs to be further improved to achieve efficient transmission of dynamic point clouds. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a dynamic point cloud coding rate-distortion optimization method based on visual perception and partitioning, which can not only effectively improve the coding efficiency but also ensure the subjective quality.

[0004] The technical solution adopted by the present invention to solve the above technical problems is: a dynamic point cloud coding rate distortion optimization method based on visual perception and partitioning, characterized by comprising the following steps:

[0005] Step 1: Use the V-PCC standard projection method to map the color information of the character's dynamic point cloud into a color video, and map the geometric information of the character's dynamic point cloud into a geometric video. During the mapping, an occupancy map sequence is synchronously generated. The occupancy map sequence is used to distinguish between occupied pixels and non-occupied pixels in the color video and the geometric video.

[0006] Step 2: Calculate the background brightness of each pixel in each video frame in the color video, and then calculate the background brightness masking threshold of each pixel in each video frame in the color video. The background brightness masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the color video is recorded as LM k (x,y), Wherein, 1≤k≤K, K represents the total number of video frames contained in the color video or the total number of video frames contained in the geometry video, K>1, 1≤x≤M, 1≤y≤N, M represents the width of the video frames contained in the color video and the video frames contained in the geometry video, N represents the height of the video frames contained in the color video and the video frames contained in the geometry video, α1 and α2 are weight parameters, α1=17, ε is a constant parameter, ε=2, Represents the background brightness of the pixel at coordinate position (x, y) in the kth video frame in the color video;

[0007] Step 3: Calculate the color texture masking threshold of each pixel in each video frame in the color video through the gradient filter in four directions, and record the color texture masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the color video as TM k (x,y), Among them, the size of the gradient filter in the four directions is 5×5, max() represents the maximum value function, the symbol “||” represents the absolute value symbol, S g Represents the sum of all positive coefficients in the gradient filter in any direction, 1≤i≤5, 1≤j≤5, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied I C,k (x-3+i, y-3+j) represents the brightness value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the color video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I C,k (x-3+i,y-3+j)=0,g m (i, j) represents the coefficient at position (i, j) in the m-th direction of the gradient filter, the gradient filter in the first direction is the gradient filter in the 0° direction, the gradient filter in the second direction is the gradient filter in the 90° direction, the gradient filter in the third direction is the gradient filter in the 45° direction, and the gradient filter in the fourth direction is the gradient filter in the 135° direction;

[0008] Step 4: Use the nonlinear additive model of the mask to couple the background brightness masking threshold and the color texture masking threshold of each pixel in each video frame in the color video to obtain the human eye's tolerance threshold for point cloud color distortion for each pixel in each video frame in the color video. The human eye's tolerance threshold for point cloud color distortion of the pixel with coordinate position (x, y) in the kth video frame in the color video is recorded as JND C,k (x,y);

[0009] Step 5: Calculate the geometric complexity masking threshold of each pixel in each video frame in the geometric video through the gradient filter in four directions, and record the geometric complexity masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the geometric video as CM k (x,y), Among them, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied, I G,k (x-3+i, y-3+j) represents the depth value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the geometric video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I G,k (x-3+i,y-3+j)=0;

[0010] Step 6: Use a Gaussian low-pass filter to calculate the human eye's tolerance threshold for point cloud geometric distortion for each pixel in each video frame in the geometric video, and record the human eye's tolerance threshold for point cloud geometric distortion of the pixel with coordinate position (x, y) in the kth video frame in the geometric video as JND G,k (x,y), Among them, the size of the Gaussian low-pass filter is 5×5, 1≤i≤5, 1≤j≤5, when 1≤x-3+i≤M and 1≤y-3+j≤N, CM k (x-3+i, y-3+j) represents the geometric complexity masking threshold of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the geometric video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let CM k (x-3+i,y-3+j)=0, W(i,j) represents the coefficient of the Gaussian low-pass filter at position (i,j), and E(x,y) represents CM k The gradient suppression value of (x, y), the value of E(x, y) is η or 1, η is the amplitude limiting parameter;

[0011] Step 7: According to the human eye's tolerance threshold for point cloud color distortion for each pixel in each video frame in the color video, the average tolerance threshold for each video frame in the color video and the average tolerance threshold for each tree structure unit in each video frame in the color video are calculated, and then the perceptual weight of each tree structure unit in each video frame in the color video is calculated, and then the perceptual-based quantization parameter offset of each tree structure unit in each video frame in the color video is calculated, and the perceptual-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video is recorded as Similarly, according to the tolerance threshold of the human eye for point cloud geometric distortion of each pixel in each video frame in the geometric video, the average tolerance threshold of each video frame in the geometric video and the average tolerance threshold of each tree structure unit in each video frame in the geometric video are calculated, and then the perceptual weight of each tree structure unit in each video frame in the geometric video is calculated, and then the perceptual-based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the perceptual-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, the size of the tree structure unit is M CTU ×N CTU , M CTU =N CTU =64,

[0012] Step 8: Distinguish the occupied pixels and non-occupied pixels in each tree structure unit in each video frame of the color video and the geometric video according to the occupancy map sequence, and then calculate the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the color video and the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the geometric video, and then calculate the quantization parameter offset based on the occupancy map of each tree structure unit in each video frame in the color video and the quantization parameter offset based on the occupancy map of each tree structure unit in each video frame in the geometric video, and record the quantization parameter offset based on the occupancy map of the t-th tree structure unit in the k-th video frame in the color video as The occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is denoted as

[0013] Step 9: Determine whether each tree structure unit in each video frame of the color video and the geometric video belongs to the region of interest, the fully perceptual region, the partially perceptual region, or the non-perceptual region. For the t-th tree structure unit in the k-th video frame of the color video and the geometric video, if there is a pixel in the tree structure unit that belongs to F k, then it is determined that the tree structure unit belongs to the region of interest; if all pixels in the tree structure unit are occupied pixels and no pixel belongs to F k , then it is determined that the tree structure unit belongs to the full perception area; if the pixels in the tree structure unit have both occupied pixels and non-occupied pixels and no pixel belongs to F k , then it is determined that the tree structure unit belongs to a partial perception area; if all pixels in the tree structure unit are non-occupied pixels and none of the pixels belongs to F k , it is determined that the tree structure unit belongs to the non-perceptual area; where F k It represents the set of all pixels of all faces detected in the k-th video frame in the color video or geometric video using the face detection algorithm;

[0014] Step 10: Calculate the final quantization parameter offset of each tree structure unit in each video frame in the color video, and record the final quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as If the tree structure unit belongs to the region of interest, then let If the tree structure unit belongs to the full perception area, then let If the tree structure unit belongs to a partial perception area, let If the tree structure unit belongs to the non-perceptual area, let

[0015] Similarly, the final quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the final quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as If the tree structure unit belongs to the region of interest, then let If the tree structure unit belongs to the full perception area, then let If the tree structure unit belongs to a partial perception area, let If the tree structure unit belongs to the non-perceptual area, let

[0016] Among them, ΔQP 1 C,max =3, ΔQP 2 C,max =2, ΔQP 1 G,max =3, ΔQP 2 G,max =4;

[0017] Step 11: Calculate the quantization parameter of each tree structure unit in each video frame in the color video, and record the quantization parameter of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the quantization parameter of each tree structure unit in each video frame in the geometric video is calculated, and the quantization parameter of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as in, represents the original quantization parameter of the t-th tree structure unit in the k-th video frame in the color video, Represents the original quantization parameter of the t-th tree structure unit in the k-th video frame in the geometric video.

[0018] In the step 2, Calculated through a low-pass filter, Among them, the size of the low-pass filter used is 5×5, S L represents the sum of all coefficients in the low-pass filter, 1≤i≤5, 1≤j≤5, L(i,j) represents the coefficient at position (i,j) in the low-pass filter, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied, I C,k (x-3+i, y-3+j) represents the brightness value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the color video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I C,k (x-3+i,y-3+j)=0.

[0019] The low-pass filter is a mean low-pass filter, and its operator is S L =32.

[0020] The operator of the gradient filter in the 0° direction is The operator of the gradient filter in the 90° direction is The operator of the gradient filter in the 45° direction is The operator of the gradient filter in the 135° direction is S g =16.

[0021] In the step 4, Among them, min() represents the minimum value function. is a constant parameter,

[0022] The standard deviation of the Gaussian low-pass filter is 1.

[0023] In step 6, the process of determining the value of E(x,y) is as follows: k (x, y) performs Sobel operator calculation. If the calculated value is 255, it is determined that CM k (x, y) is the gradient error. If the calculated value is not 255, CM is determined. k (x,y) is the non-gradient error, CM k When (x, y) is the gradient error, the value of E(x, y) is taken as η, CM k When (x, y) is a non-gradient error, the value of E(x, y) is 1.

[0024] The specific process of step 7 is as follows:

[0025] Step 7_1: Calculate the average tolerance threshold of each video frame in the color video, and record the average tolerance threshold of the kth video frame in the color video as JND C,k,frame , And calculate the average tolerance threshold of each tree structure unit in each video frame in the color video, and record the average tolerance threshold of the t-th tree structure unit in the k-th video frame in the color video as

[0026] Similarly, the average tolerance threshold of each video frame in the geometric video is calculated, and the average tolerance threshold of the kth video frame in the geometric video is recorded as JND G,k,frame , And calculate the average tolerance threshold of each tree structure unit in each video frame in the geometric video, and record the average tolerance threshold of the t-th tree structure unit in the k-th video frame in the geometric video as

[0027] Among them, δ C,k (x, y) represents the occupancy coefficient of the pixel with coordinate position (x, y) in the kth video frame in the color video, δ C,k (x, y) is the pixel value of the pixel with coordinate position (x, y) in the kth occupancy map in the occupancy map sequence. When the pixel with coordinate position (x, y) in the kth video frame in the color video is an occupied pixel, δ C,k (x, y) = 1, the pixel with coordinate position (x, y) in the kth video frame in the color video is a non-occupied pixelδ C,k (x, y) = 0, M and N are both divisible by 64, and the size of the tree structure unit is M CTU ×N CTU , M CTU =N CTU =64, 1≤x'≤MCTU , 1≤y'≤N CTU , represents the human eye's tolerance threshold for point cloud color distortion of the pixel at coordinate position (x',y') in the t-th tree structure unit in the k-th video frame in the color video, represents the occupancy coefficient of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the color video, δ G,k (x, y) represents the occupancy coefficient of the pixel with coordinate position (x, y) in the kth video frame in the geometric video, δ G,k (x, y) is the pixel value of the pixel with coordinate position (x, y) in the kth occupancy map in the occupancy map sequence, that is, δ G,k (x,y) and δ C,k (x, y) are the same, the pixel with coordinate position (x, y) in the kth video frame in the geometric video is the occupied pixel δ G,k (x, y) = 1, the pixel with coordinate position (x, y) in the kth video frame in the geometric video is a non-occupied pixelδ G,k (x,y)=0, Represents the human eye's tolerance threshold for point cloud geometric distortion of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the geometric video, represents the occupancy coefficient of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the geometric video;

[0028] Step 7_2: Calculate the perceptual weight of each tree structure unit in each video frame in the color video, and record the perceptual weight of the t-th tree structure unit in the k-th video frame in the color video as

[0029] Similarly, the perceptual weight of each tree structure unit in each video frame in the geometric video is calculated, and the perceptual weight of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as

[0030] Among them, a and b are the control parameters of the variation range of the perception weight, and c is the control and The parameter of the changing speed, exp() represents the exponential function with the natural base e as the base, and d represents the ROI coefficient;

[0031] Step 7_3: Calculate the perceptual quantization parameter offset of each tree structure unit in each video frame in the color video, and record the perceptual quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the perceptually based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the perceptually based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, β=3.

[0032] In step 7_2, a=0.6, b=0.8, c=3, if there is a pixel in the t-th tree structure unit in the k-th video frame in the color video or the geometric video that belongs to F k Then d = 0, if no pixel in the t-th tree structure unit in the k-th video frame in the color video or the geometric video belongs to F k Then d = 1.5, F k Represents the set of all pixels of all faces detected in the k-th video frame in a color video or a geometric video using a face detection algorithm.

[0033] The specific process of step 8 is as follows:

[0034] Step 8_1: Distinguish the occupied pixels and the unoccupied pixels in each tree structure unit in each video frame of the color video and the geometry video, for the pixel p with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame of the color video and the geometry video respectively (x',y') , if the pixel value of the pixel with coordinate position (x',y') in the t-th tree structure unit in the k-th occupancy map in the occupancy map sequence is 1, then p (x',y') is the occupied pixel; if the pixel value of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th occupancy map in the occupancy map sequence is 0, then p (x',y') is a non-occupied pixel; where 1≤x'≤M CTU , 1≤y'≤N CTU ;

[0035] Step 8_2: Calculate the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the color video, and record the occupancy rate of the occupied pixels in the t-th tree structure unit in the k-th video frame in the color video as Similarly, the occupancy rate of each tree structure unit in each video frame in the geometric video is calculated, and the occupancy rate of the occupied pixels in the t-th tree structure unit in the k-th video frame in the geometric video is recorded as in, represents the total number of occupied pixels in the t-th tree structure unit in the k-th video frame in the color video, represents the total number of occupied pixels in the t-th tree structure unit in the k-th video frame in the geometric video;

[0036] Step 8_3: Calculate the occupancy map-based quantization parameter offset of each tree structure unit in each video frame in the color video, and record the occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the occupancy map-based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, QP factor represents the offset constant, calculated Time QP factor =2, calculate Time QP factor =4.

[0037] Compared with the prior art, the advantages of the present invention are:

[0038] The method of the present invention proposes a method for calculating the visual distortion tolerance of 3D point clouds on their 2D projection surfaces, defines the visual tolerance of human eyes to color distortion and geometric distortion of point clouds in projection videos (color videos and geometric videos), and describes the human eye's tolerance to color distortion of 3D point clouds by background brightness masking and color texture masking, and describes the human eye's tolerance to geometric distortion of 3D point clouds by geometric texture masking; the method of the present invention also proposes a projection video frame partitioning method based on visual perception, defines the face of a person point cloud model as an area of ​​interest, and divides the projection video frame into an area of ​​interest, a fully perceived area, a partially perceived area, and an unperceived area by combining visual distortion tolerance, an area of ​​interest, and an occupancy map; and then corrects the quantization parameters of each area according to the visual sensitivity of different partitions, so as to optimize the rate-distortion performance of different partitions. Experimental results show that the method of the present invention significantly improves the coding efficiency of point cloud geometry and color while ensuring the subjective quality of the reconstructed point cloud. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 The figure is a general implementation block diagram of the method of the present invention. DETAILED DESCRIPTION

[0040] The present invention is further described in detail below with reference to the accompanying drawings.

[0041] The present invention proposes a dynamic point cloud coding rate distortion optimization method based on visual perception and partitioning, and its overall implementation block diagram is as follows: Figure 1 As shown, it includes the following steps:

[0042] Step 1: Use the V-PCC standard projection method to map the color information of the character dynamic point cloud into a color video, and map the geometric information of the character dynamic point cloud into a geometric video. During the mapping, an occupancy map sequence is synchronously generated. The occupancy map sequence is used to distinguish occupied pixels (also called point cloud pixels) from non-occupied pixels (also called filling pixels) in the color video and the geometric video. The pixel value of each pixel in each occupancy map in the occupancy map sequence is 1 or 0, 1 represents that the corresponding pixel in a corresponding video frame in the color video and the corresponding pixel in a corresponding video frame in the geometric video are occupied pixels, and 0 represents that the corresponding pixel in a corresponding video frame in the color video and the corresponding pixel in a corresponding video frame in the geometric video are non-occupied pixels.

[0043] Step 2: Calculate the background brightness of each pixel in each video frame in the color video, and then calculate the background brightness masking threshold of each pixel in each video frame in the color video. The background brightness masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the color video is recorded as LM k (x,y), Wherein, 1≤k≤K, K represents the total number of video frames contained in the color video or the total number of video frames contained in the geometry video, K>1, 1≤x≤M, 1≤y≤N, M represents the width of the video frames contained in the color video and the video frames contained in the geometry video, N represents the height of the video frames contained in the color video and the video frames contained in the geometry video, α1 and α2 are weight parameters, α1=17, ε is a constant parameter, ε=2, Represents the background brightness of the pixel with coordinate position (x, y) in the kth video frame in the color video; since the human eye has different sensitivities to changes in background brightness, the background brightness masking threshold can be calculated based on the background brightness.

[0044] In this embodiment, in step 2, Calculated through a low-pass filter, Among them, the size of the low-pass filter used is 5×5, S Lrepresents the sum of all coefficients in the low-pass filter, 1≤i≤5, 1≤j≤5, L(i,j) represents the coefficient at position (i,j) in the low-pass filter, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied, I C,k (x-3+i, y-3+j) represents the brightness value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the color video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I C,k (x-3+i,y-3+j)=0, the low-pass filter is a mean low-pass filter, and its operator is S L =32.

[0045] Step 3: Calculate the color texture masking threshold of each pixel in each video frame in the color video through the gradient filter in four directions, and record the color texture masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the color video as TM k (x,y), Among them, the size of the gradient filter in the four directions is 5×5, max() represents the maximum value function, the symbol “||” represents the absolute value symbol, S g Represents the sum of all positive coefficients in the gradient filter in any direction, 1≤i≤5, 1≤j≤5, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied I C,k (x-3+i, y-3+j) represents the brightness value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the color video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I C,k (x-3+i,y-3+j)=0,g m (i, j) represents the coefficient at position (i, j) in the gradient filter in the mth direction, the gradient filter in the first direction is the gradient filter in the 0° direction, the gradient filter in the second direction is the gradient filter in the 90° direction, the gradient filter in the third direction is the gradient filter in the 45° direction, and the gradient filter in the fourth direction is the gradient filter in the 135° direction; the color texture masking degree represents the ability to hide visual distortion in the color texture area.

[0046] In this embodiment, the operator of the gradient filter in the 0° direction is The operator of the gradient filter in the 90° direction is The operator of the gradient filter in the 45° direction is The operator of the gradient filter in the 135° direction is S g =16.

[0047] Step 4: Use the nonlinear additive model of the mask to couple the background brightness masking threshold and the color texture masking threshold of each pixel in each video frame in the color video to obtain the human eye's tolerance threshold for point cloud color distortion for each pixel in each video frame in the color video. The human eye's tolerance threshold for point cloud color distortion of the pixel with coordinate position (x, y) in the kth video frame in the color video is recorded as JND C,k (x,y).

[0048] In this embodiment, in step 4, Among them, min() represents the minimum value function, min(LM k (x,y),TM k (x,y)) is to eliminate LM k (x,y) and TM k The overlapping part of (x,y), is a constant parameter,

[0049] Step 5: Calculate the geometric complexity masking threshold of each pixel in each video frame in the geometric video through the gradient filter in four directions, and record the geometric complexity masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the geometric video as CM k (x,y), Among them, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied, I G,k (x-3+i, y-3+j) represents the depth value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the geometric video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I G,k (x-3+i, y-3+j)=0; the geometric complexity masking degree indicates that the distortion tolerance of the geometrically smooth area of ​​the point cloud is lower than that of the geometrically complex area.

[0050] In this embodiment, the gradient filter in the first direction is a gradient filter in the 0° direction, the gradient filter in the second direction is a gradient filter in the 90° direction, the gradient filter in the third direction is a gradient filter in the 45° direction, and the gradient filter in the fourth direction is a gradient filter in the 135° direction. The operator of the gradient filter in the 0° direction is The operator of the gradient filter in the 90° direction is The operator of the gradient filter in the 45° direction is The operator of the gradient filter in the 135° direction is S g =16.

[0051] Step 6: Use a Gaussian low-pass filter to calculate the human eye's tolerance threshold for point cloud geometric distortion for each pixel in each video frame in the geometric video, and record the human eye's tolerance threshold for point cloud geometric distortion of the pixel with coordinate position (x, y) in the kth video frame in the geometric video as JND G,k (x,y), Among them, the size of the Gaussian low-pass filter is 5×5, 1≤i≤5, 1≤j≤5, when 1≤x-3+i≤M and 1≤y-3+j≤N, CM k (x-3+i, y-3+j) represents the geometric complexity masking threshold of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the geometric video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let CM k (x-3+i,y-3+j)=0, W(i,j) represents the coefficient at position (i,j) in the Gaussian low-pass filter used. The function of the Gaussian low-pass filter is to smooth the geometrically complex masking threshold. E(x,y) represents CM k The gradient suppression value of (x, y), the value of E(x, y) is η or 1, η is the amplitude limiting parameter, η = 0.2.

[0052] In this embodiment, the standard deviation of the Gaussian low-pass filter is 1.

[0053] In this embodiment, in step 6, the process of determining the value of E(x, y) is as follows: k (x, y) performs Sobel operator calculation. If the calculated value is 255, it is determined that CM k (x, y) is the gradient error. If the calculated value is not 255, CM is determined. k (x,y) is the non-gradient error, CM k When (x, y) is the gradient error, the value of E(x, y) is taken as η, CM k When (x, y) is a non-gradient error, the value of E(x, y) is 1.

[0054] Step 7: According to the human eye tolerance threshold of each pixel in each video frame in the color video for point cloud color distortion, the average tolerance threshold of each video frame in the color video and the average tolerance threshold of each coding tree unit (CTU) in each video frame in the color video are calculated, and then the perceptual weight of each coding tree unit in each video frame in the color video is calculated, and then the perceptual-based quantization parameter offset of each coding tree unit in each video frame in the color video is calculated, and the perceptual-based quantization parameter offset of the t-th coding tree unit in the k-th video frame in the color video is recorded as Similarly, according to the tolerance threshold of the human eye for point cloud geometric distortion of each pixel in each video frame in the geometric video, the average tolerance threshold of each video frame in the geometric video and the average tolerance threshold of each coding tree unit (CTU) in each video frame in the geometric video are calculated, and then the perceptual weight of each tree structure unit in each video frame in the geometric video is calculated, and then the perceptual-based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the perceptual-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, the size of the tree structure unit is M CTU ×N CTU , M CTU =N CTU =64,

[0055] In this embodiment, the specific process of step 7 is:

[0056] Step 7_1: Calculate the average tolerance threshold of each video frame in the color video, and record the average tolerance threshold of the kth video frame in the color video as JND C,k,frame , The average tolerance threshold of each coding tree unit (CTU) in each video frame in the color video is calculated, and the average tolerance threshold of the t-th coding tree unit in the k-th video frame in the color video is recorded as

[0057] Similarly, the average tolerance threshold of each video frame in the geometric video is calculated, and the average tolerance threshold of the kth video frame in the geometric video is recorded as JND G,k,frame , And calculate the average tolerance threshold of each tree structure unit in each video frame in the geometric video, and record the average tolerance threshold of the t-th tree structure unit in the k-th video frame in the geometric video as

[0058] Among them, δ C,k (x, y) represents the occupancy coefficient of the pixel with coordinate position (x, y) in the kth video frame in the color video, δ C,k (x, y) is the pixel value of the pixel with coordinate position (x, y) in the kth occupancy map in the occupancy map sequence. When the pixel with coordinate position (x, y) in the kth video frame in the color video is an occupied pixel, δ C,k(x, y) = 1, the pixel with coordinate position (x, y) in the kth video frame in the color video is a non-occupied pixelδ C,k (x, y) = 0, M and N are both divisible by 64, and the size of the tree structure unit is M CTU ×N CTU , M CTU =N CTU =64, 1≤x'≤M CTU , 1≤y'≤N CTU , represents the human eye's tolerance threshold for point cloud color distortion of the pixel at coordinate position (x',y') in the t-th tree structure unit in the k-th video frame in the color video, represents the occupancy coefficient of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the color video, δ G,k (x, y) represents the occupancy coefficient of the pixel with coordinate position (x, y) in the kth video frame in the geometric video, δ G,k (x, y) is the pixel value of the pixel with coordinate position (x, y) in the kth occupancy map in the occupancy map sequence, that is, δ G,k (x,y) and δ C,k (x, y) are the same, the pixel with coordinate position (x, y) in the kth video frame in the geometric video is the occupied pixel δ G,k (x, y) = 1, the pixel with coordinate position (x, y) in the kth video frame in the geometric video is a non-occupied pixelδ G,k (x,y)=0, Represents the human eye's tolerance threshold for point cloud geometric distortion of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the geometric video, Represents the occupancy coefficient of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the geometric video.

[0059] Step 7_2: Calculate the perceptual weight of each tree structure unit in each video frame in the color video, and record the perceptual weight of the t-th tree structure unit in the k-th video frame in the color video as

[0060] Similarly, the perceptual weight of each tree structure unit in each video frame in the geometric video is calculated, and the perceptual weight of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as

[0061] Among them, a and b are the control parameters of the variation range of the perception weight. The larger a+b is, the larger the variation range of the perception weight is. and The parameters of the speed of change, Greater than 0 means that the average tolerance threshold of the t-th tree structure unit in the k-th video frame in the color video is higher than the average tolerance threshold of the k-th video frame. Greater than 0 indicates that the average tolerance threshold of the t-th tree structure unit in the k-th video frame in the geometric video is higher than the average tolerance threshold of the k-th video frame, exp() represents an exponential function with the natural base e as the base, e=2.71…, and d represents the ROI (region of interest) coefficient.

[0062] Here, in step 7_2, a=0.6, b=0.8, c=3, if there is a pixel in the t-th tree structure unit in the k-th video frame in the color video or the geometric video that belongs to F k Then d = 0, if no pixel in the t-th tree structure unit in the k-th video frame in the color video or the geometric video belongs to F k Then d = 1.5, F k It represents the set of all pixels of all faces detected in the kth video frame of a color video or a geometric video using an existing face detection algorithm. The human eye is very sensitive to the distortion caused by the face area of ​​a dynamic point cloud of a person. It is necessary to ensure the overall subjective quality of the dynamic point cloud of a person, especially the quality of the face area of ​​the dynamic point cloud of a person. The mapping method of color video and geometric video is consistent, and their face positions are also consistent. Therefore, an existing face detection algorithm is used to detect all faces in each video frame of a color video or a geometric video.

[0063] Step 7_3: Calculate the perceptual quantization parameter offset of each tree structure unit in each video frame in the color video, and record the perceptual quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the perceptually based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the perceptually based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, β=3.

[0064] Step 8: Distinguish the occupied pixels and non-occupied pixels in each tree structure unit in each video frame of the color video and the geometric video according to the occupancy map sequence, and then calculate the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the color video and the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the geometric video, and then calculate the quantization parameter offset based on the occupancy map of each tree structure unit in each video frame in the color video and the quantization parameter offset based on the occupancy map of each tree structure unit in each video frame in the geometric video, and record the quantization parameter offset based on the occupancy map of the t-th tree structure unit in the k-th video frame in the color video as The occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is denoted as

[0065] In this embodiment, the specific process of step 8 is:

[0066] Step 8_1: Distinguish the occupied pixels and the unoccupied pixels in each tree structure unit in each video frame of the color video and the geometry video, for the pixel p with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame of the color video and the geometry video respectively (x',y') , if the pixel value of the pixel with coordinate position (x',y') in the t-th tree structure unit in the k-th occupancy map in the occupancy map sequence is 1, then p (x',y') is the occupied pixel; if the pixel value of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th occupancy map in the occupancy map sequence is 0, then p (x',y' ) is a non-occupied pixel; where 1≤x'≤M CTU , 1≤y'≤N CTU .

[0067] Step 8_2: Calculate the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the color video, and record the occupancy rate of the occupied pixels in the t-th tree structure unit in the k-th video frame in the color video as Similarly, the occupancy rate of each tree structure unit in each video frame in the geometric video is calculated, and the occupancy rate of the occupied pixels in the t-th tree structure unit in the k-th video frame in the geometric video is recorded as in, represents the total number of occupied pixels in the t-th tree structure unit in the k-th video frame in the color video, Represents the total number of occupied pixels in the t-th tree structure unit in the k-th video frame in the geometric video.

[0068] Step 8_3: Calculate the occupancy map-based quantization parameter offset of each tree structure unit in each video frame in the color video, and record the occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the occupancy map-based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, QP factor represents the offset constant, calculated Time QP factor =2, calculate Time QP factor =4.

[0069] Step 9: Determine whether each tree structure unit in each video frame of the color video and the geometric video belongs to the region of interest (ROI) or the fully perceptual region (WROP) or the partially perceptual region (PROP) or the non-perceptual region (ROIP), that is, partition. For the t-th tree structure unit in the k-th video frame of the color video and the geometric video, if there is a pixel in the tree structure unit that belongs to F k , then it is determined that the tree structure unit belongs to the region of interest; if all pixels in the tree structure unit are occupied pixels and no pixel belongs to F k , then it is determined that the tree structure unit belongs to the full perception area; if the pixels in the tree structure unit have both occupied pixels and non-occupied pixels and no pixel belongs to F k , then it is determined that the tree structure unit belongs to a partial perception area; if all pixels in the tree structure unit are non-occupied pixels and none of the pixels belongs to F k , it is determined that the tree structure unit belongs to the non-perceptual area; where F k It represents the set of all pixels of all faces detected in the k-th video frame in the color video or the geometric video using the existing face detection algorithm.

[0070] Step 10: Calculate the final quantization parameter offset of each tree structure unit in each video frame in the color video, and record the final quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as If the tree structure unit belongs to the region of interest, then let If the tree structure unit belongs to the full perception area, then let If the tree structure unit belongs to a partial perception area, let If the tree structure unit belongs to the non-perceptual area, let

[0071] Similarly, the final quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the final quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as If the tree structure unit belongs to the region of interest, then let If the tree structure unit belongs to the full perception area, then let If the tree structure unit belongs to a partial perception area, let If the tree structure unit belongs to the non-perceptual area, let

[0072] Among them, ΔQP 1 C,max =3, ΔQP 2 C,max =2, ΔQP 1 G,max =3, ΔQP 2 G,max =4.

[0073] Because the distortion tolerance of occupied pixels (point cloud pixels) in different regions is different, different quantization parameter offset strategies are adopted for different regions. The quality of the region of interest, i.e. the face region, is the most important. Changes in the geometry or color quality of the point cloud are easily detected. The full perception region is occupied pixels, and the distortion tolerance of this region is compared with the current frame. Some perception regions contain both occupied and unoccupied pixels. While considering the distortion tolerance level of this region, the quantization parameter is adjusted according to the occupancy information. The non-perception region is non-occupied pixels, and the maximum quantization parameter is used to encode this region.

[0074] Step 11: Calculate the quantization parameter of each tree structure unit in each video frame in the color video, and record the quantization parameter of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the quantization parameter of each tree structure unit in each video frame in the geometric video is calculated, and the quantization parameter of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as in, represents the original quantization parameter of the t-th tree structure unit in the k-th video frame in the color video, Represents the original quantization parameter of the t-th tree structure unit in the k-th video frame in the geometric video.

[0075] In order to further illustrate the performance of the method of the present invention, the method of the present invention was tested.

[0076] To evaluate the effectiveness of the method of the present invention, experiments were conducted in the V-PCC standard reference software TMC2 V7.0 and the corresponding HEVC reference software HM16.20-SCM8.8. The dynamic point cloud sequences of "Longdress", "Loot", "Queen", "Redandblack" and "Solder" were selected as standard test sequences. The number of frames involved in the test of each standard test sequence was 100 frames, the encoding structure was a random access mode, and the GOP length of the image group was 16. The original quantization parameters of the color video were 27, 32, 37, and 42, respectively, and the original quantization parameters of the geometric video were 20, 24, 28, and 32, respectively. The method of the present invention was tested on non-independent viewpoints.

[0077] Table 1 lists the specific information of the dynamic point cloud sequences of “Longdress”, “Loot”, “Queen”, “Redandblack” and “Solder”.

[0078] Table 1 Related parameter information of dynamic point cloud sequence

[0079] sequence Frame rate Frame rate Points Geometric accuracy Color Accuracy Longdress 300 30 ~800,000 10bit 8bit Loot 300 30 ~780,000 10bit 8bit Queen 250 50 ~1,000,000 10bit 8bit <![CDATA[Redandblack c ]]> 300 30 ~700,000 10bit 8bit Soldier 300 30 ~1,500,000 10bit 8bit

[0080] Table 2 lists the code rate savings of the dynamic point cloud sequence listed in Table 1 by using the method of the present invention to encode the dynamic point cloud sequence listed in Table 1, compared with using the V-PCC original platform method. The time saving rate of encoding by using the method of the present invention compared with encoding by using the V-PCC original platform method is defined as DR, DR = (R Org -R PRO ) / R Org ×100[%], where R PRO represents the code rate of the encoding method of the present invention, R Org Indicates the bit rate of encoding using the V-PCC original platform method.

[0081] Table 2 Comparison of code rate savings using the encoding method of the present invention

[0082]

[0083] It can be seen from Table 2 that the coding of geometric video and color video by the method of the present invention can save an average of 24.38% and 21.22% of the coding bit rate. For the five dynamic point cloud sequences, the coding by the method of the present invention is relatively balanced, especially for "Queen", where the bit rate of geometric video and color video is saved by 29.2% and 27.93%, respectively.

[0084] Table 3 lists the objective and subjective performance of the method of the present invention for encoding the dynamic point cloud sequence listed in Table 1. For the objective performance, PSNR (Peak Signal-to-Noise Rate) is used as the quality evaluation index; for the subjective performance, the adjectival categorical judgment (ACJ) method is used for subjective scoring, where a negative score indicates that the subjective quality of the method of the present invention is worse than that of the original platform method, and a positive score indicates that the subjective quality of the method of the present invention is better than that of the original platform method.

[0085] Table 3 The subjective and objective performance of the encoding method of the present invention compared with the V-PCC original platform method

[0086]

[0087]

[0088] As can be seen from Table 3, compared with the V-PCC original platform method, the PSNR of the geometry video and color video in the method of the present invention is reduced by 0.92dB and 0.84dB respectively, but the average subjective score reaches 0.1. This means that the method of the present invention eliminates more visual redundancy while improving the subjective quality of the reconstructed point cloud. Among them, "Longdress" and "Redandblack" have the best subjective quality, with average subjective scores of 0.215 and 0.2325 respectively.

[0089] The original quantization parameter combinations in Tables 2 and 3 represent combinations consisting of the original quantization parameters of the color video and the original quantization parameters of the geometry video, r1 is the combination (27, 20), r2 is the combination (32, 24), r3 is the combination (37, 28), and r4 is the combination (42, 32).

Claims

1. A dynamic point cloud coding rate-distortion optimization method based on visual perception and partitioning, characterized in that The following steps are involved: Step 1: Use the V-PCC standard projection method to map the color information of the character's dynamic point cloud into a color video, and map the geometric information of the character's dynamic point cloud into a geometric video. During the mapping, an occupancy map sequence is synchronously generated. The occupancy map sequence is used to distinguish between occupied pixels and non-occupied pixels in the color video and the geometric video. Step 2: Calculate the background brightness of each pixel in each video frame in the color video, and then calculate the background brightness masking threshold of each pixel in each video frame in the color video. The background brightness masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the color video is recorded as LM k (x,y), Wherein, 1≤k≤K, K represents the total number of video frames contained in the color video or the total number of video frames contained in the geometry video, K>1, 1≤x≤M, 1≤y≤N, M represents the width of the video frames contained in the color video and the video frames contained in the geometry video, N represents the height of the video frames contained in the color video and the video frames contained in the geometry video, α1 and α2 are weight parameters, ε is a constant parameter, ε=2, Represents the background brightness of the pixel at coordinate position (x, y) in the kth video frame in the color video; Step 3: Calculate the color texture masking threshold of each pixel in each video frame in the color video through the gradient filter in four directions, and record the color texture masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the color video as TM k (x,y), Among them, the size of the gradient filter in the four directions is 5×5, max() represents the maximum value function, the symbol "||" represents the absolute value symbol, S g Represents the sum of all positive coefficients in the gradient filter in any direction, 1≤i≤5, 1≤j≤5, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied I C,k (x-3+i, y-3+j) represents the brightness value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the color video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I C,k (x-3+i,y-3+j)=0,g m (i, j) represents the coefficient at position (i, j) in the m-th direction of the gradient filter, the gradient filter in the first direction is the gradient filter in the 0° direction, the gradient filter in the second direction is the gradient filter in the 90° direction, the gradient filter in the third direction is the gradient filter in the 45° direction, and the gradient filter in the fourth direction is the gradient filter in the 135° direction; Step 4: Use the nonlinear additive model of the mask to couple the background brightness masking threshold and the color texture masking threshold of each pixel in each video frame in the color video to obtain the human eye's tolerance threshold for point cloud color distortion for each pixel in each video frame in the color video. The human eye's tolerance threshold for point cloud color distortion of the pixel with coordinate position (x, y) in the kth video frame in the color video is recorded as JND C,k (x,y); Step 5: Calculate the geometric complexity masking threshold of each pixel in each video frame in the geometric video through the gradient filter in four directions, and record the geometric complexity masking threshold of the pixel with coordinate position (x, y) in the kth video frame in the geometric video as CM k (x,y), Among them, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied, I G,k (x-3+i, y-3+j) represents the depth value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the geometric video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I G,k (x-3+i,y-3+j)=0; Step 6: Use a Gaussian low-pass filter to calculate the human eye's tolerance threshold for point cloud geometric distortion for each pixel in each video frame in the geometric video, and record the human eye's tolerance threshold for point cloud geometric distortion of the pixel with coordinate position (x, y) in the kth video frame in the geometric video as JND G,k (x,y), Among them, the size of the Gaussian low-pass filter is 5×5, 1≤i≤5, 1≤j≤5, when 1≤x-3+i≤M and 1≤y-3+j≤N, CM k (x-3+i, y-3+j) represents the geometric complexity masking threshold of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the geometric video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let CM k (x-3+i,y-3+j)=0, W(i,j) represents the coefficient of the Gaussian low-pass filter at position (i,j), and E(x,y) represents CM k The gradient suppression value of (x, y), the value of E(x, y) is η or 1, η is the amplitude limiting parameter; Step 7: According to the human eye's tolerance threshold for point cloud color distortion for each pixel in each video frame in the color video, the average tolerance threshold for each video frame in the color video and the average tolerance threshold for each tree structure unit in each video frame in the color video are calculated, and then the perceptual weight of each tree structure unit in each video frame in the color video is calculated, and then the perceptual-based quantization parameter offset of each tree structure unit in each video frame in the color video is calculated, and the perceptual-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video is recorded as Similarly, according to the tolerance threshold of the human eye for point cloud geometric distortion of each pixel in each video frame in the geometric video, the average tolerance threshold of each video frame in the geometric video and the average tolerance threshold of each tree structure unit in each video frame in the geometric video are calculated, and then the perceptual weight of each tree structure unit in each video frame in the geometric video is calculated, and then the perceptual-based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the perceptual-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, the size of the tree structure unit is M CTU ×N CTU , M CTU =N CTU =64, Step 8: Distinguish the occupied pixels and non-occupied pixels in each tree structure unit in each video frame of the color video and the geometric video according to the occupancy map sequence, and then calculate the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the color video and the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the geometric video, and then calculate the quantization parameter offset based on the occupancy map of each tree structure unit in each video frame in the color video and the quantization parameter offset based on the occupancy map of each tree structure unit in each video frame in the geometric video, and record the quantization parameter offset based on the occupancy map of the t-th tree structure unit in the k-th video frame in the color video as The occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is denoted as Step 9: Determine whether each tree structure unit in each video frame of the color video and the geometric video belongs to the region of interest, the fully perceptual region, the partially perceptual region, or the non-perceptual region. For the t-th tree structure unit in the k-th video frame of the color video and the geometric video, if there is a pixel in the tree structure unit that belongs to F k , then it is determined that the tree structure unit belongs to the region of interest; if all pixels in the tree structure unit are occupied pixels and no pixel belongs to F k , then it is determined that the tree structure unit belongs to the full perception area; if the pixels in the tree structure unit have both occupied pixels and non-occupied pixels and no pixel belongs to F k , then it is determined that the tree structure unit belongs to a partial perception area; if all pixels in the tree structure unit are non-occupied pixels and none of the pixels belongs to F k , it is determined that the tree structure unit belongs to the non-perceptual area; where F k It represents the set of all pixels of all faces detected in the k-th video frame in the color video or geometric video using the face detection algorithm; Step 10: Calculate the final quantization parameter offset of each tree structure unit in each video frame in the color video, and record the final quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as If the tree structure unit belongs to the region of interest, then let If the tree structure unit belongs to the full perception area, then let If the tree structure unit belongs to a partial perception area, let If the tree structure unit belongs to the non-perceptual area, let Similarly, the final quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the final quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as If the tree structure unit belongs to the region of interest, then let If the tree structure unit belongs to the full perception area, then let If the tree structure unit belongs to a partial perception area, let If the tree structure unit belongs to the non-perceptual area, let Where ΔQP 1 C,max =3, ΔQP 2 C,max =2, ΔQP 1 G,max =3, ΔQP 2 G,max =4; Step 11: Calculate the quantization parameter of each tree structure unit in each video frame in the color video, and record the quantization parameter of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the quantization parameter of each tree structure unit in each video frame in the geometric video is calculated, and the quantization parameter of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as in, represents the original quantization parameter of the t-th tree structure unit in the k-th video frame in the color video, Represents the original quantization parameter of the t-th tree structure unit in the k-th video frame in the geometric video.

2. The method for optimizing the rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to claim 1 is characterized in that In the step 2, Calculated through a low-pass filter, Among them, the size of the low-pass filter used is 5×5, S L represents the sum of all coefficients in the low-pass filter, 1≤i≤5, 1≤j≤5, L(i,j) represents the coefficient at position (i,j) in the low-pass filter, when 1≤x-3+i≤M and 1≤y-3+j≤N is satisfied, I C,k (x-3+i, y-3+j) represents the brightness value of the pixel with coordinate position (x-3+i, y-3+j) in the k-th video frame in the color video. When 1≤x-3+i≤M and 1≤y-3+j≤N are not satisfied, let I C,k (x-3+i,y-3+j)=0.

3. The method for optimizing the rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to claim 2 is characterized in that The low-pass filter is a mean low-pass filter, and its operator is S L =32.

4. The method for optimizing the rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to any one of claims 1 to 3, characterized in that The operator of the gradient filter in the 0° direction is The operator of the gradient filter in the 90° direction is The operator of the gradient filter in the 45° direction is The operator of the gradient filter in the 135° direction is S g =16.

5. The method for optimizing the rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to claim 4 is characterized in that In the step 4, Among them, min() represents the minimum value function. is a constant parameter, 6. The method for optimizing the rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to claim 5 is characterized in that The standard deviation of the Gaussian low-pass filter is 1.

7. The method for optimizing the rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to claim 1 is characterized in that In step 6, the process of determining the value of E(x,y) is as follows: k (x, y) performs Sobel operator calculation. If the calculated value is 255, it is determined that CM k (x, y) is the gradient error. If the calculated value is not 255, CM is determined. k (x,y) is the non-gradient error, CM k When (x, y) is the gradient error, the value of E(x, y) is taken as η, CM k When (x, y) is a non-gradient error, the value of E(x, y) is 1.

8. The method for optimizing the rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to claim 1 is characterized in that The specific process of step 7 is as follows: Step 7_1: Calculate the average tolerance threshold of each video frame in the color video, and record the average tolerance threshold of the kth video frame in the color video as JND C,k,frame , And calculate the average tolerance threshold of each tree structure unit in each video frame in the color video, and record the average tolerance threshold of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the average tolerance threshold of each video frame in the geometric video is calculated, and the average tolerance threshold of the kth video frame in the geometric video is recorded as JND G,k,frame , And calculate the average tolerance threshold of each tree structure unit in each video frame in the geometric video, and record the average tolerance threshold of the t-th tree structure unit in the k-th video frame in the geometric video as Among them, δ C,k (x, y) represents the occupancy coefficient of the pixel with coordinate position (x, y) in the kth video frame in the color video, δ C,k (x, y) is the pixel value of the pixel with coordinate position (x, y) in the kth occupancy map in the occupancy map sequence. When the pixel with coordinate position (x, y) in the kth video frame in the color video is an occupied pixel, δ C,k (x, y) = 1, the pixel with coordinate position (x, y) in the kth video frame in the color video is a non-occupied pixelδ C,k (x, y) = 0, M and N are both divisible by 64, and the size of the tree structure unit is M CTU ×N CTU , M CTU =N CTU =64, 1≤x'≤M CTU , 1≤y'≤N CTU , represents the human eye's tolerance threshold for point cloud color distortion of the pixel at coordinate position (x',y') in the t-th tree structure unit in the k-th video frame in the color video, represents the occupancy coefficient of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the color video, δ G,k (x, y) represents the occupancy coefficient of the pixel with coordinate position (x, y) in the kth video frame in the geometric video, δ G,k (x, y) is the pixel value of the pixel with coordinate position (x, y) in the kth occupancy map in the occupancy map sequence, that is, δ G,k (x,y) and δ C,k (x, y) are the same, the pixel with coordinate position (x, y) in the kth video frame in the geometric video is the occupied pixel δ G,k (x, y) = 1, the pixel with coordinate position (x, y) in the kth video frame in the geometric video is a non-occupied pixelδ G,k (x,y)=0, Represents the human eye's tolerance threshold for point cloud geometric distortion of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the geometric video, represents the occupancy coefficient of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame in the geometric video; Step 7_2: Calculate the perceptual weight of each tree structure unit in each video frame in the color video, and record the perceptual weight of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the perceptual weight of each tree structure unit in each video frame in the geometric video is calculated, and the perceptual weight of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, a and b are the control parameters of the variation range of the perception weight, and c is the control and The parameter of the changing speed, exp() represents the exponential function with the natural base e as the base, and d represents the ROI coefficient; Step 7_3: Calculate the perceptual quantization parameter offset of each tree structure unit in each video frame in the color video, and record the perceptual quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the perceptually based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the perceptually based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, β=3.

9. The method for optimizing the rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to claim 8, characterized in that In step 7_2, a=0.6, b=0.8, c=3, if there is a pixel in the t-th tree structure unit in the k-th video frame in the color video or the geometric video that belongs to F k Then d = 0, if no pixel in the t-th tree structure unit in the k-th video frame in the color video or the geometric video belongs to F k Then d = 1.5, F k Represents the set of all pixels of all faces detected in the k-th video frame in a color video or a geometric video using a face detection algorithm.

10. The method for optimizing rate-distortion of dynamic point cloud coding based on visual perception and partitioning according to claim 1 is characterized in that The specific process of step 8 is as follows: Step 8_1: Distinguish the occupied pixels and the unoccupied pixels in each tree structure unit in each video frame of the color video and the geometry video, for the pixel p with coordinate position (x', y') in the t-th tree structure unit in the k-th video frame of the color video and the geometry video respectively (x',y') , if the pixel value of the pixel with coordinate position (x',y') in the t-th tree structure unit in the k-th occupancy map in the occupancy map sequence is 1, then p (x',y') is the occupied pixel; if the pixel value of the pixel with coordinate position (x', y') in the t-th tree structure unit in the k-th occupancy map in the occupancy map sequence is 0, then p (x',y') is a non-occupied pixel; where 1≤x'≤M CTU , 1≤y'≤N CTU ; Step 8_2: Calculate the occupancy rate of the occupied pixels in each tree structure unit in each video frame in the color video, and record the occupancy rate of the occupied pixels in the t-th tree structure unit in the k-th video frame in the color video as Similarly, the occupancy rate of each tree structure unit in each video frame in the geometric video is calculated, and the occupancy rate of the occupied pixels in the t-th tree structure unit in the k-th video frame in the geometric video is recorded as in, represents the total number of occupied pixels in the t-th tree structure unit in the k-th video frame in the color video, represents the total number of occupied pixels in the t-th tree structure unit in the k-th video frame in the geometric video; Step 8_3: Calculate the occupancy map-based quantization parameter offset of each tree structure unit in each video frame in the color video, and record the occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the color video as Similarly, the occupancy map-based quantization parameter offset of each tree structure unit in each video frame in the geometric video is calculated, and the occupancy map-based quantization parameter offset of the t-th tree structure unit in the k-th video frame in the geometric video is recorded as Among them, QP factor represents the offset constant, calculated Time QP factor =2, calculate Time QP factor =4.

Citation Information

Patent Citations

  • Depth video coding method on basis of foveal JND (just noticeable distortion) model

    CN102724525A

  • Visual perceptual coding method based on multi-domain JND (Just Noticeable Difference) model

    CN107241607A