WO2012171312A1 - Ubiquitous terminal-oriented three-dimensional mesh model continuous multiresolution coding method - Google Patents

Ubiquitous terminal-oriented three-dimensional mesh model continuous multiresolution coding method Download PDF

Info

Publication number
WO2012171312A1
WO2012171312A1 PCT/CN2011/084594 CN2011084594W WO2012171312A1 WO 2012171312 A1 WO2012171312 A1 WO 2012171312A1 CN 2011084594 W CN2011084594 W CN 2011084594W WO 2012171312 A1 WO2012171312 A1 WO 2012171312A1
Authority
WO
WIPO (PCT)
Prior art keywords
resolution
mesh
model
terminal
edge
Prior art date
Application number
PCT/CN2011/084594
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 WO2012171312A1 publication Critical patent/WO2012171312A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • G06T17/205Re-meshing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/08Bandwidth reduction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/36Level of detail

Definitions

  • the invention relates to the technical field of multi-resolution modeling and reconstruction of a three-dimensional mesh model, in particular to a multi-resolution modeling and reconstruction technology in the field of mobile graphics, in particular to a continuous multi-resolution of a three-dimensional mesh model for a universal terminal. Rate coding method. Background technique
  • Multi-resolution modeling techniques are a better solution.
  • Multi-resolution representation techniques use a uniform data structure to characterize model representations of varying degrees of sophistication.
  • the specific fineness can be controlled by a variable.
  • a simplified model result of a certain degree of fineness can be obtained, thereby dynamically and randomly generating a three-dimensional mesh model of different fineness according to the user's needs.
  • the cone judgment strategy also known as the viewpoint-based hierarchical detail model selection strategy, is mainly to roughen the hierarchical detail model outside the cone;
  • the backside judgment strategy which coarsens the hierarchical detail model facing away from the line of sight
  • the area judgment strategy refines the hierarchical detail model with a large projected area of the screen space
  • a contour retention strategy that refines the hierarchical detail model located near the contour
  • the curvature judgment strategy refines the area where the curvature changes greatly.
  • the biggest problem caused by the above-mentioned viewpoint-based hierarchical detail model selection strategy is that the amount of calculation is too large to be applicable to a pervasive computing environment with limited hardware computing power.
  • the hardware performance of the rendering platform such as the screen size of the mobile terminal, is not fully considered from the perspective of controlling the error of the model. Not the same as the actual situation.
  • the object of the present invention is to overcome the deficiencies of the prior art.
  • the present invention provides a three-dimensional mesh model continuous multi-resolution coding method for a universal terminal, and constructs a multi-resolution mesh model by folding the mesh, and Record the area of the two triangular patches removed by the edge folding operation to achieve a mesh model that can be applied to any topological structure, and to provide an error-controlled continuous resolution mesh.
  • the present invention provides a continuous multi-resolution coding method for a three-dimensional mesh model of a universal terminal, the method comprising:
  • the server side uses a feature-enhanced quadratic error measure method to simplify the mesh model; the server side constructs a multi-resolution mesh structure with continuously adjustable resolution based on the above simplified process;
  • the universal terminal determines, according to the resolution of the terminal screen and the resolution information carried by the grid structure, The resolution size of the resolution grid structure.
  • the step of simplifying the mesh model by using the feature-enhanced quadratic error measurement method on the server side comprises:
  • All mesh edges are sorted according to the size of the quadratic error measure value corresponding to each feature of the mesh edge, and the edge with the smallest quadratic error measure value is deleted and a new network model is obtained; It is judged whether the detailed information of the new network model is simplified, and if so, the simplification process is ended and the most basic base network M is obtained . If not, return to continue to calculate the corresponding discrete mean curvature value and quadratic error measure value at the vertices of each mesh.
  • the step of constructing, by the server side, the continuously adjustable multi-resolution grid structure based on the simplified process described above comprises:
  • the most simplified base mesh for recording simplification is M . ;
  • the step of determining, by the ubiquitous terminal, the resolution size corresponding to the received multi-resolution grid structure according to the resolution size of the terminal screen and the resolution information carried by the grid structure comprises:
  • the ubiquitous terminal calculates an area corresponding to each pixel according to the envelope box size and the display resolution of the terminal screen according to the envelope box size of the most simplified base network calculation model received from the server end;
  • the multi-resolution grid structure with continuously adjustable resolution is transmitted to the ubiquitous terminal by a progressive transmission method over a wireless network.
  • the resolution of the grid model is recorded by the average area of the deleted triangle corresponding to the edge folding operation, and then adaptive according to the screen resolution information of the terminal.
  • the mesh model resolution is selected, so that the model resolution does not match the screen resolution.
  • FIG. 1 is a schematic flow chart of a three-dimensional mesh model continuous multi-resolution encoding method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a specific embodiment of the method of the present invention
  • 3a, 3b, 3c, and 3d are diagrams showing the effect of binarization and resolution selection using the three-dimensional mesh model continuous multi-resolution encoding method of the embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a three-dimensional mesh model continuous multi-resolution encoding method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
  • the server side uses a feature-enhanced quadratic error measure method to simplify the mesh model
  • the server side constructs a multi-resolution mesh structure with continuously adjustable resolution based on the above simplified process
  • the server end transmits the continuously adjustable multi-resolution grid structure to the universal terminal;
  • the ubiquitous terminal determines, according to the resolution of the terminal screen and the resolution information carried by the grid structure, the resolution size corresponding to the received multi-resolution grid structure.
  • S101 may further include:
  • S102 includes:
  • the most simplified base mesh for recording simplification is M .
  • the S103 can be implemented by: transmitting a continuously adjustable multi-resolution grid structure to a ubiquitous terminal by a progressive transmission method over a wireless network.
  • S104 includes:
  • the most simplified universal terminal receives from a network-based server ⁇ . Calculating the envelope size of the model, and calculating the area corresponding to each pixel according to the size of the envelope box and the display resolution of the terminal screen;
  • the highest resolution model that can be displayed on the current universal terminal screen is obtained.
  • the feature-enhanced edge folding simplification process used in the embodiment of the present invention is as follows: Step 1: Calculate a corresponding discrete mean curvature value of each mesh vertex;
  • Step 2 Calculate the corresponding quadratic error measure value of each mesh vertex
  • Step 3 Calculate a quadratic error measure value based on the feature enhancement corresponding to each mesh edge according to the discrete mean curvature value and the quadratic error measure value corresponding to each vertex;
  • Step 4 Sort the mesh edges according to the quadratic error measure value corresponding to the feature enhancement corresponding to the mesh edge, and perform the edge folding operation on the edge with the smallest quadratic error measure value to obtain a new mesh model, and repeat step 1 4, until the base of the most simplified mesh ⁇ . ; (continue to simplify the larger features or contour information that will lose the mesh model);
  • Step 5 Record the minimum information required to restore each edge folding simplification operation and the average area of the triangular patches removed by the edge folding operation;
  • Step 6 According to the grid-based process corresponding to the base mesh and step 5 and the corresponding resolution information, construct a multi-resolution grid structure with continuously varying resolutions " 3 ⁇ 4 ? ⁇ , ⁇ , ⁇ ..., ⁇ .
  • the vertices corresponding to the contracted edges are adjacent to (A) Vertex v ' and ⁇ ' ⁇ , the type corresponding to the edge contraction (whether it is the boundary edge), and the resolution information corresponding to the mesh model obtained after the current operation.
  • the resolution information corresponding to the mesh model is defined as follows:
  • R i , where 4 is the average area of the triangular patches deleted by the current edge folding operation.
  • the application process can be divided into the following steps:
  • Step 1 First, transmit the base grid over the wireless network on the server side;
  • the average area of new triangles generated from the split operation to S P Ui '', 2 ,..., 4 may be greater than
  • Step 3 When the ubiquitous terminal receives the detailed information z K Q ⁇ z ' ⁇ W, judges 4 and 3 according to the resolution information of the ⁇ record (that is, the average area of the triangular patches deleted by the corresponding edge folding operation 4) ⁇ The relationship between A, if 4 > 3x A, indicates that for the current mobile terminal, the recorded model details are necessary; if 4 ⁇ ⁇ 3 ⁇ , then for the current mobile terminal, The recorded model details have exceeded the resolution of the screen and stopped receiving data.
  • the resolution information of the ⁇ record that is, the average area of the triangular patches deleted by the corresponding edge folding operation 4
  • FIG. 2 is a schematic flow chart of a specific embodiment of the method of the present invention. As shown in FIG. 2, the method includes:
  • the feature enhancement value corresponding to the edge folding simplification method in the method of the invention is applied to the grid The way the feature is described.
  • the algorithm adds a vertex feature value based on the quadratic error measure to represent the vertex.
  • the vertex feature value is given by the curvature of the vertex region and the sum of all its neighboring edge lengths.
  • the feature area of the model surface usually corresponds to a large normal vector variation value, that is, the curvature is large. Therefore, the larger the curvature, the more the position of the vertex can represent the physical features of the model. The longer the side length adjacent to the vertex, the area affected by the vertex on the surface of the model: I or larger.
  • the relative curvature at the vertex V can be calculated as follows:
  • the quadratic error measure edge folding simplification process using this feature enhancement is performed in two steps: First, initial processing is required to calculate the quadratic error measure value and feature weight corresponding to each mesh vertex. And further derive the folding cost of each mesh edge and the position of the newly generated mesh vertex after folding. Then iteratively, the grid edges are sorted according to the folding cost, and a small top stack is built accordingly.
  • the edge with the lowest cost of stacking is taken out for folding operation, and then the quadratic error measure and feature weight of the neighborhood vertices affected by this operation are updated, and the corresponding edge folding cost is recalculated. .
  • the order of the edges to be folded in the heap is adjusted according to the new edge folding cost, and a small top stack is formed again.
  • the side folding operation is repeated until the approximation model satisfying the simplified condition is obtained.
  • each sorting operation essentially inserts several records into an ordered sequence and maintains the order of the resulting sequence. Therefore, in the algorithm of this paper, after all the meshing edge weightings are sorted for the first time, each sorting is no longer performed on all edges, except that all the V2 connected in the ordered edge table generated by the last sorting is deleted. Edge, then insert the newly generated edge orderly according to the weight value.
  • the determination method of the new vertex will directly lead to the difference of the simplified error corresponding to the edge folding, thereby affecting the order of the edge folding during the model simplification process. And affect the accuracy of the final simplified model.
  • the main principle for determining the position of a new vertex is to make the simplified model as close as possible to the original model.
  • the structure of the progressive mesh model based on the above mesh simplification method is as follows:
  • MultiR—M 0 , ⁇ split Q , split ⁇ split n ⁇ ] Where M.
  • the simplified mesh model is obtained, and the information required for each step split operation and the corresponding resolution information are recorded and stored in an ordered linked list. + + ⁇ + ⁇ You can get a cylindrical mesh after performing the "- secondary edge shrink operation on the original mesh.
  • the resolution information corresponding to the mesh model obtained after the current operation is performed.
  • the vertex pair corresponding to the contracted edge ( V 1 ' V 2 ) corresponds to the geometric position information of the new vertex generated by the point splitting operation
  • "two vertices adjacent to ( V I, V 2 ) V 'and V '" and "type corresponding to edge contraction” are used to restore the connection between the new vertex and the original mesh vertex.
  • the resolution information corresponding to the mesh model obtained after the current operation is performed is used to quantize the resolution state corresponding to the current hierarchical detail model, and the mobile terminal adaptively selects an appropriate hierarchical detail model according to the resolution precision of the screen.
  • Resolution information ' The definition is as follows:
  • the three-dimensional mesh model continuous multi-resolution coding method of the embodiment of the present invention is terminal-oriented.
  • FIG. 3a, 3b, 3c, 3d are diagrams of the binarization and resolution selection of the 3D mesh model continuous multi-resolution coding method according to the embodiment of the present invention, wherein FIG. 3a is an input initial 3D mesh model; 3b is the constraint posture; Fig. 3c is the deformation texture extracted by the method of the present invention; Fig. 3d is the result obtained after the deformation.
  • the resolution of the grid model is recorded by the average area of the deleted triangle corresponding to the edge folding operation, and then adaptive according to the screen resolution information of the terminal.
  • the mesh model resolution is selected, so that the model resolution does not match the screen resolution.
  • the resolution can ensure the visual effect of the model as much as possible while avoiding waste of limited hardware resources.
  • the feature-enhanced edge folding simplification algorithm can be applied to the mesh model of any topology structure, and the model can be well maintained when down-sampling to lower resolution, thus ensuring a simplified model.
  • the visual effect; and the adaptive selection of the model resolution can be easily realized, which can avoid the waste of system resources and even the operation difficulty when the 3D mesh model is applied on the mobile terminal, and provide the best possible
  • the visual effect of the model can better guarantee the quality of the multimedia service in the form of a grid model on the mobile terminal.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Image Generation (AREA)

Abstract

Disclosed is a ubiquitous terminal-oriented three-dimensional mesh model continuous multiresolution coding method. The method comprises: a server end using a feature-enhanced quadric error metric method to simplify a mesh model; the server end constructing a resolution continuously-adjustable multiresolution mesh structure on the basis of the simplification process; the server end transmitting the resolution continuously-adjustable multiresolution mesh structure to a ubiquitous terminal; the ubiquitous terminal determining a resolution size corresponding to the received multiresolution mesh structure on the basis of the resolution size of a terminal screen and of resolution information carried by the mesh structure. Implementation of embodiments of the present invention prevents the problem of the three-dimensional mesh model having excessive loss in mesh feature when the resolution is relatively low, thus preventing the problem found in a multiresolution construction method of severe distortion when at relatively low resolution, and additionally, improving cases of mismatch between the model resolution and the screen resolution.

Description

一种面向普适终端的三维网格模型连续多分辨率编码方法 技术领域  A three-dimensional mesh model continuous multi-resolution coding method for universal terminals
本发明涉及三维网格模型的多分辨率建模和重建技术领域, 具体涉及到移 动图形领域的多分辨率建模和重建技术, 尤其涉及一种面向普适终端的三维网 格模型连续多分辨率编码方法。 背景技术  The invention relates to the technical field of multi-resolution modeling and reconstruction of a three-dimensional mesh model, in particular to a multi-resolution modeling and reconstruction technology in the field of mobile graphics, in particular to a continuous multi-resolution of a three-dimensional mesh model for a universal terminal. Rate coding method. Background technique
随着无线网络、 移动计算技术的不断发展, 人们对移动三维图形应用的实 时性和交互操作要求越来越高。 但是移动计算终端计算能力和存储器容量相对 较低, 显示屏幕较小, 尺寸不规范, 电池续航能力有限。 这些因素极大制约了 交互三维图形在移动计算终端的应用。  With the continuous development of wireless networks and mobile computing technologies, people are increasingly demanding real-time and interactive operations for mobile 3D graphics applications. However, the computing power and memory capacity of the mobile computing terminal are relatively low, the display screen is small, the size is not standardized, and the battery life is limited. These factors greatly restrict the application of interactive 3D graphics in mobile computing terminals.
多分辨率建模技术是较好的解决方案。 多分辨率表示技术用一种统一的数 据结构来刻画各种不同精细程度的模型表现形式。 具体的精细程度可由一个变 量控制, 只要给该变量赋一个值, 就可以得到一个某种精细程度的简化模型结 果, 从而动态、 随机地根据用户的需要, 生成不同精细程度的三维网格模型。  Multi-resolution modeling techniques are a better solution. Multi-resolution representation techniques use a uniform data structure to characterize model representations of varying degrees of sophistication. The specific fineness can be controlled by a variable. By assigning a value to the variable, a simplified model result of a certain degree of fineness can be obtained, thereby dynamically and randomly generating a three-dimensional mesh model of different fineness according to the user's needs.
在绘制多分辨率表示时, 要根据硬件绘制平台的绘制性能, 选择适当的层 次细节模型, 取得绘制速度和绘制质量之间较好的平衡。 从控制绘制误差的角 度出发, 通常采用的模型选择策略如下:  When drawing a multi-resolution representation, according to the rendering performance of the hardware rendering platform, select the appropriate level detail model to achieve a better balance between drawing speed and drawing quality. From the perspective of controlling the rendering error, the commonly used model selection strategy is as follows:
视锥判断策略, 也称为基于视点的层次细节模型选择策略, 主要思想是对 于视锥外的层次细节模型粗化;  The cone judgment strategy, also known as the viewpoint-based hierarchical detail model selection strategy, is mainly to roughen the hierarchical detail model outside the cone;
背面判断策略, 将背向视线方向的层次细节模型粗化;  The backside judgment strategy, which coarsens the hierarchical detail model facing away from the line of sight;
面积判断策略, 将屏幕空间投影面积大的层次细节模型细化;  The area judgment strategy refines the hierarchical detail model with a large projected area of the screen space;
轮廓保留策略, 将位于轮廓附近的层次细节模型细化;  A contour retention strategy that refines the hierarchical detail model located near the contour;
曲率判断策略, 将曲率变化大的区域细化。  The curvature judgment strategy refines the area where the curvature changes greatly.
但上述基于视点的层次细节模型选择策略所带来的最大问题是计算量太 大, 无法适用于硬件计算能力有限的普适计算环境。 除此之外, 仅从控制模型 绘制误差的角度出发, 未充分考虑绘制平台的硬件性能, 如移动终端屏幕尺寸 不一等实际情况。 However, the biggest problem caused by the above-mentioned viewpoint-based hierarchical detail model selection strategy is that the amount of calculation is too large to be applicable to a pervasive computing environment with limited hardware computing power. In addition, the hardware performance of the rendering platform, such as the screen size of the mobile terminal, is not fully considered from the perspective of controlling the error of the model. Not the same as the actual situation.
在具体调整与控制模型分辨率时, 目前的大多数算法都是通过三维网格模 型的三角片数、 顶点数, 或逼近模型的简化误差来控制。 由于未考虑模型自身 尺寸和屏幕大小对模型分辨率的要求, 因此要得到既满足精度要求、 又不会因 过多冗余细节信息造成资源浪费的模型, 通常需要人工干预, 并进行多次调整。 以至在屏幕尺寸无法统一的移动终端上, 有时因使用过于细密的网格而形成显 示糙点, 甚至造成系统资源浪费以至运行困难; 有时又因使用过于粗糙或筒化 误差太大的网格模型而无法达到满意的视觉效果。 发明内容  When adjusting and controlling the resolution of the model, most of the current algorithms are controlled by the number of triangles of the 3D mesh model, the number of vertices, or the simplified error of the approximation model. Since the model's own size and screen size are not considered for the resolution of the model, it is usually necessary to manually intervene and make multiple adjustments to obtain a model that satisfies the accuracy requirements without wasting resources due to excessive redundant details. . As a result, on mobile terminals where the screen size cannot be unified, display roughness is sometimes caused by using a mesh that is too fine, and even system resources are wasted and it is difficult to operate; sometimes, a mesh model that is too rough or has too much error is used. Can not achieve satisfactory visual effects. Summary of the invention
本发明的目的在于克服现有技术的不足, 本发明提供了一种面向普适终端 的三维网格模型连续多分辨率编码方法, 通过边折叠网格筒化构建多分辨率网 格模型, 并记录边折叠操作所消除的两个三角形面片的面积, 以达到可应用于 任意拓朴结构的网格模型, 并提供误差控制的连续分辨率网格的目的。  The object of the present invention is to overcome the deficiencies of the prior art. The present invention provides a three-dimensional mesh model continuous multi-resolution coding method for a universal terminal, and constructs a multi-resolution mesh model by folding the mesh, and Record the area of the two triangular patches removed by the edge folding operation to achieve a mesh model that can be applied to any topological structure, and to provide an error-controlled continuous resolution mesh.
为了解决上述问题, 本发明提出了一种面向普适终端的三维网格模型连续 多分辨率的编码方法, 所述方法包括:  In order to solve the above problems, the present invention provides a continuous multi-resolution coding method for a three-dimensional mesh model of a universal terminal, the method comprising:
服务器端采用特征强化的二次误差测度方法对网格模型进行简化; 所述服务器端基于上述简化过程构建分辨率连续可调的多分辨率网格结 构;  The server side uses a feature-enhanced quadratic error measure method to simplify the mesh model; the server side constructs a multi-resolution mesh structure with continuously adjustable resolution based on the above simplified process;
所述服务器端将所述分辨率连续可调的多分辨率网格结构传输至普适终 所述普适终端根据终端屏幕的分辨率大小和网格结构携带的分辨率信息确 定所接收的多分辨率网格结构对应的分辨率大小。  Transmitting, by the server end, the continuously adjustable multi-resolution grid structure to the universal terminal, the universal terminal determines, according to the resolution of the terminal screen and the resolution information carried by the grid structure, The resolution size of the resolution grid structure.
优选地, 所述服务器端采用特征强化的二次误差测度方法对网格模型进行 简化的步骤包括:  Preferably, the step of simplifying the mesh model by using the feature-enhanced quadratic error measurement method on the server side comprises:
计算每一个网格顶点处对应的离散平均曲率值及二次误差测度值; 根据所述每一个网格顶点处对应的离散平均曲率值及二次误差测度值计算 每一条网格边对应的特征强化的二次误差测度;  Calculating a corresponding discrete mean curvature value and a quadratic error measure value at each vertex of the mesh; calculating corresponding features of each mesh edge according to the corresponding discrete mean curvature value and the quadratic error measure value at each vertex of the mesh Enhanced quadratic error measure;
根据所述每一条网格边对应的基于特征强化的二次误差测度值的大小对所 有网格边排序, 对二次误差测度值最小的边删除并获得新的网络模型; 判断所述新的网络模型的细节信息是否简化完毕, 若是, 则结束简化过程 并获得最筒化的基网络 M。, 若否, 则返回继续计算每一个网格顶点处对应的离 散平均曲率值及二次误差测度值。 All mesh edges are sorted according to the size of the quadratic error measure value corresponding to each feature of the mesh edge, and the edge with the smallest quadratic error measure value is deleted and a new network model is obtained; It is judged whether the detailed information of the new network model is simplified, and if so, the simplification process is ended and the most basic base network M is obtained . If not, return to continue to calculate the corresponding discrete mean curvature value and quadratic error measure value at the vertices of each mesh.
优选地, 所述服务器端基于上述简化过程构建分辨率连续可调的多分辨率 网格结构的步骤包括:  Preferably, the step of constructing, by the server side, the continuously adjustable multi-resolution grid structure based on the simplified process described above comprises:
记录简化所得的最简化的基网格为 M。; The most simplified base mesh for recording simplification is M . ;
根据基于特征强化的二次误差测度简化过程建立渐进网格模型: MultiR _M = {M0 , {split0 , split, split n } } ^ 其中, W 保存信息包括: 被收缩的边对 应的顶点对 (V1,V2), 与^',1^均相邻的两个顶点 V '和 ν'· , 边收缩所对应的类型, 网 格模型所对应的分辨率信息 Ri。 The progressive mesh model is established according to the quadratic error measure simplification process based on feature enhancement: MultiR _M = {M 0 , {split 0 , split, split n } } ^ where W holds the information including: the vertex pair corresponding to the contracted edge ( V 1, V 2), two vertices V ' and ν '· adjacent to ^', 1 ^, the type corresponding to the edge contraction, and the resolution information R i corresponding to the mesh model.
优选地, 所述普适终端根据终端屏幕的分辨率大小和网格结构携带的分辨 率信息确定所接收的多分辨率网格结构对应的分辨率大小的步骤包括:  Preferably, the step of determining, by the ubiquitous terminal, the resolution size corresponding to the received multi-resolution grid structure according to the resolution size of the terminal screen and the resolution information carried by the grid structure comprises:
所述普适终端根据从所述服务器端接收到的最简化的基网络^计算模型的 包络盒尺寸, 根据所述包络盒尺寸和终端屏幕的显示分辨率计算每个像素对应 的面积;  The ubiquitous terminal calculates an area corresponding to each pixel according to the envelope box size and the display resolution of the terminal screen according to the envelope box size of the most simplified base network calculation model received from the server end;
根据所接收到的三维网格模型的数据以及所述每个像素对应的面积进行解 码重建, 得到当前普适终端屏幕所能显示的最高分辨率模型。  Decoding reconstruction according to the received data of the three-dimensional mesh model and the area corresponding to each pixel, and obtaining the highest resolution model that the current universal terminal screen can display.
优选地, 通过无线网络采用渐进传输法将分辨率连续可调的多分辨率网格 结构传输至普适终端。  Preferably, the multi-resolution grid structure with continuously adjustable resolution is transmitted to the ubiquitous terminal by a progressive transmission method over a wireless network.
实施本发明实施例, 可以避免三维网格模型在分辨率较小时所出现的网格 特征损失过多的情况, 从而避免多分辨率构造方法会碰到的在较小分辨率时出 现的严重失真问题; 另外, 根据网格分辨率和普适终端显示分辨率的对应关系, 通过边折叠操作对应的被删除三角形的平均面积记录网格模型的分辨率, 再根 据终端的屏幕分辨率信息自适应选择网格模型分辨率, 因此可较好改善模型分 辨率与屏幕分辨率不匹配的情况。  By implementing the embodiments of the present invention, it is possible to avoid the excessive loss of the mesh features that occurs when the three-dimensional mesh model has a small resolution, thereby avoiding the severe distortion that occurs when the multi-resolution construction method encounters at a small resolution. In addition, according to the correspondence between the grid resolution and the display resolution of the ubiquitous terminal, the resolution of the grid model is recorded by the average area of the deleted triangle corresponding to the edge folding operation, and then adaptive according to the screen resolution information of the terminal. The mesh model resolution is selected, so that the model resolution does not match the screen resolution.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动的前提下, 还可以才艮据这些附图获得其它的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only Some embodiments of the present invention, for those of ordinary skill in the art, do not pay Other drawings can be obtained from these drawings on the premise of creative labor.
图 1是本发明实施例的三维网格模型连续多分辨率编码方法的流程示意图; 图 2是本发明方法具体实施例的流程示意图;  1 is a schematic flow chart of a three-dimensional mesh model continuous multi-resolution encoding method according to an embodiment of the present invention; FIG. 2 is a schematic flowchart of a specific embodiment of the method of the present invention;
图 3a、 3b、 3c、 3d是采用本发明实施例的三维网格模型连续多分辨率编码 方法的筒化和分辨率选择效果图。 具体实施方式  3a, 3b, 3c, and 3d are diagrams showing the effect of binarization and resolution selection using the three-dimensional mesh model continuous multi-resolution encoding method of the embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
图 1是本发明实施例的三维网格模型连续多分辨率编码方法的流程示意图, 如图 1所示, 该方法包括:  FIG. 1 is a schematic flowchart of a three-dimensional mesh model continuous multi-resolution encoding method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
5101 , 服务器端采用特征强化的二次误差测度方法对网格模型进行简化; 5101, the server side uses a feature-enhanced quadratic error measure method to simplify the mesh model;
5102, 服务器端基于上述简化过程构建分辨率连续可调的多分辨率网格结 构; 5102, the server side constructs a multi-resolution mesh structure with continuously adjustable resolution based on the above simplified process;
5103 , 服务器端将分辨率连续可调的多分辨率网格结构传输至普适终端; 5103, the server end transmits the continuously adjustable multi-resolution grid structure to the universal terminal;
5104, 普适终端根据终端屏幕的分辨率大小和网格结构携带的分辨率信息 确定所接收的多分辨率网格结构对应的分辨率大小。 5104. The ubiquitous terminal determines, according to the resolution of the terminal screen and the resolution information carried by the grid structure, the resolution size corresponding to the received multi-resolution grid structure.
进一步地, S101可进一步包括:  Further, S101 may further include:
计算每一个网格顶点处对应的离散平均曲率值及二次误差测度值; 根据每一个网格顶点处对应的离散平均曲率值及二次误差测度值计算每一 条网格边对应的特征强化的二次误差测度;  Calculating the corresponding discrete mean curvature value and the quadratic error measure value at the vertices of each mesh; calculating the feature enhancement corresponding to each mesh edge according to the corresponding discrete mean curvature value and the quadratic error measure value at each mesh vertex Quadratic error measure
根据每一条网格边对应的基于特征强化的二次误差测度值的大小对所有网 格边排序, 对二次误差测度值最 'j、的边删除并获得新的网络模型;  According to the size of the quadratic error measure value corresponding to each feature of the mesh edge, all the grid edges are sorted, and the edge of the quadratic error measure value is deleted, and a new network model is obtained;
判断新的网络模型的细节信息是否简化完毕, 若是, 则结束简化过程并获 得最简化的基网络 M。, 若否, 则返回继续计算每一个网格顶点处对应的离散平 均曲率值及二次误差测度值。 It is judged whether the details of the new network model are simplified, and if so, the simplification process is ended and the most simplified base network M is obtained . If not, return to continue to calculate the corresponding discrete mean curvature value and quadratic error measure value at the vertices of each mesh.
S102包括:  S102 includes:
记录简化所得的最简化的基网格为 M。; 根据基于特征强化的二次误差测度简化过程建立渐进网格模型: MUltiR— M = \MQ,、Split。,SplU 、SplU„、、, 其中, 保存信息包括: 被收缩的边对 应的顶点对 (νι ' ν2), 与(νι,ν2)均相邻的两个顶点 v '和 ν' , 边收缩所对应的类型, 网 格模型所对应的分辨率信息 。 The most simplified base mesh for recording simplification is M . ; A progressive mesh model is established according to the simplified process of quadratic error measurement based on feature enhancement: M U ltiR— M = \M Q , , S plit. , S plU , S plU„,,,, wherein the saved information includes: a vertex pair corresponding to the contracted edge ( ν ι ' ν 2), and two vertices v ' adjacent to ( ν ι, ν 2) and ν ' , the type corresponding to the edge contraction, and the resolution information corresponding to the mesh model.
S103可通过以下方式实现: 通过无线网络采用渐进传输法将分辨率连续可 调的多分辨率网格结构传输至普适终端。  The S103 can be implemented by: transmitting a continuously adjustable multi-resolution grid structure to a ubiquitous terminal by a progressive transmission method over a wireless network.
S104包括:  S104 includes:
普适终端根据从服务器端接收到的最简化的基网络 Μ。计算模型的包络盒尺 寸, 根据包络盒尺寸和终端屏幕的显示分辨率计算每个像素对应的面积; The most simplified universal terminal receives from a network-based server Μ. Calculating the envelope size of the model, and calculating the area corresponding to each pixel according to the size of the envelope box and the display resolution of the terminal screen;
根据所接收到的三维网格模型的数据以及每个像素对应的面积进行解码重 建, 得到当前普适终端屏幕所能显示的最高分辨率模型。  According to the received data of the three-dimensional mesh model and the corresponding reconstruction area of each pixel, the highest resolution model that can be displayed on the current universal terminal screen is obtained.
具体实施中, 本发明实施例所用到的基于特征强化的边折叠简化过程如下: 步骤 1 : 计算每一个网格顶点出对应的离散平均曲率值;  In a specific implementation, the feature-enhanced edge folding simplification process used in the embodiment of the present invention is as follows: Step 1: Calculate a corresponding discrete mean curvature value of each mesh vertex;
步骤 2: 计算每一个网格顶点出对应的二次误差测度值;  Step 2: Calculate the corresponding quadratic error measure value of each mesh vertex;
步骤 3:根据每一个顶点对应的离散平均曲率值和二次误差测度值计算出每 一条网格边对应的基于特征强化的二次误差测度值;  Step 3: Calculate a quadratic error measure value based on the feature enhancement corresponding to each mesh edge according to the discrete mean curvature value and the quadratic error measure value corresponding to each vertex;
步骤 4: 根据网格边对应的基于特征强化的二次误差测度值对网格边排序, 对二次误差测度值最小的边实施边折叠操作, 得到新的网格模型, 并重复步驟 1-4, 直到得到最简化的基网格 Μ。; (继续简化将丢失网格模型的较大特征或轮 廓信息); Step 4: Sort the mesh edges according to the quadratic error measure value corresponding to the feature enhancement corresponding to the mesh edge, and perform the edge folding operation on the edge with the smallest quadratic error measure value to obtain a new mesh model, and repeat step 1 4, until the base of the most simplified mesh Μ. ; (continue to simplify the larger features or contour information that will lose the mesh model);
步骤 5:记录恢复每一次边折叠简化操作所需的最少信息和边折叠操作所消 除的三角面片的平均面积;  Step 5: Record the minimum information required to restore each edge folding simplification operation and the average area of the triangular patches removed by the edge folding operation;
步驟 6: 根据基网格和步骤 5对应的网格筒化过程及其对应的分辨率信息, 构建分辨率连续变化的多分辨率网格结构 "¾ ? ^ , ^,^^…,^^ 。 Step 6: According to the grid-based process corresponding to the base mesh and step 5 and the corresponding resolution information, construct a multi-resolution grid structure with continuously varying resolutions " 3⁄4 ? ^ , ^, ^^..., ^^ .
为了在网格重建时正确恢复出原有的拓朴结构, 并明确当前的分辨率信息, ¾^ ·需要保存以下信息: 被收缩的边对应的顶点对 与( A)均相邻的两 个顶点 v '和 ν'·, 边收缩所对应的类型 (是否为边界边), 以及执行当前操作后所 得网格模型所对应的分辨率信息 。 网格模型所对应的分辨率信息 定义如下:In order to correctly restore the original topology structure during mesh reconstruction and to clarify the current resolution information, the following information needs to be saved: The vertices corresponding to the contracted edges are adjacent to (A) Vertex v ' and ν '·, the type corresponding to the edge contraction (whether it is the boundary edge), and the resolution information corresponding to the mesh model obtained after the current operation. The resolution information corresponding to the mesh model is defined as follows:
Ri = , 其中 4为当前边折叠操作 所删除的三角形面片的平均面积。 R i = , where 4 is the average area of the triangular patches deleted by the current edge folding operation.
当多分辨率网格结构构建完成后, 它就可以被应用到普适环境下的网格传 输和普适终端的网格应用。 应用过程可分成以下几个步驟: When the multi-resolution mesh structure is built, it can be applied to the mesh transmission in the ubiquitous environment. Grid applications for transmission and ubiquitous terminals. The application process can be divided into the following steps:
步骤 1 : 首先在服务器端通过无线网络传输基网格;  Step 1: First, transmit the base grid over the wireless network on the server side;
步骤 2: 当移动终端在从服务器端通过网络上接收根据以上算法建立渐进网 格模型編 tiR - Μ = {Μ sp!it。 ' -ψ^ · · · , } }时, 首先根据接收到的最筒化的基网 格 。计算模型的包络盒尺寸 χ , 然后根据包络盒尺寸和终端屏幕的显示 Step 2: When the mobile terminal receives from the server side through the network, according to the above algorithm, the progressive mesh model is compiled tiR - Μ = { Μ s p !it . '-ψ^ · · · , } }, first based on the received minimum base mesh. Calculate the envelope size of the model χ and then display it according to the envelope box size and the terminal screen
2 分 率 " ^计 出每个像素于 的面积 , p h w'! , 由于渲染每个三角面片至少需要三个像素点, 因此在继续接收 ζΥ'信息时, 将 其中记录的当前分裂操作所生成的新三角形平均面积 4与 进行比较, 当2 fraction "" counts the area of each pixel, ph w' ! , since at least three pixels are required to render each triangle, so when continuing to receive ζΥ ' information, the current split operation recorded in it The resulting new triangle has an average area of 4 compared to
4≤3 χ Α"时, 说明该分裂操作产生的新三角面片将因重复渲染而形成糙点。 When 4 ≤ 3 χ Α ", it indicates that the new triangular patch produced by this splitting operation will form a rough point due to repeated rendering.
因为 sPliti不是根据分裂操作生成的新三角形平均面积排序, 所以从 至 SPUi"所记录的分裂操作所生成的新三角形平均面积 '", 2,…, 4有可能大于Since s P lit i is not sorted according to the average area of the new triangle generated by the split operation, the average area of new triangles generated from the split operation to S P Ui '', 2 ,..., 4 may be greater than
3 x A。 但由于从 sPUtw至 对应的边收缩权值均小于 对应的边收缩权值 , 即从 至¾^„每一次边收缩操作对模型视觉效果的影响均小于 。 而边收 缩 本身对模型视觉效果的影响已经小到超出屏幕分辨率可以区分的范围。 3 x A. However, since the s P Ut w to the corresponding edge contraction weights are smaller than the corresponding edge contraction weights, that is, from the 3⁄4^„ each edge contraction operation has less influence on the visual effect of the model. The effect of the effect is already small enough to distinguish beyond the screen resolution.
步骤 3: 普适终端在接收细节信息 zKQ≤z'W时, 根据 ^ 记录的分辨率 信息 (即 对应的边折叠操作所删除的三角形面片的平均面积 4 ) 判断 4与 3><A之间的关系, 如果 4 >3xA, 说明对于当前移动终端来说, ¾^,·所记录 的模型细节是必要的; 如果 4·≤3χ , 则说明对于当前移动终端来说, 〖所记 录的模型细节已经超出了屏幕对应的可分辨精度, 停止数据接收。 Step 3: When the ubiquitous terminal receives the detailed information z K Q z ' W, judges 4 and 3 according to the resolution information of the ^ record (that is, the average area of the triangular patches deleted by the corresponding edge folding operation 4) <The relationship between A, if 4 > 3x A, indicates that for the current mobile terminal, the recorded model details are necessary; if 4· ≤ 3χ , then for the current mobile terminal, The recorded model details have exceeded the resolution of the screen and stopped receiving data.
图 2是本发明方法具体实施例的流程示意图, 如图 2所示, 该方法包括: 2 is a schematic flow chart of a specific embodiment of the method of the present invention. As shown in FIG. 2, the method includes:
5201 , 输入三维网格模型; 5201, input a three-dimensional mesh model;
5202, 计算模型各顶点基于特征强化的二次误差测度值;  5202, calculating a quadratic error measure value of each vertex of the model based on feature enhancement;
5203 , 根据基于特征强化的二次误差测度值进行边折叠简化;  5203, performing edge folding simplification according to the quadratic error measure value based on feature enhancement;
5204 , 求得边折叠简化删除的三角形面片对应的平均面积;  5204, obtaining an average area corresponding to the triangle piece that is simplified by the side folding;
5205, 根据简化过程构建多分辨率网格;  5205, constructing a multi-resolution grid according to a simplified process;
5206, 传输多分辨率网格;  5206, transmitting a multi-resolution grid;
5207, 由基网格计算与终端匹配的网格分辨率;  5207, calculating, by the base grid, a mesh resolution matching the terminal;
5208, 继续接收细节信息直到细节信息超出终端分辨率可分辨范围; 5208, continue to receive the detailed information until the detailed information exceeds the resolution resolution of the terminal resolution;
5209, 生成最终模型。 5209, generate the final model.
本发明方法中的边折叠简化方法对应的特征强化值是一种应用于网格筒化 的特征描述方式。 计算网格边对应的基于特征强化的二次误差测度时, 为了将 原始模型中的特征区域对应的误差测度增强, 本文算法在二次误差测度的基础 上增加一个顶点特征值, 用来表示顶点特征的重要程度。 该顶点特征值由顶点 区域的曲率和其所有邻边边长综合给出。 模型表面的特征区域通常对应较大的 法向量变化值, 即曲率较大。 因此曲率越大说明该顶点所在位置越能表现模型 的形体特征。 而顶点所邻接的边长越长则说明该顶点在模型表面上所影响到的 区: I或越大。 The feature enhancement value corresponding to the edge folding simplification method in the method of the invention is applied to the grid The way the feature is described. In order to calculate the quadratic error measure based on feature enhancement corresponding to the mesh edge, in order to enhance the error measure corresponding to the feature region in the original model, the algorithm adds a vertex feature value based on the quadratic error measure to represent the vertex. The importance of the feature. The vertex feature value is given by the curvature of the vertex region and the sum of all its neighboring edge lengths. The feature area of the model surface usually corresponds to a large normal vector variation value, that is, the curvature is large. Therefore, the larger the curvature, the more the position of the vertex can represent the physical features of the model. The longer the side length adjacent to the vertex, the area affected by the vertex on the surface of the model: I or larger.
已知所有与顶点!相邻的三角形面片的法向量方向, 则顶点 V的法向量 通 过可计算如下:  Know all with vertices! The normal vector direction of adjacent triangle patches, then the normal vector of vertex V can be calculated as follows:
«ν = ∑ np «ν = ∑ n p
P e P(v)  P e P(v)
其中 P(v)表示所有与顶点 v相邻的三角形面片的集合; 是相邻三角形面片 的法向量。 =" 1, 将相邻三角形面片的法向量作归一化处理后求平均, 得 到顶点处对应的法向量 。 再对 作归一化处理: = /| |。 Where P ( v ) represents the set of all triangle patches adjacent to vertex v; is the normal vector of the adjacent triangle patch. = " 1, normalize the normal vector of the adjacent triangle patch and average it to get the corresponding normal vector at the vertex. Then normalize the processing: = /| |.
根据 , 可计算顶点 V处的相对曲率如下:  According to , the relative curvature at the vertex V can be calculated as follows:
arccos(np '·ην') Arccos(n p '·η ν ')
C =  C =
I尸 (v)  I corpse (v)
其中, lp(v)l表示顶点 v的邻接三角形个数。 Where l p(v )l represents the number of contiguous triangles of the vertex v.
已知网格边 (V',V2)由顶点 V',V2组成,则这条边所对应的特征权值 ^V 可通过 式(2.6)计算如下:It is known that the mesh edges ( V ', V 2) are composed of vertices V ', V 2 , and the feature weights ^ V corresponding to this edge can be calculated by the formula (2.6) as follows:
(vl2) = /12x +-(Cl +c2) 其中, ^为网格边 , V2)的边长。 (v l2 ) = / 12 x +-( Cl +c 2 ) where ^ is the edge of the mesh, V 2).
得到网格边的特征权值 (V'2)后, 将其叠加到二次误差测度方法中, 可计算 出将网格边 (V', 收缩至新顶点 V处的操作所对应的收缩权值如下: After obtaining the feature weight (V '2) of the mesh edge, it is superimposed on the quadratic error measure method, and the shrinkage weight corresponding to the operation of the mesh edge ( V ', contracted to the new vertex V) can be calculated. The values are as follows:
Δ '((v, ,v2)→v) = vT (Ql + Q2 )v + A (v, 2 ) 其中, A是特征权值 F(Vi2)对应的特征强化权系数。 当 =0时, 对应标准的 二次误差测度简化算法。 取值越大, 局部特征增强效果越明显, 但 取'值过大 时, 有可能对网格模型的整体轮廊信息保留产生不利影响。 Δ '((v, , v 2 )→v) = v T (Q l + Q 2 )v + A (v, 2 ) where A is a feature enhancement weight coefficient corresponding to the feature weight F(V i2). When =0, it corresponds to the standard quadratic error measure simplification algorithm. The larger the value is, the more obvious the local feature enhancement effect is. However, when the value is too large, it may have an adverse effect on the overall corridor information retention of the mesh model.
采用这种特征增强的二次误差测度边折叠简化过程分两步进行: 首先需要 进行初始化处理, 计算出每个网格顶点所对应的二次误差测度值和特征权值, 并进一步推导出每条网格边的折叠代价和折叠后新生成的网格顶点的位置。 然 后再进行迭代筒化过程, 将所有网格边按照折叠代价大小排序, 并据此建立小 顶堆。 The quadratic error measure edge folding simplification process using this feature enhancement is performed in two steps: First, initial processing is required to calculate the quadratic error measure value and feature weight corresponding to each mesh vertex. And further derive the folding cost of each mesh edge and the position of the newly generated mesh vertex after folding. Then iteratively, the grid edges are sorted according to the folding cost, and a small top stack is built accordingly.
在每次简化的过程中, 取出堆顶折叠代价最小的边进行折叠操作, 然后将 被此次操作影响的邻域顶点的二次误差测度和特征权值更新, 重新计算其对应 的边折叠代价。 根据新的边折叠代价调整堆中的待折叠边的排序, 再次形成小 顶堆。 如此重复边折叠操作, 直到得到满足简化条件的逼近模型为止。  In each simplification process, the edge with the lowest cost of stacking is taken out for folding operation, and then the quadratic error measure and feature weight of the neighborhood vertices affected by this operation are updated, and the corresponding edge folding cost is recalculated. . The order of the edges to be folded in the heap is adjusted according to the new edge folding cost, and a small top stack is formed again. The side folding operation is repeated until the approximation model satisfying the simplified condition is obtained.
每次边折叠操作后, 均需要对所有网格边按收缩权值大小重新进行排序 , 因排序算法效率的高低, 会在较大程度上影响整个筒化算法的效率。 分析算法 中边排序的特点: 除第一次边收缩外, 每次排序操作其实质是在一个有序序列 中插入几个记录, 并保持所得序列的有序。 因此本文算法中在第一次进行所有 网格边的收缩权值排序后, 每次排序不再对所有边进行, 只是在上次排序产生 的有序边表中删去所有与 V2相连的边, 再根据权值大小有序地插入新生成的 边。 After each folding operation, all the mesh edges need to be reordered according to the shrinkage weight value. The efficiency of the sorting algorithm will affect the efficiency of the whole binning algorithm to a large extent. Features of edge sorting in the analysis algorithm: In addition to the first edge contraction, each sorting operation essentially inserts several records into an ordered sequence and maintains the order of the resulting sequence. Therefore, in the algorithm of this paper, after all the meshing edge weightings are sorted for the first time, each sorting is no longer performed on all edges, except that all the V2 connected in the ordered edge table generated by the last sorting is deleted. Edge, then insert the newly generated edge orderly according to the weight value.
执行边折叠操作时, 需要首先计算出边收缩后产生的新顶点的几何位置, 不同新顶点的确定方法将直接导致边折叠对应的简化误差的不同, 从而影响模 型简化过程中边折叠的顺序, 并影响最终简化模型的精度。 确定新顶点位置的 主要原则是使得简化模型尽量逼近原始模型。  When performing the edge folding operation, it is necessary to first calculate the geometric position of the new vertex generated after the edge is contracted. The determination method of the new vertex will directly lead to the difference of the simplified error corresponding to the edge folding, thereby affecting the order of the edge folding during the model simplification process. And affect the accuracy of the final simplified model. The main principle for determining the position of a new vertex is to make the simplified model as close as possible to the original model.
在执行边折叠操作 (V1,V2 ) → V时, 采取简单方式来选取顶点位置: 新顶点的 位置从折叠边的两个顶点和中点三者之中选取, 即在^^,^ +^^三者中,选取 对应网格误差最小值者将作为新顶点位置。 这种方式主要优点是计算量小, 可 大幅提高运算速度; 此外由于简化模型的顶点集中绝大部分是原始模型顶点集 的子集, 可更好地保留初始模型的轮廓和几何特征。 When performing the edge folding operation ( V 1, V 2 ) → V , a simple way to select the vertex position: The position of the new vertex is selected from the two vertices and the midpoint of the folded edge, ie in ^^, ^ Among the three +^^, the corresponding minimum of the grid error will be selected as the new vertex position. The main advantage of this method is that the amount of calculation is small, which can greatly improve the operation speed. In addition, since the vertices of the simplified model are mostly a subset of the original model vertex set, the contour and geometric features of the original model can be better preserved.
对于非封闭三角网格模型, 必须考虑在处理边界边时尽量保持原边界。 因 此进行边界边收缩时, 新顶点位置需满足保持原边界的条件。 如果被收缩边的 两个端点均位于边界上, 要保持原边界则必须保持这条边, 即两个端点均位于 边界上的边不具备可收缩的条件, 可以不计算权值, 不纳入边表进行排序。 如 果被收缩边有且仅有一个端点位于边界上, 则该边收缩至这个边界上的端点处。  For non-closed triangular mesh models, consideration must be given to maintaining the original boundary as much as possible when dealing with boundary edges. Therefore, when the boundary edge is contracted, the new vertex position needs to satisfy the condition of maintaining the original boundary. If both ends of the contracted edge are on the boundary, the edge must be maintained to maintain the original boundary, that is, the edge with both endpoints on the boundary does not have a contractible condition, and the weight cannot be calculated. The table is sorted. If the contracted edge has one and only one end point is on the boundary, the edge shrinks to the end point on this boundary.
基于以上网格简化方法建立的累进网格模型的结构如下:  The structure of the progressive mesh model based on the above mesh simplification method is as follows:
MultiR—M = 0 , {split Q , split { split n }] 其中 M。为对原始网格执行" + 1次边折叠操作后所得的简化网格模型, 记录每一步点分裂操作所需的信息和所对应的分辨率信息, 存储在一个有序链 表中。 即综合^ + +··· + ·可得到对原始网格执行"- 次边收缩操作 后的筒化网格。 MultiR—M = 0 , {split Q , split { split n }] Where M. In order to perform the "+ 1 edge folding operation on the original mesh, the simplified mesh model is obtained, and the information required for each step split operation and the corresponding resolution information are recorded and stored in an ordered linked list. + +··· + · You can get a cylindrical mesh after performing the "- secondary edge shrink operation on the original mesh.
为了在网格重建时正确恢复出原有的拓朴结构, 并明确当前的分辨率信息, 需要保存以下信息: 被收缩的边对应的顶点对 (V1,V2 ); In order to correctly restore the original topology structure during mesh reconstruction and to clarify the current resolution information, the following information needs to be saved: the vertex pair corresponding to the contracted edge ( V 1, V 2 );
与 ^,^)均相邻的两个顶点 ^和 V''; Two vertices ^ and V '' adjacent to ^, ^);
边收缩所对应的类型 (是否为边界边);  The type corresponding to the edge contraction (whether it is a boundary edge);
执行当前操作后所得网格模型所对应的分辨率信息 。  The resolution information corresponding to the mesh model obtained after the current operation is performed.
其中: "被收缩的边对应的顶点对 (V1 ' V2 ) " 对应于点分裂操作所产生的新顶 点的几何位置信息, "与(VI,V2 )均相邻的两个顶点 V '和 V' "和 "边收缩所对应的类 型" 用于恢复新顶点与原有网格顶点之间的连接关系。 Where: "The vertex pair corresponding to the contracted edge ( V 1 ' V 2 )" corresponds to the geometric position information of the new vertex generated by the point splitting operation, "two vertices adjacent to ( V I, V 2 ) V 'and V '" and "type corresponding to edge contraction" are used to restore the connection between the new vertex and the original mesh vertex.
"执行当前操作后所得网格模型所对应的分辨率信息 '· " 用于量化当前层 次细节模型所对应的分辨率状态, 供移动终端根据屏幕的分辨精度自适应地选 择合适的层次细节模型。 分辨率信息 '。 定义如下:  The resolution information corresponding to the mesh model obtained after the current operation is performed is used to quantize the resolution state corresponding to the current hierarchical detail model, and the mobile terminal adaptively selects an appropriate hierarchical detail model according to the resolution precision of the screen. Resolution information '. The definition is as follows:
Rt = 4 R t = 4
其中 4为当前边折叠操作 ^ 所删除的三角形面片的平均面积。  4 is the average area of the triangle patch deleted by the current edge folding operation ^.
本发明实施例的三维网格模型连续多分辨率编码方法是面向终端的。  The three-dimensional mesh model continuous multi-resolution coding method of the embodiment of the present invention is terminal-oriented.
图 3a、 3b、 3c、 3d是采用本发明实施例的三维网格模型连续多分辨率编码 方法的筒化和分辨率选择效果图,其中,其中图 3a为输入的初始三维网格模型; 图 3b为约束姿势; 图 3c为使用本发明方法提取得到的变形纹理; 图 3d为变形 后所得的结果。  3a, 3b, 3c, 3d are diagrams of the binarization and resolution selection of the 3D mesh model continuous multi-resolution coding method according to the embodiment of the present invention, wherein FIG. 3a is an input initial 3D mesh model; 3b is the constraint posture; Fig. 3c is the deformation texture extracted by the method of the present invention; Fig. 3d is the result obtained after the deformation.
实施本发明实施例, 可以避免三维网格模型在分辨率较小时所出现的网格 特征损失过多的情况, 从而避免多分辨率构造方法会碰到的在较小分辨率时出 现的严重失真问题; 另外, 根据网格分辨率和普适终端显示分辨率的对应关系, 通过边折叠操作对应的被删除三角形的平均面积记录网格模型的分辨率, 再根 据终端的屏幕分辨率信息自适应选择网格模型分辨率, 因此可较好改善模型分 辨率与屏幕分辨率不匹配的情况。  By implementing the embodiments of the present invention, it is possible to avoid the excessive loss of the mesh features that occurs when the three-dimensional mesh model has a small resolution, thereby avoiding the severe distortion that occurs when the multi-resolution construction method encounters at a small resolution. In addition, according to the correspondence between the grid resolution and the display resolution of the ubiquitous terminal, the resolution of the grid model is recorded by the average area of the deleted triangle corresponding to the edge folding operation, and then adaptive according to the screen resolution information of the terminal. The mesh model resolution is selected, so that the model resolution does not match the screen resolution.
在本发明实施例中, 还可实现在移动终端上自适应地选择三维网格模型分 辨率, 在避免对有限硬件资源浪费的同时可尽可能地保证模型的视觉效果。 在 构建渐进网格时, 采用特征增强的边折叠简化算法, 可应用于任意拓朴结构的 网格模型, 在向下采样至较低分辨率时仍能较好地保持模型, 从而保证简化模 型的视觉效果; 且可以很方便地实现模型分辨率的自适应选择, 可避免三维网 格模型在移动终端上应用时, 因分辨率过高而造成系统资源浪费甚至运行困难 , 同时提供尽可能好的模型视觉效果, 可以较好地保证移动终端上网格模型形式 的多媒体业务的质量。 In the embodiment of the present invention, it is also possible to adaptively select a three-dimensional mesh model on a mobile terminal. The resolution can ensure the visual effect of the model as much as possible while avoiding waste of limited hardware resources. In the construction of progressive mesh, the feature-enhanced edge folding simplification algorithm can be applied to the mesh model of any topology structure, and the model can be well maintained when down-sampling to lower resolution, thus ensuring a simplified model. The visual effect; and the adaptive selection of the model resolution can be easily realized, which can avoid the waste of system resources and even the operation difficulty when the 3D mesh model is applied on the mobile terminal, and provide the best possible The visual effect of the model can better guarantee the quality of the multimedia service in the form of a grid model on the mobile terminal.
以上对本发明实施例所提供的三维网格模型连续多分辨率编码方法, 进行 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于 本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均 会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The above description of the three-dimensional mesh model continuous multi-resolution coding method provided by the embodiment of the present invention is only for helping to understand the method and the core idea of the present invention. Meanwhile, for those skilled in the art, The present invention is not limited by the scope of the present invention.

