Fast mode decision method, system and device for attribute video

By calculating the saliency mapping values ​​of attribute frames and geometry frames and the edge information of the occupancy map, a joint saliency map is constructed to perform fast mode decision-making, which solves the problem of high complexity of fast mode decision-making in the existing technology and improves the point cloud Compression efficiency and subjective quality of video.

CN118590645APending Publication Date: 2024-09-03BEIJING UNION UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410814491.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In existing video point cloud compression technology, the fast mode decision-making process is complex and inefficient, and fails to fully consider the subjective perception quality of the human eye, resulting in high coding complexity and the inability to achieve optimal decoding.

Method used

By calculating the saliency mapping values ​​of attribute frames and geometric frames, and combining the edge information of the occupancy map, a joint saliency map is constructed, and based on this, fast mode decision-making is performed, reducing coding complexity and improving the subjective quality of point cloud videos.

Benefits of technology

Saliency mapping detection and dual-threshold segmentation technology greatly improve the accuracy of visual saliency mapping of attribute videos, reduce the number of intra-frame modes, reduce coding complexity, and improve the compression efficiency and subjective quality of point cloud videos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590645A
    Figure CN118590645A
Patent Text Reader

Abstract

The invention provides a fast mode decision-making method, system and device for an attribute video, and relates to the technical field of point cloud video compression, and the method mainly comprises the steps: generating an attribute frame, a geometric frame and an occupancy graph according to input point cloud data; determining a saliency mapping value of the attribute frame; determining a significance mapping value of the geometric frame; acquiring edge information of the occupied graph; determining a joint saliency mapping value of the attribute frame based on the saliency mapping value of the attribute frame, the saliency mapping value of the geometric frame and the edge information of the occupancy graph, and constructing a corresponding mapping graph; dividing the mapping graph into a non-saliency region, a medium saliency region and a saliency region based on a joint saliency mapping value; and on the basis of the mapping graph, performing intra-frame prediction mode decision through a fast mode decision method. According to the scheme, from the perspective of human eye perception, the visual saliency is applied to the fast mode decision algorithm of the attribute video, so that the influence of the fast mode decision algorithm on subjective perception quality is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of point cloud video compression, and in particular to a method, system and device for fast mode decision-making of attribute videos. Background Art

[0002] In the video-based point cloud compression (V-PCC) process, the dynamic point cloud is often first converted into a 2D video (several frames of 2D images) through a patch projection method. When these patches are packed into 2D images, a geometric video (several frames of geometric images) and an attribute video (several frames of attribute images) are generated respectively. Since patches usually have irregular shapes, an occupancy map is generated to indicate whether a pixel in the 2D image belongs to the patch. The occupancy map, geometric video, and attribute video are then compressed through a video decoder, such as High Efficiency Video Coding (HEVC) and Versatile Video Coding (VCC).

[0003] In HEVC / VVC, the encoder first partitions the input video sequence into coding tree units (CTUs). For each CTU, it selects an intra or inter prediction mode and calculates the prediction residual. Since the residual typically contains a large number of zero values, coding compression can reduce redundant information and achieve effective compression. A CTU typically consists of a luma CTB (Coding Tree Block), a chroma CTB, and corresponding syntax elements. A CTU can be divided into several CUs (Coding Units) of varying sizes. A PU, or prediction unit, is the basic unit for intra or inter prediction. PUs are organized based on the CU and come in five sizes: 64x64, 32x32, 16x16, 8x8, and 4x4.

[0004] Currently, in V-PCC, one frame of dynamic point cloud projection generates two frames of attribute video. In the full intra-frame (AI) mode configuration, the near-layer frame will be encoded as an I-frame and only perform intra-frame prediction; the far-layer frame will be encoded as a P-frame and mainly perform inter-frame prediction. In order to determine the optimal mode for the coding unit, the HEVC intra-frame prediction process mainly screens 35 intra-frame prediction modes through the rate-distortion optimization principle, such as Figure 1 As shown in , 35 intra-frame prediction modes include DC mode, planar mode and 33 angle modes. Finally, the intra-frame prediction mode with the lowest rate-distortion cost is selected as the optimal mode, as shown in Figure 2As shown in the figure, the inter-frame prediction process involves screening between Merge mode, Skip mode, and other modes, and the optimal mode is selected based on the rate-distortion optimization principle. As a result, the mode decision process for V-PCC in AI mode has extremely high coding complexity and requires a large number of rate-distortion calculations, making the mode decision inefficient.

[0005] Moreover, in the existing HEVC / VVC, the fast mode decision algorithm does not take into account the subjective perception quality of the human eye, and thus cannot achieve optimized decoding for the projected point cloud video. Summary of the Invention

