WO2024120324A1 - Attribute transformation decoding method, attribute transformation coding method, and terminal - Google Patents

Attribute transformation decoding method, attribute transformation coding method, and terminal Download PDF

Info

Publication number
WO2024120324A1
WO2024120324A1 PCT/CN2023/136033 CN2023136033W WO2024120324A1 WO 2024120324 A1 WO2024120324 A1 WO 2024120324A1 CN 2023136033 W CN2023136033 W CN 2023136033W WO 2024120324 A1 WO2024120324 A1 WO 2024120324A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
point cloud
value
shift
decoded
Prior art date
Application number
PCT/CN2023/136033
Other languages
French (fr)
Chinese (zh)
Inventor
张伟
刘晓宇
杨付正
吕卓逸
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024120324A1 publication Critical patent/WO2024120324A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/597Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/18Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a set of transform coefficients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/65Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding

Definitions

  • the present application belongs to the field of coding and decoding technology, and specifically relates to an attribute transformation decoding method, an attribute transformation encoding method and a terminal.
  • a point cloud is a set of irregularly distributed discrete points in space that express the spatial structure and surface properties of a three-dimensional object or scene.
  • the encoding process of point cloud involves attribute transformation coding.
  • the point cloud is reordered based on its geometric information and a multi-layer transformation tree structure is constructed. Then, the attribute coefficients corresponding to each node in the transformation tree structure are transformed through the transformation matrix to realize the attribute transformation coding of the point cloud.
  • the encoder needs to perform a shift operation on the attribute information of the point cloud to construct the transform tree structure.
  • the decoder also needs to perform a shift operation on the reconstructed attribute information of the point cloud.
  • the number of shifts performed by the decoder is greater than the number of shifts performed by the encoder, the value calculated by the decoder may exceed the specified bit width upper limit, thereby causing a decoding error.
  • the embodiments of the present application provide an attribute transformation decoding method, an attribute transformation encoding method and a terminal, which can solve the problem in the related art that the value calculated by the decoding end exceeds the specified bit width upper limit, thereby causing decoding errors.
  • an attribute transformation decoding method comprising:
  • the decoding end obtains a target bitstream and a target shift number associated with the target bitstream, where the target shift number associated with the target bitstream is the shift number used by the encoding end to perform a shift operation;
  • the decoding end decodes and dequantizes the target bitstream to obtain reconstruction transformation coefficients corresponding to the point cloud to be decoded;
  • the decoding end performs a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
  • the decoding end constructs a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and performs inverse transformation processing on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded; the reordered points to be decoded are determined based on the reconstructed geometric information of the point cloud to be decoded obtained by decoding the target bitstream;
  • the decoding end performs a second shift on the reconstructed attribute value corresponding to the to-be-decoded point cloud according to the target shift number. operation to obtain the reconstructed attribute information corresponding to the point cloud to be decoded; the shifting direction of the second shifting operation is opposite to the shifting direction of the first shifting operation.
  • an attribute transformation encoding method comprising:
  • the encoding end reorders the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
  • the encoding end performs a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
  • the encoder constructs a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transforms the attribute information after the first shift operation based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded;
  • the encoder performs a second shift operation on the transform coefficients corresponding to the to-be-encoded point cloud according to the target shift number, where a shift direction of the second shift operation is opposite to a shift direction of the first shift operation;
  • the encoding end quantizes and encodes the transformation coefficients after the second shift operation is performed to generate a target code stream.
  • an attribute transformation decoding device comprising:
  • An acquisition module used to acquire a target bitstream and a target shift number associated with the target bitstream, where the target shift number associated with the target bitstream is the shift number used by the encoder to perform a shift operation;
  • a first processing module is used to decode and dequantize the target bitstream to obtain reconstruction transformation coefficients corresponding to the point cloud to be decoded;
  • a first shift module configured to perform a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number
  • a second processing module is used to construct a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and to perform inverse transformation processing on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded; the reordered points to be decoded are determined based on the reconstructed geometric information of the point cloud to be decoded obtained by decoding the target code stream;
  • the second shift module is used to perform a second shift operation on the reconstructed attribute value corresponding to the point cloud to be decoded according to the target shift number to obtain the reconstructed attribute information corresponding to the point cloud to be decoded; the shift direction of the second shift operation is opposite to the shift direction of the first shift operation.
  • an attribute transformation encoding device comprising:
  • a reordering module used for reordering the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded
  • a first shift module configured to perform a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
  • a first processing module is used to construct a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transform the attribute information after the first shift operation is performed based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded;
  • the second shift module is used to perform a second shift on the transformation coefficient corresponding to the point cloud to be encoded according to the target shift number. a shift operation, wherein a shift direction of the second shift operation is opposite to a shift direction of the first shift operation;
  • the second processing module is used to quantize and encode the transformation coefficients after the second shift operation is performed to generate a target code stream.
  • a terminal which includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
  • a readable storage medium on which a program or instruction is stored.
  • the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
  • a chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect, or to implement the steps of the method described in the second aspect.
  • a computer program/program product is provided, wherein the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
  • the decoding end obtains the target shift number associated with the target code stream during decoding of the target code stream, the target shift number associated with the target code stream being the shift number used by the encoding end to perform the shift operation, and the shift operation is performed by using the target shift number, so that the shift number for the shift operation performed by the decoding end is the same as the shift number for the shift operation performed by the encoding end.
  • the bit width of the value calculated by the decoding end may exceed the prescribed bit width upper limit
  • the bit width of the value calculated by the decoding end is within the prescribed bit width range, thereby avoiding decoding errors.
  • FIG1 is a schematic diagram of the framework of a point cloud AVS point cloud encoding device
  • FIG2 is a schematic diagram of the framework of a point cloud AVS point cloud decoding device
  • FIG3 is a schematic diagram of a flow chart of an attribute transformation decoding method provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a flow chart of an attribute transformation encoding method provided in an embodiment of the present application.
  • FIG5 is a structural diagram of an attribute transformation decoding device provided in an embodiment of the present application.
  • FIG6 is a structural diagram of an attribute transformation encoding device provided in an embodiment of the present application.
  • FIG7 is a structural diagram of a communication device provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of the hardware structure of a terminal provided in an embodiment of the present application.
  • first, second, etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by “first” and “second” are generally of the same type, and the number of objects is not limited.
  • the first object can be one or more.
  • “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally represents that the objects associated with each other are in an "or” relationship.
  • the attribute transformation encoding device corresponding to the attribute transformation encoding method in the embodiment of the present application and the attribute transformation decoding device corresponding to the attribute transformation decoding method can both be terminals, which can also be called terminal equipment or user terminal (User Equipment, UE).
  • terminals which can also be called terminal equipment or user terminal (User Equipment, UE).
  • UE User Equipment
  • the terminal can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augm Terminal side devices include augmented reality (AR)/virtual reality (VR) devices, robots, wearable devices (Wearable Device) or vehicle-mounted devices (VUE), pedestrian terminals (PUE), smart homes (home appliances with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.), game consoles, personal computers (personal computers, PCs), teller machines or self-service machines, etc., and wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands
  • the geometric information and attribute information of the point cloud are encoded separately using the point cloud AVS point cloud encoding device.
  • the geometric information is converted into coordinates so that all the point clouds are contained in a bounding box, and then the coordinates are quantized.
  • Quantization mainly plays a role in scaling. Since quantization rounds the geometric coordinates, the geometric information of some points is the same, which is called duplicate points. Whether to remove duplicate points is determined according to parameters. The two steps of quantization and removal of duplicate points are also called voxelization.
  • the bounding box is divided into a multi-tree, such as an octree, a quadtree or a binary tree.
  • the bounding box is divided into 8 equal sub-cubes, and the non-empty sub-cubes are divided until the division is stopped when the leaf node is a unit cube of 1x1x1, and the number of points in the leaf node is encoded to generate a binary code stream.
  • Attribute encoding is mainly for color and reflectance information. First, determine whether to perform color space conversion based on the parameters. If color space conversion is performed, the color information is converted from the red green blue (RGB) color space to the luminance bandwidth chrominance (YUV) color space. Then, the original point cloud is used to recolor the geometrically reconstructed point cloud so that the unencoded attribute information corresponds to the reconstructed geometric information.
  • RGB red green blue
  • YUV luminance bandwidth chrominance
  • the geometric spatial relationship is used to search for the nearest neighbor of the point to be predicted, and the nearest neighbor is used to find the nearest neighbor of the point to be predicted.
  • the reconstructed attribute value of the neighbor is used to predict the point to be predicted to obtain the predicted attribute value, and then the real attribute value and the predicted attribute value are differentiated to obtain the prediction residual, and finally the prediction residual is quantized and encoded to generate a binary code stream.
  • the decoding process in the digital audio and video coding technology standard corresponds to the above-mentioned encoding process.
  • the framework of the audio and video coding (Audio Video Coding Standard, AVS) point cloud decoding device is shown in Figure 2.
  • the present application provides an attribute transformation decoding method.
  • the attribute transformation decoding method provided by the embodiment of the present application is described in detail below through some embodiments and application scenarios in combination with the accompanying drawings.
  • FIG. 3 is a flow chart of the attribute transformation decoding method in an embodiment of the present application.
  • the attribute transformation decoding method provided in this embodiment includes the following steps:
  • a decoding end obtains a target bitstream and a target shift number associated with the target bitstream.
  • the decoder obtains the target bitstream and the target shift number associated with the target bitstream, wherein the target shift number associated with the target bitstream is the shift number used by the encoder in performing the shift operation.
  • the target shift number may be determined based on indication information carried in the target bitstream.
  • the decoding end decodes and dequantizes the target bitstream to obtain reconstructed transform coefficients corresponding to the point cloud to be decoded.
  • the decoding end performs a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number.
  • the target code stream is decoded and dequantized to obtain the reconstructed transform coefficients corresponding to the point cloud to be decoded, and a first shift operation is performed on the reconstructed transform coefficients corresponding to the point cloud to be decoded, wherein the shift number of the first shift operation is the target shift number.
  • the first shift operation is a left shift operation, that is, a left shift operation is performed on the reconstructed transform coefficients to move the target shift number to the left.
  • the decoding end constructs a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and performs an inverse transformation on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain the reconstructed attribute values corresponding to the point cloud to be decoded.
  • the reconstructed geometric information of the point cloud to be decoded will also be obtained, and then the point cloud to be decoded will be reordered based on the reconstructed geometric information of the point cloud to be decoded, and the transformation tree structure corresponding to the point cloud to be decoded is constructed according to the geometric distance between the reordered points to be decoded.
  • the above transformation tree structure includes multiple structural layers, and each structural layer includes multiple nodes.
  • the reconstructed transform coefficients after the first shift operation can be inversely transformed by the transformation matrix to obtain the reconstructed attribute value corresponding to the point cloud to be decoded.
  • the first attribute coefficient corresponding to the node can be predicted to obtain a predicted attribute value, and then the sum of the reconstructed transform coefficient corresponding to the node and the predicted attribute value is determined as the reconstructed attribute value corresponding to the node, and the reconstructed attribute value corresponding to each node in the transformation tree structure is determined in the above manner.
  • the reconstructed transform coefficient corresponding to the above node is the reconstructed transform coefficient after the first shift operation is performed.
  • the decoding end performs a second shift operation on the reconstructed attribute value corresponding to the to-be-decoded point cloud according to the target shift number to obtain reconstructed attribute information corresponding to the to-be-decoded point cloud.
  • a second shift operation can be performed on the reconstructed attribute value corresponding to the point cloud to be decoded to obtain the reconstructed attribute information corresponding to the point cloud to be decoded, that is, a second shift operation is performed on the reconstructed attribute value corresponding to each node to obtain the reconstructed attribute information corresponding to each node, thereby completing the decoding of the point cloud to be decoded.
  • the shift number of the second shift operation is the target shift number.
  • the shift direction of the second shift operation is opposite to the shift direction of the first shift operation. When the first shift operation is a left shift operation, the second shift operation is a right shift operation.
  • the decoding end obtains the target shift number associated with the target code stream during decoding of the target code stream, and performs a shift operation according to the target shift number, so that the shift number of the shift operation performed by the decoding end is the same as the shift number of the shift operation performed by the encoding end.
  • the bit width of the value calculated by the decoding end may exceed the prescribed bit width upper limit.
  • the bit width of the value calculated by the decoding end is within the prescribed bit width range, thereby avoiding decoding errors.
  • the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on indication information carried in the target code stream.
  • the target shift number is the shift number agreed upon by the protocol.
  • a parameter may be specified at the decoding end, and the parameter is used to characterize the target shift number.
  • the target shift number is determined by indication information carried in the target bitstream.
  • the target bitstream is decoded to obtain the indication information, and the target shift number is determined according to the indication information.
  • the target value is determined based on a preset bit width value, a bit width value of attribute information corresponding to the point cloud to be decoded, and the number of points to be decoded included in the point cloud to be decoded.
  • the target shift number is greater than or equal to 0 and less than or equal to the target value
  • the target value is the target difference divided by 2
  • the target difference is the difference between the first value and the second value
  • the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be decoded
  • the second value is the value after performing a logarithmic operation on the number of points to be decoded included in the point cloud to be decoded.
  • the target shift number needs to satisfy the following formula: N*2 n *2 kFracBits *2 kFracBits ⁇ 2 m
  • KFracBits represents the target shift bit number
  • N represents the number of points to be decoded included in the point cloud to be decoded
  • n represents the bit width value of the attribute information corresponding to the point cloud to be decoded
  • m represents the preset bit width value
  • KFracBits represents the target shift number
  • m represents the preset bit width value
  • m represents the bit width of the direct current (DC) coefficient corresponding to the point to be encoded in the point cloud to be decoded
  • n represents the bit width value of the attribute information corresponding to the point cloud to be decoded
  • N represents the number of points to be decoded included in the point cloud to be decoded.
  • (mn-log 2 N)/2 represents the target value
  • (mn-log 2 N) represents the target difference
  • (mn) represents the first value
  • log 2 N represents the second value
  • the target value is an integer obtained by rounding down the ratio of the target difference value to 2.
  • KFracBits represents the target shift bit number
  • m represents the preset bit width value
  • m represents the bit width of the DC coefficient corresponding to the point to be encoded in the point cloud to be decoded
  • n represents the bit width value of the attribute information corresponding to the point cloud to be decoded
  • N represents the number of points to be decoded included in the point cloud to be decoded
  • floor represents the rounding down operation
  • (mn-log 2 N) represents the target difference.
  • the bit width of the value calculated by the decoding end is within the specified bit width range, thereby avoiding decoding errors.
  • FIG 4 is a flow chart of the attribute transformation coding method provided by an embodiment of the present application.
  • the attribute transformation coding method provided by this embodiment includes the following steps:
  • the encoding end reorders the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded.
  • the encoding end performs a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded.
  • a first shift operation may be performed on the attribute information of the code point cloud, wherein the shift number of the first shift operation is the target shift number.
  • the first shift operation is a left shift operation.
  • the encoding end constructs a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transforms the attribute information after the first shift operation based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded.
  • the attribute information after the first shift operation can be transformed by a transformation matrix to obtain the transformation coefficients corresponding to the point cloud to be encoded.
  • attribute prediction is performed on them to obtain their DC coefficient prediction values, and then the DC residual coefficients are obtained.
  • the transformation process in this step is the inverse process of the inverse transformation process performed on the reconstructed transformation coefficients in the above embodiment, and will not be repeated here.
  • S404 The encoding end performs a second shift operation on the transformation coefficients corresponding to the point cloud to be encoded according to the target shift number.
  • the shifting direction of the second shifting operation is opposite to the shifting direction of the first shifting operation.
  • S405 The encoding end quantizes and encodes the transformation coefficients after performing the second shift operation to generate a target bit stream.
  • the encoding end performs a first shift operation on the attribute information of the reordered point cloud to be encoded based on a target shift number associated with the point cloud to be encoded.
  • the target shift number is a shift number agreed upon by the protocol, or the target shift number is determined based on pre-acquired indication information.
  • attribute transformation encoding method provided in this embodiment is the inverse process of the attribute transformation decoding provided in the above embodiment.
  • the target value is based on a preset bit width value and a bit width value of the attribute information corresponding to the point cloud to be encoded. And the number of points to be encoded included in the point cloud to be encoded is determined.
  • the target shift number is greater than or equal to 0 and less than or equal to the target value
  • the target value is the target difference divided by 2
  • the target difference is the difference between the first value and the second value
  • the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be encoded
  • the second value is the value after performing a logarithmic operation on the number of points to be encoded included in the point cloud to be encoded.
  • the target value is an integer obtained by rounding down the ratio of the target value to 2.
  • the attribute transformation decoding method provided in the embodiment of the present application may be executed by an attribute transformation decoding device.
  • the attribute transformation decoding device performing the attribute transformation decoding method is taken as an example to illustrate the attribute transformation decoding device provided in the embodiment of the present application.
  • the embodiment of the present application further provides an attribute transformation decoding device 500, including:
  • An acquisition module 501 is used to acquire a target bitstream and a target shift number associated with the target bitstream, where the target shift number associated with the target bitstream is the shift number used by the encoder to perform a shift operation;
  • the first processing module 502 is used to decode and dequantize the target bitstream to obtain reconstruction transformation coefficients corresponding to the point cloud to be decoded;
  • a first shift module 503, configured to perform a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
  • the second processing module 504 is used to construct a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and perform inverse transformation processing on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded; the reordered points to be decoded are determined based on the reconstructed geometric information of the point cloud to be decoded obtained by decoding the target bitstream;
  • the second shift module 505 is used to perform a second shift operation on the reconstructed attribute value corresponding to the point cloud to be decoded according to the target shift number to obtain the reconstructed attribute information corresponding to the point cloud to be decoded; the shift direction of the second shift operation is opposite to the shift direction of the first shift operation.
  • the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on indication information carried in the target code stream.
  • the target value is determined based on a preset bit width value, a bit width value of attribute information corresponding to the point cloud to be decoded, and the number of points to be decoded included in the point cloud to be decoded.
  • the target shift number is greater than or equal to 0 and less than or equal to the target value
  • the target value is the target difference divided by 2
  • the target difference is the difference between the first value and the second value
  • the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be decoded
  • the second value is the value after performing a logarithmic operation on the number of points to be decoded included in the point cloud to be decoded.
  • the target value is an integer obtained by rounding down the ratio of the target difference value to 2.
  • the decoding end obtains the target shift number associated with the target code stream during the process of decoding the target code stream.
  • the target shift number associated with the target code stream is the shift number used by the encoder to perform the shift operation, and the shift operation is performed by the target shift number, so that the shift number used by the decoder to perform the shift operation is the same as the shift number used by the encoder to perform the shift operation.
  • the bit width of the value calculated by the decoder may exceed the specified bit width upper limit.
  • the bit width of the value calculated by the decoder is within the specified bit width range, thereby avoiding decoding errors.
  • This device embodiment corresponds to the attribute transformation decoding method embodiment shown in FIG. 3 . All implementation processes and implementation methods on the decoding end in the above method embodiment are applicable to this device embodiment and can achieve the same technical effect.
  • the attribute transformation coding method provided in the embodiment of the present application may be executed by an attribute transformation coding device.
  • an attribute transformation coding device executing the attribute transformation coding method is taken as an example to illustrate the attribute transformation coding device provided in the embodiment of the present application.
  • the embodiment of the present application further provides an attribute transformation encoding device 600, including:
  • a reordering module 601 is used to reorder the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
  • a first shift module 602 configured to perform a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
  • the first processing module 603 is used to construct a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transform the attribute information after the first shift operation is performed based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded;
  • a second shift module 604 is configured to perform a second shift operation on the transformation coefficients corresponding to the to-be-encoded point cloud according to the target shift number, wherein the shift direction of the second shift operation is opposite to the shift direction of the first shift operation;
  • the second processing module 605 is used to quantize and encode the transformation coefficients after the second shift operation is performed to generate a target bit stream.
  • the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on pre-acquired indication information.
  • the target value is determined based on a preset bit width value, a bit width value of attribute information corresponding to the point cloud to be encoded, and the number of points to be encoded included in the point cloud to be encoded.
  • the target shift number is greater than or equal to 0 and less than or equal to a target value; wherein the target value is a target difference divided by 2, the target difference is a difference between a first value and a second value, the first value is a difference between a preset bit width value and a bit width value of attribute information corresponding to the point cloud to be decoded, and the second value is a value obtained by performing a logarithmic operation on the number of points to be decoded included in the point cloud to be decoded.
  • the target value is an integer obtained by rounding down the ratio of the target difference value to 2.
  • the attribute transformation coding device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 4 and achieve the same technical effect. To avoid repetition, it will not be described here.
  • the attribute transformation encoding device and the attribute transformation decoding device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in the electronic device, such as an integrated circuit or a chip.
  • the terminal may be a terminal, or other devices other than the terminal.
  • the terminal may include but is not limited to the types of terminals listed above, and other devices may be a server, a network attached storage (NAS), etc., which are not specifically limited in the embodiments of the present application.
  • an embodiment of the present application also provides a communication device 700, including a processor 701 and a memory 702, and the memory 702 stores a program or instruction that can be executed on the processor 701.
  • the program or instruction is executed by the processor 701 to implement the various steps of the above-mentioned attribute transformation encoding method embodiment, or to implement the various steps of the above-mentioned attribute transformation decoding method embodiment, and can achieve the same technical effect.
  • the embodiment of the present application further provides a terminal, including a processor and a communication interface, wherein the processor is configured to perform the following operations:
  • a transformation tree structure corresponding to the point cloud to be decoded is constructed, and based on the transformation tree structure, an inverse transformation process is performed on the reconstructed transformation coefficients after the first shift operation is performed to obtain a reconstructed attribute value corresponding to the point cloud to be decoded;
  • a second shift operation is performed on the reconstructed attribute value corresponding to the to-be-decoded point cloud according to the target shift number to obtain reconstructed attribute information corresponding to the to-be-decoded point cloud.
  • the processor is used to perform the following operations:
  • a transformation tree structure corresponding to the point cloud to be encoded is constructed, and based on the transformation tree structure, the attribute information after the first shift operation is performed is transformed to obtain a transformation coefficient corresponding to the point cloud to be encoded;
  • the transform coefficients after the second shift operation are quantized and encoded to generate a target bit stream.
  • the terminal embodiment corresponds to the above-mentioned terminal side method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to the terminal embodiment and can achieve the same technical effect.
  • Figure 8 is a schematic diagram of the hardware structure of a terminal implementing the embodiment of the present application.
  • the terminal 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
  • the terminal 800 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 810 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
  • a power source such as a battery
  • the present invention may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072.
  • the touch panel 8071 is also called a touch screen.
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the RF unit 801 after receiving downlink data from the network side device, the RF unit 801 can transmit the data to the processor 88 for processing; the RF unit 801 can send uplink data to the network side device.
  • the RF unit 801 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
  • the memory 809 can be used to store software programs or instructions and various data.
  • the memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
  • the memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • the processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
  • the processor 810 is configured to perform the following operations:
  • a transformation tree structure corresponding to the point cloud to be decoded is constructed, and the transformation tree structure corresponding to the point cloud to be decoded is constructed.
  • a second shift operation is performed on the reconstructed attribute value corresponding to the to-be-decoded point cloud according to the target shift number to obtain reconstructed attribute information corresponding to the to-be-decoded point cloud.
  • processor 810 is further configured to perform the following operations:
  • a transformation tree structure corresponding to the point cloud to be encoded is constructed, and based on the transformation tree structure, the attribute information after the first shift operation is performed is transformed to obtain a transformation coefficient corresponding to the point cloud to be encoded;
  • the transform coefficients after the second shift operation are quantized and encoded to generate a target bit stream.
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the various processes of the above-mentioned attribute transformation encoding method embodiment are implemented, or the various processes of the above-mentioned attribute transformation decoding method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the processor is the processor in the terminal described in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned attribute transformation encoding method embodiment, or to implement the various processes of the above-mentioned attribute transformation decoding method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • the embodiments of the present application further provide a computer program/program product, which is stored in a storage medium, and is executed by at least one processor to implement the various processes of the above-mentioned attribute transformation encoding method embodiment, or to implement the various processes of the above-mentioned attribute transformation decoding method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to execute the methods described in each embodiment of the present application.
  • a storage medium such as ROM/RAM, magnetic disk, optical disk
  • a terminal which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present application belongs to the technical field of coding and decoding. Disclosed are an attribute transformation coding method, an attribute transformation decoding method, and a terminal. The attribute transformation decoding method provided in the embodiments of the present application comprises: acquiring a target code stream and a target shift number that is associated with the target code stream; performing decoding and inverse quantization on the target code stream, so as to obtain a reconstruction transformation coefficient corresponding to a point cloud to be decoded; according to the target shift number, executing a first shift operation on the reconstruction transformation coefficient corresponding to said point cloud; according to a geometric distance between points to be decoded that have been reordered, constructing a transformation tree structure corresponding to said point cloud, and on the basis of the transformation tree structure, performing inverse transformation processing on the reconstruction transformation coefficient on which the first shift operation has been executed, so as to obtain a reconstruction attribute value corresponding to said point cloud; and according to the target shift number, executing a second shift operation on the reconstruction attribute value corresponding to said point cloud, so as to obtain reconstruction attribute information corresponding to said point cloud.