Claims

1、 一种面向普适终端的三维网格模型连续多分辨率的编码方法, 其特征在 于, 所述方法包括: A method for encoding a continuous multi-resolution of a three-dimensional mesh model for a universal terminal, the method comprising:
服务器端采用特征强化的二次误差测度方法对网格模型进行简化; 所述服务器端基于上述简化过程构建分辨率连续可调的多分辨率网格结 构;  The server side uses a feature-enhanced quadratic error measure method to simplify the mesh model; the server side constructs a multi-resolution mesh structure with continuously adjustable resolution based on the above simplified process;
所述服务器端将所述分辨率连续可调的多分辨率网格结构传输至普适终 二山 . 所述普适终端根据终端屏幕的分辨率大小和网格结构携带的分辨率信息确 定所接收的多分辨率网格结构对应的分辨率大小。  The server end transmits the continuously adjustable multi-resolution grid structure to the universal end. The ubiquitous terminal determines the location according to the resolution of the terminal screen and the resolution information carried by the grid structure. The resolution size of the received multi-resolution grid structure.
2、 如权利要求 1所述的面向普适终端的三维网格模型连续多分辨率编码方 法, 其特征在于, 所述服务器端采用特征强化的二次误差测度方法对网格模型 进行简化的步骤包括: 2. The method according to claim 1, wherein the server end uses a feature-enhanced quadratic error measurement method to simplify the mesh model. Includes:
计算每一个网格顶点处对应的离散平均曲率值及二次误差测度值; 根据所述每一个网格顶点处对应的离散平均曲率值及二次误差测度值计算 每一条网格边对应的特征强化的二次误差测度;  Calculating a corresponding discrete mean curvature value and a quadratic error measure value at each vertex of the mesh; calculating corresponding features of each mesh edge according to the corresponding discrete mean curvature value and the quadratic error measure value at each vertex of the mesh Enhanced quadratic error measure;
根据所述每一条网格边对应的基于特征强化的二次误差测度值的大小对所 有网格边排序, 对二次误差测度值最小的边删除并获得新的网络模型;  Sorting all grid edges according to the magnitude of the quadratic error measure value corresponding to each feature of the mesh edge, and deleting the edge with the smallest quadratic error measure value to obtain a new network model;
判断所述新的网络模型的细节信息是否简化完毕, 若是, 则结束简化过程 并获得最简化的基网络 M。, 若否, 则返回继续计算每一个网格顶点处对应的离 散平均曲率值及二次误差测度值。 It is judged whether the detailed information of the new network model is simplified, and if so, the simplification process is ended and the most simplified base network M is obtained . If not, return to continue to calculate the corresponding discrete mean curvature value and quadratic error measure value at the vertices of each mesh.
3、 如权利要求 1或 2所述的面向普适终端的三维网格模型连续多分辨率编 码方法, 其特征在于, 所述服务器端基于上述简化过程构建分辨率连续可调的 多分辨率网格结构的步骤包括: The method for continuous multi-resolution coding of a three-dimensional mesh model for a universal terminal according to claim 1 or 2, wherein the server end constructs a multi-resolution network with continuously adjustable resolution based on the simplified process described above. The steps of the lattice structure include:
记录简化所得的最简化的基网格为 M。; The most simplified base mesh for recording simplification is M . ;
根据基于特征强化的二次误差测度简化过程建立渐进网格模型: MUltiR—M =、M。,、spUt。,split 、sp n ]] , 其中, 保存信息包括: 被收缩的边对 格模型所对应的分辨率信息 Ri。 A progressive mesh model is established according to the simplified process of quadratic error measurement based on feature enhancement: M U ltiR—M =, M. ,, spUt. , split, sp n ]] , where the saved information includes: the edge pair being shrunk The resolution information R i corresponding to the lattice model.
4、 如权利要求 3所述的面向普适终端的三维网格模型连续多分辨率编码方 法, 其特征在于, 所述普适终端根据终端屏幕的分辨率大小和网格结构携带的 分辨率信息确定所接收的多分辨率网格结构对应的分辨率大小的步骤包括: 所述普适终端根据从所述服务器端接收到的最简化的基网络^计算模型的 包络盒尺寸, 根据所述包络盒尺寸和终端屏幕的显示分辨率计算每个像素对应 的面积;  4. The method according to claim 3, wherein the ubiquitous terminal is based on a resolution of the screen of the terminal and a resolution information carried by the grid structure. The determining the size of the resolution corresponding to the received multi-resolution grid structure comprises: the ubiquitous terminal according to the envelope box size of the most simplified base network calculation model received from the server end, according to the Calculating the area corresponding to each pixel by the envelope size and the display resolution of the terminal screen;
根据所接收到的三维网格模型的数据以及所述每个像素对应的面积进行解 码重建, 得到当前普适终端屏幕所能显示的最高分辨率模型。  Decoding reconstruction according to the received data of the three-dimensional mesh model and the area corresponding to each pixel, and obtaining the highest resolution model that the current universal terminal screen can display.
5、 如权利要求 1所述的面向普适终端的三维网格模型连续多分辨率编码方 法, 其特征在于, 所述服务器端将所述分辨率连续可调的多分辨率网格结构传 输至普适终端的步骤具体为: 至普适终端。 The method of claim 1, wherein the server end transmits the continuously adjustable multi-resolution grid structure to the unidirectional terminal. The steps of the universal terminal are specifically as follows: To the universal terminal.
PCT/CN2011/084594 2011-06-15 2011-12-24 Ubiquitous terminal-oriented three-dimensional mesh model continuous multiresolution coding method WO2012171312A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201110161827 CN102324107B (en) 2011-06-15 2011-06-15 Pervasive-terminal-oriented continuous and multi-resolution encoding method of three-dimensional grid model
CN201110161827.7 2011-06-15