[0006] The object of the present invention is to provide a method, system and device for fast mode decision of attribute video to solve at least one of the above-mentioned technical problems existing in the prior art.

[0007] In a first aspect, to solve the above technical problems, the present invention provides a method for quickly determining a mode of an attribute video, comprising the following steps: Step 1: Generate an attribute frame, a geometry frame, and an occupancy map based on the input point cloud data. The attribute frame is a vector containing attribute information of each point in the point cloud data. The attribute information includes color, material characteristics, texture information, intensity attributes, reflectivity attributes, motion-related attributes, modal attributes, and other attributes. The geometry frame contains the depth information of each point in the point cloud data. The occupancy map contains the occupancy status of each point in the point cloud data in the attribute frame and the geometry frame, and is usually a binary map.

[0008] Step 2: define a sub-region and a neighborhood of pixels in the attribute frame, and determine the saliency map value of the attribute frame by calculating the average vector of pixels in the sub-region and the neighborhood.

[0009] In a feasible implementation manner, the method for calculating the saliency map value of the attribute frame includes: taking pixel points as As the center, with the first distance R1 as the scale, the sub-area is delineated. Indicates the horizontal coordinate value, Represents the vertical coordinate value; calculates the first average vector of all pixels in the sub-area; takes pixel As the center, with the second distance R2 as the scale, delineate the neighborhood, and R2 is greater than R1; calculate the second average vector of all pixels in the neighborhood; calculate the vector distance between the first average vector and the second average vector, and obtain the pixel saliency value of the attribute frame , as the saliency mapping value of the attribute frame; the specific formula can be: ; in, represents a distance function, such as Euclidean distance; Indicates the number of pixels in the sub-region; Indicates the number of pixels in the neighborhood; Indicates the sub-area The attribute feature vector of the attribute feature values ​​of pixels; Indicates the neighborhood The attribute feature vector of the attribute feature value of each pixel is obtained; in this way, the saliency map value can be accurately calculated by means of local contrast.

[0010] In a feasible implementation manner, the method for calculating the saliency map value of the attribute frame further includes: As the center, with a preset number of different values ​​of the first distance R1 as the scale, a preset number of sub-areas are delineated; the first average vector of all pixels in each sub-area is calculated; the pixel point As the center, with the second distance R2 as the scale, delineate the neighborhood, and R2 is greater than each R1; calculate the second average vector of all pixels in the neighborhood; calculate the vector distance between the first average vector and the second average vector of each sub-region respectively, and obtain the pixel saliency value of the attribute frame Then sum it up as the saliency map value of the attribute frame .

[0011] Preferably, the preset number is 3, and the specific formula may be: .

[0012] Step 3: define a sub-region and a neighborhood of pixels in a geometric frame, and determine a saliency map value of the geometric frame by calculating an average value of pixel values ​​of the pixels in the sub-region and the neighborhood.

[0013] In a feasible implementation manner, a specific method for calculating the saliency map value of a geometric frame includes: As the center, with the first distance S1 as the scale, delineate the sub-region; calculate the average value of the first pixel value (depth value) of all pixels in the sub-region; take the pixel point As the center, with the second distance S2 as the scale, delineate the neighborhood, and S2 is greater than S1; calculate the average value of the second pixel value (depth value) of all pixels in the neighborhood; calculate the difference between the average value of the first pixel value (depth value) and the average value of the second pixel value (depth value) to obtain the pixel saliency value of the geometric frame , as the saliency map value of the geometric frame; the specific formula can be: ; in, Represents the average value of the first pixel value (depth value); Represents the average value of the second pixel value (depth value); in this way, the depth information contrast can be defined by the local contrast within the neighborhood range in the depth space, thereby facilitating the reflection of the saliency of the geometric frame.

[0014] In a feasible implementation manner, the method for calculating the saliency map value of the geometric frame further includes: taking pixel points as As the center, with a preset number of different values ​​of the first distance S1 as the scale, a preset number of sub-areas are delineated; the average value of the first pixel value (depth value) of all pixels in each sub-area is calculated; the pixel value is used as the As the center, with the second distance S2 as the scale, delineate the neighborhood, and S2 is greater than each S1; calculate the average value of the second pixel value (depth value) of all pixels in the neighborhood; calculate the difference between the average value of each first pixel value (depth value) and the average value of the second pixel value (depth value) respectively, and obtain the pixel saliency value of the geometric frame Then sum them up and use them as the saliency map value of the geometric frame.

[0015] Step 4: Obtain edge information of the occupancy map through the Canny operator .

