Method and device for compressing Alembic three-dimensional animation cache file
By adjusting and compressing the data sequence and format of Alembic 3D animation cache files, the problem of large file storage capacity is solved, the compression rate and software integration are improved, and more efficient data storage and processing is achieved.
Patent Information
- Application Number
- CN202411162002.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the Alembic three-dimensional animation cache files have large storage capacity and low compression rate, and the general compression software is not directly integrated with mainstream 3D production software, resulting in inconvenience in use.
By obtaining the Alembic 3D animation cache file, parsing and adjusting the storage order of the two-dimensional and three-dimensional data, calculating the difference value sequence, converting it into a 16-bit precision floating point format, filling in the remaining spaces, and finally using the 7z compression algorithm for compression.
It significantly reduces the storage capacity of Alembic animation cache files, improves compression rate, and improves integration with 3DS Max, Maya, Unreal Engine and other software.
Smart Images

Figure CN118964314A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data compression application technology, and in particular to an Alembic three-dimensional animation cache file compression method and device. Background Art
[0002] Three-dimensional animation (3D animation) is a form of animation created using computer graphics technology. It generates dynamic images with a sense of depth and three-dimensionality by simulating objects and scenes in three-dimensional space. It is widely used in film, television, advertising, games, virtual reality (VR) and augmented reality (AR).
[0003] At present, Alembic animation cache files (referring to animation data files stored in Alembic format) are often used in the production process of 3D animation. Since Alembic format files can completely store the UV, normal, vertex and face information of each frame of animation data after animation solution, and complex geometric bodies usually have models with hundreds of thousands or even millions of vertices, the storage capacity of Alembic animation cache files is very large, which makes data storage extremely inconvenient.
[0004] Although Alembic files can be compressed using common compression software (such as zip or rar), the compression effect is not ideal, and the compression rate is usually between 30% and 40%, which means that the file size is still relatively large. In addition, these compression software are not directly integrated with mainstream 3D production software such as 3DS Max, Maya, and Unreal Engine, resulting in certain inconveniences during use. Summary of the invention
[0005] To this end, the present application provides an Alembic 3D animation cache file compression method and device to solve the problems of large Alembic cache file storage capacity and low compression rate in the prior art.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] In a first aspect, an Alembic 3D animation cache file compression method includes:
[0008] Step 1: Get the Alembic 3D animation cache file;
[0009] Step 2: parsing the Alembic 3D animation cache file, and obtaining per-frame cache data of each geometric body; the per-frame cache data of each geometric body includes 2D data and 3D data;
[0010] Step 3: respectively adjusting the storage order of the two-dimensional data and the three-dimensional data;
[0011] Step 4: retaining the first frame value of the two-dimensional data and the three-dimensional data after the storage order is adjusted, and performing subtraction calculations one by one to obtain a two-dimensional difference sequence and a three-dimensional difference sequence;
[0012] Step 5: Convert the two-dimensional difference sequence and the three-dimensional difference sequence into 16-bit precision floating point format respectively to obtain optimized two-dimensional difference sequence and three-dimensional difference sequence;
[0013] Step 6: Align the optimized two-dimensional difference sequence and three-dimensional difference sequence, and fill the remaining spaces with 0 to obtain new two-dimensional data and three-dimensional data;
[0014] Step 7: Compress the new two-dimensional data and three-dimensional data and write them into a compressed file.
[0015] Preferably, in step 2, the two-dimensional data and the three-dimensional data are both 32-bit floating point data.
[0016] Preferably, in step 2, the two-dimensional data and the three-dimensional data include UV, normals and vertices.
[0017] Preferably, in step 3, when adjusting the storage order of the two-dimensional data and the three-dimensional data:
[0018] The storage order of the two-dimensional data is as follows:
[0019] [(u1,v1),(u2,v2),(u3,v3),...] is adjusted to:
[0020] The storage order of the three-dimensional data is as follows:
[0021] [(x1,y1,z1),(x2,y2,z2),(x3,y3,z3),...] is adjusted to:
[0022] Preferably, in step 4, the subtraction calculation formula of the two-dimensional data is:
[0023] du n =u n+1 -u n ,
[0024] dv n =v n+1 -v n ;
[0025] The subtraction calculation formula of the three-dimensional data is:
[0026] dx n =x n+1 -x n,
[0027] dy n =y n+1 -y n ,
[0028] dz n =z n+1 -z n .
[0029] Preferably, in step 7, a 7z compression algorithm is used to compress the new two-dimensional data and three-dimensional data.
[0030] In a second aspect, an Alembic 3D animation cache file compression device includes:
[0031] Data acquisition module, used to obtain Alembic 3D animation cache files;
[0032] A data parsing module, used for parsing the Alembic 3D animation cache file and obtaining the cache data of each frame of each geometric body; the cache data of each frame of each geometric body includes 2D data and 3D data;
[0033] A storage order adjustment module, used to adjust the storage order of the two-dimensional data and the three-dimensional data respectively;
[0034] A subtraction calculation module, used for retaining the first frame value of the two-dimensional data and the three-dimensional data after the storage order is adjusted and performing subtraction calculations one by one to obtain a two-dimensional difference sequence and a three-dimensional difference sequence;
[0035] A floating point conversion module, used to convert the two-dimensional difference sequence and the three-dimensional difference sequence into 16-bit precision floating point format, to obtain an optimized two-dimensional difference sequence and a three-dimensional difference sequence;
[0036] A data alignment and filling module is used to align the optimized two-dimensional difference sequence and three-dimensional difference sequence, and fill the remaining spaces with 0 to obtain new two-dimensional data and three-dimensional data;
[0037] The compression module is used to compress the new two-dimensional data and three-dimensional data and write them into compressed files.
[0038] In a third aspect, a method for decompressing an Alembic 3D animation cache file includes:
[0039] Step 1: Get the compressed data of Alembic 3D animation cache file;
[0040] Step 2: parsing the compressed data, and obtaining the two-dimensional compressed data and the three-dimensional compressed data of each frame of animation of each geometric body;
[0041] Step 3: 32-bit aligning the two-dimensional compressed data and the three-dimensional compressed data, and obtaining a two-dimensional difference sequence and a three-dimensional difference sequence;
[0042] Step 4: performing addition calculation on the two-dimensional difference sequence and the three-dimensional difference sequence respectively to obtain two-dimensional data and three-dimensional data;
[0043] Step 5: Perform position transformation on the two-dimensional data and the three-dimensional data respectively to obtain original two-dimensional data and original three-dimensional data.
[0044] Preferably, in step 4, the addition calculation formula of the two-dimensional data is:
[0045] u n+1 =u n +du n ,
[0046] v n+1 =v n +dv n ;
[0047] The addition calculation formula of the three-dimensional data is:
[0048] x n+1 =x n +dx n ,
[0049] y n+1 =y n +dy n ,
[0050] z n+1 =z n +dz n .
[0051] In a fourth aspect, an Alembic 3D animation cache file decompression device includes:
[0052] The compressed data acquisition module is used to obtain the compressed data of the Alembic 3D animation cache file;
[0053] A compressed data parsing module, used for parsing the compressed data and obtaining two-dimensional compressed data and three-dimensional compressed data of each frame of animation of each geometric body;
[0054] A data alignment module, used for performing 32-bit alignment on the two-dimensional compressed data and the three-dimensional compressed data, and obtaining a two-dimensional difference sequence and a three-dimensional difference sequence;
[0055] An addition calculation module, used to perform addition calculation on the two-dimensional difference sequence and the three-dimensional difference sequence respectively to obtain two-dimensional data and three-dimensional data;
[0056] The position transformation module is used to transform the positions of the two-dimensional data and the three-dimensional data respectively to obtain original two-dimensional data and original three-dimensional data.
[0057] Compared with the prior art, this application has at least the following beneficial effects:
[0058] The present application provides an Alembic 3D animation cache file compression method and device, including: obtaining an Alembic 3D animation cache file, parsing the Alembic 3D animation cache file, obtaining 2D data and 3D data of each frame cache data of each geometric body; adjusting the storage order of the 2D data and the 3D data; retaining the first frame value of the 2D data and the 3D data after the storage order is adjusted, and performing subtraction calculations one by one to obtain a 2D difference sequence and a 3D difference sequence; converting the 2D difference sequence and the 3D difference sequence into 16-bit precision floating point format, respectively, to obtain an optimized 2D difference sequence and a 3D difference sequence; aligning the optimized 2D difference sequence and the 3D difference sequence, and filling 0 in the remaining vacancies to obtain new 2D data and 3D data; compressing the new 2D data and 3D data, and writing them into a compressed file. The Alembic 3D animation cache file compression method and device provided by the present application not only reduces the storage capacity of the Alembic animation cache file, but also improves the compression rate of the Alembic 3D animation cache file. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more intuitively illustrate the prior art and the present application, exemplary drawings are given below. It should be understood that the specific shapes and structures shown in the drawings should not generally be regarded as limiting conditions for implementing the present application; for example, those skilled in the art are capable of easily making conventional adjustments or further optimizations to the addition / reduction / attribution division, specific shapes, positional relationships, connection methods, dimensional ratios, etc. of certain units (components) based on the technical concepts and exemplary drawings disclosed in the present application.
[0060] Figure 1 A flow chart of an Alembic 3D animation cache file compression method provided in Example 1 of the present application;
[0061] Figure 2 A schematic diagram of a two-dimensional data transformation and compression process provided in Example 1 of the present application;
[0062] Figure 3 A schematic diagram of a three-dimensional data transformation and compression process provided in Example 1 of the present application;
[0063] Figure 4 A flow chart of a method for decompressing an Alembic 3D animation cache file provided in Embodiment 3 of the present application;
[0064] Figure 5A schematic diagram of a two-dimensional data decompression process provided in Example 3 of the present application;
[0065] Figure 6 A schematic diagram of the three-dimensional data decompression process provided in Example 3 of the present application. DETAILED DESCRIPTION
[0066] The present application is further described below in detail through specific embodiments in conjunction with the accompanying drawings.
[0067] In the description of this application: unless otherwise specified, the meaning of "plurality" is two or more. The terms "first", "second", "third", etc. in this application are intended to distinguish the objects referred to, and do not have special meanings in terms of technical connotations (for example, they should not be understood as emphasizing the importance or order, etc.). Expressions such as "including", "comprising", "having", etc. also mean "not limited to" (certain units, components, materials, steps, etc.).
[0068] The terms such as "upper", "lower", "left", "right", "middle", etc. cited in this application are usually used to indicate the general relative position relationship for the purpose of intuitive understanding by referring to the drawings, and are not absolute limitations on the position relationship in the actual product.
[0069] Embodiment 1
[0070] See also Figure 1 This embodiment provides an Alembic 3D animation cache file compression method, including:
[0071] S1: Get Alembic 3D animation cache file;
[0072] S2: parse the Alembic 3D animation cache file and obtain the cache data of each frame of each geometric body; the cache data of each frame of each geometric body includes 2D data and 3D data;
[0073] Specifically, the two-dimensional data and three-dimensional data include UV, normal and vertex, etc., among which UV is two-dimensional data, normal and vertex are three-dimensional data; both the two-dimensional data and the three-dimensional data are 32-bit floating point data. After adjusting the order, the correlation of adjacent data is improved, so the compression rate is greatly increased.
[0074] It should be noted that in the Alembic 3D animation cache file, the UV, normal, vertex and other data of each frame of the geometry are stored in binary format.
[0075] S3: adjusting the storage order of the two-dimensional data and the three-dimensional data respectively;
[0076] For details, please refer to Figure 2, when adjusting the storage order of two-dimensional data, the storage order of two-dimensional data is:
[0077] [(u1,v1),(u2,v2),(u3,v3),...] is adjusted to:
[0078] See also Figure 3 , when adjusting the storage order of three-dimensional data, the storage order of three-dimensional data is:
[0079] [(x1,y1,z1),(x2,y2,z2),(x3,y3,z3),...] is adjusted to:
[0080] S4: retaining the first frame values of the two-dimensional data and the three-dimensional data after the storage order is adjusted, and performing subtraction calculations one by one to obtain a two-dimensional difference sequence and a three-dimensional difference sequence;
[0081] Specifically, the subtraction calculation formula for two-dimensional data is:
[0082] du n =u n+1 -u n ,
[0083] dv n =v n+1 -v n .
[0084] Continue reading Figure 2 , the two-dimensional difference sequence obtained after subtracting the two-dimensional data is:
[0085]
[0086] The subtraction calculation formula for three-dimensional data is:
[0087] dx n =x n+1 -x n ,
[0088] dy n =y n+1 -y n ,
[0089] dz n =z n+1 -z n .
[0090] Continue reading Figure 3 , the three-dimensional difference sequence obtained after subtracting the three-dimensional data is:
[0091]
[0092] S5: converting the two-dimensional difference sequence and the three-dimensional difference sequence into 16-bit precision floating point format respectively to obtain optimized two-dimensional difference sequence and three-dimensional difference sequence;
[0093] Specifically, in order to further increase the compression rate, this step converts the difference results such as du, dv, dx, dy, dz into 16-bit precision floating point numbers (abbreviated as fp16). Since du, dv, dx, dy, dz are all differences from the previous frame, their values are very small. After converting these data from 32-bit floating point numbers to 16-bit floating point numbers, a new sequence with a 50% reduction in data volume can be obtained, that is, the optimized two-dimensional difference sequence and three-dimensional difference sequence.
[0094] Continue reading Figure 2 , where the optimized two-dimensional difference sequence is expressed as:
[0095]
[0096] Continue reading Figure 3 , the optimized three-dimensional difference sequence is expressed as:
[0097]
[0098] S6: Align the optimized two-dimensional difference sequence and three-dimensional difference sequence, and fill the remaining vacancies with 0 to obtain new two-dimensional data and three-dimensional data, such as Figure 2 , Figure 3 As shown;
[0099] S7: compress the new two-dimensional data and three-dimensional data, and write them into a compressed file.
[0100] Specifically, this step uses the 7z compression algorithm to compress the new two-dimensional data and three-dimensional data. After the compressed data is obtained, it is written into a compressed file (with the suffix .abcz). At this point, the compression process ends.
[0101] The Alembic 3D animation cache file compression method provided in this embodiment can reduce the storage capacity and processor resource usage of Alembic animation cache files (.abc files) produced by 3D software such as 3DS Max, Maya, Houdini, UnrealEngine, etc., and improve the compression rate of Alembic 3D animation cache files.
[0102] Embodiment 2
[0103] This embodiment provides an Alembic 3D animation cache file compression device, including:
[0104] Data acquisition module, used to obtain Alembic 3D animation cache files;
[0105] A data parsing module, used for parsing the Alembic 3D animation cache file and obtaining the cache data of each frame of each geometric body; the cache data of each frame of each geometric body includes 2D data and 3D data;
[0106] A storage order adjustment module, used to adjust the storage order of the two-dimensional data and the three-dimensional data respectively;
[0107] A subtraction calculation module, used for retaining the first frame value of the two-dimensional data and the three-dimensional data after the storage order is adjusted and performing subtraction calculations one by one to obtain a two-dimensional difference sequence and a three-dimensional difference sequence;
[0108] A floating point conversion module, used to convert the two-dimensional difference sequence and the three-dimensional difference sequence into 16-bit precision floating point format, to obtain an optimized two-dimensional difference sequence and a three-dimensional difference sequence;
[0109] A data alignment and filling module is used to align the optimized two-dimensional difference sequence and three-dimensional difference sequence, and fill the remaining spaces with 0 to obtain new two-dimensional data and three-dimensional data;
[0110] The compression module is used to compress the new two-dimensional data and three-dimensional data and write them into compressed files.
[0111] The specific implementation contents of each module in an Alembic 3D animation cache file compression device can be found in the above definition of an Alembic 3D animation cache file compression method, which will not be repeated here.
[0112] Embodiment 3
[0113] See also Figure 4 This embodiment provides an Alembic 3D animation cache file decompression method, which is the inverse process of the compression method provided in the first embodiment, and includes:
[0114] S1: Get the compressed data of Alembic 3D animation cache file;
[0115] S2: parsing the compressed data, and obtaining the 2D compressed data and 3D compressed data of each frame of animation of each geometric body;
[0116] Specifically, this step reads the compressed data into memory, first calls the 7z decompression algorithm to decompress it, obtains the decompressed data, and then parses the above data to obtain two-dimensional compressed data and three-dimensional compressed data such as UV, normal, vertex, etc. of each frame of animation of each geometric body.
[0117] S3: align the two-dimensional compressed data and the three-dimensional compressed data by 32 bits, and obtain a two-dimensional difference sequence and a three-dimensional difference sequence;
[0118] For details, please refer to Figure 5 , the two-dimensional difference sequence obtained in this step is:
[0119]
[0120] See also Figure 6 , the three-dimensional difference sequence obtained in this step is:
[0121]
[0122] S4: performing addition calculation on the two-dimensional difference sequence and the three-dimensional difference sequence respectively to obtain two-dimensional data and three-dimensional data;
[0123] Specifically, the addition calculation formula for two-dimensional data is:
[0124] u n+1 =u n +du n ,
[0125] v n+1 =v n +dv n .
[0126] Continue reading Figure 5 , the two-dimensional data obtained by adding the two-dimensional difference sequence is:
[0127]
[0128] The addition calculation formula for three-dimensional data is:
[0129] x n+1 =x n +dx n ,
[0130] y n+1 =y n +dy n ,
[0131] z n+1 =z n +dz n .
[0132] Continue reading Figure 6 , the three-dimensional data obtained by adding the three-dimensional difference sequence is:
[0133]
[0134] S5: Performing position transformation on the two-dimensional data and the three-dimensional data respectively to obtain original two-dimensional data and original three-dimensional data.
[0135] Specifically, the original two-dimensional data obtained is:
[0136] [(u1,v1),(u2,v2),(u3,v3),...].
[0137] The original three-dimensional data obtained is:
[0138] [(x1,y1,z1),(x2,y2,z2),(x3,y3,z3),...].
[0139] The decompression process is now complete.
[0140] The Alembic 3D animation cache file decompression method provided in this embodiment can improve the decompression rate of the Alembic 3D animation cache file.
[0141] Embodiment 4
[0142] This embodiment provides an Alembic 3D animation cache file decompression device, including:
[0143] The compressed data acquisition module is used to obtain the compressed data of the Alembic 3D animation cache file;
[0144] A compressed data parsing module, used for parsing the compressed data and obtaining two-dimensional compressed data and three-dimensional compressed data of each frame of animation of each geometric body;
[0145] A data alignment module, used for performing 32-bit alignment on the two-dimensional compressed data and the three-dimensional compressed data, and obtaining a two-dimensional difference sequence and a three-dimensional difference sequence;
[0146] An addition calculation module, used to perform addition calculation on the two-dimensional difference sequence and the three-dimensional difference sequence respectively to obtain two-dimensional data and three-dimensional data;
[0147] The position transformation module is used to transform the positions of the two-dimensional data and the three-dimensional data respectively to obtain original two-dimensional data and original three-dimensional data.
[0148] The specific implementation contents of each module in an Alembic 3D animation cache file decompression device can be found in the above definition of an Alembic 3D animation cache file decompression method, which will not be repeated here.
[0149] The technical features of the above embodiments may be arbitrarily combined (as long as there is no contradiction in the combination of these technical features). To make the description concise, not all possible combinations of the technical features in the above embodiments are described; these embodiments that are not explicitly written should also be considered to be within the scope of this specification.
Claims
1. An Alembic 3D animation cache file compression method, characterized in that: include: Step 1: Get the Alembic 3D animation cache file; Step 2: parsing the Alembic 3D animation cache file, and obtaining per-frame cache data of each geometric body; the per-frame cache data of each geometric body includes 2D data and 3D data; Step 3: respectively adjusting the storage order of the two-dimensional data and the three-dimensional data; Step 4: retaining the first frame value of the two-dimensional data and the three-dimensional data after the storage order is adjusted, and performing subtraction calculations one by one to obtain a two-dimensional difference sequence and a three-dimensional difference sequence; Step 5: Convert the two-dimensional difference sequence and the three-dimensional difference sequence into 16-bit precision floating point format respectively to obtain optimized two-dimensional difference sequence and three-dimensional difference sequence; Step 6: Align the optimized two-dimensional difference sequence and three-dimensional difference sequence, and fill the remaining spaces with 0 to obtain new two-dimensional data and three-dimensional data; Step 7: Compress the new two-dimensional data and three-dimensional data and write them into a compressed file.
2. The Alembic 3D animation cache file compression method according to claim 1, characterized in that: In step 2, the two-dimensional data and the three-dimensional data are both 32-bit floating point data.
3. The Alembic 3D animation cache file compression method according to claim 2, characterized in that: In step 2, the two-dimensional data and three-dimensional data include UV, normal and vertex.
4. The Alembic 3D animation cache file compression method according to claim 1, characterized in that: In step 3, when adjusting the storage order of the two-dimensional data and the three-dimensional data: The storage order of the two-dimensional data is as follows: [(u1,v1),(u2,v2),(u3,v3),...] is adjusted to: The storage order of the three-dimensional data is as follows: [(x1,y1,z1),(x2,y2,z2),(x3,y3,z3),...] is adjusted to:
5. The Alembic 3D animation cache file compression method according to claim 4, characterized in that: In step 4, the subtraction calculation formula of the two-dimensional data is: you n =u n+1 -u n , dv n =v n+1 -v n ; The subtraction calculation formula of the three-dimensional data is: dx n =x n+1 -x n , of n =y n+1 -the n , d n =from n+1 -With n 。 6. The Alembic 3D animation cache file compression method according to claim 1, characterized in that: In step 7, the 7z compression algorithm is used to compress the new two-dimensional data and three-dimensional data.
7. An Alembic 3D animation cache file compression device, characterized in that: include: Data acquisition module, used to obtain Alembic 3D animation cache files; A data parsing module, used for parsing the Alembic 3D animation cache file and obtaining the cache data of each frame of each geometric body; the cache data of each frame of each geometric body includes 2D data and 3D data; A storage order adjustment module, used to adjust the storage order of the two-dimensional data and the three-dimensional data respectively; A subtraction calculation module, used for retaining the first frame value of the two-dimensional data and the three-dimensional data after the storage order is adjusted and performing subtraction calculations one by one to obtain a two-dimensional difference sequence and a three-dimensional difference sequence; A floating point conversion module, used to convert the two-dimensional difference sequence and the three-dimensional difference sequence into 16-bit precision floating point format, to obtain an optimized two-dimensional difference sequence and a three-dimensional difference sequence; A data alignment and filling module is used to align the optimized two-dimensional difference sequence and three-dimensional difference sequence, and fill the remaining spaces with 0 to obtain new two-dimensional data and three-dimensional data; The compression module is used to compress the new two-dimensional data and three-dimensional data and write them into compressed files.
8. A method for decompressing an Alembic 3D animation cache file, characterized in that: include: Step 1: Get the compressed data of Alembic 3D animation cache file; Step 2: parsing the compressed data, and obtaining the two-dimensional compressed data and the three-dimensional compressed data of each frame of animation of each geometric body; Step 3: 32-bit aligning the two-dimensional compressed data and the three-dimensional compressed data, and obtaining a two-dimensional difference sequence and a three-dimensional difference sequence; Step 4: performing addition calculation on the two-dimensional difference sequence and the three-dimensional difference sequence respectively to obtain two-dimensional data and three-dimensional data; Step 5: Perform position transformation on the two-dimensional data and the three-dimensional data respectively to obtain original two-dimensional data and original three-dimensional data.
9. The Alembic 3D animation cache file decompression method according to claim 8, characterized in that: In step 4, the addition calculation formula of the two-dimensional data is: you n+1 =u n +you n , v n+1 =v n +dv n ; The addition calculation formula of the three-dimensional data is: x n+1 =x n +dx n , the n+1 =y n +to n , With n+1 =from n +dz n 。 10. An Alembic 3D animation cache file decompression device, characterized in that: include: The compressed data acquisition module is used to obtain the compressed data of the Alembic 3D animation cache file; A compressed data parsing module, used for parsing the compressed data and obtaining two-dimensional compressed data and three-dimensional compressed data of each frame of animation of each geometric body; A data alignment module, used for performing 32-bit alignment on the two-dimensional compressed data and the three-dimensional compressed data, and obtaining a two-dimensional difference sequence and a three-dimensional difference sequence; An addition calculation module, used to perform addition calculation on the two-dimensional difference sequence and the three-dimensional difference sequence respectively to obtain two-dimensional data and three-dimensional data; The position transformation module is used to transform the positions of the two-dimensional data and the three-dimensional data respectively to obtain original two-dimensional data and original three-dimensional data.