Publications (1)

Publication Number Publication Date
WO2012171312A1 true WO2012171312A1 (en) 2012-12-20

Family

ID=45451846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/084594 WO2012171312A1 (en) 2011-06-15 2011-12-24 Ubiquitous terminal-oriented three-dimensional mesh model continuous multiresolution coding method

Country Status (2)

Country Link
CN (1) CN102324107B (en)
WO (1) WO2012171312A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020093307A1 (en) * 2018-11-08 2020-05-14 深圳市大疆创新科技有限公司 Method and device for simplifying three-dimensional mesh model

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2966621A1 (en) * 2014-07-09 2016-01-13 Donya Labs AB Method and system for converting an existing 3D model into graphical data
CN104183020B (en) * 2014-07-09 2017-06-06 浙江大学 Atural object mesh simplification method based on the local secondary error measure with penalty term
CN106296794A (en) * 2015-05-12 2017-01-04 十维度(厦门)网络科技有限公司 A kind of self adaptation stream loading technique with the high-strength compression of 3D data
CN105680988B (en) * 2015-12-31 2018-10-02 中山大学 A kind of adjustable coding method of delay
CN106600677B (en) * 2016-12-30 2019-12-03 当家移动绿色互联网技术集团有限公司 To the processing method of conventional model in VR system
CN111788607A (en) * 2018-04-12 2020-10-16 谷歌有限责任公司 Batch density increase for improved progressive mesh compression
CN109448125A (en) * 2018-09-26 2019-03-08 深圳市华讯方舟太赫兹科技有限公司 A kind of processing method of triangle grid model, processing terminal and storage medium
CN110930514B (en) * 2019-11-22 2021-08-10 华南理工大学 Three-dimensional grid model self-adaptive simplification method based on local region characteristics
CN112370789B (en) * 2020-10-20 2022-07-19 广州西山居世游网络科技有限公司 Method and system for detecting fitness of model triangular mesh

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447084A (en) * 2008-12-19 2009-06-03 北京师范大学 Compressing encode/decode method for three-dimensional model texture based on Quardtree
CN101794462A (en) * 2010-03-12 2010-08-04 中山大学 Three-dimensional grid model deformation method and system based on texture

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100573595C (en) * 2003-06-20 2009-12-23 日本电信电话株式会社 Virtual visual point image generating method and three-dimensional image display method and device
CN102044088B (en) * 2010-11-09 2012-09-26 广州市城市规划勘测设计研究院 LOD (level of detail) model quick constructing method for scanning mass scattered point cloud by ground laser in single station

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447084A (en) * 2008-12-19 2009-06-03 北京师范大学 Compressing encode/decode method for three-dimensional model texture based on Quardtree
CN101794462A (en) * 2010-03-12 2010-08-04 中山大学 Three-dimensional grid model deformation method and system based on texture

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020093307A1 (en) * 2018-11-08 2020-05-14 深圳市大疆创新科技有限公司 Method and device for simplifying three-dimensional mesh model