[0016] Step 5: Based on the saliency map value of the attribute frame, the saliency map value of the geometric frame, and the edge information of the occupancy map, the joint saliency map value of the attribute frame is determined through a multiplication model, and the corresponding map is constructed.

[0017] In a feasible implementation, the specific formula of step 5 may be: ; in, represents the joint saliency map value; A weight factor representing the saliency map value of the attribute frame; A weight factor representing the saliency map value of the geometric frame; Weight factor representing the edge information of the occupancy map.

[0018] Preferably, The value is 1.5; The value is 0.25; The value is set to 1.0; this can reduce the possibility of unoccupied pixels being misjudged as salient pixels in the map and make salient objects more prominent.

[0019] Step 6: Based on the joint saliency map value, the map is divided into non-significant regions (NSR), moderately significant regions (MSR), and significant regions (SR) by a first preset threshold L and a second preset threshold H.

[0020] In a feasible implementation manner, the first preset threshold L and the second preset threshold H can be obtained through cluster analysis of a histogram.

[0021] Step 7: Based on the mapping, a fast mode decision method is used to determine the intra-frame prediction mode, executing the intra-frame prediction mode with the lowest rate-distortion loss for the salient region. The fast mode decision method includes an angle determination process in the prediction unit, in which different determination thresholds are set for non-salient regions, moderately salient regions, and salient regions. This ensures that sufficient rate-distortion calculations are performed in salient regions, allowing for accurate selection of the optimal intra-frame prediction mode, thereby improving the subjective quality of point cloud video compression. For other regions, rate-distortion calculations can be reduced, allowing for a rough selection, thereby improving decoding efficiency.

[0022] In a feasible embodiment, the angle judgment process includes: detecting the dominant direction of the N*N prediction unit through an angle template; N represents the number of pixels on a single side of the prediction unit and is a positive integer; in this way, the dominant direction of the prediction unit can be determined; calculating the difference between the dominant direction and the angle in each angle mode, comparing the difference with the judgment threshold, and selecting the angle mode of the prediction unit.

[0023] In a feasible implementation, N is equal to 4, which can simplify the angle mode determination process and greatly improve the determination speed.

[0024] In a feasible implementation, 8 angle patterns are selected from 33 angle patterns as angle templates for performing dominant direction detection to reduce computational complexity.

[0025] In a feasible implementation manner, the eight angle modes include: 45°, 67°, 90°, 113°, 135°, 157°, 180° and 203°.

[0026] In a feasible implementation manner, the dominant direction detection includes: when the prediction unit is determined to have a direction (ie, a direction block), according to the direction of the prediction unit With Angle Mode For contrast between the two, select Angle mode , the specific expression can be: ; in, represents the judgment threshold, which is determined by the specific area in the map to which the current prediction unit belongs. The specific formula can be: ; in, Represents the first constant, which can be 0; Represents the second constant, which can be 1 or 2; Indicates an area.

[0027] In a feasible implementation, the dominant direction detection also includes smooth block detection, which refers to determining a smooth block (i.e., a block without direction) through an all-zero template, and then selecting an intra-frame prediction mode based on the area where the smooth block is located; this can solve the problem that the angle templates of the above-mentioned 8 angle modes cannot determine a large number of smooth blocks in the attribute frame.

[0028] In one feasible embodiment, the smooth block detection further includes: performing a DC mode and / or a planar mode determination on the non-significant region, the moderately significant region, and the significant region. Since the DC mode and / or the planar mode are typically selected as the optimal intra-frame prediction mode, it is necessary to perform the DC mode and / or the planar mode determination on all three regions to ensure the effectiveness of a fast mode decision.

[0029] In one feasible embodiment, the specific process of smooth block detection is as follows: if a prediction unit is determined to be a smooth block using an all-zero template, then: when the prediction unit belongs to a non-salient region, the intra-frame prediction mode selects the DC mode (mode 0) and / or the planar mode (mode 1); when the prediction unit belongs to a moderately salient region, the intra-frame prediction mode selects the DC mode and / or the planar mode and / or mode 26 and / or mode 10; when the prediction unit belongs to a salient region, the intra-frame prediction mode selects the DC mode and / or the planar mode and / or mode 26 and / or mode 10 and / or mode 2 and / or mode 34. It should be noted that these mode numbers are based on the HEVC standard and can also be replaced with corresponding mode numbers in the VCC standard.