Description

属性变换解码方法、属性变换编码方法及终端Attribute transformation decoding method, attribute transformation encoding method and terminal
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2022年12月09日在中国提交的中国专利申请No.202211584648.9的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202211584648.9 filed in China on December 9, 2022, the entire contents of which are incorporated herein by reference.
技术领域Technical Field
本申请属于编解码技术领域,具体涉及一种属性变换解码方法、属性变换编码方法及终端。The present application belongs to the field of coding and decoding technology, and specifically relates to an attribute transformation decoding method, an attribute transformation encoding method and a terminal.
背景技术Background technique
点云是空间中一组无规则分布的、表达三维物体或场景的空间结构及表面属性的离散点集。A point cloud is a set of irregularly distributed discrete points in space that express the spatial structure and surface properties of a three-dimensional object or scene.
在点云的编码过程中,涉及属性变换编码,在属性变换编码过程中,基于点云的几何信息对点云进行重排序并构建多层变换树结构,进而通过变换矩阵对变换树结构中每个节点对应的属性系数进行变换处理,实现对点云的属性变换编码。The encoding process of point cloud involves attribute transformation coding. In the attribute transformation coding process, the point cloud is reordered based on its geometric information and a multi-layer transformation tree structure is constructed. Then, the attribute coefficients corresponding to each node in the transformation tree structure are transformed through the transformation matrix to realize the attribute transformation coding of the point cloud.
然而,在上述构建多层变换树结构的过程中,编码端需要对点云的属性信息进行移位操作以构建变换树结构,解码端在解码过程中,也需要对点云的重建属性信息进行移位操作,然而,若解码端执行移位操作的移位数大于编码端执行移位操作的移位数,则可能导致解码端计算得到的数值超出规定的位宽上限,进而导致解码出错。However, in the above process of constructing a multi-layer transform tree structure, the encoder needs to perform a shift operation on the attribute information of the point cloud to construct the transform tree structure. During the decoding process, the decoder also needs to perform a shift operation on the reconstructed attribute information of the point cloud. However, if the number of shifts performed by the decoder is greater than the number of shifts performed by the encoder, the value calculated by the decoder may exceed the specified bit width upper limit, thereby causing a decoding error.
发明内容Summary of the invention
本申请实施例提供一种属性变换解码方法、属性变换编码方法及终端,能够解决相关技术中解码端计算得到的数值超出规定的位宽上限,进而导致解码出错的问题。The embodiments of the present application provide an attribute transformation decoding method, an attribute transformation encoding method and a terminal, which can solve the problem in the related art that the value calculated by the decoding end exceeds the specified bit width upper limit, thereby causing decoding errors.
第一方面,提供了一种属性变换解码方法,包括:In a first aspect, an attribute transformation decoding method is provided, comprising:
解码端获取目标码流以及与所述目标码流关联的目标移位数,所述目标码流关联的目标移位数为编码端执行移位操作中使用的移位数;The decoding end obtains a target bitstream and a target shift number associated with the target bitstream, where the target shift number associated with the target bitstream is the shift number used by the encoding end to perform a shift operation;
所述解码端对所述目标码流进行解码和反量化,获得待解码点云对应的重建变换系数;The decoding end decodes and dequantizes the target bitstream to obtain reconstruction transformation coefficients corresponding to the point cloud to be decoded;
所述解码端根据所述目标移位数对所述待解码点云对应的重建变换系数执行第一移位操作;The decoding end performs a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
所述解码端根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的重建变换系数进行逆变换处理,得到所述待解码点云对应的重建属性值;所述重排序后的待解码点基于解码所述目标码流得到的所述待解码点云的重建几何信息确定;The decoding end constructs a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and performs inverse transformation processing on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded; the reordered points to be decoded are determined based on the reconstructed geometric information of the point cloud to be decoded obtained by decoding the target bitstream;
所述解码端根据所述目标移位数对所述待解码点云对应的重建属性值执行第二移位 操作,获得所述待解码点云对应的重建属性信息;所述第二移位操作的移位方向与所述第一移位操作的移位方向相反。The decoding end performs a second shift on the reconstructed attribute value corresponding to the to-be-decoded point cloud according to the target shift number. operation to obtain the reconstructed attribute information corresponding to the point cloud to be decoded; the shifting direction of the second shifting operation is opposite to the shifting direction of the first shifting operation.
第二方面,提供了一种属性变换编码方法,包括:In a second aspect, an attribute transformation encoding method is provided, comprising:
编码端基于获取到的待编码点云的几何信息,对所述待编码点云进行重排序;The encoding end reorders the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
所述编码端根据所述待编码点云相关联的目标移位数对重排序后的待编码点云的属性信息执行第一移位操作;The encoding end performs a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
所述编码端根据重排序后的待编码点之间的几何距离,构建所述待编码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的属性信息进行变换处理,得到所述待编码点云对应的变换系数;The encoder constructs a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transforms the attribute information after the first shift operation based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded;
所述编码端根据所述目标移位数对所述待编码点云对应的变换系数执行第二移位操作,所述第二移位操作的移位方向与所述第一移位操作的移位方向相反;The encoder performs a second shift operation on the transform coefficients corresponding to the to-be-encoded point cloud according to the target shift number, where a shift direction of the second shift operation is opposite to a shift direction of the first shift operation;
所述编码端对执行第二移位操作后的变换系数进行量化和编码,生成目标码流。The encoding end quantizes and encodes the transformation coefficients after the second shift operation is performed to generate a target code stream.
第三方面,提供了一种属性变换解码装置,包括:In a third aspect, an attribute transformation decoding device is provided, comprising:
获取模块,用于获取目标码流以及与所述目标码流关联的目标移位数,所述目标码流关联的目标移位数为编码端执行移位操作中使用的移位数;An acquisition module, used to acquire a target bitstream and a target shift number associated with the target bitstream, where the target shift number associated with the target bitstream is the shift number used by the encoder to perform a shift operation;
第一处理模块,用于对所述目标码流进行解码和反量化,获得待解码点云对应的重建变换系数;A first processing module is used to decode and dequantize the target bitstream to obtain reconstruction transformation coefficients corresponding to the point cloud to be decoded;
第一移位模块,用于根据所述目标移位数对所述待解码点云对应的重建变换系数执行第一移位操作;A first shift module, configured to perform a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
第二处理模块,用于根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的重建变换系数进行逆变换处理,得到所述待解码点云对应的重建属性值;所述重排序后的待解码点基于解码所述目标码流得到的所述待解码点云的重建几何信息确定;A second processing module is used to construct a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and to perform inverse transformation processing on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded; the reordered points to be decoded are determined based on the reconstructed geometric information of the point cloud to be decoded obtained by decoding the target code stream;
第二移位模块,用于根据所述目标移位数对所述待解码点云对应的重建属性值执行第二移位操作,获得所述待解码点云对应的重建属性信息;所述第二移位操作的移位方向与所述第一移位操作的移位方向相反。The second shift module is used to perform a second shift operation on the reconstructed attribute value corresponding to the point cloud to be decoded according to the target shift number to obtain the reconstructed attribute information corresponding to the point cloud to be decoded; the shift direction of the second shift operation is opposite to the shift direction of the first shift operation.
第四方面,提供了一种属性变换编码装置,包括:In a fourth aspect, an attribute transformation encoding device is provided, comprising:
重排序模块,用于基于获取到的待编码点云的几何信息,对所述待编码点云进行重排序;A reordering module, used for reordering the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
第一移位模块,用于根据所述待编码点云相关联的目标移位数对重排序后的待编码点云的属性信息执行第一移位操作;A first shift module, configured to perform a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
第一处理模块,用于根据重排序后的待编码点之间的几何距离,构建所述待编码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的属性信息进行变换处理,得到所述待编码点云对应的变换系数;A first processing module is used to construct a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transform the attribute information after the first shift operation is performed based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded;
第二移位模块,用于根据所述目标移位数对所述待编码点云对应的变换系数执行第二 移位操作,所述第二移位操作的移位方向与所述第一移位操作的移位方向相反;The second shift module is used to perform a second shift on the transformation coefficient corresponding to the point cloud to be encoded according to the target shift number. a shift operation, wherein a shift direction of the second shift operation is opposite to a shift direction of the first shift operation;
第二处理模块,用于对执行第二移位操作后的变换系数进行量化和编码,生成目标码流。The second processing module is used to quantize and encode the transformation coefficients after the second shift operation is performed to generate a target code stream.
第五方面,提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In a fifth aspect, a terminal is provided, which includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
第六方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In a sixth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
第七方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法,或者实现如第二方面所述的方法的步骤。In the seventh aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect, or to implement the steps of the method described in the second aspect.
第八方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In an eighth aspect, a computer program/program product is provided, wherein the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
本申请实施例中,解码端在解码目标码流的过程中,获取目标码流关联的目标移位数,上述目标码流关联的目标移位数为编码端执行移位操作中使用的移位数,并通过该目标移位数执行移位操作,使得解码端执行移位操作的移位数与编码端执行移位操作的移位数相同,相比于相关技术中解码端计算得到的数值的位宽可能超出规定的位宽上限,本申请实施例中解码端计算得到的数值的位宽处于规定位宽范围内,进而避免解码出错。In the embodiment of the present application, the decoding end obtains the target shift number associated with the target code stream during decoding of the target code stream, the target shift number associated with the target code stream being the shift number used by the encoding end to perform the shift operation, and the shift operation is performed by using the target shift number, so that the shift number for the shift operation performed by the decoding end is the same as the shift number for the shift operation performed by the encoding end. Compared with the related art, in which the bit width of the value calculated by the decoding end may exceed the prescribed bit width upper limit, in the embodiment of the present application, the bit width of the value calculated by the decoding end is within the prescribed bit width range, thereby avoiding decoding errors.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是点云AVS点云编码装置框架示意图;FIG1 is a schematic diagram of the framework of a point cloud AVS point cloud encoding device;
图2是点云AVS点云解码装置框架示意图;FIG2 is a schematic diagram of the framework of a point cloud AVS point cloud decoding device;
图3是本申请实施例提供的属性变换解码方法的流程示意图;FIG3 is a schematic diagram of a flow chart of an attribute transformation decoding method provided in an embodiment of the present application;
图4是本申请实施例提供的属性变换编码方法的流程示意图;FIG4 is a schematic diagram of a flow chart of an attribute transformation encoding method provided in an embodiment of the present application;
图5是本申请实施例提供的属性变换解码装置的结构图;FIG5 is a structural diagram of an attribute transformation decoding device provided in an embodiment of the present application;
图6是本申请实施例提供的属性变换编码装置的结构图;FIG6 is a structural diagram of an attribute transformation encoding device provided in an embodiment of the present application;
图7是本申请实施例提供的通信设备的结构图;FIG7 is a structural diagram of a communication device provided in an embodiment of the present application;
图8是本申请实施例提供的终端的硬件结构示意图。FIG8 is a schematic diagram of the hardware structure of a terminal provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。 The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally represents that the objects associated with each other are in an "or" relationship.
本申请实施例中的属性变换编码方法对应的属性变换编码装置,和属性变换解码方法对应的属性变换解码装置均可以为终端,该终端也可以称作终端设备或者用户终端(User Equipment,UE),终端可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)或车载设备(Vehicle User Equipment,VUE)、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。The attribute transformation encoding device corresponding to the attribute transformation encoding method in the embodiment of the present application and the attribute transformation decoding device corresponding to the attribute transformation decoding method can both be terminals, which can also be called terminal equipment or user terminal (User Equipment, UE). The terminal can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augm Terminal side devices include augmented reality (AR)/virtual reality (VR) devices, robots, wearable devices (Wearable Device) or vehicle-mounted devices (VUE), pedestrian terminals (PUE), smart homes (home appliances with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.), game consoles, personal computers (personal computers, PCs), teller machines or self-service machines, etc., and wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. It should be noted that the specific type of terminal 11 is not limited in the embodiments of the present application.
为了方便理解,以下对本申请实施例涉及的一些内容进行说明:For ease of understanding, some contents involved in the embodiments of the present application are described below:
请参阅图1,如图1所示,目前,在数字音视频编解码技术标准中,使用点云AVS点云编码装置对点云的几何信息和属性信息是分开编码的。首先对几何信息进行坐标转换,使点云全部包含在一个包围盒(bounding box)中,然后再进行坐标量化。量化主要起到缩放的作用,由于量化会对几何坐标取整,使得一部分点的几何信息相同,称为重复点,根据参数来决定是否移除重复点,量化和移除重复点这两个步骤又被称为体素化过程。接下来,对包围盒进行多叉树划分,例如八叉树、四叉树或二叉树划分。在基于多叉树的几何信息编码框架中,将包围盒八等分为8个子立方体,对非空的子立方体继续进行划分,直到划分得到叶子节点为1x1x1的单位立方体时停止划分,对叶子结点中的点数进行编码,生成二进制码流。Please refer to FIG. 1. As shown in FIG. 1, currently, in the digital audio and video coding technology standard, the geometric information and attribute information of the point cloud are encoded separately using the point cloud AVS point cloud encoding device. First, the geometric information is converted into coordinates so that all the point clouds are contained in a bounding box, and then the coordinates are quantized. Quantization mainly plays a role in scaling. Since quantization rounds the geometric coordinates, the geometric information of some points is the same, which is called duplicate points. Whether to remove duplicate points is determined according to parameters. The two steps of quantization and removal of duplicate points are also called voxelization. Next, the bounding box is divided into a multi-tree, such as an octree, a quadtree or a binary tree. In the multi-tree-based geometric information encoding framework, the bounding box is divided into 8 equal sub-cubes, and the non-empty sub-cubes are divided until the division is stopped when the leaf node is a unit cube of 1x1x1, and the number of points in the leaf node is encoded to generate a binary code stream.
几何编码完成后,对几何信息进行重建,用于后面的重着色。属性编码主要针对的是颜色和反射率信息。首先根据参数判断是否进行颜色空间转换,若进行颜色空间转换,则将颜色信息从红绿蓝(Red Green Blue,RGB)颜色空间转换到亮度色彩(Luminance Bandwidth Chrominance,YUV)颜色空间。然后,利用原始点云对几何重建点云进行重着色,使得未编码的属性信息与重建的几何信息对应起来。在颜色信息编码中,通过莫顿码或希尔伯特码对点云进行排序后,利用几何空间关系搜索待预测点的最近邻,并利用所找 到邻居的重建属性值对待预测点进行预测得到预测属性值,然后将真实属性值和预测属性值进行差分得到预测残差,最后对预测残差进行量化并编码,生成二进制码流。After the geometric encoding is completed, the geometric information is reconstructed for subsequent recoloring. Attribute encoding is mainly for color and reflectance information. First, determine whether to perform color space conversion based on the parameters. If color space conversion is performed, the color information is converted from the red green blue (RGB) color space to the luminance bandwidth chrominance (YUV) color space. Then, the original point cloud is used to recolor the geometrically reconstructed point cloud so that the unencoded attribute information corresponds to the reconstructed geometric information. In color information encoding, after sorting the point cloud using Morton code or Hilbert code, the geometric spatial relationship is used to search for the nearest neighbor of the point to be predicted, and the nearest neighbor is used to find the nearest neighbor of the point to be predicted. The reconstructed attribute value of the neighbor is used to predict the point to be predicted to obtain the predicted attribute value, and then the real attribute value and the predicted attribute value are differentiated to obtain the prediction residual, and finally the prediction residual is quantized and encoded to generate a binary code stream.
应理解,数字音视频编解码技术标准中的解码流程与上述编码流程对应,具体的,音视频编解码(Audio Video coding Standard,AVS)点云解码装置框架如图2所示。It should be understood that the decoding process in the digital audio and video coding technology standard corresponds to the above-mentioned encoding process. Specifically, the framework of the audio and video coding (Audio Video Coding Standard, AVS) point cloud decoding device is shown in Figure 2.
本申请提供了一种属性变换解码方法,下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的属性变换解码方法进行详细地说明。The present application provides an attribute transformation decoding method. The attribute transformation decoding method provided by the embodiment of the present application is described in detail below through some embodiments and application scenarios in combination with the accompanying drawings.
请参阅图3,图3是本申请实施例中属性变换解码方法的流程图。本实施例提供的属性变换解码方法包括以下步骤:Please refer to Figure 3, which is a flow chart of the attribute transformation decoding method in an embodiment of the present application. The attribute transformation decoding method provided in this embodiment includes the following steps:
S301,解码端获取目标码流以及与所述目标码流关联的目标移位数。S301: A decoding end obtains a target bitstream and a target shift number associated with the target bitstream.
本步骤中,解码端获取目标码流以及目标码流关联的目标移位数,其中目标码流关联的目标移位数为编码端执行移位操作中使用的移位数。可选地,可以基于目标码流中携带的指示信息确定目标移位数。In this step, the decoder obtains the target bitstream and the target shift number associated with the target bitstream, wherein the target shift number associated with the target bitstream is the shift number used by the encoder in performing the shift operation. Optionally, the target shift number may be determined based on indication information carried in the target bitstream.
S302,所述解码端对所述目标码流进行解码和反量化,获得待解码点云对应的重建变换系数。S302: The decoding end decodes and dequantizes the target bitstream to obtain reconstructed transform coefficients corresponding to the point cloud to be decoded.
S303,所述解码端根据所述目标移位数对所述待解码点云对应的重建变换系数执行第一移位操作。S303: The decoding end performs a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number.
本步骤中,对目标码流进行解码和反量化,获得待解码点云对应的重建变换系数,并对待解码点云对应的重建变换系数执行第一移位操作,其中,上述第一移位操作的移位数为目标移位数。可选地,上述第一移位操作为左移操作,也就是对重建变换系数执行左移操作,向左移动目标移位数。In this step, the target code stream is decoded and dequantized to obtain the reconstructed transform coefficients corresponding to the point cloud to be decoded, and a first shift operation is performed on the reconstructed transform coefficients corresponding to the point cloud to be decoded, wherein the shift number of the first shift operation is the target shift number. Optionally, the first shift operation is a left shift operation, that is, a left shift operation is performed on the reconstructed transform coefficients to move the target shift number to the left.
S304,所述解码端根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的重建变换系数进行逆变换处理,得到所述待解码点云对应的重建属性值。S304, the decoding end constructs a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and performs an inverse transformation on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain the reconstructed attribute values corresponding to the point cloud to be decoded.
应理解,在上述对目标码流进行解码的过程中还会获得待解码点云的重建几何信息,进而基于待解码点云的重建几何信息对待解码点云进行重排序,根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,上述变换树结构包括多个结构层,每个结构层包括多个节点。It should be understood that in the above process of decoding the target code stream, the reconstructed geometric information of the point cloud to be decoded will also be obtained, and then the point cloud to be decoded will be reordered based on the reconstructed geometric information of the point cloud to be decoded, and the transformation tree structure corresponding to the point cloud to be decoded is constructed according to the geometric distance between the reordered points to be decoded. The above transformation tree structure includes multiple structural layers, and each structural layer includes multiple nodes.
本步骤中,可以通过变换矩阵对第一移位操作后的重建变换系数进行逆变换处理,得到待解码点云对应的重建属性值。对于变换树结构中不存在父节点的节点,可以对该节点对应的第一属性系数进行预测,得到预测属性值,进而将该节点对应的重建变换系数与上述预测属性值的和值,确定为该节点对应的重建属性值,通过上述方式确定变换树结构中每个节点对应的重建属性值。其中,上述节点对应的重建变换系数为执行第一移位操作后的重建变换系数。In this step, the reconstructed transform coefficients after the first shift operation can be inversely transformed by the transformation matrix to obtain the reconstructed attribute value corresponding to the point cloud to be decoded. For a node that does not have a parent node in the transformation tree structure, the first attribute coefficient corresponding to the node can be predicted to obtain a predicted attribute value, and then the sum of the reconstructed transform coefficient corresponding to the node and the predicted attribute value is determined as the reconstructed attribute value corresponding to the node, and the reconstructed attribute value corresponding to each node in the transformation tree structure is determined in the above manner. Among them, the reconstructed transform coefficient corresponding to the above node is the reconstructed transform coefficient after the first shift operation is performed.
S305,所述解码端根据所述目标移位数对所述待解码点云对应的重建属性值执行第二移位操作,获得所述待解码点云对应的重建属性信息。 S305: The decoding end performs a second shift operation on the reconstructed attribute value corresponding to the to-be-decoded point cloud according to the target shift number to obtain reconstructed attribute information corresponding to the to-be-decoded point cloud.
本步骤中,在得到待解码点云对应的重建属性值之后,可以对待解码点云对应的重建属性值执行第二移位操作,获得待解码点云对应的重建属性信息,即对每个节点对应的重建属性值执行第二移位操作,获得每个节点对应的重建属性信息,以此完成对待解码点云的解码。其中,上述第二移位操作的移位数为目标移位数。可选地,第二移位操作的移位方向与第一移位操作的移位方向相反,在第一移位操作为左移操作的情况下,上述第二移位操作为右移操作。In this step, after obtaining the reconstructed attribute value corresponding to the point cloud to be decoded, a second shift operation can be performed on the reconstructed attribute value corresponding to the point cloud to be decoded to obtain the reconstructed attribute information corresponding to the point cloud to be decoded, that is, a second shift operation is performed on the reconstructed attribute value corresponding to each node to obtain the reconstructed attribute information corresponding to each node, thereby completing the decoding of the point cloud to be decoded. The shift number of the second shift operation is the target shift number. Optionally, the shift direction of the second shift operation is opposite to the shift direction of the first shift operation. When the first shift operation is a left shift operation, the second shift operation is a right shift operation.
本申请实施例中,解码端在解码目标码流的过程中,获取目标码流关联的目标移位数,并通过该目标移位数执行移位操作,使得解码端执行移位操作的移位数与编码端执行移位操作的移位数相同,相比于相关技术中解码端计算得到的数值的位宽可能超出规定的位宽上限,本申请实施例中解码端计算得到的数值的位宽处于规定位宽范围内,进而避免解码出错。In the embodiment of the present application, the decoding end obtains the target shift number associated with the target code stream during decoding of the target code stream, and performs a shift operation according to the target shift number, so that the shift number of the shift operation performed by the decoding end is the same as the shift number of the shift operation performed by the encoding end. Compared with the related art, the bit width of the value calculated by the decoding end may exceed the prescribed bit width upper limit. In the embodiment of the present application, the bit width of the value calculated by the decoding end is within the prescribed bit width range, thereby avoiding decoding errors.
可选地,所述目标移位数为协议约定的移位数,或者所述目标移位数基于所述目标码流中携带的指示信息确定。Optionally, the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on indication information carried in the target code stream.
一种可选地实施方式为:上述目标移位数为协议约定的移位数。这种实施方式下,可以在解码端规定一个参数,该参数用于表征目标移位数。An optional implementation is: the target shift number is the shift number agreed upon by the protocol. In this implementation, a parameter may be specified at the decoding end, and the parameter is used to characterize the target shift number.
另一种可选地实施方式为:上述目标移位数是目标码流中携带的指示信息确定的。这种实施方式下,解码目标码流获得指示信息,并根据指示信息确定目标移位数。Another optional implementation is: the target shift number is determined by indication information carried in the target bitstream. In this implementation, the target bitstream is decoded to obtain the indication information, and the target shift number is determined according to the indication information.
可选地,所述目标数值基于预设的位宽值、所述待解码点云对应的属性信息的位宽值以及所述待解码点云包括的待解码点数量确定。Optionally, the target value is determined based on a preset bit width value, a bit width value of attribute information corresponding to the point cloud to be decoded, and the number of points to be decoded included in the point cloud to be decoded.
可选地,所述目标移位数大于或等于0,且小于或等于目标数值;Optionally, the target shift number is greater than or equal to 0 and less than or equal to the target value;
其中,所述目标数值为目标差值除以2,所述目标差值为第一数值与第二数值之间的差值,所述第一数值为预设的位宽值与所述待解码点云对应的属性信息的位宽值之间的差值,所述第二数值为对待解码点云包括的待解码点数量执行对数运算后的数值。Among them, the target value is the target difference divided by 2, the target difference is the difference between the first value and the second value, the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be decoded, and the second value is the value after performing a logarithmic operation on the number of points to be decoded included in the point cloud to be decoded.
本实施例中,目标移位数需要满足以下公式:
N*2n*2kFracBits*2kFracBits≤2m
In this embodiment, the target shift number needs to satisfy the following formula:
N*2 n *2 kFracBits *2 kFracBits ≤2 m
其中,KFracBits表示目标移位数,N表示待解码点云包括的待解码点数量,n表示待解码点云对应的属性信息的位宽值,m表示预设的位宽值。Among them, KFracBits represents the target shift bit number, N represents the number of points to be decoded included in the point cloud to be decoded, n represents the bit width value of the attribute information corresponding to the point cloud to be decoded, and m represents the preset bit width value.
对上述公式进行变形,可以得到以下公式,进而通过以下公式限定目标移位数的取值范围:
0≤kFracBits≤(m-n-log2N)/2
By transforming the above formula, we can get the following formula, and then use the following formula to limit the value range of the target shift number:
0≤kFracBits≤(mn-log 2 N)/2
其中,KFracBits表示目标移位数,m表示预设的位宽值,可选地,m表示待解码点云中待编码点对应的直流(Direct Current,DC)系数的位宽,n表示待解码点云对应的属性信息的位宽值,N表示待解码点云包括的待解码点数量。Among them, KFracBits represents the target shift number, m represents the preset bit width value, optionally, m represents the bit width of the direct current (DC) coefficient corresponding to the point to be encoded in the point cloud to be decoded, n represents the bit width value of the attribute information corresponding to the point cloud to be decoded, and N represents the number of points to be decoded included in the point cloud to be decoded.
其中,(m-n-log2N)/2表示目标数值,(m-n-log2N)表示目标差值,(m-n)表示第一数值,log2N表示第二数值。 Wherein, (mn-log 2 N)/2 represents the target value, (mn-log 2 N) represents the target difference, (mn) represents the first value, and log 2 N represents the second value.
可选地,所述目标数值为所述目标差值与2之间的比值向下取整得到的整数。Optionally, the target value is an integer obtained by rounding down the ratio of the target difference value to 2.
应理解,目标移位数的取值越高,则运算精度越高,一种可选地实施方式为,可以通过以下公式确定目标移位数在取值范围内的最大整数:
kFracBits=floor((m-n-log2N)/2)
It should be understood that the higher the value of the target shift number, the higher the calculation accuracy. An optional implementation method is to determine the maximum integer within the value range of the target shift number by the following formula:
kFracBits = floor((mn-log 2 N)/2)
其中,KFracBits表示目标移位数,m表示预设的位宽值,可选地,m表示待解码点云中待编码点对应的DC系数的位宽,n表示待解码点云对应的属性信息的位宽值,N表示待解码点云包括的待解码点数量,floor表示向下取整操作,(m-n-log2N)表示目标差值。Among them, KFracBits represents the target shift bit number, m represents the preset bit width value, optionally, m represents the bit width of the DC coefficient corresponding to the point to be encoded in the point cloud to be decoded, n represents the bit width value of the attribute information corresponding to the point cloud to be decoded, N represents the number of points to be decoded included in the point cloud to be decoded, floor represents the rounding down operation, and (mn-log 2 N) represents the target difference.
本实施例中,通过对目标移位数的具体数值进行限定,使得解码端计算得到的数值的位宽处于规定位宽范围内,进而避免解码出错。In this embodiment, by limiting the specific value of the target shift number, the bit width of the value calculated by the decoding end is within the specified bit width range, thereby avoiding decoding errors.
请参阅图4,图4是本申请实施例提供的属性变换编码方法的流程示意图。本实施例提供的属性变换编码方法包括以下步骤:Please refer to Figure 4, which is a flow chart of the attribute transformation coding method provided by an embodiment of the present application. The attribute transformation coding method provided by this embodiment includes the following steps:
S401,编码端基于获取到的待编码点云的几何信息,对所述待编码点云进行重排序。S401: The encoding end reorders the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded.
S402,所述编码端根据所述待编码点云相关联的目标移位数对重排序后的待编码点云的属性信息执行第一移位操作。S402: The encoding end performs a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded.
本步骤中,在对待编码点重排序之后,可以对待编码点云的属性信息执行第一移位操作,其中,上述第一移位操作的移位数为目标移位数。可选地,上述第一移位操作为左移操作。In this step, after the code points are reordered, a first shift operation may be performed on the attribute information of the code point cloud, wherein the shift number of the first shift operation is the target shift number. Optionally, the first shift operation is a left shift operation.
S403,所述编码端根据重排序后的待编码点之间的几何距离,构建所述待编码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的属性信息进行变换处理,得到所述待编码点云对应的变换系数。S403, the encoding end constructs a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transforms the attribute information after the first shift operation based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded.
本步骤中,可以通过变换矩阵对第一移位操作后的属性信息进行变换处理,得到待编码点云对应的变换系数。对于变换树结构中不存在父节点的节点,则对其进行属性预测,得到其DC系数预测值,进而得到DC残差系数。In this step, the attribute information after the first shift operation can be transformed by a transformation matrix to obtain the transformation coefficients corresponding to the point cloud to be encoded. For nodes without a parent node in the transformation tree structure, attribute prediction is performed on them to obtain their DC coefficient prediction values, and then the DC residual coefficients are obtained.
应理解,本步骤中的变换处理为上述实施例中对重建变换系数进行逆变换处理的逆过程,在此不做重复阐述。It should be understood that the transformation process in this step is the inverse process of the inverse transformation process performed on the reconstructed transformation coefficients in the above embodiment, and will not be repeated here.
S404,所述编码端根据所述目标移位数对所述待编码点云对应的变换系数执行第二移位操作。S404: The encoding end performs a second shift operation on the transformation coefficients corresponding to the point cloud to be encoded according to the target shift number.
其中,第二移位操作的移位方向与所述第一移位操作的移位方向相反。The shifting direction of the second shifting operation is opposite to the shifting direction of the first shifting operation.
S405,所述编码端对执行第二移位操作后的变换系数进行量化和编码,生成目标码流。S405: The encoding end quantizes and encodes the transformation coefficients after performing the second shift operation to generate a target bit stream.
本申请实施例中,编码端基于待编码点云相关联的目标移位数,对重排序后的待编码点云的属性信息执行第一移位操作。可选地,所述目标移位数为协议约定的移位数,或者所述目标移位数基于预先获取的指示信息确定。In an embodiment of the present application, the encoding end performs a first shift operation on the attribute information of the reordered point cloud to be encoded based on a target shift number associated with the point cloud to be encoded. Optionally, the target shift number is a shift number agreed upon by the protocol, or the target shift number is determined based on pre-acquired indication information.
需要说明的是,本实施例提供的属性变换编码方式是上述实施例提供的属性变换解码的逆过程。It should be noted that the attribute transformation encoding method provided in this embodiment is the inverse process of the attribute transformation decoding provided in the above embodiment.
可选地,所述目标数值基于预设的位宽值、所述待编码点云对应的属性信息的位宽值 以及所述待编码点云包括的待编码点数量确定。Optionally, the target value is based on a preset bit width value and a bit width value of the attribute information corresponding to the point cloud to be encoded. And the number of points to be encoded included in the point cloud to be encoded is determined.
可选地,所述目标移位数大于或等于0,且小于或等于目标数值;Optionally, the target shift number is greater than or equal to 0 and less than or equal to the target value;
其中,所述目标数值为目标差值除以2,所述目标差值为第一数值与第二数值之间的差值,所述第一数值为预设的位宽值与所述待编码点云对应的属性信息的位宽值之间的差值,所述第二数值为对待编码点云包括的待编码点数量执行对数运算后的数值。Among them, the target value is the target difference divided by 2, the target difference is the difference between the first value and the second value, the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be encoded, and the second value is the value after performing a logarithmic operation on the number of points to be encoded included in the point cloud to be encoded.
可选地,所述目标数值为所述目标数值与2之间的比值向下取整得到的整数。Optionally, the target value is an integer obtained by rounding down the ratio of the target value to 2.
应理解,本实施例编码端对于目标移位数的取值范围的限定与解码端的方案一致,在此不做重复阐述。It should be understood that the limitation of the value range of the target shift number at the encoding end in this embodiment is consistent with the solution at the decoding end, and will not be repeated here.
本申请实施例提供的属性变换解码方法,执行主体可以为属性变换解码装置。本申请实施例中以属性变换解码装置执行属性变换解码方法为例,说明本申请实施例提供的属性变换解码装置。The attribute transformation decoding method provided in the embodiment of the present application may be executed by an attribute transformation decoding device. In the embodiment of the present application, the attribute transformation decoding device performing the attribute transformation decoding method is taken as an example to illustrate the attribute transformation decoding device provided in the embodiment of the present application.
如图5所示,本申请实施例还提供了一种属性变换解码装置500,包括:As shown in FIG5 , the embodiment of the present application further provides an attribute transformation decoding device 500, including:
获取模块501,用于获取目标码流以及与所述目标码流关联的目标移位数,所述目标码流关联的目标移位数为编码端执行移位操作中使用的移位数;An acquisition module 501 is used to acquire a target bitstream and a target shift number associated with the target bitstream, where the target shift number associated with the target bitstream is the shift number used by the encoder to perform a shift operation;
第一处理模块502,用于对所述目标码流进行解码和反量化,获得待解码点云对应的重建变换系数;The first processing module 502 is used to decode and dequantize the target bitstream to obtain reconstruction transformation coefficients corresponding to the point cloud to be decoded;
第一移位模块503,用于根据所述目标移位数对所述待解码点云对应的重建变换系数执行第一移位操作;A first shift module 503, configured to perform a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
第二处理模块504,用于根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的重建变换系数进行逆变换处理,得到所述待解码点云对应的重建属性值;所述重排序后的待解码点基于解码所述目标码流得到的所述待解码点云的重建几何信息确定;The second processing module 504 is used to construct a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and perform inverse transformation processing on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded; the reordered points to be decoded are determined based on the reconstructed geometric information of the point cloud to be decoded obtained by decoding the target bitstream;
第二移位模块505,用于根据所述目标移位数对所述待解码点云对应的重建属性值执行第二移位操作,获得所述待解码点云对应的重建属性信息;所述第二移位操作的移位方向与所述第一移位操作的移位方向相反。The second shift module 505 is used to perform a second shift operation on the reconstructed attribute value corresponding to the point cloud to be decoded according to the target shift number to obtain the reconstructed attribute information corresponding to the point cloud to be decoded; the shift direction of the second shift operation is opposite to the shift direction of the first shift operation.
可选地,所述目标移位数为协议约定的移位数,或者所述目标移位数基于所述目标码流中携带的指示信息确定。Optionally, the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on indication information carried in the target code stream.
可选地,所述目标数值基于预设的位宽值、所述待解码点云对应的属性信息的位宽值以及所述待解码点云包括的待解码点数量确定。Optionally, the target value is determined based on a preset bit width value, a bit width value of attribute information corresponding to the point cloud to be decoded, and the number of points to be decoded included in the point cloud to be decoded.
可选地,所述目标移位数大于或等于0,且小于或等于目标数值;Optionally, the target shift number is greater than or equal to 0 and less than or equal to the target value;
其中,所述目标数值为目标差值除以2,所述目标差值为第一数值与第二数值之间的差值,所述第一数值为预设的位宽值与所述待解码点云对应的属性信息的位宽值之间的差值,所述第二数值为对待解码点云包括的待解码点数量执行对数运算后的数值。Among them, the target value is the target difference divided by 2, the target difference is the difference between the first value and the second value, the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be decoded, and the second value is the value after performing a logarithmic operation on the number of points to be decoded included in the point cloud to be decoded.
可选地,所述目标数值为所述目标差值与2之间的比值向下取整得到的整数。Optionally, the target value is an integer obtained by rounding down the ratio of the target difference value to 2.
本申请实施例中,解码端在解码目标码流的过程中,获取目标码流关联的目标移位数, 其中,目标码流关联的目标移位数为编码端执行移位操作中使用的移位数,并通过该目标移位数执行移位操作,使得解码端执行移位操作的移位数与编码端执行移位操作的移位数相同,相比于相关技术中解码端计算得到的数值的位宽可能超出规定的位宽上限,本申请实施例中解码端计算得到的数值的位宽处于规定位宽范围内,进而避免解码出错。In the embodiment of the present application, the decoding end obtains the target shift number associated with the target code stream during the process of decoding the target code stream. Among them, the target shift number associated with the target code stream is the shift number used by the encoder to perform the shift operation, and the shift operation is performed by the target shift number, so that the shift number used by the decoder to perform the shift operation is the same as the shift number used by the encoder to perform the shift operation. Compared with the related art, the bit width of the value calculated by the decoder may exceed the specified bit width upper limit. In the embodiment of the present application, the bit width of the value calculated by the decoder is within the specified bit width range, thereby avoiding decoding errors.
该装置实施例与上述图3所示的属性变换解码方法实施例对应,上述方法实施例中关于解码端的各个实施过程和实现方式均可适用于该装置实施例中,且能达到相同的技术效果。This device embodiment corresponds to the attribute transformation decoding method embodiment shown in FIG. 3 . All implementation processes and implementation methods on the decoding end in the above method embodiment are applicable to this device embodiment and can achieve the same technical effect.
本申请实施例提供的属性变换编码方法,执行主体可以为属性变换编码装置。本申请实施例中以属性变换编码装置执行属性变换编码方法为例,说明本申请实施例提供的属性变换编码装置。The attribute transformation coding method provided in the embodiment of the present application may be executed by an attribute transformation coding device. In the embodiment of the present application, an attribute transformation coding device executing the attribute transformation coding method is taken as an example to illustrate the attribute transformation coding device provided in the embodiment of the present application.
如图6所示,本申请实施例还提供了一种属性变换编码装置600,包括:As shown in FIG6 , the embodiment of the present application further provides an attribute transformation encoding device 600, including:
重排序模块601,用于基于获取到的待编码点云的几何信息,对所述待编码点云进行重排序;A reordering module 601 is used to reorder the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
第一移位模块602,用于根据所述待编码点云相关联的目标移位数对重排序后的待编码点云的属性信息执行第一移位操作;A first shift module 602, configured to perform a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
第一处理模块603,用于根据重排序后的待编码点之间的几何距离,构建所述待编码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的属性信息进行变换处理,得到所述待编码点云对应的变换系数;The first processing module 603 is used to construct a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transform the attribute information after the first shift operation is performed based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded;
第二移位模块604,用于根据所述目标移位数对所述待编码点云对应的变换系数执行第二移位操作,所述第二移位操作的移位方向与所述第一移位操作的移位方向相反;A second shift module 604 is configured to perform a second shift operation on the transformation coefficients corresponding to the to-be-encoded point cloud according to the target shift number, wherein the shift direction of the second shift operation is opposite to the shift direction of the first shift operation;
第二处理模块605,用于对执行第二移位操作后的变换系数进行量化和编码,生成目标码流。The second processing module 605 is used to quantize and encode the transformation coefficients after the second shift operation is performed to generate a target bit stream.
可选地,所述目标移位数为协议约定的移位数,或者所述目标移位数基于预先获取的指示信息确定。Optionally, the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on pre-acquired indication information.
可选地,所述目标数值基于预设的位宽值、所述待编码点云对应的属性信息的位宽值以及所述待编码点云包括的待编码点数量确定。Optionally, the target value is determined based on a preset bit width value, a bit width value of attribute information corresponding to the point cloud to be encoded, and the number of points to be encoded included in the point cloud to be encoded.
可选地,所述目标移位数大于或等于0,且小于或等于目标数值;其中,所述目标数值为目标差值除以2,所述目标差值为第一数值与第二数值之间的差值,所述第一数值为预设的位宽值与所述待解码点云对应的属性信息的位宽值之间的差值,所述第二数值为对待解码点云包括的待解码点数量执行对数运算后的数值。Optionally, the target shift number is greater than or equal to 0 and less than or equal to a target value; wherein the target value is a target difference divided by 2, the target difference is a difference between a first value and a second value, the first value is a difference between a preset bit width value and a bit width value of attribute information corresponding to the point cloud to be decoded, and the second value is a value obtained by performing a logarithmic operation on the number of points to be decoded included in the point cloud to be decoded.
可选地,所述目标数值为所述目标差值与2之间的比值向下取整得到的整数。Optionally, the target value is an integer obtained by rounding down the ratio of the target difference value to 2.
本申请实施例提供的属性变换编码装置能够实现图4的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The attribute transformation coding device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 4 and achieve the same technical effect. To avoid repetition, it will not be described here.
本申请实施例中的属性变换编码装置和属性变换解码装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件、例如集成电路或芯片。该电子设备可 以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。The attribute transformation encoding device and the attribute transformation decoding device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in the electronic device, such as an integrated circuit or a chip. The terminal may be a terminal, or other devices other than the terminal. For example, the terminal may include but is not limited to the types of terminals listed above, and other devices may be a server, a network attached storage (NAS), etc., which are not specifically limited in the embodiments of the present application.
可选地,如图7所示,本申请实施例还提供一种通信设备700,包括处理器701和存储器702,存储器702上存储有可在所述处理器701上运行的程序或指令,例如,该通信设备700为终端时,该程序或指令被处理器701执行时实现上述属性变换编码方法实施例的各个步骤,或者实现上述属性变换解码方法实施例的各个步骤,且能达到相同的技术效果。Optionally, as shown in Figure 7, an embodiment of the present application also provides a communication device 700, including a processor 701 and a memory 702, and the memory 702 stores a program or instruction that can be executed on the processor 701. For example, when the communication device 700 is a terminal, the program or instruction is executed by the processor 701 to implement the various steps of the above-mentioned attribute transformation encoding method embodiment, or to implement the various steps of the above-mentioned attribute transformation decoding method embodiment, and can achieve the same technical effect.
本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于执行以下操作:The embodiment of the present application further provides a terminal, including a processor and a communication interface, wherein the processor is configured to perform the following operations:
获取目标码流以及与所述目标码流关联的目标移位数;Acquire a target bitstream and a target shift number associated with the target bitstream;
对所述目标码流进行解码和反量化,获得待解码点云对应的重建变换系数;Decoding and dequantizing the target bitstream to obtain reconstruction transform coefficients corresponding to the point cloud to be decoded;
根据所述目标移位数对所述待解码点云对应的重建变换系数执行第一移位操作;Performing a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的重建变换系数进行逆变换处理,得到所述待解码点云对应的重建属性值;According to the geometric distances between the reordered points to be decoded, a transformation tree structure corresponding to the point cloud to be decoded is constructed, and based on the transformation tree structure, an inverse transformation process is performed on the reconstructed transformation coefficients after the first shift operation is performed to obtain a reconstructed attribute value corresponding to the point cloud to be decoded;
根据所述目标移位数对所述待解码点云对应的重建属性值执行第二移位操作,获得所述待解码点云对应的重建属性信息。A second shift operation is performed on the reconstructed attribute value corresponding to the to-be-decoded point cloud according to the target shift number to obtain reconstructed attribute information corresponding to the to-be-decoded point cloud.
或者,处理器用于执行以下操作:Alternatively, the processor is used to perform the following operations:
基于获取到的待编码点云的几何信息,对所述待编码点云进行重排序;Reordering the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
根据所述待编码点云相关联的目标移位数对重排序后的待编码点云的属性信息执行第一移位操作;Performing a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
根据重排序后的待编码点之间的几何距离,构建所述待编码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的属性信息进行变换处理,得到所述待编码点云对应的变换系数;According to the geometric distances between the reordered points to be encoded, a transformation tree structure corresponding to the point cloud to be encoded is constructed, and based on the transformation tree structure, the attribute information after the first shift operation is performed is transformed to obtain a transformation coefficient corresponding to the point cloud to be encoded;
根据所述目标移位数对所述待编码点云对应的变换系数执行第二移位操作;Performing a second shift operation on the transform coefficients corresponding to the to-be-encoded point cloud according to the target shift number;
对执行第二移位操作后的变换系数进行量化和编码,生成目标码流。The transform coefficients after the second shift operation are quantized and encoded to generate a target bit stream.
该终端实施例与上述终端侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图8为实现本申请实施例的一种终端的硬件结构示意图。The terminal embodiment corresponds to the above-mentioned terminal side method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to the terminal embodiment and can achieve the same technical effect. Specifically, Figure 8 is a schematic diagram of the hardware structure of a terminal implementing the embodiment of the present application.
该终端800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。The terminal 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
本领域技术人员可以理解,终端800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的终端结构并不构成对终端的限定,终端可以包 括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the terminal 800 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 810 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The present invention may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072中的至少一种。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
本申请实施例中,射频单元801接收来自网络侧设备的下行数据后,可以传输给处理器88进行处理;射频单元801可以向网络侧设备发送上行数据。通常,射频单元801包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。In the embodiment of the present application, after receiving downlink data from the network side device, the RF unit 801 can transmit the data to the processor 88 for processing; the RF unit 801 can send uplink data to the network side device. Generally, the RF unit 801 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
存储器809可用于存储软件程序或指令以及各种数据。存储器809可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器809可以包括易失性存储器或非易失性存储器,或者,存储器809可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器809包括但不限于这些和任意其它适合类型的存储器。The memory 809 can be used to store software programs or instructions and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器810可包括一个或多个处理单元;可选的,处理器810集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
其中,处理器810用于执行以下操作:The processor 810 is configured to perform the following operations:
获取目标码流以及与所述目标码流关联的目标移位数;Acquire a target bitstream and a target shift number associated with the target bitstream;
对所述目标码流进行解码和反量化,获得待解码点云对应的重建变换系数;Decoding and dequantizing the target bitstream to obtain reconstruction transform coefficients corresponding to the point cloud to be decoded;
根据所述目标移位数对所述待解码点云对应的重建变换系数执行第一移位操作;Performing a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,并基 于所述变换树结构对执行第一移位操作后的重建变换系数进行逆变换处理,得到所述待解码点云对应的重建属性值;According to the geometric distances between the reordered points to be decoded, a transformation tree structure corresponding to the point cloud to be decoded is constructed, and the transformation tree structure corresponding to the point cloud to be decoded is constructed. Performing an inverse transform process on the reconstructed transform coefficients after the first shift operation in the transform tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded;
根据所述目标移位数对所述待解码点云对应的重建属性值执行第二移位操作,获得所述待解码点云对应的重建属性信息。A second shift operation is performed on the reconstructed attribute value corresponding to the to-be-decoded point cloud according to the target shift number to obtain reconstructed attribute information corresponding to the to-be-decoded point cloud.
或者,处理器810还用于执行以下操作:Alternatively, the processor 810 is further configured to perform the following operations:
基于获取到的待编码点云的几何信息,对所述待编码点云进行重排序;Reordering the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
根据所述待编码点云相关联的目标移位数对重排序后的待编码点云的属性信息执行第一移位操作;Performing a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
根据重排序后的待编码点之间的几何距离,构建所述待编码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的属性信息进行变换处理,得到所述待编码点云对应的变换系数;According to the geometric distances between the reordered points to be encoded, a transformation tree structure corresponding to the point cloud to be encoded is constructed, and based on the transformation tree structure, the attribute information after the first shift operation is performed is transformed to obtain a transformation coefficient corresponding to the point cloud to be encoded;
根据所述目标移位数对所述待编码点云对应的变换系数执行第二移位操作;Performing a second shift operation on the transform coefficients corresponding to the to-be-encoded point cloud according to the target shift number;
对执行第二移位操作后的变换系数进行量化和编码,生成目标码流。The transform coefficients after the second shift operation are quantized and encoded to generate a target bit stream.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述属性变换编码方法实施例的各个过程,或者实现上述属性变换解码方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned attribute transformation encoding method embodiment are implemented, or the various processes of the above-mentioned attribute transformation decoding method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述属性变换编码方法实施例的各个过程,或者实现上述属性变换解码方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned attribute transformation encoding method embodiment, or to implement the various processes of the above-mentioned attribute transformation decoding method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述属性变换编码方法实施例的各个过程,或者实现上述属性变换解码方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a computer program/program product, which is stored in a storage medium, and is executed by at least one processor to implement the various processes of the above-mentioned attribute transformation encoding method embodiment, or to implement the various processes of the above-mentioned attribute transformation decoding method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的 是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element. In addition, it should be pointed out that However, the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (22)

  1. 一种属性变换解码方法,包括:An attribute transformation decoding method, comprising:
    解码端获取目标码流以及与所述目标码流关联的目标移位数,所述目标码流关联的目标移位数为编码端执行移位操作中使用的移位数;The decoding end obtains a target bitstream and a target shift number associated with the target bitstream, where the target shift number associated with the target bitstream is the shift number used by the encoding end to perform a shift operation;
    所述解码端对所述目标码流进行解码和反量化,获得待解码点云对应的重建变换系数;The decoding end decodes and dequantizes the target bitstream to obtain reconstruction transformation coefficients corresponding to the point cloud to be decoded;
    所述解码端根据所述目标移位数对所述待解码点云对应的重建变换系数执行第一移位操作;The decoding end performs a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
    所述解码端根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的重建变换系数进行逆变换处理,得到所述待解码点云对应的重建属性值;所述重排序后的待解码点基于解码所述目标码流得到的所述待解码点云的重建几何信息确定;The decoding end constructs a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and performs inverse transformation processing on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded; the reordered points to be decoded are determined based on the reconstructed geometric information of the point cloud to be decoded obtained by decoding the target bitstream;
    所述解码端根据所述目标移位数对所述待解码点云对应的重建属性值执行第二移位操作,获得所述待解码点云对应的重建属性信息;所述第二移位操作的移位方向与所述第一移位操作的移位方向相反。The decoding end performs a second shift operation on the reconstructed attribute value corresponding to the point cloud to be decoded according to the target shift number to obtain the reconstructed attribute information corresponding to the point cloud to be decoded; the shift direction of the second shift operation is opposite to the shift direction of the first shift operation.
  2. 根据权利要求1所述的方法,其中,所述目标移位数为协议约定的移位数,或者所述目标移位数基于所述目标码流中携带的指示信息确定。The method according to claim 1, wherein the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on indication information carried in the target code stream.
  3. 根据权利要求1或2所述的方法,其中,所述目标数值基于预设的位宽值、所述待解码点云对应的属性信息的位宽值以及所述待解码点云包括的待解码点数量确定。The method according to claim 1 or 2, wherein the target value is determined based on a preset bit width value, a bit width value of the attribute information corresponding to the point cloud to be decoded, and the number of points to be decoded included in the point cloud to be decoded.
  4. 根据权利要求3所述的方法,其中,所述目标移位数大于或等于0,且小于或等于目标数值;The method according to claim 3, wherein the target shift number is greater than or equal to 0 and less than or equal to the target value;
    其中,所述目标数值为目标差值除以2,所述目标差值为第一数值与第二数值之间的差值,所述第一数值为预设的位宽值与所述待解码点云对应的属性信息的位宽值之间的差值,所述第二数值为对待解码点云包括的待解码点数量执行对数运算后的数值。Among them, the target value is the target difference divided by 2, the target difference is the difference between the first value and the second value, the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be decoded, and the second value is the value after performing a logarithmic operation on the number of points to be decoded included in the point cloud to be decoded.
  5. 根据权利要求4所述的方法,其中,所述目标数值为所述目标差值与2之间的比值向下取整得到的整数。The method according to claim 4, wherein the target value is an integer obtained by rounding down the ratio of the target difference value to 2.
  6. 一种属性变换编码方法,包括:An attribute transformation encoding method, comprising:
    编码端基于获取到的待编码点云的几何信息,对所述待编码点云进行重排序;The encoding end reorders the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
    所述编码端根据所述待编码点云相关联的目标移位数对重排序后的待编码点云的属性信息执行第一移位操作;The encoding end performs a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
    所述编码端根据重排序后的待编码点之间的几何距离,构建所述待编码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的属性信息进行变换处理,得到所述待编码点云对应的变换系数;The encoder constructs a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transforms the attribute information after the first shift operation based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded;
    所述编码端根据所述目标移位数对所述待编码点云对应的变换系数执行第二移位操作,所述第二移位操作的移位方向与所述第一移位操作的移位方向相反; The encoder performs a second shift operation on the transform coefficients corresponding to the to-be-encoded point cloud according to the target shift number, where a shift direction of the second shift operation is opposite to a shift direction of the first shift operation;
    所述编码端对执行第二移位操作后的变换系数进行量化和编码,生成目标码流。The encoding end quantizes and encodes the transformation coefficients after the second shift operation is performed to generate a target code stream.
  7. 根据权利要求6所述的方法,其中,所述目标移位数为协议约定的移位数,或者所述目标移位数基于预先获取的指示信息确定。The method according to claim 6, wherein the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on pre-acquired indication information.
  8. 根据权利要求6或7所述的方法,其中,所述目标数值基于预设的位宽值、所述待编码点云对应的属性信息的位宽值以及所述待编码点云包括的待编码点数量确定。The method according to claim 6 or 7, wherein the target value is determined based on a preset bit width value, a bit width value of the attribute information corresponding to the point cloud to be encoded, and the number of points to be encoded included in the point cloud to be encoded.
  9. 根据权利要求8所述的方法,其中,所述目标移位数大于或等于0,且小于或等于目标数值;The method according to claim 8, wherein the target shift number is greater than or equal to 0 and less than or equal to the target value;
    其中,所述目标数值为目标差值除以2,所述目标差值为第一数值与第二数值之间的差值,所述第一数值为预设的位宽值与所述待编码点云对应的属性信息的位宽值之间的差值,所述第二数值为对待编码点云包括的待编码点数量执行对数运算后的数值。Among them, the target value is the target difference divided by 2, the target difference is the difference between the first value and the second value, the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be encoded, and the second value is the value after performing a logarithmic operation on the number of points to be encoded included in the point cloud to be encoded.
  10. 根据权利要求9所述的方法,其中,所述目标数值为所述目标差值与2之间的比值向下取整得到的整数。The method according to claim 9, wherein the target value is an integer obtained by rounding down the ratio of the target difference value to 2.
  11. 一种属性变换解码装置,包括:An attribute transformation decoding device, comprising:
    获取模块,用于获取目标码流以及与所述目标码流关联的目标移位数,所述目标码流关联的目标移位数为编码端执行移位操作中使用的移位数;An acquisition module, used to acquire a target bitstream and a target shift number associated with the target bitstream, where the target shift number associated with the target bitstream is the shift number used by the encoder to perform a shift operation;
    第一处理模块,用于对所述目标码流进行解码和反量化,获得待解码点云对应的重建变换系数;A first processing module is used to decode and dequantize the target bitstream to obtain reconstruction transformation coefficients corresponding to the point cloud to be decoded;
    第一移位模块,用于根据所述目标移位数对所述待解码点云对应的重建变换系数执行第一移位操作;A first shift module, configured to perform a first shift operation on the reconstructed transformation coefficients corresponding to the to-be-decoded point cloud according to the target shift number;
    第二处理模块,用于根据重排序后的待解码点之间的几何距离,构建待解码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的重建变换系数进行逆变换处理,得到所述待解码点云对应的重建属性值;所述重排序后的待解码点基于解码所述目标码流得到的所述待解码点云的重建几何信息确定;A second processing module is used to construct a transformation tree structure corresponding to the point cloud to be decoded according to the geometric distances between the reordered points to be decoded, and to perform inverse transformation processing on the reconstructed transformation coefficients after the first shift operation based on the transformation tree structure to obtain a reconstructed attribute value corresponding to the point cloud to be decoded; the reordered points to be decoded are determined based on the reconstructed geometric information of the point cloud to be decoded obtained by decoding the target code stream;
    第二移位模块,用于根据所述目标移位数对所述待解码点云对应的重建属性值执行第二移位操作,获得所述待解码点云对应的重建属性信息;所述第二移位操作的移位方向与所述第一移位操作的移位方向相反。The second shift module is used to perform a second shift operation on the reconstructed attribute value corresponding to the point cloud to be decoded according to the target shift number to obtain the reconstructed attribute information corresponding to the point cloud to be decoded; the shift direction of the second shift operation is opposite to the shift direction of the first shift operation.
  12. 根据权利要求11所述的装置,其中,所述目标移位数为协议约定的移位数,或者所述目标移位数基于所述目标码流中携带的指示信息确定。The apparatus according to claim 11, wherein the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on indication information carried in the target code stream.
  13. 根据权利要求11或12所述的装置,其中,所述目标数值基于预设的位宽值、所述待解码点云对应的属性信息的位宽值以及所述待解码点云包括的待解码点数量确定。The device according to claim 11 or 12, wherein the target value is determined based on a preset bit width value, a bit width value of the attribute information corresponding to the point cloud to be decoded, and the number of points to be decoded included in the point cloud to be decoded.
  14. 根据权利要求13所述的装置,其中,所述目标移位数大于或等于0,且小于或等于目标数值;The device according to claim 13, wherein the target shift number is greater than or equal to 0 and less than or equal to the target value;
    其中,所述目标数值为目标差值除以2,所述目标差值为第一数值与第二数值之间的差值,所述第一数值为预设的位宽值与所述待解码点云对应的属性信息的位宽值之间的差值,所述第二数值为对待解码点云包括的待解码点数量执行对数运算后的数值。 Among them, the target value is the target difference divided by 2, the target difference is the difference between the first value and the second value, the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be decoded, and the second value is the value after performing a logarithmic operation on the number of points to be decoded included in the point cloud to be decoded.
  15. 根据权利要求14所述的装置,其中,所述目标数值为所述目标差值与2之间的比值向下取整得到的整数。The device according to claim 14, wherein the target value is an integer obtained by rounding down the ratio between the target difference and 2.
  16. 一种属性变换编码装置,包括:An attribute transformation encoding device, comprising:
    重排序模块,用于基于获取到的待编码点云的几何信息,对所述待编码点云进行重排序;A reordering module, used for reordering the point cloud to be encoded based on the acquired geometric information of the point cloud to be encoded;
    第一移位模块,用于根据所述待编码点云相关联的目标移位数对重排序后的待编码点云的属性信息执行第一移位操作;A first shift module, configured to perform a first shift operation on the attribute information of the reordered point cloud to be encoded according to a target shift number associated with the point cloud to be encoded;
    第一处理模块,用于根据重排序后的待编码点之间的几何距离,构建所述待编码点云对应的变换树结构,并基于所述变换树结构对执行第一移位操作后的属性信息进行变换处理,得到所述待编码点云对应的变换系数;A first processing module is used to construct a transformation tree structure corresponding to the point cloud to be encoded according to the geometric distances between the reordered points to be encoded, and transform the attribute information after the first shift operation is performed based on the transformation tree structure to obtain transformation coefficients corresponding to the point cloud to be encoded;
    第二移位模块,用于根据所述目标移位数对所述待编码点云对应的变换系数执行第二移位操作,所述第二移位操作的移位方向与所述第一移位操作的移位方向相反;A second shift module, configured to perform a second shift operation on the transformation coefficients corresponding to the to-be-encoded point cloud according to the target shift number, wherein a shift direction of the second shift operation is opposite to a shift direction of the first shift operation;
    第二处理模块,用于对执行第二移位操作后的变换系数进行量化和编码,生成目标码流。The second processing module is used to quantize and encode the transformation coefficients after the second shift operation is performed to generate a target code stream.
  17. 根据权利要求16所述的装置,其中,所述目标移位数为协议约定的移位数,或者所述目标移位数基于预先获取的指示信息确定。The apparatus according to claim 16, wherein the target shift number is a shift number agreed upon by a protocol, or the target shift number is determined based on pre-acquired indication information.
  18. 根据权利要求16或17所述的装置,其中,所述目标数值基于预设的位宽值、所述待编码点云对应的属性信息的位宽值以及所述待编码点云包括的待编码点数量确定。The device according to claim 16 or 17, wherein the target value is determined based on a preset bit width value, a bit width value of the attribute information corresponding to the point cloud to be encoded, and the number of points to be encoded included in the point cloud to be encoded.
  19. 根据权利要求18所述的装置,其中,所述目标移位数大于或等于0,且小于或等于目标数值;The device according to claim 18, wherein the target shift number is greater than or equal to 0 and less than or equal to the target value;
    其中,所述目标数值为目标差值除以2,所述目标差值为第一数值与第二数值之间的差值,所述第一数值为预设的位宽值与所述待编码点云对应的属性信息的位宽值之间的差值,所述第二数值为对待编码点云包括的待编码点数量执行对数运算后的数值。Among them, the target value is the target difference divided by 2, the target difference is the difference between the first value and the second value, the first value is the difference between the preset bit width value and the bit width value of the attribute information corresponding to the point cloud to be encoded, and the second value is the value after performing a logarithmic operation on the number of points to be encoded included in the point cloud to be encoded.
  20. 根据权利要求19所述的装置,其中,所述目标数值为所述目标差值与2之间的比值向下取整得到的整数。The device according to claim 19, wherein the target value is an integer obtained by rounding down the ratio between the target difference and 2.
  21. 一种终端,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5中任一项所述的属性变换解码方法的步骤,或者实现如权利要求6-10中任一项所述的属性变换编码方法的步骤。A terminal comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the attribute transformation decoding method described in any one of claims 1 to 5 are implemented, or the steps of the attribute transformation encoding method described in any one of claims 6 to 10 are implemented.
  22. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的属性变换解码方法的步骤,或者实现如权利要求6-10中任一项所述的属性变换编码方法的步骤。 A readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the program or instruction implements the steps of the attribute transformation decoding method according to any one of claims 1 to 5, or implements the steps of the attribute transformation encoding method according to any one of claims 6 to 10.
