Attribute level coding for geometric point cloud coding
By introducing parity flags and grouped bypass encoding and decoding into geometric point cloud encoding and decoding, the problem of low efficiency of attribute-level encoding and decoding in the existing technology is solved, and efficient point cloud data compression and decoding are achieved.
Patent Information
- Application Number
- CN202380025824.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-14
- Filing Date
- 2023-03-09
- Publication Date
- 2024-10-22
AI Technical Summary
In the existing geometric point cloud encoding and decoding technology, the performance and efficiency of attribute-level encoding and decoding are not optimized enough. Especially in high-resolution point cloud capture scenarios, the memory and bandwidth required for storage and transmission are too large.
Adopt an attribute-level encoding and decoding scheme based on parity, and introduce a parity flag to indicate whether the absolute attribute level of a point is odd or even, thereby saving most of the absolute attribute levels in the encoding and decoding process, and converting the chroma levels of different components into Symbol grouping for efficient bypass encoding and decoding.
Significantly improves the performance and efficiency of point cloud encoding and decoding, reduces the resources required for storage and transmission, and is suitable for high-resolution and multi-spectral systems.
Smart Images

Figure CN118830002A_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the U.S. Provisional Application No. 63 / 269,098, filed on March 9, 2022, entitled “PARITY-BASED COLOR LEVEL CODING FOR GEOMETRY POINT CLOUD CODING”, U.S. Provisional Application No. 63 / 269,099, filed on March 9, 2022, entitled “PARITY-BASED REFLECTANCE LEVEL CODING FOR GEOMETRY POINT CLOUD CODING”, and U.S. Provisional Application No. 63 / 269,099, filed on March 14, 2022, entitled “PARITY-BASED COLOR LEVEL CODING FOR GEOMETRY POINT CLOUD CODING
[0013] The present invention claims priority from U.S. Provisional Application No. 63 / 269,338 entitled "PARITY-BASED CHROMA-LEVEL CODING FOR GEOMETRIC POINT CLOUD CODING", all of which are incorporated herein by reference in their entirety. Technical Field
[0002] Embodiments of the present disclosure relate to point cloud encoding and decoding. Background Art
[0003] Point clouds are one of the main three-dimensional (3D) data representations. In addition to providing spatial coordinates, point clouds also provide attributes associated with points in the 3D world. Point clouds in their original format require a large amount of memory for storage or a large amount of bandwidth for transmission. In addition, higher resolution point cloud capture technologies have placed higher requirements on the size of point clouds. In order to make point clouds usable, they must be compressed. Two compression techniques, video-based PCC (V-PCC) and geometry-based PCC (G-PCC), have been proposed for point cloud compression / coding (PCC) standardization activities. Unlike the V-PCC method, which is based on 3D to two-dimensional (2D) projection, G-PCC encodes content directly in 3D space. To achieve this, G-PCC uses data structures such as octrees to describe point positions in 3D space. Summary of the invention
[0004] According to one aspect of the present disclosure, a method for encoding a point cloud is disclosed. The point cloud includes points associated with colors having components. A processor determines a chroma level of the point. The processor determines a syntax element representing the chroma level of the point based on the chroma level of the point. The syntax element includes a parity flag. The processor encodes the chroma level of the point into a code stream based on the syntax element.
[0005] According to another aspect of the present disclosure, a system for encoding a point cloud is disclosed, the system comprising a memory configured to store instructions and a processor coupled to the memory. The point cloud comprises points associated with colors having components. The processor is configured to determine the chroma level of the point when executing the instructions. The processor is also configured to determine a syntax element representing the chroma level of the point based on the chroma level of the point when executing the instructions. The syntax element comprises a parity flag. The processor is also configured to encode the chroma level of the point into a bitstream based on the syntax element when executing the instructions.
[0006] According to another aspect of the present disclosure, a method for decoding a point cloud is disclosed. The point cloud includes points associated with colors having components. A processor parses a bitstream to obtain a syntax element representing a chroma level of the point. The syntax element includes a parity flag. The processor determines the chroma level of the point based on the syntax element.
[0007] According to another aspect of the present disclosure, a system for decoding a point cloud is disclosed, the system comprising a memory configured to store instructions and a processor coupled to the memory. The point cloud comprises points associated with colors having components. The processor is configured to parse a code stream to obtain a syntax element representing a chroma level of the point when executing the instructions. The syntax element comprises a parity flag. The processor is further configured to determine the chroma level of the point based on the syntax element when executing the instructions.
[0008] The exemplary embodiments mentioned are not intended to limit or define the present disclosure, but to provide examples that are helpful for understanding the present disclosure. Additional embodiments are described in the detailed description, and further description is provided. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate embodiments of the present disclosure and, together with the description, also serve to explain the principles of the present disclosure and to enable those skilled in the relevant art to make and use the present disclosure.
[0010] Figure 1 A block diagram of an encoding system according to some embodiments of the present disclosure is shown.
[0011] Figure 2 A block diagram of a decoding system according to some embodiments of the present disclosure is shown.
[0012] Figure 3 Some embodiments of the present disclosure are shown Figure 1 Detailed block diagram of the encoder in the encoding system in .
[0013] Figure 4 Some embodiments of the present disclosure are shown Figure 2 Detailed block diagram of the decoder in the decoding system.
[0014] Figure 5A and Figure 5B The octree structure and the corresponding digital representation of the G-PCC according to some embodiments of the present disclosure are respectively shown.
[0015] Figure 6 The structure of a cube in the octree structure of a G-PCC and the relationship with adjacent cubes according to some embodiments of the present disclosure are shown.
[0016] Figure 7 A one-dimensional (1D) point array representing a point cloud, a set of candidate points, and a set of predicted points according to some embodiments of the present disclosure is shown.
[0017] Figure 8 A hierarchical structure of parameter sets for G-PCC according to some embodiments of the present disclosure is shown.
[0018] Fig. 9 A flowchart of a method for encoding a point cloud according to some embodiments of the present disclosure is shown.
[0019] Fig.10 A flowchart of a method for decoding a point cloud according to some embodiments of the present disclosure is shown.
[0020] Fig.11 A flowchart of another method for encoding a point cloud according to some embodiments of the present disclosure is shown.
[0021] Fig.12 A flowchart of another method for decoding a point cloud according to some embodiments of the present disclosure is shown.
[0022] Fig.13 A flowchart of yet another method for encoding a point cloud according to some embodiments of the present disclosure is shown.
[0023] Fig.14 A flowchart of yet another method for decoding a point cloud according to some embodiments of the present disclosure is shown.
[0024] Embodiments of the present disclosure will be described with reference to the accompanying drawings. DETAILED DESCRIPTION
[0025] Although some configurations and arrangements are discussed, it should be understood that these arrangements and configurations are for illustrative purposes only. Those skilled in the relevant art will recognize that other configurations and arrangements may be used without departing from the spirit and scope of the present disclosure. It is apparent to those skilled in the relevant art that the present disclosure may also be used in various other applications.
[0026] It should be noted that references in the specification to "one embodiment", "an embodiment", "an example embodiment", "some embodiments", "certain embodiments", etc. indicate that the described embodiments may include specific features, structures, or characteristics, but each embodiment may not necessarily include these specific features, structures, or characteristics. In addition, such phrases do not necessarily refer to the same embodiment. In addition, when specific features, structures, or characteristics are described in conjunction with an embodiment, whether or not explicitly described, a person skilled in the relevant art will be able to understand that such features, structures, or characteristics may be implemented in conjunction with other embodiments.
[0027] Typically, the term can be understood at least in part from the context of the usage scenario. For example, the term "one or more" used herein depends at least in part on the context, and it can be used to describe any feature, structure or feature in the singular, or can be used to describe a combination of features, structures or features in the plural. Similarly, depending at least in part on the context, terms such as "one", "an" or "the" can also be understood to express singular or plural usage. In addition, also depending at least in part on the context, the term "based on" can be understood to not necessarily be intended to express a set of exclusive factors, but to allow for the presence of other factors that do not need to be explicitly described.
[0028] Various aspects of the point cloud encoding and decoding system will now be described with reference to various devices and methods. These devices and methods will be described in the following specific embodiments and are illustrated in the accompanying drawings by various modules, components, circuits, steps, operations, processes, algorithms, etc. (collectively referred to as "elements"). These elements can be implemented using electronic hardware, firmware, computer software, or any combination thereof. Whether these elements are implemented as hardware, firmware, or software depends on the specific application and design constraints imposed on the entire system. The techniques described herein can be used in a variety of point cloud encoding and decoding applications. As described herein, point cloud encoding and decoding includes both encoding and decoding of point clouds.
[0029] A point cloud consists of a collection of points in a 3D space. Each point in the 3D space is associated with a geometric position and associated attribute information (e.g., color, reflectivity, intensity, classification, etc.). In order to effectively compress point cloud data, the geometry of the point cloud can be first compressed according to point cloud coding techniques such as G-PCC, and then the corresponding attributes, including color or reflectivity, can be compressed based on the geometric information. G-PCC has been widely used in virtual reality / augmented reality (VR / AR), telecommunications, self-driving cars, etc. for entertainment and industrial applications, such as light detection and ranging (LiDAR) scan compression for cars or robots and high-definition (HD) maps for navigation. The Moving Picture Experts Group (MPEG) released the first version of the G-PCC standard, and the audio video coding standard (AVS) is also developing the G-PCC standard.
[0030] In point cloud codec, the attribute residual is defined as the difference in attribute value between the current point and its predicted value. Depending on the application, point cloud codec can be lossless or lossy. Therefore, the attribute residual can be quantized by using a predefined quantization operation or not. The unquantized or quantized attribute residual is called "attribute level", such as chroma level or reflectance level, and the attribute level can be, for example, a signed integer encoded into the bitstream (called "attribute level codec"). However, the performance and efficiency of attribute level codec in the existing G-PCC standard may not be optimal.
[0031] In order to improve the performance and efficiency of attribute level coding in point cloud coding, the present disclosure provides various novel schemes to optimize attribute level coding, which are compatible with any suitable G-PCC standard, including but not limited to the AVS G-PCC standard and the MPEG G-PCC standard. According to some aspects of the present disclosure, parity-based attribute level coding schemes are disclosed, which can save about half of the absolute attribute levels in point cloud coding by introducing a parity flag indicating whether the absolute attribute level of a point is odd or even. According to some aspects of the present disclosure, for color attributes containing multiple components (e.g., RGB, YCbCr, or YUV), syntax elements representing symbols of chroma levels of different components are grouped together and separated from these syntax elements from syntax elements representing absolute chroma levels, so that symbols can be encoded and decoded using a bypass codec with higher efficiency.
[0032] Figure 1 A block diagram of an encoding system 100 according to some embodiments of the present disclosure is shown. Figure 2 A block diagram of a decoding system 200 according to some embodiments of the present disclosure is shown. The system 100 or 200 can be applied to or integrated into various systems and devices capable of data processing, such as computers and wireless communication devices. For example, the system 100 or 200 can be all or part of the following: a mobile phone, a desktop computer, a laptop computer, a tablet computer, a car computer, a game console, a printer, a positioning device, a wearable electronic device, a smart sensor, a VR device, an AR device, or any other suitable electronic device with data processing capabilities. Figure 1 and Figure 2 As shown, system 100 or 200 may include processor 102, memory 104 and interface 106. These components are shown as being connected to each other via a bus, but other types of connections are also allowed. It should be understood that system 100 or 200 may include any other suitable components for performing the functions described herein.
[0033] The processor 102 may include a microprocessor, such as a graphic processing unit (GPU), an image signal processor (ISP), a central processing unit (CPU), a digital signal processor (DSP), a tensor processing unit (TPU), a vision processing unit (VPU), a neural processing unit (NPU), a synergistic processing unit (SPU) or a physical processing unit (PPU), a microcontroller unit (MCU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a programmable logic device (PLD), a state machine, a gated logic, a discrete hardware circuit, and other suitable hardware configured to perform the various functions described throughout the present disclosure. Although in Figure 1 and Figure 2Only one processor is shown, but it should be understood that multiple processors may also be included. Processor 102 may be a hardware device having one or more processing cores. Processor 102 may execute software. Whether referred to as software, firmware, middleware, microcode, hardware description language or other terms, software should be broadly interpreted as representing instructions, instruction sets, codes, code segments, program codes, programs, subroutines, software modules, applications, software applications, software packages, routines, subroutines, objects, executable files, execution threads, processes, functions, etc. Software may include computer instructions written in an interpreted language, a compiled language, or machine code. Other techniques for indicating hardware are also allowed under the broad scope of software.
[0034] The memory 104 may broadly include both memory (also referred to as main memory / system memory) and storage (also referred to as auxiliary memory). For example, the memory 104 may include random-access memory (RAM), read-only memory (ROM), static RAM (SRAM), dynamic RAM (DRAM), ferroelectric RAM (FRAM), electrically erasable programmable ROM (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, hard disk drive (HDD) (such as magnetic disk storage or other magnetic storage device), flash drive, solid-state drive (SSD), or any other medium that can be used to carry or store desired program code in the form of instructions that can be accessed and executed by the processor 102. The memory 104 may broadly be embodied as any computer-readable medium (such as a non-transitory computer-readable medium). Although in Figure 1 and Figure 2 Only one memory is shown in the figure, but it should be understood that multiple memories may also be included.
[0035] The interface 106 may broadly include a data interface and a communication interface configured to receive and send signals in the process of receiving and sending information with other external network elements. For example, the interface 106 may include an input / output (I / O) device and a wired or wireless transceiver. Figure 1 and Figure 2 Only one memory is shown, but it should be understood that multiple interfaces may also be included.
[0036] The processor 102, memory 104, and interface 106 can be implemented in various forms in the system 100 or 200 for performing point cloud encoding and decoding functions. In some embodiments, the processor 102, memory 104, and interface 106 of the system 100 or 200 are implemented (e.g., integrated) on one or more system-on-chips (SoCs). In one example, the processor 102, memory 104, and interface 106 can be integrated on an application processor (AP) SoC that handles application processing in an operating system (OS) environment, including running point cloud encoding and decoding applications. In another example, the processor 102, memory 104, and interface 106 can be integrated on a dedicated processor chip for point cloud encoding and decoding, such as a GPU or ISP chip dedicated to graphics processing of a real-time operating system (RTOS).
[0037] like Figure 1 As shown, in the encoding system 100, the processor 102 may include one or more modules such as the encoder 101. Figure 1 One encoder 101 within the processor 102 is shown, but it should be understood that the encoder 101 may include one or more submodules that may be implemented on different processors that are close to or far away from each other. The encoder 101 (and any corresponding submodules or subunits) may be a hardware unit (e.g., part of an integrated circuit) of the processor 102, which is designed to be used with other components or software units implemented by the processor 102 by executing at least a portion of a program (i.e., instructions). The instructions of the program may be stored on a computer-readable medium such as a memory 104, and when the instructions are executed by the processor 102, a process having one or more functions related to point cloud encoding may be performed, such as voxelization, transformation, quantization, arithmetic coding, etc., described in detail below.
[0038] Similarly, if Figure 2 As shown, in the decoding system 200, the processor 102 may include one or more modules such as a decoder 201. Figure 2One decoder 201 within the processor 102 is shown, but it should be understood that the decoder 201 may include one or more submodules that may be implemented on different processors that are close to or far from each other. The decoder 201 (and any corresponding submodules or subunits) may be a hardware unit (e.g., part of an integrated circuit) of the processor 102, which is designed to be used with other components or software units implemented by the processor 102 by executing at least a portion of a program (i.e., instructions). The instructions of the program may be stored on a computer-readable medium such as the memory 104, and when the instructions are executed by the processor 102, a process having one or more functions related to point cloud decoding may be performed, such as arithmetic decoding, dequantization, inverse transformation, reconstruction, synthesis, etc., as described in detail below.
[0039] Figure 3 Some embodiments of the present disclosure are shown Figure 1 Detailed block diagram of encoder 101 in encoding system 100 in FIG. Figure 3 As shown, the encoder 101 may include a coordinate transformation module 302, a voxelization module 304, a geometry analysis module 306, and an arithmetic coding module 308, which are configured together to encode the positions associated with the points of the point cloud into a geometry code stream (ie, geometry coding). Figure 3 As shown, the encoder 101 may include a color transformation module 310, an attribute transformation module 312, a quantization module 314, and an arithmetic coding module 316, which are configured together to encode the attributes associated with the points of the point cloud into an attribute code stream (ie, attribute encoding). It should be understood that Figure 3 Each element in is shown independently to represent a characteristic function that is different from each other in the point cloud encoder, but this does not mean that each element is formed by a configuration unit of a separate hardware or a single software. That is, for ease of explanation, each element is listed as an element, and in order to perform a function, at least two of the elements can be combined to form a single element, or an element can be divided into multiple elements. It should also be understood that some elements are not necessary elements for performing the functions described in the present disclosure, but may be optional elements for improving performance. It should also be understood that these elements can be implemented using electronic hardware, firmware, computer software, or any combination thereof. Whether these elements are implemented as hardware, firmware, or software depends on the specific application and design constraints imposed on the encoder 101. It should also be understood that Figure 3 The modules shown in are for illustrative purposes only, and in some examples, different modules may be included in the encoder 101 for point cloud encoding.
[0040] like Figure 3 As shown in Figure 1, the geometric position and attributes associated with a point can be encoded separately. A point cloud can be a point cloud with position X k =(xk ,y k ,z k ), k = 1, ..., K and attribute A k =(A 1k ,A 2k ,…,A Dk ), a set of points of k=1,…,K, where K is the number of points in the point cloud and D is the number of attributes for each point. In some embodiments, the attribute encoding depends on the decoded geometry. Therefore, the point cloud position can be encoded and decoded first. Since the geometric position can be represented by a floating point number in the original coordinate system, the coordinate transformation module 302 and the voxelization module 304 can be configured to perform a coordinate transformation and then perform voxelization to quantize and remove duplicate points. The process of position quantization, duplicate point removal, and assigning attributes to the remaining points is called voxelization. The voxelized point cloud can be represented in a lossless manner using, for example, an octree structure. The geometric analysis module 306 can be configured to perform geometric analysis using, for example, an octree or ternary tree scheme. The arithmetic coding module 308 can be configured to arithmetically encode the structure obtained from the geometric analysis module 306 into a geometric code stream.
[0041] In some embodiments, the geometry analysis module 306 is configured to perform geometry analysis using an octree scheme. In the octree scheme, the axis-aligned bounding box of a cube can be composed of two extreme points (0, 0, 0) and (2 d ,2 d ,2 d ), where d is the maximum size of a given point cloud along the x, y or z direction. All points of the point cloud can be bounded by a cube-bounding box defined in this way. A cube can be divided into eight sub-cubes, which creates an octree structure that allows a parent cube to have 8 sub-cubes. The octree structure can then be built by recursively subdividing the sub-cubes, as Figure 5A Each sub-cube can be viewed as an independent lower-level bounding box for the corresponding portion of all points in the point cloud that are bounded thereby.
[0042] like Figure 5BAs shown, an 8-bit code can be generated by associating a 1-bit value with each sub-cube to indicate whether the sub-cube contains a point (i.e., the sub-cube is full and its value is 1) or does not contain a point (i.e., the sub-cube is empty and its value is 0). Only full sub-cubes (i.e., non-voxels) of size greater than 1 can be further subdivided. The geometric information (x, y, z) of a location can be represented by the octree structure defined in this way. Since points can be replicated, multiple points can be mapped to the same sub-cube of size 1 (i.e., the same voxel). To handle this situation, the number of points in each sub-cube of dimension 1 is also arithmetically encoded. By constructing the octree, the current cube associated with the current node can be surrounded by six cubes of the same depth that share faces with the cube. Depending on the position of the current cube, such as Figure 6 As shown, a cube can have up to six cubes of the same size to share a face. In addition, the current cube can also have some adjacent cubes that share lines or points with the current cube.
[0043] Reference Figure 3 Optionally, for attribute encoding, if the attribute includes color, the color transform module 310 can be configured to convert the red / green / blue (RGB) color component of each point into a YCbCr color component. That is, the color attribute can include multiple components, such as RGB, YCbCr or YUV, and the color transform module 310 can convert the color attribute between different component groups. The attribute transform module 312 can be configured to perform attribute transform based on the result from the geometry analysis module 306 (for example, using an octree scheme), which attribute transform includes but is not limited to a region adaptive hierarchical transform (RAHT), a hierarchical nearest neighbor prediction based on interpolation (prediction transform), and a hierarchical nearest neighbor prediction based on interpolation (lifting transform) with an update / lifting step. Optionally, the quantization module 314 can be configured to quantize the attribute transform coefficients (for example, attribute residuals) from the attribute transform module 312 to generate a quantization level of the attribute associated with each point to reduce the dynamic range. The arithmetic coding module 316 may be configured to arithmetically encode the attribute transform coefficient or the quantization level thereof associated with each obtained point into the attribute code stream.
[0044] In some embodiments, for example, in the prediction transform and lifting transform performed by the attribute transform module 312, a prediction value may be formed based on adjacent encoded attributes. Then, the difference between the current attribute and the prediction (i.e., the attribute residual) may be encoded. For example, in the AVS G-PCC standard, after encoding the geometric position, a point cloud in a 3D space (e.g., a point cloud cube) may be converted into a 1D array using a Morton code or a Hilbert code, such as Figure 7 As shown. Each position in the cube will have a corresponding Morton code or Hilbert code, but some positions may not have any corresponding point cloud attributes. In other words, some positions may be empty. Attribute encoding can follow a predefined encoding order, such as the Morton order or the Hilbert order. Prediction points can be generated from previously encoded points in the 1D array according to the Morton order or the Hilbert order. The attribute difference between the current point and its predicted point can be encoded into the code stream. In some embodiments, the point cloud in 3D space (e.g., a point cloud cube) is not converted into a 1D array according to any predefined encoding order, but is converted in its original input order, which is, for example, the order in which the point cloud data is collected. That is, in some examples, the attribute encoding can follow the original input order of the point cloud, rather than the predefined Morton order or the Hilbert order. In other words, the encoding order after the points in the 1D array can be the Morton order, the Hilbert order, or the original input order.
[0045] like Figure 7 As shown, in order to reduce memory usage, some predefined numbers have been specified to limit the number of neighboring points that can be used to generate prediction values. For example, only up to M points out of the previous up to N consecutive coded points can be used to encode the current attribute. That is, a set of n candidate points can be used as candidates for selecting a set of m prediction points (m≤n) for predicting the current point in attribute encoding. The number n of candidate points in the set is equal to or less than the maximum number N of candidate points (n≤N), and the number m of prediction points in the set is equal to or less than the maximum number of prediction points (m≤M). As shown in Figure 7 As shown, if the number of neighboring points before the current point in the 1D array following the Morton order, Hilbert order or the original input order is greater than the maximum number N of candidate points, then the number n of candidate points in the candidate point set of the current point (represented by gray shading) is equal to the maximum number N; if the number of neighboring points before the current point in the 1D array following the Morton order, Hilbert order or the original input order is greater than or equal to the maximum number N of candidate points, then the number n of candidate points in the candidate point set of the current point (represented by gray shading) is less than the maximum number N, then all neighboring points before the current point are used as the candidate point set of the current point. Figure 7, the maximum number of prediction points M is set to 3, and a set of 3 prediction points can be selected from the set of n candidate points, for example, based on the positions associated with the n candidate points and the current point (e.g., the distance between each candidate point and the current point). P , in bold and underlined).
[0046] In some embodiments, M and N can be set to fixed numbers of 3 and 128, respectively. If more than 128 points have been encoded before the current point, only 3 of the previous 128 neighboring points can be used to form an attribute predictor (prediction point) according to a predefined order. If there are fewer than 128 encoded points before the current point, all encoded points before the current point will be used as candidate points to find the prediction point. From the previous up to 128 candidate points, up to 3 prediction points are selected, which have the shortest "distance" (e.g., Euclidean distance) between these candidate points and the current point. As an example, the Euclidean distance d can be defined as follows, and other distance metrics can also be used in other examples: d=|x1-x2|+ |y1-y2|+|z1-z2| (1) Where (x1, y1, z1) and (x2, y2, z2) are the coordinates of the current point and the candidate point respectively along the Morton order, the Hilbert order or the original input order. According to some embodiments, once m prediction points (e.g., the closest 3 candidate points) have been selected, a weighted attribute average can be formed from these m points as a prediction value to encode the attribute of the current point. It should be understood that in some examples, the prediction point can be selected from the candidate points in the cube that share the same face / line / point as the current point cloud.
[0047] In point cloud codecs, an attribute residual is defined as the difference in attribute value between the current point and its predicted value. Depending on the application, point cloud codecs can be lossless or lossy. Therefore, the attribute residual can be quantized by using a predefined quantization operation or not. The unquantized or quantized attribute residual is called an "attribute level", such as a chroma level or a reflectance level, which can be, for example, a signed integer encoded into the bitstream.
[0048] Figure 4 Some embodiments of the present disclosure are shown Figure 2 Detailed block diagram of decoder 201 in decoding system 200 in FIG. Figure 4 As shown, the decoder 201 may include an arithmetic decoding module 402, a geometric synthesis module 404, a reconstruction module 406, and a coordinate inverse transformation module 408, which are together configured to decode positions associated with points of a point cloud from a geometric code stream (ie, geometric decoding). Figure 4As shown, the decoder 201 may further include an arithmetic decoding module 410, a dequantization module 412, an attribute inverse transformation module 414, and a color inverse transformation module 416, which are together configured to decode the attributes associated with the points of the point cloud from the attribute code stream (i.e., attribute decoding). It should be understood that Figure 4 Each element in is shown independently to represent the characteristic functions that are different from each other in the point cloud decoder, but this does not mean that each component is formed by a separate hardware or a single software configuration unit. That is, for ease of explanation, each element is listed as an element, and in order to perform the function, at least two of the elements can be combined to form a single element, or an element can be divided into multiple elements. It should also be understood that some elements are not necessary elements for performing the functions described in the present disclosure, but may be optional elements for improving performance. It should also be understood that these elements can be implemented using electronic hardware, firmware, computer software, or any combination thereof. Whether these elements are implemented as hardware, firmware, or software depends on the specific application and design constraints imposed on the decoder 201. It should also be understood that Figure 4 The modules shown in are for illustrative purposes only, and in some examples, different modules may be included in the decoder 201 for point cloud decoding.
[0049] When a point cloud code stream (e.g., a geometry code stream or an attribute code stream) is input from a point cloud encoder (e.g., encoder 101), the input code stream can be decoded by the decoder 201 in the opposite process of the point cloud encoder. Therefore, for ease of description, the corresponding decoding details described above for encoding can be skipped. The arithmetic decoding modules 402 and 410 can be configured to decode the geometry code stream and the attribute code stream, respectively, to obtain various information encoded into the code stream. For example, the arithmetic decoding module 410 can decode the attribute code stream to obtain attribute information associated with each point, such as a quantization level or coefficient of an attribute associated with each point. Optionally, the dequantization module 412 can be configured to dequantize the quantization level (also referred to as the attribute level) of the attribute associated with each point to obtain the coefficient of the attribute associated with each point (e.g., the attribute residual). In addition to the attribute information, the arithmetic decoding module 410 can also parse the code stream to obtain various other information (e.g., in the form of syntax elements), such as syntax elements indicating the encoding order followed by the points in the 1D array for attribute encoding.
[0050] The attribute inverse transform module 414 may be configured to perform an attribute inverse transform such as an inverse RAHT, an inverse prediction transform, or an inverse lifting transform to transform data from a transform domain (e.g., coefficients) back to an attribute domain (e.g., luminance and / or chrominance information of a color attribute). Optionally, the color inverse transform module 416 may be configured to convert color attributes between different component groups, such as from YCbCr color components to RGB color components.
[0051] As for geometry decoding, the geometry synthesis module 404, reconstruction module 406 and coordinate inverse transformation module 408 of the decoder 201 may be configured to perform inverse operations of the geometry analysis module 306, voxelization module 304 and coordinate transformation module 302 of the encoder 101, respectively.
[0052] Figure 8 The hierarchical structure of the parameter set of G-PCC according to some embodiments of the present disclosure is shown. A point cloud can be represented as a 1D array comprising a set of points, where each point is associated with characteristics such as geometry and attributes (e.g., color and reflectivity). A set of points associated with different timestamps can be considered a "sequence".
[0053] like Figure 8 As shown, the syntax elements (e.g., parameters, flags, etc.) used to encode the header of the point cloud can be organized in a hierarchy with various levels. At the top level, the hierarchy can include a sequence header, such as a header of a sequence parameter set (SPS) associated with a sequence representing a point cloud. At the second level, the hierarchy can include one or more feature headers belonging to the sequence header, such as a geometry parameter header (also referred to as a geometry header) and one or more attribute parameter headers (also referred to as attribute headers). In some embodiments, the geometry parameter header and the attribute parameter header can also be at the same level as the SPS. For example, as Figure 8 As shown, the next level under the SPS may include one header for a geometry parameter set belonging to the SPS and associated with a geometric shape, and one or more (1 to n) headers for an attribute parameter set belonging to the SPS and each of which is associated with a corresponding attribute (e.g., color or reflectivity). At the third level, the hierarchy may include one or more slice headers belonging to each feature header, such as a slice geometry parameter header and a slice attribute parameter header. That is, a sequence representing a point cloud may be divided into one or more slices, each slice including a slice of points, and each slice point may be associated with one or more slice headers. For example, as Figure 8 As shown, the next level under the geometry parameter set may include one or more headers of slice geometry parameter sets (also referred to as geometry slice headers), each slice geometry parameter set belonging to the geometry parameter set and associated with a corresponding slice point. Similarly, the next level under each attribute parameter set may include one or more headers of slice attribute parameter sets (also referred to as attribute slice headers), each slice attribute parameter set belonging to a corresponding attribute parameter set and associated with a corresponding slice. It should be understood that in some examples, the hierarchy may include fewer or more levels, such as (one or more) picture / frame levels.
[0054] While consistent with the scope of the present disclosure, the encoder 101 and the decoder 201 may be configured to employ various novel schemes to optimize attribute level encoding and decoding, as disclosed herein, to improve the performance and efficiency of point cloud encoding and decoding.
[0055] According to some aspects of the present disclosure, different levels of parity-based attribute level coding and decoding are disclosed in detail below, for example, by introducing a parity flag to improve coding and decoding performance and efficiency. The parity flag can be used to indicate whether the current absolute value of the non-zero residual is odd or even, so that only approximately half of the absolute level needs to be coded and decoded. Depending on the position of the parity flag in the code stream, several different levels of coding schemes can be used.
[0056] According to the attribute coding scheme of the G-PCC standard, the number of continuous zero-level points is called the zero run length (zero run-length) of the attribute level coding. The zero run length of the level and the non-zero level can be encoded into the code stream. For example, before encoding the first point, the encoder 101 can set the zero run length counter to zero. Starting from the first point along the predefined coding order, the residual between the predictor and the corresponding original point can be obtained. Then, the corresponding level can be obtained. If the current level is zero, the zero run length can be increased by 1, and the process proceeds to the next point. If the level is not zero, the zero run length can be encoded first, and the non-zero level can be encoded after the zero run length encoding. After the non-zero level is encoded, the zero run length counter can be reset to zero, and the process proceeds to the next point. The decoder 201 can first decode multiple zero run lengths, and the levels corresponding to these zero run length points can be set to zero. Then the non-zero level can be decoded, and the next multiple zero run lengths can be decoded. The process can continue until all points are decoded.
[0057] As an example of attribute level encoding and decoding, reflectivity encoding and decoding (also referred to as reflectivity level encoding and decoding) is disclosed in detail below. Each point of the point cloud can be associated with a reflectivity. For encoding of the reflectivity level, the zero run length of the reflectivity level can be encoded by the encoder 101, and then the points with non-zero reflectivity values can be encoded. For example, Fig. 9 A flowchart of a method 900 for point cloud encoding according to some embodiments of the present disclosure is shown. The method 900 may be performed by the encoder 101 of the encoding system 100 or any other suitable point cloud decoding system. The method 900 may include operations 902, 904, 906, 908, 910, and 912, as described below. It should be understood that some of the operations may be optional, and some operations may be performed simultaneously or in different order. Fig. 9 Execute in the order shown.
[0058] At operation 902, the reflectivity level of the point is determined. In some embodiments, the encoder 101 is configured to determine the reflectivity level of the point. As described above, the reflectivity level can be a quantized or unquantized reflectivity residual. In some embodiments, the reflectivity residual is determined by calculating the difference between the reflectivity value of the point and the reflectivity value of its predictor. In one example, the reflectivity residual can be used as the reflectivity level of the unquantized point. In another example, the reflectivity residual can also be quantized to generate a quantized reflectivity level, which can be used as the reflectivity level of the point. It should be understood that the reflectivity level can be a transformed reflectivity residual or an untransformed reflectivity residual. In any case, the encoder 101 can determine a non-zero reflectivity level for a non-zero point in the reflectivity level codec. The non-zero reflectivity level can include a sign and an absolute level.
[0059] A syntax element representing the reflectivity level of the point is determined based on the reflectivity level of the point, the syntax element comprising a parity flag. In some embodiments, the encoder 101 is further configured to determine a syntax element representing the reflectivity level of the point based on the reflectivity level of the point, the syntax element comprising a parity flag. In addition to the parity flag, the syntax element may also include a plurality of absolute level flags, a remainder parameter, and a sign flag.
[0060] To determine the syntax element representing the reflectivity level of the point, at operation 904, a parity flag is determined based on the absolute level of the reflectivity level. In some embodiments, the encoder 101 is configured to determine a parity flag (e.g., parity_flag) based on the absolute level of the reflectivity level (e.g., odd or even). For example, the parity flag equal to 0 can indicate that the absolute level of the reflectivity level is an odd number, and the parity flag equal to 1 can indicate that the absolute level of the reflectivity level is an even number. In one example, the parity flag defaults to 0. That is, when the parity flag is not present, it can be inferred to be equal to 0, indicating that the absolute level of the reflectivity level is an odd number.
[0061] In order to determine the syntax element representing the reflectivity level of the point, at operation 906, an absolute level flag is determined based on the absolute level of the reflectivity level and the parity flag. At operation 908, a remainder parameter is determined based on the absolute level of the reflectivity level, the absolute level flag, and the parity flag. In some embodiments, the encoder 101 is configured to determine the absolute level flag based on the absolute level of the reflectivity level and the parity flag, and then determine the remainder parameter based on the absolute level of the reflectivity level, the absolute level flag, and the parity flag. For example, the encoder 101 can determine the parity flag, each absolute level flag, and the remainder parameter in this order. In one example, the absolute level flag can include two absolute level flags, and the parity flag can be determined before the two absolute level flags.
[0062] To determine a syntax element representing the reflectivity level of a point, a sign flag is determined based on the sign of the reflectivity level at operation 910. In some embodiments, the encoder 101 is configured to determine a sign flag (e.g., residual_sign) based on the sign (e.g., positive or negative) of the reflectivity level. For example, the sign flag equal to 0 may indicate that the sign of the reflectivity level is negative, and the sign flag equal to 1 may indicate that the sign of the reflectivity level is positive.
[0063] The following example description (Table I) shows a set of reflectivity level syntax elements and their representation and organization. For example, the parity flag (parity_flag) can be encoded first, and then the two absolute level flags (abs_level_gt2_flag and abs_level_gt4_flag) can be encoded, and the remainder parameter (abs_level_remainder) can be ended. For example, the parity_flag can be encoded based on the absolute level of the reflectivity level. In one example, parity_flag equal to 0 can specify that the absolute level is odd; parity_flag equal to 1 can specify that the absolute level is even; when parity_flag does not exist, it can be inferred to be equal to 0. For example, abs_level_gt2_flag and abs_level_gt4_flag can be encoded based on the absolute level and parity flag of the reflectivity level. In one example, abs_level_gt2_flag equal to 0 may specify that the absolute level is not greater than 2; abs_level_gt2_flag equal to 1 may specify that the absolute level is greater than 2; when abs_level_gt2_flag is not present, it may be inferred to be equal to 0. In another example, abs_level_gt4_flag equal to 0 may specify that the absolute level is not greater than 4; abs_level_gt4_flag equal to 1 may specify that the absolute level is greater than 4; when abs_level_gt4_flag is not present, it may be inferred to be equal to 0. For example, abs_level_remainder may be encoded based on the absolute level, two absolute level flags, and a parity flag. In one example, abs_level_remainder may specify the remaining absolute level; when abs_level_remainder is not present, it may be inferred to be equal to 0. Table I
[0064] The reflectivity level may be determined based on a set of reflectivity level syntax elements as shown in Table 1 above, as follows: Level=(2*residual_sign-1)*(1+parity_flag+(abs_level_gt2_flag+abs_level_gt4_flag+abs_level_remainder)<<1) (2), Wherein, the arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2). Table II below shows a set of example values of the reflectivity level syntax element shown in Table I above: Table II Syntax / Absolute Level 1 2 3 4 5 6 7 8 9 10 11 … parity_flag 0 1 0 1 0 1 0 1 0 1 0 abs_level_gt2_flag 0 0 1 1 1 1 1 1 1 1 1 abs_level_gt4_flag 0 0 1 1 1 1 1 1 1 abs_level_remainder 0 0 1 1 2 2 3
[0065] It should be understood that the position of the parity flag in determining the syntax element can affect the number of absolute levels to be encoded. By placing the parity flag before the absolute level flag and the remainder parameter, a maximum number of absolute levels (e.g., 50%) can be saved in point cloud encoding compared to placing it in other positions (e.g., between or after the absolute level flags).
[0066] The following example description (Table III) shows another set of reflectivity level syntax elements and their representation and organization, in which a parity flag (parity_flag) is encoded between two absolute level flags (abs_level_gt1_flag and abs_level_gt3_flag). For example, one absolute level flag (abs_level_gt1_flag) can be encoded first, then the parity flag (parity_flag) can be encoded, and then the other absolute level flag (abs_level_gt3_flag) can be encoded, and the remainder parameter (abs_level_remainder) can be ended. For example, abs_level_gt1_flag can be encoded based on the absolute level of the reflectivity level. In an example, abs_level_gt1_flag equal to 0 can specify that the absolute level is not greater than 1; abs_level_gt1_flag equal to 1 can specify that the absolute level is greater than 1; when abs_level_gt1_flag is not present, it can be inferred to be equal to 0. For example, parity_flag may be encoded based on an absolute level flag (abs_level_gt1_flag) and the absolute level of the reflectivity level. In one example, parity_flag equal to 0 may specify that the absolute level is even; parity_flag equal to 1 may specify that the absolute level is odd; when parity_flag is not present, it may be inferred to be equal to 0. For example, abs_level_gt3_flag may be encoded based on the absolute level of the reflectivity level and the parity flag. In one example, abs_level_gt3_flag equal to 0 may specify that the absolute level is not greater than 3; abs_level_gt3_flag equal to 1 may specify that the absolute level is greater than 3; when abs_level_gt3_flag is not present, it may be inferred to be equal to 0. For example, abs_level_remainder may be encoded based on the absolute level, two absolute level flags, and the parity flag. In one example, abs_level_remainder may specify the remaining absolute level; when abs_level_remainder is not present, it may be inferred to be equal to 0. Table III
[0067] The reflectivity level may be determined based on a set of reflectivity level syntax elements as shown in Table III above, as follows: Level=(2*residual_sign-1)*(1+parity_flag+abs_level_gt1_flag+(abs_level_gt3_flag+abs_level_remainder)<<1) (3), Wherein, the arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2). Table IV below shows a set of example values of the reflectivity level syntax element shown in Table III above: Table IV Syntax / Absolute Level 1 2 3 4 5 6 7 8 9 10 11 … abs_level_gt1_flag 0 1 1 1 1 1 1 1 1 1 1 parity_flag 0 1 0 1 0 1 0 1 0 1 abs_level_gt3_flag 0 1 1 1 1 1 1 1 1 abs_level_remainder 0 0 1 1 2 2 3 3
[0068] The following example description (Table V) shows another set of reflectivity level syntax elements and their representation and organization, in which the parity flag (parity_flag) is encoded after the two absolute level flags (abs_level_gt1_flag and abs_level_gt2_flag). For example, the two absolute level flags (abs_level_gt1_flag and abs_level_gt2_flag) can be encoded first, then the parity flag (parity_flag) is encoded, and the remainder parameter (abs_level_remainder) is ended. For example, abs_level_gt1_flag and abs_level_gt2_flag can be encoded based on the absolute level of the reflectivity level. In an example, abs_level_gt1_flag equal to 0 can specify that the absolute level is not greater than 1; abs_level_gt1_flag equal to 1 can specify that the absolute level is greater than 1; when abs_level_gt1_flag does not exist, it can be inferred to be equal to 0. In another example, abs_level_gt2_flag equal to 0 may specify that the absolute level is not greater than 2; abs_level_gt2_flag equal to 1 may specify that the absolute level is greater than 2; when abs_level_gt2_flag is not present, it may be inferred to be equal to 0. For example, parity_flag may be encoded based on two absolute level flags (abs_level_gt1_flag and abs_level_gt2_flag) and the absolute level of the reflectivity level. In one example, parity_flag equal to 0 may specify that the absolute level is odd; parity_flag equal to 1 may specify that the absolute level is even; when parity_flag is not present, it may be inferred to be equal to 0. For example, abs_level_remainder may be encoded based on the absolute level, two absolute level flags, and the parity flag. In one example, abs_level_remainder may specify the remaining absolute level; when abs_level_remainder is not present, it may be inferred to be equal to 0. Table V
[0069] The reflectivity level may be determined based on a set of reflectivity level syntax elements as shown in Table V above, as follows: Level=(2*residual_sign-1)*(1+parity_flag+abs_level_gt1_flag+abs_level_gt2_flag+abs_level_remainder<<1) (4), Wherein, the arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2). Table VI below shows a set of example values of the reflectivity level syntax element shown in Table V above: Table VI Syntax / Absolute Level 1 2 3 4 5 6 7 8 9 10 11 … abs_level_gt1_flag 0 1 1 1 1 1 1 1 1 1 1 abs_level_gt2_flag 0 1 1 1 1 1 1 1 1 1 parity_flag 0 1 0 1 0 1 0 1 0 abs_level_remainder 0 0 1 1 2 2 3 3 4
[0070] It should be understood that the absolute level of the reflectivity level used to determine the parity flag can be the absolute level itself, or when the absolute level is non-zero, it can also be the absolute level minus 1 (which can be regarded as the "actual absolute level"). It should also be understood that the absolute level flags and remainder parameters shown in Tables I to VI above are for illustrative purposes only, and may include any other suitable syntax elements that can represent the absolute level of the reflectivity level and the parity flag. For example, the absolute level flag may include absolute_residual_equal_one and absolute_residual_equal_two, and the remainder parameter may include absolute_residual_minus_three. It should also be understood that the parity enable flag can be introduced in different locations to enable or disable the use of the parity flag in the reflectivity level coding and decoding, such as the parityBasedRefLevelCodingEnable_flag in Tables I, III and V above. For example, parityBasedRefLevelCodingEnable_flag equal to 1 can specify that the above-mentioned parity_flag is enabled; parityBasedRefLevelCodingEnable_flag equal to 0 can specify that the parity_flag is disabled, so that reflectivity level coding and decoding is performed without parity_flag; when parityBasedRefLevelCodingEnable_flag is not present, it can be inferred to be equal to 0. In some examples, the parity enable flag can be omitted and parity-based reflectivity level coding and decoding can always be enabled. It should also be understood that the parity-based reflectivity level coding and decoding disclosed herein can be signaled at any suitable level, such as in a sequence header, a reflectivity header, and / or a slice reflectivity header, such as Figure 8 shown.
[0071] At operation 912, the reflectivity level of the point is encoded into the codestream based on the syntax element. In some embodiments, the encoder 101 is further configured to encode the reflectivity level of the point into the codestream based on the syntax element.
[0072] Fig.10 A flowchart of a method 1000 for point cloud decoding according to some embodiments of the present disclosure is shown. The method 1000 may be performed by the decoding system 200 or the decoder 201 of any other suitable point cloud decoding system. As described below, the method 1000 may include operations 1002 and 1004. It should be understood that some of the operations may be optional, and some operations may be performed simultaneously or in different order. Fig.10 Execute in the order shown.
[0073] At operation 1002, the code stream is parsed to obtain a syntax element representing the reflectivity level of the point, the syntax element including a parity flag. In some embodiments, the decoder 201 is configured to parse the code stream to obtain a syntax element representing the reflectivity level of the point, the syntax element including a parity flag. The syntax element may also include a sign flag, a plurality of absolute level flags, and a remainder parameter. As described above with respect to Fig. 9 Disclosed in detail, on the encoding side, the parity flag may be determined based on the absolute level of the reflectivity level; the absolute level flag may be determined based on the absolute level of the reflectivity level and the parity flag; the remainder parameter may be determined based on the absolute level of the reflectivity level, the absolute level flag, and the parity flag; the sign flag may be determined based on the sign of the reflectivity level. In some embodiments, as shown in Table I, the absolute level flag includes two absolute level flags, and the parity flag is determined before the two absolute level flags are determined. For example, the parity flag equal to 0 may indicate that the absolute level of the reflectivity level is an odd number, and the parity flag equal to 1 may indicate that the absolute level of the reflectivity level is an even number. For example, the parity flag defaults to 0.
[0074] At step 1004, the reflectivity level of the point is determined based on the syntax elements. In some embodiments, the decoder 201 is further configured to determine the reflectivity level of the point based on the syntax elements (including the sign flag, the parity flag, the absolute level flag, and the remainder parameter). For example, the reflectivity level of the point can be determined based on equations (2), (3), or (4) above, as described above with respect to Fig. 9 Detailed disclosure.
[0075] As another example of attribute level encoding and decoding, the encoding and decoding of color (also called chroma level encoding and decoding) is disclosed in detail below. Each point of the point cloud can be associated with a color having multiple components (e.g., RGB components, YUV components, or YCbCr components). That is, for each point with three color components, three color attributes can exist. If the levels of all three color components are zero, the point is called a zero level point in the chroma level encoding and decoding. Otherwise, if there is at least one non-zero level for one color component of the point, the point is called a non-zero level point in the chroma level encoding and decoding. For the encoding and decoding of the chroma level, the zero run length of the chroma level can be encoded by the encoder 101, and then the point (non-zero level point) with at least one non-zero color component value is encoded. There is at least one non-zero level in the three color components of the non-zero level point. Several 1-bit flags plus the remainder of the absolute level can be encoded to represent the levels of the three color components. The absolute level or the absolute level minus 1 can be encoded and is referred to as the "encoded level" in this article. If the levels of the first component and the second component are both zero, the encoded level of the third component may be the absolute level of the third component minus 1; otherwise, the encoded level of the current color component may be the absolute level itself.
[0076] For example, Fig.11 A flowchart of a method 1100 for point cloud encoding according to some embodiments of the present disclosure is shown. The method 1100 may be performed by the encoder 101 of the encoding system 100 or any other suitable point cloud decoding system. The method 1100 may include operations 1102, 1104, 1106, 1108, 1110, and 1112, as described below. It should be understood that some of the operations may be optional, and some operations may be performed simultaneously or in different order. Fig.11 Execute in the order shown.
[0077] At operation 1102, a chroma level of the point is determined. In some embodiments, the encoder 101 is configured to determine the chroma level of the point. The chroma level can be associated with one of the color components. In other words, the point can have multiple chroma levels (e.g., three chroma levels) for multiple color components (e.g., three color components), respectively. It should be understood that in some examples, if the chroma levels of the first color component and the second color component are both zero, the encoded level of the third color component can be the absolute level of the third color component minus 1; otherwise, the encoded level of the current color component can be the absolute level itself.
[0078] As described above, the chroma level can be a quantized or unquantized color component residual. In some embodiments, the color component residual is determined by calculating the difference between the color component value of the point and the color value of its predictor. In one example, the color component residual can be used as the chroma level of the point in an unquantized situation. In another example, the color component residual can also be quantized to generate a quantized chroma level, which can be used as the chroma level of the point. It should be understood that the chroma level can be a transformed color component residual or an untransformed color component residual. In any case, the encoder 101 can determine a non-zero chroma level for a non-zero point in the chroma level codec. The non-zero chroma level can include a sign and an absolute level.
[0079] A syntax element representing the chroma level of the point is determined based on the chroma level of the point, the syntax element comprising a parity flag. In some embodiments, the encoder 101 is further configured to determine a syntax element representing the chroma level of the point based on the chroma level of the point, the syntax element comprising a parity flag. In addition to the parity flag, the syntax element may also include a plurality of absolute level flags, a remainder parameter, and a sign flag.
[0080] To determine the syntax element representing the chroma level of the point, at operation 1104, a parity flag is determined based on the absolute level of the chroma level. In some embodiments, the encoder 101 is configured to determine a parity flag (e.g., parity_flag) based on the absolute level of the chroma level (e.g., odd or even). For example, the parity flag equal to 0 may indicate that the absolute level of the chroma level is odd, and the parity flag equal to 1 may indicate that the absolute level of the chroma level is even. In one example, the parity flag defaults to 0. That is, when the parity flag is not present, the parity flag can be inferred to be equal to 0, indicating that the absolute level of the chroma level is odd.
[0081] In order to determine the syntax element representing the chroma level of the point, at operation 1106, at least one absolute level flag of the absolute level flags is determined based on the absolute level of the chroma level and the parity flag. At operation 1108, a remainder parameter is determined based on the absolute level of the chroma level, the absolute level flag, and the parity flag. In some embodiments, the encoder 101 is configured to determine at least one absolute level flag of the absolute level flags based on the absolute level of the chroma level and the parity flag, and then determine the remainder parameter based on the absolute level of the chroma level, the absolute level flag, and the parity flag. For example, the encoder 101 may determine at least one absolute level flag, a parity flag, at least one absolute level flag, and a remainder parameter in this order. In an example, the absolute level flag may include three absolute level flags, and the parity flag may be determined after two absolute levels of the three absolute level flags and before one absolute level of the three absolute level flags. In some embodiments, the first absolute level flag of the absolute level flags is determined based on comparing the absolute level of the chroma level with 0 or 1. For example, one of the three absolute level flags determined before determining the parity flag can be determined based on whether the current level value is 0, and another absolute level flag of the three absolute level flags determined before determining the parity flag can be determined based on whether the current absolute level is 1.
[0082] To determine the syntax element representing the chroma level of the point, a sign flag is determined based on the sign of the chroma level at operation 1110. In some embodiments, the encoder 101 is configured to determine the sign flag (e.g., residual_sign) based on the sign (e.g., positive or negative) of the chroma level. For example, the sign flag equal to 0 indicates that the sign of the reflectivity level is negative, and the sign flag equal to 1 indicates that the sign of the reflectivity level is positive.
[0083] The following example description (Table VII) shows a set of chroma level syntax elements and their representation and organization. For example, when the current color component is the third color component and the absolute levels of the first color component and the second color component are both zero, two absolute level flags (abs_codedlevel_flag0[idx] and abs_codedlevel_flag1[idx]) can be encoded first, then the parity flag (parity_flag[idx]) can be encoded, followed by another absolute level flag (abs_codedlevel_flag2[idx]), and end with a remainder parameter (abs_codedlevel_remainder[idx]). For example, abs_codedlevel_flag0[idx] and abs_codedlevel_flag1[idx] can be encoded based on the absolute level of the chroma level, for example, the current absolute level is compared with 0 and 1, respectively. In one example, abs_codedlevel_flag0[idx] may specify the value of the first syntax element for level coding of color component idx; when abs_codedlevel_flag0[idx] is not present, it may be inferred to be equal to 0. In another example, abs_codedlevel_flag1[idx] may specify the value of the second syntax element for level coding of color component idx; when abs_codedlevel_flag1[idx] is not present, it may be inferred to be equal to 0. For example, parity_flag[idx] may be encoded based on two absolute level flags (abs_codedlevel_flag0[idx] and abs_codedlevel_flag1[idx]) and the absolute level of the chroma level. In one example, parity_flag[idx] equal to 0 may specify that the absolute level of color component idx is odd; parity_flag[idx] equal to 1 may specify that the absolute level of color component idx is even. For example, abs_codedlevel_flag2[idx] may be encoded based on the absolute level of the chroma level and the parity flag. In one example, abs_codedlevel_flag2[idx] may specify the value of the third syntax element for level coding of color component idx; when abs_codedlevel_flag2[idx] is not present, it may be inferred to be equal to 0. For example, abs_level_remainder may be encoded based on the absolute level, three absolute level flags, and a parity flag.In one example, abs_codedlevel_remainder[idx] may specify the remaining absolute level of component idx; when abs_codedlevel_remainder[idx] is not present, it may be inferred to be equal to 0. Table VII
[0084] When the current color component is the third component and the absolute levels of both the first color component and the second color component are zero, the chroma level may be determined based on a set of chroma level syntax elements shown in Table VII above as follows: Level=(2*residual_sign[idx]-1)*(1+parity_flag[idx]+ abs_codedlevel_flag0[idx]+abs_codedlevel_flag1[idx]+ (abs_codedlevel_flag2[idx] + abs_codedlevel_remainder[idx])<<1)(5), Wherein, the arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2). Table VIII below shows an example value of a set of chroma level syntax elements when the current color component is the third component and the absolute levels of both the first color component and the second color component are zero as shown in Table VII above: Table VIII Syntax / Absolute Level 1 2 3 4 5 6 7 8 9 10 11 12 … abs_codedlevel_flag0[idx] 0 1 1 1 1 1 1 1 1 1 1 1 abs_codedlevel_flag1[idx] 0 1 1 1 1 1 1 1 1 1 1 parity_flag[idx] 0 1 0 1 0 1 0 1 0 1 abs_codedlevel_flag2[idx] 0 0 1 1 1 1 1 1 1 1 abs_codedlevel_remainder[idx]) 0 0 1 1 2 2 3 3
[0085] It should be understood that when the current color component is the first color component or the second color component, or the current component is the third component, and there is at least one non-zero residual level for the first color component or the second color component, the chroma level may be determined based on a set of chroma level syntax elements shown in Table VII above as follows: Level=(2*residual_sign[idx]-1)*(parity_flag[idx]+abs_codedlevel_flag0[idx]+ abs_codedlevel_flag1[idx]+abs_codedlevel_flag2[idx]+ (abs_codedlevel_flag3[idx] + abs_codedlevel_remainder[idx])<<1) (6), Wherein, an arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2), and abs_codedlevel_flag3[idx] may specify the value of the fourth syntax element for level coding of the color component idx; when abs_codedlevel_flag3[idx] is not present, it may be inferred to be equal to 0. The following Table IX shows example values of a set of chroma level syntax elements when the current color component is the first color component or the second color component, or the current component is the third component, and there is at least one non-zero residual level for the first color component or the second color component as shown in Table VII above: Table IX Syntax / Absolute Level 0 1 2 3 4 5 6 7 8 9 10 11 … abs_codedlevel_flag0[idx] 0 1 1 1 1 1 1 1 1 1 1 1 abs_codedlevel_flag1[idx] 0 1 1 1 1 1 1 1 1 1 1 abs_codedlevel_flag2[idx] 0 1 1 1 1 1 1 1 1 1 parity_flag[idx] 0 1 0 1 0 1 0 1 0 abs_codedlevel_flag3[idx] 0 0 1 1 1 1 1 1 1 abs_codedlevel_remainder[idx]) 0 0 1 1 2 2 3
[0086] The following example description (Table X) shows another set of chroma level syntax elements and their representation and organization, where the parity flag (parity_flag[idx]) is encoded at different positions. For example, when the current color component is the third color component and the absolute levels of the first color component and the second color component are both zero, one absolute level flag (abs_codedlevel_flag0[idx]) can be encoded first, then the parity flag (parity_flag[idx]) can be encoded, followed by the other two absolute level flags (abs_codedlevel_flag1[idx] and abs_codedlevel_flag2[idx]), and end with a remainder parameter (abs_codedlevel_remainder[idx]). For example, abs_codedlevel_flag0[idx] can be encoded based on the absolute level of the chroma level, for example, the current absolute level is compared with 0. In one example, abs_codedlevel_flag0[idx] may specify the value of the first syntax element for level coding of color component idx; when abs_codedlevel_flag0[idx] is not present, it may be inferred to be equal to 0. For example, parity_flag[idx] may be encoded based on an absolute level flag (abs_codedlevel_flag0[idx]) and the absolute level of the chroma level. In one example, parity_flag[idx] equal to 0 may specify that the absolute level of color component idx is even; parity_flag[idx] equal to 1 may specify that the absolute level of color component idx is odd. For example, abs_codedlevel_flag1[idx] and abs_codedlevel_flag2[idx] may be encoded based on the absolute level of the chroma level and the parity flag. In one example, abs_codedlevel_flag1[idx] may specify the value of the second syntax element for level coding of color component idx; when abs_codedlevel_flag1[idx] is not present, it may be inferred to be equal to 0. In another example, abs_codedlevel_flag2[idx] may specify the value of the third syntax element for level coding of color component idx; when abs_codedlevel_flag2[idx] is not present, it may be inferred to be equal to 0. For example, abs_level_remainder may be encoded based on the absolute level, three absolute level flags, and a parity flag.In one example, abs_codedlevel_remainder[idx] may specify the remaining absolute level of component idx; when abs_codedlevel_remainder[idx] is not present, it may be inferred to be equal to 0. Table X
[0087] When the current color component is the third component and the absolute levels of both the first color component and the second color component are zero, the chroma level may be determined based on a set of chroma level syntax elements shown in Table X above as follows: Level=(2*residual_sign[idx]-1)*(1+parity_flag[idx]+ abs_codedlevel_flag0[idx]+(abs_codedlevel_flag1[idx]+ abs_codedlevel_flag2[idx] + abs_codedlevel_remainder[idx])<<1) (7), Wherein, the arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2). The following Table XI shows an example value of a set of chroma level syntax elements when the current color component is the third component and the absolute levels of both the first color component and the second color component are zero as shown in Table X above: Table XI Syntax / Absolute Level 1 2 3 4 5 6 7 8 9 10 11 12 … abs_codedlevel_flag0[idx] 0 1 1 1 1 1 1 1 1 1 1 1 parity_flag[idx] 0 1 0 1 0 1 0 1 0 1 0 abs_codedlevel_flag1[idx] 0 0 1 1 1 1 1 1 1 1 1 abs_codedlevel_flag2[idx] 0 0 1 1 1 1 1 1 1 abs_codedlevel_remainder[idx]) 0 0 1 1 2 2 3
[0088] It should be understood that when the current color component is the first color component or the second color component, or the current component is the third component, and there is at least one non-zero residual level for the first color component or the second color component, the chroma level can be determined based on a set of chroma level syntax elements shown in Table X above as follows: Level = (2*residual_sign[idx]-1)*(parity_flag[idx]+abs_codedlevel_flag0[idx]+ abs_codedlevel_flag1[idx]+(abs_codedlevel_flag2[idx]+ abs_codedlevel_flag3[idx] + abs_codedlevel_remainder[idx])<<1) (8), Wherein, an arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2), and abs_codedlevel_flag3[idx] may specify the value of the fourth syntax element for level coding of the color component idx; when abs_codedlevel_flag3[idx] is not present, it may be inferred to be equal to 0. The following Table XII shows example values of a set of chroma level syntax elements when the current color component is the first color component or the second color component, or the current component is the third component, and there is at least one non-zero residual level for the first color component or the second color component as shown in Table X above: Table XII Syntax / Absolute Level 0 1 2 3 4 5 6 7 8 9 10 11 … abs_codedlevel_flag0[idx] 0 1 1 1 1 1 1 1 1 1 1 1 abs_codedlevel_flag1[idx] 0 1 1 1 1 1 1 1 1 1 1 parity_flag[idx] 0 1 0 1 0 1 0 1 0 1 abs_codedlevel_flag2[idx] 0 0 1 1 1 1 1 1 1 1 abs_codedlevel_flag3[idx] 0 0 1 1 1 1 1 1 abs_codedlevel_remainder[idx]) 0 0 1 1 2 2
[0089] The following example description (Table XIII) shows another set of chroma level syntax elements and their representation and organization, in which the parity flag (parity_flag[idx]) is encoded in another different position. For example, when the current color component is the third color component and the absolute levels of the first color component and the second color component are both zero, the parity flag (parity_flag[idx]) can be encoded first, and then the three absolute level flags (abs_codedlevel_flag0[idx], abs_codedlevel_flag10[idx], and abs_codedlevel_flag2[idx]) are encoded, and the remainder parameter (abs_codedlevel_remainder[idx]) is ended. For example, parity_flag[idx] can be encoded based on the absolute level of the chroma level. In one example, parity_flag[idx] equal to 0 can specify that the absolute level of the color component idx is an odd number; parity_flag[idx] equal to 1 can specify that the absolute level of the color component idx is an even number. For example, abs_codedlevel_flag0[idx], abs_codedlevel_flag1[idx], and abs_codedlevel_flag2[idx] may be encoded based on the absolute level and parity flags of the chroma level. In one example, abs_codedlevel_flag0[idx] may specify the value of the first syntax element for level coding of the color component idx; when abs_codedlevel_flag0[idx] is not present, it may be inferred to be equal to 0. In another example, abs_codedlevel_flag1[idx] may specify the value of the second syntax element for level coding of the color component idx; when abs_codedlevel_flag1[idx] is not present, it may be inferred to be equal to 0. In another example, abs_codedlevel_flag2[idx] may specify the value of the third syntax element for level coding of the color component idx; when abs_codedlevel_flag2[idx] is not present, it may be inferred to be equal to 0. For example, abs_level_remainder may be encoded based on the absolute level, three absolute level flags and a parity flag. In one example, abs_codedlevel_remainder[idx] may specify the remaining absolute level of component idx; when abs_codedlevel_remainder[idx] is not present, it may be inferred to be equal to 0. Table XIII
[0090] When the current color component is the third component and the absolute levels of both the first color component and the second color component are zero, the chroma level may be determined based on a set of chroma level syntax elements shown in Table XII above as follows: Level=(2*residual_sign[idx]-1)*(1+parity_flag[idx]+ (abs_codedlevel_flag0[idx]+abs_codedlevel_flag1[idx]+ abs_codedlevel_flag2[idx] + abs_codedlevel_remainder[idx])<<1) (9), Wherein, the arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2). Table XIV below shows an example value of a set of chroma level syntax elements when the current color component is the third component and the absolute levels of both the first color component and the second color component are zero as shown in Table XII above: Table XIV Syntax / Absolute Level 1 2 3 4 5 6 7 8 9 10 11 12 … parity_flag[idx] 0 1 0 1 0 1 0 1 0 1 0 1 abs_codedlevel_flag0[idx] 0 0 1 1 1 1 1 1 1 1 1 1 abs_codedlevel_flag1[idx] 0 0 1 1 1 1 1 1 1 1 abs_codedlevel_flag2[idx] 0 0 1 1 1 1 1 1 abs_codedlevel_remainder[idx]) 0 0 1 1 2 2
[0091] It should be understood that when the current color component is the first color component or the second color component, or the current component is the third component, and there is at least one non-zero residual level for the first color component or the second color component, the chroma level may be determined based on a set of chroma level syntax elements shown in Table XII above as follows: Level=(2*residual_sign[idx]-1)*(parity_flag[idx]+abs_codedlevel_flag0[idx]+ (abs_codedlevel_flag1[idx]+abs_codedlevel_flag2[idx]+ abs_codedlevel_flag3[idx] + abs_codedlevel_remainder[idx])<<1) (10), Wherein, an arithmetic shift operation (X<<1) is used to calculate the multiplication (X*2), and abs_codedlevel_flag3[idx] may specify the value of the fourth syntax element for level coding of the color component idx; when abs_codedlevel_flag3[idx] is not present, it may be inferred to be equal to 0. The following Table XV shows example values of a set of chroma level syntax elements when the current color component is the first color component or the second color component, or the current component is the third component, and there is at least one non-zero residual level for the first color component or the second color component as shown in Table XII above: Table XV Syntax / Absolute Level 0 1 2 3 4 5 6 7 8 9 10 11 … abs_codedlevel_flag0[idx] 0 1 1 1 1 1 1 1 1 1 1 1 parity_flag[idx] 0 1 0 1 0 1 0 1 0 1 0 abs_codedlevel_flag1[idx] 0 0 1 1 1 1 1 1 1 1 1 abs_codedlevel_flag2[idx] 0 0 1 1 1 1 1 1 1 abs_codedlevel_flag3[idx] 0 0 1 1 1 1 1 abs_codedlevel_remainder[idx]) 0 0 1 1 2
[0092] It should be understood that the absolute level flags and remainder parameters shown in Tables VII to XV above are for illustrative purposes only and may include any other suitable syntax elements that can represent the absolute level of the chroma level and the parity flag. It should also be understood that the parity enable flag can be introduced at different locations to enable or disable the use of the parity flag in the chroma level coding and decoding, such as the parityBasedColorLevelCodingEnable_flag in Tables VII, X and XIII above. For example, parityBasedColorLevelCodingEnable_flag equal to 1 can specify that the above-mentioned parity_flag is enabled; parityBasedColorLevelCodingEnable_flag equal to 0 can specify that the parity_flag is disabled so that the chroma level coding and decoding is performed without the parity_flag; when the parityBasedColorLevelCodingEnable_flag is not present, it can be inferred to be equal to 0. It should also be understood that the parity-based chroma level coding and decoding disclosed herein can be signaled at any suitable level, such as in a sequence header, a color header and / or a slice color header, such as Figure 8 shown.
[0093] At operation 1112, the chroma level of the point is encoded into the code stream based on the syntax element. In some embodiments, the encoder 101 is further configured to encode the chroma level of the point into the code stream based on the syntax element.
[0094] Fig.12A flowchart of a method 1200 for point cloud decoding according to some embodiments of the present disclosure is shown. The method 1200 may be performed by the decoding system 200 or the decoder 201 of any other suitable point cloud decoding system. The method 1200 may include operations 1202 and 1204, as described below. It should be understood that some of the operations may be optional, and some operations may be performed simultaneously or in different order. Fig.12 Execute in the order shown.
[0095] At operation 1202, the code stream is parsed to obtain a syntax element representing the chroma level of the point, the syntax element including a parity flag. In some embodiments, the decoder 201 is configured to parse the code stream to obtain a syntax element representing the chroma level of the point, the syntax element including a parity flag. The syntax element may also include a sign flag, a plurality of absolute level flags, and a remainder parameter. As described above with respect to Fig.11 Disclosed in detail, on the encoding side, a parity flag may be determined based on the absolute level of the chroma level; at least one of the absolute level flags may be determined based on the absolute level of the chroma level and the parity flag; a remainder parameter may be determined based on the absolute level of the chroma level, the absolute level flag, and the parity flag; and a sign flag may be determined based on the sign of the chroma level. In some embodiments, as shown in Table VII, the absolute level flag includes three absolute level flags, and the parity flag may be determined after two of the three absolute level flags, but before one of the three absolute level flags. For example, a parity flag equal to 0 may indicate that the remainder of the absolute level of the chroma level is an even number, and a parity flag equal to 1 may indicate that the remainder of the absolute level of the chroma level is an odd number. For example, the first absolute level flag among these absolute level flags is determined based on comparing the absolute level of the chroma level with 0 or 1.
[0096] At step 1204, the chroma level of the point is determined based on the syntax elements. In some embodiments, the decoder 201 is further configured to determine the chroma level of the point based on the syntax elements (including the sign flag, the parity flag, the absolute level flag, and the remainder parameter). For example, the chroma level of the point can be determined based on equations (5), (6), (7), (8), (9), or (10) above, as described above with respect to Fig.11 Detailed disclosure.
[0097] It should be understood that although the above-mentioned use of reflectance and color is used as an example to disclose the parity-based attribute level encoding and decoding scheme, any other suitable attributes associated with points in the point cloud encoding and decoding can be similarly encoded and decoded using the parity-based attribute level encoding and decoding scheme disclosed herein. It should also be understood that the parity-based attribute level encoding and decoding scheme disclosed herein can be used in multispectral and hyperspectral systems to handle situations with more than three attribute components such as color attributes. For example, assuming that the multispectral and hyperspectral attributes have N components, where N is an integer greater than 1, if the current attribute is a non-zero attribute, the levels of the first N-1 components can have a zero value; if there is at least one non-zero level in the first N-1 components, the last component of the N components can also have a zero value; if all the first N-1 components are zero values, the last component of the N components can only have a non-zero value.
[0098] According to some aspects of the present disclosure, for color attributes containing multiple components (e.g., RGB, YCbCr, or YUV), syntax elements (e.g., symbol flags) representing symbols of chroma levels of different components are grouped together and separated from syntax elements representing absolute chroma levels, so that the symbols can be encoded and decoded using a bypass codec with higher efficiency.
[0099] Attribute level coding and decoding may be performed by a context-based method (also referred to as context coding and decoding) or a bypass method (also referred to as bypass coding and decoding). For example, as an example of context coding and decoding, context-adaptive modeling based binary arithmetic coding and decoding (CABAC) may use syntax elements (e.g., binary bits) to encode attribute levels into bits. The context-based method may adaptively update the context model according to adjacent coding information; the syntax elements encoded by this method are referred to as context-coded syntax elements, for example, context-coded bins (CCBs). In contrast, the bypass method may assume that the probability of 1 or 0 is always 50%, so a fixed context modeling is always used without adaptation. The syntax elements encoded by this method are referred to as bypass-coded syntax elements, for example, bypass-coded bins (BCBs). For example, the context-coded syntax elements may include the parity flag, absolute level flag, and remainder parameter disclosed herein, and the bypass-coded syntax elements may include the sign flag disclosed herein.
[0100] For high bit depth and high bit rate codecs, throughput becomes a more serious problem. However, compared with encoding using bypass coded bits, encoding using context coded bits requires relatively complex hardware implementation and usually reduces the throughput of encoding. Therefore, it faces the bottleneck of improving the throughput of high bit depth and high bit rate encoding. In addition, frequent switching between context coding (e.g., for encoding and decoding parity flags, absolute level flags, and remainder parameters) and bypass coding (e.g., for encoding and decoding sign flags) may further affect attribute coding efficiency and performance.
[0101] Therefore, by grouping the sign flags of multiple color components and separating the sign flags from the context-coded syntax elements (e.g., parity flag, absolute level flag, and remainder parameter), all the sign flags of the color components can be bypass-coded together after the context coding of all color components is completed, thereby improving the coding efficiency and performance of the chroma level coding. Fig.13 A flowchart of a method 1300 for point cloud encoding according to some embodiments of the present disclosure is shown. The method 1300 may be performed by the encoder 101 of the encoding system 100 or any other suitable point cloud decoding system. The method 1300 may include operations 1302, 1304, 1306, and 1308, as described below. It should be understood that some of the operations may be optional, and some operations may be performed simultaneously or in different order. Fig.13 Execute in the order shown.
[0102] At operation 1302, chroma levels of the points are determined, each chroma level being associated with a corresponding component of the plurality of components. In some embodiments, the encoder 101 may determine the chroma level of each color component of the point.
[0103] At operation 1304, a context-coded syntax element representing a corresponding chroma level in the chroma levels of the point is determined based on the absolute level of each of the chroma levels of the point. In some embodiments, the encoder 101 may determine the context-coded syntax element representing the corresponding chroma level based on the absolute level of each chroma level. The context-coded syntax element may include a parity flag associated with each of the chroma levels, i.e., three parity flags for three chroma levels of three color components (e.g., RGB, YUV, or YCrCb). In some embodiments, to determine the context-coded syntax element, the corresponding parity flag is determined based on the absolute level of the chroma level. The context-coded syntax element may also include an absolute level flag associated with each chroma level and a remainder parameter.
[0104] At operation 1306, a bypass coded syntax element representing a corresponding one of the chroma levels of the point is determined based on the sign of each of the chroma levels of the point. In some embodiments, the encoder 101 may determine the bypass coded syntax element representing the corresponding chroma level based on the sign of each chroma level. The bypass coded syntax element may include, for example, at least one of three sign flags associated with three color components (e.g., RGB, YUV, or YCrCb) depending on whether one or more of the three color components is at a zero level. In some embodiments, the bypass coded syntax element is determined after the context coded syntax element.
[0105] The following example illustration (Table XVI) shows another set of chroma level syntax elements and their representation and organization, in which the sign flags (residual_sgin[idx]) of all color components are determined together after all context coded chroma level syntax elements (abs_codedlevel_flagN[idx], abs_codedlevel_remainder[idx], and parity_flag[idx]) of all color components. It should be understood that although the parity flags (parity_flag[idx]) are not shown in Table XVI, they can be added to Table XVI, as shown in the examples of Tables VII, X and XIII above, so that all context coded chroma level syntax elements (abs_codedlevel_flagN[idx], abs_codedlevel_remainder[idx], and parity_flag[idx]) of all color components can be determined before the sign flags (residual_sgin[idx]) of all color components are determined. Table XVI
[0106] At operation 1308, the chroma level of the point is encoded into the codestream based on the context-coded syntax elements using context coding and the bypass-coded syntax elements using bypass coding. In some embodiments, the encoder 101 is further configured to encode the chroma level of the point into the codestream based on the context-coded syntax elements (e.g., parity flag, absolute level flag, and remainder parameter) using context coding and to encode the chroma level of the point into the codestream based on the bypass-coded syntax elements (e.g., sign flag) using bypass coding.
[0107] Fig.14A flowchart of a method 1400 for point cloud decoding according to some embodiments of the present disclosure is shown. The method 1400 may be performed by the decoding system 200 or the decoder 201 of any other suitable point cloud decoding system. The method 1400 may include operations 1402, 1404, 1406, and 1408, as described below. It should be understood that some of the operations may be optional, and some operations may be performed simultaneously or in different order. Fig.14 Execute in the order shown.
[0108] At operation 1402, the code stream is parsed to obtain a context-encoded syntax element representing each of the chroma levels of the point. Each chroma level may be associated with a corresponding component of the plurality of components. In some embodiments, the decoder 201 is configured to parse the code stream to obtain a context-encoded syntax element representing each of the chroma levels of the point. The context-encoded syntax element may include a parity flag associated with each of the chroma levels, i.e., three parity flags for three chroma levels of three color components (e.g., RGB, YUV, or YCrCb). As described above with respect to Fig.13 As disclosed in detail, at the encoding side, the corresponding parity flag can be determined based on the absolute level of the chroma level. The context coded syntax element may also include an absolute level flag associated with each chroma level and a remainder parameter.
[0109] At operation 1404, an absolute level of each of the chroma levels of the point is determined based on a syntax element encoded using the context encoding. In some embodiments, the decoder is configured to determine the absolute level of each of the chroma levels of the point based on a syntax element encoded using the context encoding. For example, the absolute level of each of the chroma levels of the point may be determined based on equations (5), (6), (7), (8), (9), or (10) above.
[0110] At operation 1406, the codestream is parsed to obtain bypass-coded syntax elements representing each of the chroma levels of the point. In some embodiments, the decoder 201 is configured to parse the codestream to obtain bypass-coded syntax elements representing each of the chroma levels of the point. The bypass-coded syntax elements may, for example, include at least one of three sign flags associated with three color components (e.g., RGB, YUV, or YCrCb) depending on whether one or more of the three color components is at a zero level. In some embodiments, the bypass-coded syntax elements are parsed after the context-coded syntax elements.
[0111] At operation 1408, a sign of each of the chroma levels of the point is determined based on the bypass-coded syntax elements encoded using the bypass code. In some embodiments, the decoder 201 is further configured to determine a sign of each of the chroma levels of the point based on the bypass-coded syntax elements decoded using the bypass code. For example, the absolute level of each of the chroma levels of the point may be determined based on equations (5), (6), (7), (8), (9), or (10) above.
[0112] Similar to the parity-based attribute level coding scheme, it should be understood that the symbol flag grouping and bypass coding scheme disclosed herein can also be used in multispectral and hyperspectral systems to process more than three attribute components such as color attributes.
[0113] In various aspects of the present disclosure, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as instructions on a non-transitory computer-readable medium. Computer-readable media include computer storage media. Storage media may be executable by a processor (e.g., Figure 1 and Figure 2 Any available medium accessed by the processor 102 in the computer readable medium. As an example and not limitation, such computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, HDD (e.g., magnetic disk storage or other magnetic storage device), flash drive, SSD, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a processing system (such as a mobile device or a computer). As used herein, disks and optical disks (Disk and disc) include CDs, laser disks, optical disks, DVDs, and floppy disks, wherein disks generally reproduce data magnetically, while optical disks reproduce data optically with lasers. The above combinations should also be included in the scope of computer-readable media.
[0114] According to one aspect of the present disclosure, a method for encoding a point cloud is disclosed. The point cloud includes points associated with colors having components. A processor determines a chroma level of the point. The processor determines a syntax element representing the chroma level of the point based on the chroma level of the point. The syntax element includes a parity flag. The processor encodes the chroma level of the point into a code stream based on the syntax element.
[0115] In some embodiments, to determine the syntax element, the parity flag is determined based on the absolute level of the chroma levels.
[0116] In some embodiments, the syntax element also includes an absolute level flag and a remainder parameter.
[0117] In some embodiments, to determine the syntax element, at least one of the absolute level flags is determined based on the absolute level of the chroma level and the parity flag, and then the remainder parameter is determined based on the absolute level of the chroma level, the absolute level flag and the parity flag.
[0118] In some embodiments, the absolute level mark includes three absolute level marks, and the parity mark may be determined after two of the three absolute level marks, but before one of the three absolute level marks.
[0119] In some embodiments, the first of the three absolute level flags is determined based on comparing the absolute level of the chroma level to either 0 or 1.
[0120] In some embodiments, a parity flag equal to 0 indicates that the remainder of the absolute level of the chroma level is an even number, and a parity flag equal to 1 indicates that the remainder of the absolute level of the chroma level is an odd number.
[0121] In some embodiments, the syntax element also includes a symbol flag.
[0122] In some embodiments, to determine the syntax element, a sign flag is determined based on the sign of the chroma level.
[0123] According to another aspect of the present disclosure, a system for encoding a point cloud is disclosed, including a memory configured to store instructions and a processor coupled to the memory. The point cloud includes points associated with colors having components. The processor is configured to determine the chroma level of the point when executing the instructions. The processor is also configured to determine a syntax element representing the chroma level of the point based on the chroma level of the point when executing the instructions. The syntax element includes a parity flag. The processor is also configured to encode the chroma level of the point into a code stream based on the syntax element when executing the instructions.
[0124] According to another aspect of the present disclosure, a method for decoding a point cloud is disclosed. The point cloud includes points associated with colors having components. A processor parses a code stream to obtain a syntax element representing a chrominance level of the point. The syntax element includes a parity flag. The processor determines the chrominance level of the point based on the syntax element.
[0125] In some embodiments, the parity flag is determined based on the absolute level of the chroma levels.
[0126] In some embodiments, the syntax element also includes an absolute level flag and a remainder parameter.
[0127] In some embodiments, at least one of the absolute level flags is determined based on the absolute level of the chroma level and the parity flag, and then the remainder parameter is determined based on the absolute level of the chroma level, the absolute level flag and the parity flag.
[0128] In some embodiments, the absolute level mark includes three absolute level marks, and the parity mark may be determined after two of the three absolute level marks, but before one of the three absolute level marks.
[0129] In some embodiments, the first of the three absolute level flags is determined based on comparing the absolute level of the chroma level to either 0 or 1.
[0130] In some embodiments, a parity flag equal to 0 indicates that the remainder of the absolute level of the chroma level is an even number, and a parity flag equal to 1 indicates that the remainder of the absolute level of the chroma level is an odd number.
[0131] In some embodiments, the syntax element also includes a symbol flag.
[0132] In some embodiments, the sign flag is determined based on the sign of the chroma level.
[0133] According to another aspect of the present disclosure, a system for decoding a point cloud is disclosed, including a memory configured to store instructions and a processor coupled to the memory. The point cloud includes points associated with colors having components. The processor is configured to parse a code stream to obtain a syntax element representing a chroma level of the point when executing the instructions. The syntax element includes a parity flag. The processor is also configured to determine the chroma level of the point based on the syntax element when executing the instructions.
[0134] The foregoing description of the embodiments will reveal the general nature of the present disclosure so that others can easily modify and / or adjust these embodiments for various applications without undue experimentation by applying knowledge known to those skilled in the art without departing from the general concept of the present disclosure. Therefore, based on the teachings and guidance presented herein, such adjustments and modifications are intended to be included in the meaning and scope of the equivalents of the disclosed embodiments. It should be understood that the wording or terminology herein is used for description rather than limitation purposes, so that the terms or wording of this specification will be interpreted by those skilled in the art according to teaching and guidance.
[0135] The embodiments of the present disclosure have been described above by means of functional building blocks that illustrate the implementation of specified functions and their relationships. For ease of description, the scope limits of these functional building blocks have been arbitrarily defined in this article. Alternative scope limits can be defined as long as the specified functions and their relationships can be appropriately performed.
[0136] The Summary and Abstract sections may set forth one or more but not all embodiments of the present disclosure as contemplated by the inventor(s), and thus, are not intended to limit the present disclosure and the appended claims in any way.
[0137] Various functional blocks, modules and steps are disclosed above. The arrangement provided is illustrative and not restrictive. Therefore, the functional blocks, modules and steps can be reordered or combined in a manner different from the examples provided above. Likewise, some embodiments include only a subset of the functional blocks, modules and steps, and any such subset is allowed.
[0138] The breadth and scope of the present disclosure should not be limited by any of the above-described embodiments, but should be defined only in accordance with the following claims and their equivalents.
Claims
1. A method of encoding a point cloud, the point cloud comprising points associated with colors having components, the method comprising: determining, by a processor, a chromaticity level of the point; determining, by the processor, a syntax element representing a chroma level of the point based on the chroma level of the point, wherein the syntax element comprises a parity flag; as well as The processor encodes the chroma level of the point into a code stream based on the syntax element.
2. The method according to claim 1, wherein: Determining the syntax element includes determining the parity flag based on an absolute level of the chroma levels.
3. The method according to claim 2, wherein: The syntax element also includes an absolute level flag and a remainder parameter.
4. The method according to claim 3, wherein: Determining the grammatical element further includes: determining at least one of the absolute level flags based on the absolute level of the chroma level and the parity flag; and The remainder parameter is determined based on the absolute level of the chroma level, the absolute level flag, and the parity flag.
5. The method according to claim 4, wherein: The absolute level mark includes three absolute level marks; and The parity mark is determined after two of the three absolute level marks but before one of the three absolute level marks.
6. The method according to claim 5, wherein: Based on comparing the absolute level of the chrominance level to 0 or 1, a first absolute level flag of the three absolute level flags is determined.
7. The method according to claim 2, wherein: The parity flag equal to 0 indicates that the remainder of the absolute level of the chroma level is an even number, and the parity flag equal to 1 indicates that the remainder of the absolute level of the chroma level is an odd number.
8. The method according to claim 1, wherein: The syntax element also includes a symbol flag.
9. The method according to claim 8, wherein: Determining the syntax element further includes determining the sign flag based on a sign of the chroma level.
10. A system for encoding a point cloud, the point cloud comprising points associated with colors having components, the system comprising: a memory configured to store instructions; as well as A processor, the processor being coupled to the memory and being configured to, when executing the instructions: determining a chromaticity level of the point; A syntax element representing the chroma level of the point is determined based on the chroma level of the point, wherein: The syntax element includes a parity flag; as well as The chroma level of the point is encoded into a code stream based on the syntax element.
11. A method of decoding a point cloud, the point cloud comprising points associated with colors having components, the method comprising: Parsing the code stream by a processor to obtain a syntax element indicating the chroma level of the point, wherein the syntax element includes a parity flag; and A chroma level for the point is determined, by the processor, based on the syntax element.
12. The method according to claim 11, wherein: The parity flag is determined based on the absolute level of the chroma level.
13. The method according to claim 12, wherein: The syntax element also includes an absolute level flag and a remainder parameter.
14. The method according to claim 13, wherein: The absolute level flag is determined based on the absolute level of the chroma level and the parity flag; and The remainder parameter is determined based on the absolute level of the chroma level, the absolute level flag, and the parity flag.
15. The method according to claim 14, wherein: The absolute level mark includes three absolute level marks; and The parity mark is determined after two of the three absolute level marks but before one of the three absolute level marks.
16. The method according to claim 15, wherein: Based on comparing the absolute level of the chrominance level to 0 or 1, a first absolute level flag of the three absolute level flags is determined.
17. The method according to claim 12, wherein: The parity flag equal to 0 indicates that the remainder of the absolute level of the chroma level is an even number, and the parity flag equal to 1 indicates that the remainder of the absolute level of the chroma level is an odd number.
18. The method according to claim 11, wherein: The syntax element also includes a symbol flag.
19. The method according to claim 18, wherein: The sign flag is determined based on the sign of the chroma level.
20. A system for decoding a point cloud, the point cloud comprising points associated with colors having components, the system comprising: a memory configured to store instructions; as well as A processor, the processor being coupled to the memory and being configured to, when executing the instructions: Parsing the code stream to obtain a syntax element indicating the chroma level of the point, wherein the syntax element includes a parity flag; and A chroma level for the point is determined based on the syntax element.