[0030] In the second aspect, based on the same inventive concept, the present application also provides a fast mode decision system for attribute videos, including a data receiving module, a data processing module and a result generating module; The data receiving module is used to receive input point cloud data; The data processing module includes a point cloud video unit, an attribute frame saliency unit, a geometric frame saliency unit, an occupancy map edge information unit, a mapping unit and a fast mode decision unit; The point cloud video unit generates a point cloud video by patch projection based on the input point cloud data; the point cloud video includes a geometry frame, an attribute frame and an occupancy map; The attribute frame saliency unit defines a sub-region and a neighborhood of a pixel point, and determines a saliency map value of the attribute frame by calculating an average vector of pixels within the sub-region and the neighborhood. The geometric frame saliency unit defines a sub-region and a neighborhood of a pixel point, and determines a saliency map value of the geometric frame by calculating an average of pixel values ​​of the pixels within the sub-region and the neighborhood. The occupancy map edge information unit obtains edge information of the occupancy map through a Canny operator; The mapping unit determines a joint saliency map value of the attribute frame, a saliency map value of the geometry frame, and edge information of the occupancy map through a multiplication model, and constructs a corresponding map; based on the joint saliency map value, the map is divided into a non-saliency region, a moderately saliency region, and a saliency region using a first preset threshold value L and a second preset threshold value H; The fast mode decision unit makes an intra-frame prediction mode decision based on the mapping using a fast mode decision method, and executes the intra-frame prediction mode with the lowest rate-distortion loss for the salient region; the fast mode decision method includes an angle determination process of the prediction unit; in this process, different determination thresholds are set for the non-salient region, the moderately salient region, and the salient region, respectively; The result generation module is used to send the result of the prediction mode decision externally.

[0031] On the third aspect, based on the same inventive concept, the present application also provides a fast mode decision device for attribute video, including a processor, a memory and a bus, wherein the memory stores instructions and data read by the processor, and the processor is used to call the instructions and data in the memory to execute the fast mode decision method for attribute video as described above, and the bus connects the functional components for transmitting information.

[0032] By adopting the above technical solution, the present invention has the following beneficial effects: The present invention provides a method, system, and device for rapid mode decision for attribute videos. Based on human perception, this approach applies visual saliency to the rapid mode decision algorithm for attribute videos, thereby reducing its impact on subjective perceived quality. This solution leverages V-PCC cross-information to significantly improve the accuracy of visual saliency mapping for attribute videos through combined saliency detection and segmentation of the mapping map based on dual saliency thresholds. For intra-frame mode decision, this solution improves the rapid intra-frame mode decision algorithm based on saliency map segmentation and extended CDEF prediction unit direction detection technology. It selectively executes 35 intra-frame modes, reducing the number of intra-frame modes subjected to RMD (coarse mode decision), thereby significantly reducing coding complexity. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 Schematic diagram of 35 intra-frame prediction modes under the HEVC standard in background technology; Figure 2 A fast mode decision flow chart in the background technology; Figure 3 A flowchart of a method for quickly determining an attribute mode of a video provided by an embodiment of the present invention; Figure 4 A diagram illustrating the locations of sub-regions and neighborhoods provided in an embodiment of the present invention; Figure 5 An angle template diagram of a 4*4 prediction unit provided by an embodiment of the present invention; Figure 6 An all-zero template image of a 4*4 prediction unit provided by an embodiment of the present invention; Figure 7 A diagram of a rapid mode decision system for attribute videos provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0036] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and therefore should not be construed as limitations on the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0037] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediate medium; and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0038] In the description of the present invention, the terms "component," "module," "system," and the like are intended to refer to computer-related entities such as, but not limited to, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable, an execution thread, a program, and / or a computer. For example, both an application running on a computing device and the computing device can be a component. One or more components can be located within an execution process and / or execution thread, and components can be located on a single computer and / or distributed across two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can communicate via local and / or remote processes, for example, based on signals having one or more data packets, for example, data from a component interacting via signals with another component in a local system, a distributed system, and / or interacting with other systems via signals over a network such as the Internet.

[0039] In the description of the present invention, “CTU partition” and “CU partition” may be used interchangeably, “coding block”, “CU”, and “region” may be used interchangeably, and “image”, “picture”, and “frame” may be used interchangeably.

[0040] In the description of the present invention, "decoding" may mean "encoding" or "decoding", and "decoder" may mean "encoder" or "decoder" or "codec", which is determined according to the complementarity of the video encoding and decoding process.

[0041] In the description of the present invention, the terms “video” and “frame” are used interchangeably because the present application does not involve the essential difference between “video” and “frame” but mainly focuses on the frames in the video.

[0042] In the description of the present invention, the terms "angle" and "direction" are used interchangeably.

[0043] The present invention will be further explained below with reference to specific embodiments.