PCT/CN2023/136033 2022-12-09 2023-12-04 Attribute transformation decoding method, attribute transformation coding method, and terminal WO2024120324A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211584648.9A CN118175333A (en) 2022-12-09 2022-12-09 Attribute transformation decoding method, attribute transformation encoding method and terminal
CN202211584648.9 2022-12-09

Publications (1)

Publication Number Publication Date
WO2024120324A1 true WO2024120324A1 (en) 2024-06-13

Family

ID=91351044

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/136033 WO2024120324A1 (en) 2022-12-09 2023-12-04 Attribute transformation decoding method, attribute transformation coding method, and terminal

Country Status (2)

Country Link
CN (1) CN118175333A (en)
WO (1) WO2024120324A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113557550A (en) * 2019-03-18 2021-10-26 松下电器(美国)知识产权公司 Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device
WO2022149589A1 (en) * 2021-01-07 2022-07-14 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Three-dimensional data decoding method, three-dimensional data encoding method, three-dimensional data decoding device, and three-dimensional data encoding device
CN114930394A (en) * 2019-12-26 2022-08-19 松下电器(美国)知识产权公司 Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device
CN115039407A (en) * 2019-10-25 2022-09-09 威诺瓦国际有限公司 Embedding data in transform coefficients using bit partitioning operations
CN115379190A (en) * 2022-08-19 2022-11-22 腾讯科技(深圳)有限公司 Point cloud processing method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113557550A (en) * 2019-03-18 2021-10-26 松下电器(美国)知识产权公司 Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device
CN115039407A (en) * 2019-10-25 2022-09-09 威诺瓦国际有限公司 Embedding data in transform coefficients using bit partitioning operations
CN114930394A (en) * 2019-12-26 2022-08-19 松下电器(美国)知识产权公司 Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device
WO2022149589A1 (en) * 2021-01-07 2022-07-14 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Three-dimensional data decoding method, three-dimensional data encoding method, three-dimensional data decoding device, and three-dimensional data encoding device
CN115379190A (en) * 2022-08-19 2022-11-22 腾讯科技(深圳)有限公司 Point cloud processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN118175333A (en) 2024-06-11