Also Published As

Publication number Publication date
CN102324107A (en) 2012-01-18
CN102324107B (en) 2013-07-24

Similar Documents

Publication Publication Date Title
WO2012171312A1 (en) Ubiquitous terminal-oriented three-dimensional mesh model continuous multiresolution coding method
JP5981566B2 (en) Method and apparatus for processing a bitstream representing a 3D model
Fan et al. Point cloud compression based on hierarchical point clustering
CN108335367B (en) Three-dimensional model processing method for terminal display
JP4672735B2 (en) Texture coordinate encoding and decoding method of 3D mesh information for effective texture mapping
Peng et al. Feature oriented progressive lossless mesh coding
Yi et al. Delaunay mesh simplification with differential evolution
CN113256782B (en) Three-dimensional model generation method and device, storage medium and electronic equipment
WO2013029232A1 (en) Multi-resolution 3d textured mesh coding
Marinov et al. Automatic generation of structure preserving multiresolution models
WO2012171314A1 (en) Geometric image-based three-dimensional mesh model error protection coding method for
CN103679814A (en) Processing method and device for triangle mesh model
US9754384B2 (en) Relevant method and device for compression, decompression and progressive transmission of spatial data
CN103260030A (en) Stream transmission method for three-dimension model facing mobile terminal
CN107093197B (en) Animation compression method based on local cylindrical coordinates
CN109523634A (en) Optimize the method and device of grid
Dong et al. 3D model progressive compression algorithm using attributes
CN115619978B (en) Grid surface construction method, terminal and storage medium
Ma et al. A novel method of mesh simplification using hausdoff distance
CN110427373A (en) A kind of track data processing method and processing device
WO2023155045A1 (en) Prediction method and apparatus, coder, decoder, and coding and decoding system
WO2022217611A1 (en) Coding and decoding methods, related devices and storage medium
CN112270739B (en) Indoor area confirmation method and device based on two dimensions, terminal and storage medium
WO2023039800A1 (en) Method and apparatus for generating model surface texture, and computing device and storage medium
Yang et al. A logistic model for the degradation of triangle mesh normals

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: 11867676

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11867676

Country of ref document: EP

Kind code of ref document: A1