[0044] It should also be noted that the following specific embodiments or specific implementations are a series of optimized settings listed in the present invention to further explain the specific content of the invention, and these settings can be combined or used in association with each other.

[0045] Example 1: like Figure 3 As shown, this embodiment provides a method for quickly determining the mode of attribute videos, including the following steps: Step 1: Generate an attribute frame, a geometry frame, and an occupancy map based on the input point cloud data. The attribute frame is a vector containing attribute information of each point in the point cloud data. The attribute information includes color, material characteristics, texture information, intensity attributes, reflectivity attributes, motion-related attributes, modal attributes, and other attributes. The geometry frame contains the depth information of each point in the point cloud data. The occupancy map contains the occupancy status of each point in the point cloud data in the attribute frame and the geometry frame, and is usually a binary map.

[0046] Step 2: define a sub-region and a neighborhood of pixels in the attribute frame, and determine the saliency map value of the attribute frame by calculating the average vector of pixels in the sub-region and the neighborhood.

[0047] Furthermore, the method for calculating the saliency map value of the attribute frame includes: taking pixel points As the center, with the first distance R1 as the scale, the sub-area is delineated. Indicates the horizontal coordinate value, Represents the vertical coordinate value; calculates the first average vector of all pixels in the sub-area; takes pixel As the center, the second distance R2 is used as the scale to define the neighborhood, and R2 is greater than R1, such as Figure 4 As shown; calculate the second average vector of all pixels in the neighborhood; calculate the vector distance between the first average vector and the second average vector to obtain the pixel saliency value of the attribute frame , as the saliency mapping value of the attribute frame; the specific formula can be: ; in, represents a distance function, such as Euclidean distance; Indicates the number of pixels in the sub-region; Indicates the number of pixels in the neighborhood; Indicates the sub-area The attribute feature vector of the attribute feature values ​​of pixels; Indicates the neighborhood The attribute feature vector of the attribute feature value of each pixel is obtained; in this way, the saliency map value can be accurately calculated by means of local contrast.

[0048] Furthermore, the method for calculating the saliency map value of the attribute frame further includes: taking pixel points As the center, with a preset number of different values ​​of the first distance R1 as the scale, a preset number of sub-areas are delineated; the first average vector of all pixels in each sub-area is calculated; the pixel point As the center, with the second distance R2 as the scale, delineate the neighborhood, and R2 is greater than each R1; calculate the second average vector of all pixels in the neighborhood; calculate the vector distance between the first average vector and the second average vector of each sub-region respectively, and obtain the pixel saliency value of the attribute frame Then sum it up as the saliency map value of the attribute frame .

[0049] Preferably, the preset number is 3, and the specific formula may be: .

[0050] Step 3: define a sub-region and a neighborhood of pixels in a geometric frame, and determine a saliency map value of the geometric frame by calculating an average value of pixel values ​​of the pixels in the sub-region and the neighborhood.

[0051] Furthermore, the specific calculation method of the saliency map value of the geometric frame includes: taking pixel points As the center, with the first distance S1 as the scale, delineate the sub-region; calculate the average value of the first pixel value (depth value) of all pixels in the sub-region; take the pixel point As the center, with the second distance S2 as the scale, delineate the neighborhood, and S2 is greater than S1; calculate the average value of the second pixel value (depth value) of all pixels in the neighborhood; calculate the difference between the average value of the first pixel value (depth value) and the average value of the second pixel value (depth value) to obtain the pixel saliency value of the geometric frame , as the saliency map value of the geometric frame; the specific formula can be: ; in, Represents the average value of the first pixel value (depth value); Represents the average value of the second pixel value (depth value); in this way, the depth information contrast can be defined by the local contrast within the neighborhood range in the depth space, thereby facilitating the reflection of the saliency of the geometric frame.

[0052] Furthermore, the calculation method of the saliency map value of the geometric frame further includes: taking pixel points As the center, with a preset number of different values ​​of the first distance S1 as the scale, a preset number of sub-areas are delineated; the average value of the first pixel value (depth value) of all pixels in each sub-area is calculated; the pixel value is used as the As the center, with the second distance S2 as the scale, delineate the neighborhood, and S2 is greater than each S1; calculate the average value of the second pixel value (depth value) of all pixels in the neighborhood; calculate the difference between the average value of each first pixel value (depth value) and the average value of the second pixel value (depth value) respectively, and obtain the pixel saliency value of the geometric frame Then sum them up and use them as the saliency map value of the geometric frame.

[0053] Step 4: Obtain edge information of the occupancy map through the Canny operator .