Similar Documents

Publication Publication Date Title
CN115471627A (en) Point cloud geometric information encoding processing method, point cloud geometric information decoding processing method and related equipment
WO2022257971A1 (en) Point cloud encoding processing method, point cloud decoding processing method, and related device
WO2022257969A1 (en) Point cloud coding method, decoding method, and related device
US20240121439A1 (en) Point cloud attribute information encoding method and apparatus, point cloud attribute information decoding method and apparatus, and related device
WO2024120324A1 (en) Attribute transformation decoding method, attribute transformation coding method, and terminal
WO2024120325A1 (en) Point cloud coding method, point cloud decoding method, and terminal
WO2023098802A1 (en) Point cloud attribute encoding method, point cloud attribute decoding method, and terminal
WO2024120323A1 (en) Attribute transformation coding method, attribute transformation decoding method, and terminal
WO2024120326A1 (en) Geometric coding method, geometric decoding method and terminal
WO2022257968A1 (en) Point cloud coding method, point cloud decoding method, and terminal
WO2024149182A1 (en) Transform coefficient encoding method, transform coefficient decoding method and terminal
WO2023098801A1 (en) Point cloud attribute encoding method, point cloud decoding method, and terminal
WO2024149142A1 (en) Transform coefficient encoding method, transform coefficient decoding method, and terminal
WO2024188138A1 (en) Point cloud encoding processing method, point cloud decoding processing method, and related device
WO2023098803A1 (en) Point cloud encoding processing method, point cloud decoding processing method and related device
WO2023025024A1 (en) Point cloud attribute coding method, point cloud attribute decoding method and terminal
WO2022257978A1 (en) Point cloud coding method and apparatus, and point cloud decoding method and apparatus
WO2024146591A1 (en) List creating method and terminal
US20240323437A1 (en) Point cloud coding method, point cloud decoding method and related device
US20240323384A1 (en) Point cloud encoding method and apparatus, point cloud decoding method and apparatus, and communication device
WO2024083039A1 (en) Mesh encoding method, mesh decoding method and related device
WO2024149141A1 (en) Point cloud encoding method and apparatus, point cloud decoding method and apparatus, and communication device
WO2023098820A1 (en) Point cloud coding method and apparatus, point cloud decoding method and apparatus, and communication device
WO2023098807A1 (en) Point cloud encoding processing method and apparatus, point cloud decoding processing method and apparatus, and encoding device and decoding device
CN116614623A (en) Predictive encoding method, predictive decoding method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23899902

Country of ref document: EP

Kind code of ref document: A1