[0054] Step 5: Based on the saliency map value of the attribute frame, the saliency map value of the geometric frame, and the edge information of the occupancy map, the joint saliency map value of the attribute frame is determined through a multiplication model, and the corresponding map is constructed.

[0055] Furthermore, the specific formula of step 5 can be: ; in, represents the joint saliency map value; A weight factor representing the saliency map value of the attribute frame; A weight factor representing the saliency map value of the geometric frame; Weight factor representing the edge information of the occupancy map.

[0056] Preferably, The value is 1.5; The value is 0.25; The value is set to 1.0; this can reduce the possibility of unoccupied pixels being misjudged as salient pixels in the map and make salient objects more prominent.

[0057] Step 6: Based on the joint saliency map value, the map is divided into non-significant regions (NSR), moderately significant regions (MSR), and significant regions (SR) by a first preset threshold L and a second preset threshold H.

[0058] Furthermore, the first preset threshold L and the second preset threshold H can be obtained through cluster analysis of the histogram.

[0059] Step 7: Based on the mapping, a fast mode decision method is used to determine the intra-frame prediction mode, executing the intra-frame prediction mode with the lowest rate-distortion loss for the salient region. The fast mode decision method includes an angle determination process in the prediction unit, in which different determination thresholds are set for non-salient regions, moderately salient regions, and salient regions. This ensures that sufficient rate-distortion calculations are performed in salient regions, allowing for accurate selection of the optimal intra-frame prediction mode, thereby improving the subjective quality of point cloud video compression. For other regions, rate-distortion calculations can be reduced, allowing for a rough selection, thereby improving decoding efficiency.

[0060] Furthermore, the angle judgment process includes: detecting the dominant direction of the N*N prediction unit through an angle template; N represents the number of pixels on a single side of the prediction unit and is a positive integer; in this way, the dominant direction of the prediction unit can be determined; calculating the difference between the dominant direction and the angle in each angle mode, comparing the difference with the judgment threshold, and selecting the angle mode of the prediction unit.

[0061] Furthermore, N is equal to 4, which can simplify the angle mode determination process and improve the determination speed.

[0062] Furthermore, 8 angle patterns are selected from the 33 angle patterns as angle templates for dominant direction detection in order to reduce computational complexity.

[0063] Furthermore, the eight angle modes include: 45°, 67°, 90°, 113°, 135°, 157°, 180° and 203°. Figure 5 As shown, the d value is the corresponding angle mode.

[0064] Furthermore, the dominant direction detection includes: when the prediction unit is determined to have a direction (ie, a direction block), according to the direction of the prediction unit With Angle Mode For contrast between the two, select Angle mode , the specific expression can be: ; in, represents the judgment threshold, which is determined by the specific area in the map to which the current prediction unit belongs. The specific formula can be: ; in, Represents the first constant, which can be 0; Represents the second constant, which can be 1 or 2; Indicates an area.

[0065] Furthermore, the dominant direction detection also includes smooth block detection, which refers to determining a smooth block (i.e., a non-directional block) through an all-zero template, and then selecting an intra-frame prediction mode based on the area where the smooth block is located, such as Figure 6 As shown; this can solve the problem that the angle templates of the above 8 angle modes cannot judge a large number of smooth blocks in the attribute frame.

[0066] Furthermore, the smooth block detection further includes: performing a DC mode and / or a planar mode determination on all three regions. Since the DC mode and / or the planar mode are generally selected as the optimal intra-frame prediction mode, it is necessary to perform the DC mode and / or the planar mode determination on all three regions to ensure a fast mode decision.

[0067] Furthermore, the specific process of smooth block detection is as follows: if a prediction unit is determined to be a smooth block using an all-zero template, then: when the prediction unit belongs to a non-salient region, the intra-frame prediction mode selects the DC mode (mode 0) and / or the planar mode (mode 1); when the prediction unit belongs to a moderately salient region, the intra-frame prediction mode selects the DC mode and / or the planar mode and / or mode 26 and / or mode 10; when the prediction unit belongs to a salient region, the intra-frame prediction mode selects the DC mode and / or the planar mode and / or mode 26 and / or mode 10 and / or mode 2 and / or mode 34. It should be noted that these mode numbers are based on the HEVC standard and can also be replaced with the corresponding mode numbers in the VCC standard.

[0068] Example 2: like Figure 7 As shown, this embodiment provides a fast mode decision system for attribute videos, including a data receiving module, a data processing module and a result generating module; The data receiving module is used to receive input point cloud data; The data processing module includes a point cloud video unit, an attribute frame saliency unit, a geometric frame saliency unit, an occupancy map edge information unit, a mapping unit and a fast mode decision unit; The point cloud video unit generates a point cloud video by patch projection based on the input point cloud data; the point cloud video includes a geometry frame, an attribute frame and an occupancy map; The attribute frame saliency unit defines a sub-region and a neighborhood of a pixel point, and determines a saliency map value of the attribute frame by calculating an average vector of pixels within the sub-region and the neighborhood. The geometric frame saliency unit defines a sub-region and a neighborhood of a pixel point, and determines a saliency map value of the geometric frame by calculating an average of pixel values ​​of the pixels within the sub-region and the neighborhood. The occupancy map edge information unit obtains edge information of the occupancy map through a Canny operator; The mapping unit determines a joint saliency map value of the attribute frame, a saliency map value of the geometry frame, and edge information of the occupancy map through a multiplication model, and constructs a corresponding map; based on the joint saliency map value, the map is divided into a non-saliency region, a moderately saliency region, and a saliency region using a first preset threshold value L and a second preset threshold value H; The fast mode decision unit makes an intra-frame prediction mode decision based on the mapping using a fast mode decision method, and executes the intra-frame prediction mode with the lowest rate-distortion loss for the salient region; the fast mode decision method includes an angle determination process of the prediction unit; in this process, different determination thresholds are set for the non-salient region, the moderately salient region, and the salient region, respectively; The result generation module is used to send the result of the prediction mode decision externally.

[0069] Example 3: This embodiment provides a fast mode decision device for attribute video, including a processor, a memory and a bus. The memory stores instructions and data read by the processor. The processor is used to call the instructions and data in the memory to execute the fast mode decision method for attribute video as described above. The bus connects the functional components to transmit information.

[0070] In another embodiment, this solution can be implemented by a device, which may include corresponding modules for performing each or several steps in each of the above embodiments. The modules may be one or more hardware modules specifically configured to perform the corresponding steps, or implemented by a processor configured to perform the corresponding steps, or stored in a computer-readable medium for implementation by the processor, or implemented by some combination thereof.

[0071] The processor performs the various methods and processes described above. For example, the method implementation in this solution can be implemented as a software program, which is tangibly contained in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via a memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps in the method described above can be performed. Alternatively, in other embodiments, the processor can be configured to perform one of the above methods by any other appropriate means (e.g., by means of firmware).

[0072] The device can be implemented using a bus architecture. The bus architecture can include any number of interconnecting buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus connects various circuits including one or more processors, memories, and / or hardware modules. The bus can also connect various other circuits such as peripherals, voltage regulators, power management circuits, external antennas, etc.

[0073] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A fast mode decision method for attribute video, characterized in that: include: Step 1: Generate attribute frame, geometry frame and occupancy map based on input point cloud data; Step 2: define a sub-region and a neighborhood of pixels in the attribute frame, and determine a saliency map value of the attribute frame by calculating an average vector of pixels in the sub-region and the neighborhood; Step 3: define a sub-region and a neighborhood of pixels in the geometric frame, and determine a saliency map value of the geometric frame by calculating the average pixel values ​​of the pixels in the sub-region and the neighborhood; Step 4: Obtain edge information of the occupancy map through the Canny operator; Step 5: Based on the saliency map value of the attribute frame, the saliency map value of the geometric frame and the edge information of the occupancy map, a joint saliency map value of the attribute frame is determined through a multiplication model, and a corresponding map is constructed; Step 6: Based on the joint significance map value, the map is divided into a non-significant area, a medium-significant area and a significant area by a first preset threshold and a second preset threshold; Step 7: Based on the mapping diagram, an intra-frame prediction mode decision is made through a fast mode decision method, and the intra-frame prediction mode with the smallest rate-distortion loss is executed for the salient area; the fast mode decision method includes an angle judgment process of the prediction unit; in this process, different judgment thresholds are set for the non-salient area, the medium-salient area and the salient area, respectively.

2. The method according to claim 1, characterized in that The method for calculating the saliency map value of the attribute frame in step 2 includes: taking pixel points As the center, with the first distance R1 as the scale, the sub-area is delineated. Represents the horizontal coordinate value, Represents the vertical coordinate value; calculates the first average vector of all pixels in the sub-area; takes pixel points As the center, with the second distance R2 as the scale, define the neighborhood, and R2 is greater than R1; calculate the second average vector of all pixels in the neighborhood; calculate the vector distance between the first average vector and the second average vector, and obtain the pixel saliency value of the attribute frame , as the saliency map value of the attribute frame.

3. The method according to claim 1, characterized in that The method for calculating the saliency map value of the attribute frame in step 2 includes: taking pixel points As the center, with a preset number of first distances R1 of different values ​​as the scale, a preset number of sub-areas are delineated, Represents the horizontal coordinate value, Represents the vertical coordinate value; calculates the first average vector of all pixels in each sub-area; As the center, with the second distance R2 as the scale, the neighborhood is delineated, and R2 is greater than each R1; the second average vector of all pixels in the neighborhood is calculated; the vector distance between the first average vector and the second average vector of each sub-region is calculated respectively, and the pixel saliency value of the attribute frame is obtained Then sum it up as the saliency map value of the attribute frame .

4. The method according to claim 1, characterized in that: The specific calculation method of the saliency map value of the geometric frame in step 3 includes: taking pixel points As the center, with the first distance S1 as the scale, the sub-area is delineated. Represents the horizontal coordinate value, Represents the vertical coordinate value; calculates the average first pixel value of all pixels in the sub-area; takes the pixel The neighborhood is defined with the second distance S2 as the center, and S2 is greater than S1; the second pixel value average of all pixels in the neighborhood is calculated; the difference between the first pixel value average and the second pixel value average is calculated to obtain the pixel saliency value of the geometric frame , as the saliency map value of the geometry frame.

5. The method according to claim 1, characterized in that The calculation method of the saliency map value of the geometric frame in step 3 includes: taking pixel points As the center, with a preset number of first distances S1 of different values ​​as the scale, a preset number of sub-areas are delineated, Represents the horizontal coordinate value, Represents the vertical coordinate value; calculates the average first pixel value of all pixels in each sub-area; As the center, with the second distance S2 as the scale, a neighborhood is defined, and S2 is greater than each S1; the second pixel value average of all pixels in the neighborhood is calculated; the difference between the average value of each first pixel value and the average value of the second pixel value is calculated respectively, and the pixel significance value of the geometric frame is obtained Then the sum is taken as the saliency map value of the geometric frame.

6. The method according to claim 1, characterized in that The angle judgment process in step 7 includes: detecting the dominant direction of the N*N prediction unit through an angle template; N represents the number of pixels on a single side of the prediction unit, which is a positive integer; calculating the difference between the dominant direction and the angle in each angle mode, and comparing the difference with the judgment threshold to select the angle mode of the prediction unit.

7. The method according to claim 6, characterized in that N is equal to 4.

8. The method according to claim 6, characterized in that The dominant direction detection includes smooth block detection, which refers to determining a smooth block through an all-zero template and then selecting an intra-frame prediction mode according to the area where the smooth block is located; The smooth block detection includes: performing DC mode and / or plane mode judgment on the non-significant area, the medium-significant area and the significant area.

9. A fast mode decision system for attribute video, characterized in that: It includes a data receiving module, a data processing module and a result generating module; The data receiving module is used to receive input point cloud data; The data processing module includes a point cloud video unit, an attribute frame saliency unit, a geometric frame saliency unit, an occupancy map edge information unit, a mapping unit and a fast mode decision unit; The point cloud video unit generates a point cloud video by patch projection according to the input point cloud data; the point cloud video includes a geometry frame, an attribute frame and an occupancy map; The attribute frame saliency unit defines a sub-region and a neighborhood of a pixel point, and determines a saliency map value of the attribute frame by calculating an average vector of pixels in the sub-region and the neighborhood. The geometric frame saliency unit defines a sub-region and a neighborhood of a pixel point, and determines a saliency mapping value of the geometric frame by calculating an average value of pixel values ​​of the pixels in the sub-region and the neighborhood. The occupancy map edge information unit obtains edge information of the occupancy map through a Canny operator; The mapping unit determines a joint saliency map value of the attribute frame through a multiplication model based on the saliency map value of the attribute frame, the saliency map value of the geometric frame and the edge information of the occupancy map, and constructs a corresponding mapping map; based on the joint saliency map value, the mapping map is divided into a non-saliency area, a medium-saliency area and a saliency area through a first preset threshold and a second preset threshold; The fast mode decision unit makes an intra-frame prediction mode decision based on the mapping diagram by a fast mode decision method, and executes the intra-frame prediction mode with the minimum rate distortion loss for the salient area; the fast mode decision method includes an angle judgment process of the prediction unit; in this process, different judgment thresholds are set for the non-salient area, the medium-salient area and the salient area respectively; The result generation module is used to send out the result of the prediction mode decision.

10. A fast mode decision device for attribute video, characterized in that: It includes a processor, a memory and a bus, wherein the memory stores instructions and data read by the processor, the processor is used to call the instructions and data in the memory to execute any method as claimed in claim 1-8, and the bus connects the functional components for transmitting information.