Please wait a minute...
Journal of Zhejiang University (Science Edition)  2023, Vol. 50 Issue (6): 820-828    DOI: 10.3785/j.issn.1008-9497.2023.06.017
CSIAM-GDC 2023     
Fitting and fairing quad-meshes by matrix weighted NURBS surfaces
Guoxin DONG,Xunnian YANG()
School of Mathematical Sciences,Zhejiang University,Hangzhou 310058,China
Download: HTML( 7 )   PDF(1541KB)
Export: BibTeX | EndNote (RIS)      

Abstract  

This paper proposes to employ matrix weighted NURBS surfaces to fit and fair quad meshes. For a quadrilateral mesh with given or estimated unit normals at vertices, a matrix weighted NURBS surface can be constructed by choosing the mesh vertices as control points and employing normals at each vertex for computing matrix weights. Compared with traditional NURBS surfaces, matrix weighted NURBS surfaces have quasi-cylindrical accuracy. When the input data is uniformly sampled from a smooth surface, the constructed matrix weighted NURBS surface has good smoothness and fits the mesh model well; if the input grid data contain noise, a fair fitting surface that approximates the original grid well can still be obtained by resampling control vertices on current fitting surfaces and re-calculating vertex normals based on the new quad meshes iteratively.



Key wordsmatrix weighted NURBS      surface fitting      fairing     
Received: 21 June 2023      Published: 30 November 2023
CLC:  TP 391  
Corresponding Authors: Xunnian YANG     E-mail: yxn@zju.edu.cn
Cite this article:

Guoxin DONG,Xunnian YANG. Fitting and fairing quad-meshes by matrix weighted NURBS surfaces. Journal of Zhejiang University (Science Edition), 2023, 50(6): 820-828.

URL:

https://www.zjujournals.com/sci/EN/Y2023/V50/I6/820


矩阵权NURBS曲面的拟合与光顺

介绍了利用矩阵权非均匀有理 B-spline(non-uniform rational B-spline,NURBS)曲面拟合与光顺带法向的网格数据。通过输入带法向的规则四边形网格,以网格的顶点为曲面的控制顶点,用法向信息计算每个控制顶点对应的矩阵权,构造矩阵权NURBS曲面。与传统NURBS曲面相比,矩阵权NURBS曲面具有拟柱面精度,当数据均匀采样自光滑曲面时,构造的矩阵权NURBS曲面具有较好的光顺性且能很好地拟合网格模型;当输入的网格数据掺杂噪声时,通过迭代在已有的矩阵权NURBS曲面上重新采样顶点和计算法向量构造新的矩阵权NURBS曲面,最后得到具有较好光顺性且仍能逼近原始网格数据的拟合曲面。


关键词: 矩阵权NURBS,  曲面拟合,  光顺 
Fig.1 The matrix weighted NURBS surface is used to fit the mesh sampled from a cylinderNote The number pair (ij) represents the degree of the B-spline basis function in the parameter u and v directions respectively. (a) and (b) are bicubic matrix weighted NURBS surfaces fitted to cylindrical meshes with and without noise, respectively; (c) and (d) are the fitting results of matrix weighted NURBS surfaces with bi-degree five or bi-degree seven, respectively.
Fig.2 The matrix weighted NURBS surface
Fig.3 Fitting and fairing a noise plane
Fig.4 Fitting and fairing an ear mesh model by matrix weighted NURBS surfaces
Fig.5 Fitting and fairing a head model by matrix weighted NURBS surfaces
Fig.6 Fitting and fairing a tooth model by matrix weighted NURBS surface
[1]   PIEGL L, TILLER W. The Nurbs Book[M]. 2nd ed. New York:Springer-Verlag, 1997. doi:10.1007/978-3-642-59223-2
doi: 10.1007/978-3-642-59223-2
[2]   YU Z J, MA K, WANG Z J, et al. Surface modeling method for aircraft engine blades by using speckle patterns based on the virtual stereo vision system[J]. Optics Communications, 2018, 411: 33-39. DOI:10.1016/j.optcom.2017.10.064
doi: 10.1016/j.optcom.2017.10.064
[3]   YANG Z Y, SHEN L Y, YUAN C M, et al. Curve fitting and optimal interpolation for CNC machining under confined error using quadratic B-splines[J]. Computer-Aided Design, 2015, 66: 62-72. DOI:10.1016/j.cad.2015.04.010
doi: 10.1016/j.cad.2015.04.010
[4]   CATMULL E, CLARK J. Recursively generated B-spline surfaces on arbitrary topological meshes[J]. Computer-Aided Design, 1978, 10(6): 350-355. DOI:10.1016/0010-4485(78)90110-0
doi: 10.1016/0010-4485(78)90110-0
[5]   YANG X N. Matrix weighted rational curves and surfaces[J]. Computer Aided Geometric Design, 2016, 42: 40-53. DOI:10.1016/j.cagd.2015.11.005
doi: 10.1016/j.cagd.2015.11.005
[6]   ROGERS D F, FOG N R. Constrained B-spline curve and surface fitting[J]. Computer-Aided Design, 1989, 21(10): 641-648. DOI:10.1016/0010-4485(89)90162-0
doi: 10.1016/0010-4485(89)90162-0
[7]   MA W Y, KRUTH J P. NURBS curve and surface fitting and interpolation[C]// DAEHLEN M, LYCHE T, SCHUMAKER L L. Mathematical Methods for Curves and Surfaces. Tennessee: Vanderbilt University Press, 1995:315-322.
[8]   LIN H W, WANG G J, DONG C S. Constructing iterative non-uniform B-spline curve and surface to fit data points[J]. Science in China Series F (Information Sciences), 2004, 47(3): 315-331. DOI:10.1360/02yf0529
doi: 10.1360/02yf0529
[9]   ROUHANI M, SAPPA A D, BOYER E, et al. Implicit B-spline surface reconstruction[J]. IEEE Transactions on Image Processing, 2015, 24(1): 22-32. DOI:10. 1109/TIP.2014.2366374
doi: 10. 1109/TIP.2014.2366374
[10]   LIU M Z, LI B J, GUO Q J, et al. Progressive iterative approximation for regularized least square bivariate B-spline surface fitting[J]. Journal of Computational and Applied Mathematics, 2018, 327: 175-187. DOI:10.1016/j.cam.2017.06.013
doi: 10.1016/j.cam.2017.06.013
[11]   JIANG X, WANG B L, HUO G Y, et al. Scattered points interpolation with globally smooth B-spline surface using iterative knot insertion[J]. Computer-Aided Design, 2022, 148: 103244. DOI:10.1016/j.cad.2022.103244
doi: 10.1016/j.cad.2022.103244
[12]   MORETON H, SEQUIN C. Functional optimization for fair surface design[C]// Proceedings of the 19th Annual Conference on Computer Graphics and Interactive Techniques. New York: ACM, 1992: 167-176. DOI:10.1145/133994.134035
doi: 10.1145/133994.134035
[13]   WEISS V, ANDOR L, RENNER G, et al. Advanced surface fitting techniques[J]. Computer Aided Geometric Design, 2002, 19(1): 19-42. DOI:10.1016/S0167-8396(01)00086-3
doi: 10.1016/S0167-8396(01)00086-3
[14]   LOTT N J, PULLIN D I. Method for fairing B-spline surfaces[J]. Computer-Aided Design, 1988, 20(10): 597-600. DOI:10.1016/0010-4485(88)90206-0
doi: 10.1016/0010-4485(88)90206-0
[15]   GREINER G. Variational design and fairing of spline surfaces[J]. Computer Graphics Forum, 2010, 13(3): 143-154. DOI:10.1111/1467-8659.1330143
doi: 10.1111/1467-8659.1330143
[16]   DIETZ U. Fair surface reconstruction from point clouds[C]// Proceedings of the International Conference on Mathematical Methods for Curves and Surfaces Ⅱ Lillehammer. New York: ACM, 1998: 79-86.
[17]   MAEKAWA T, MATSUMOTO Y, NAMIKI K. Interpolation by geometric algorithm[J]. Computer-Aided Design, 2007, 39(4): 313-323. DOI:10.1016/j.cad.2006.12.008
doi: 10.1016/j.cad.2006.12.008
[18]   KINERI Y, WANG M S, LIN H W, et al. B-spline surface fitting by iterative geometric interpolation/approximation algorithms[J]. Computer Aided Design, 2012, 44(7): 697-708. DOI:10.1016/j.cad.2012.02.011
doi: 10.1016/j.cad.2012.02.011
[19]   KINERI Y, ENDO S, MAEKAWA T. Surface design based on direct curvature editing[J]. Computer-Aided Design, 2014, 55(3): 1-12. DOI:10.1016/j.cad.2014.05.001
doi: 10.1016/j.cad.2014.05.001
[20]   YANG X N. Fitting and fairing Hermite-type data by matrix weighted NURBS curves[J]. Computer-Aided Design, 2018, 102: 22-32. DOI:10.1016/j.cad.2018.04.009
doi: 10.1016/j.cad.2018.04.009
[1] Wenting LI,Lulu WU,Jie ZHOU,Yong ZHAO. A 3D mesh segmentation algorithm based on graph attention network[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 811-819.
[2] Hongyu FAN,Pengbo BO. Parametric tread pattern model retrieval based on geometric features[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 803-810.
[3] Guanhua YANG,Lei WU,Qinghui WANG,Zipeng CHI. Multi-morphological design of TPMS-based microchannels with freeform boundary constraints[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 795-802.
[4] Xinjing LI,Wanbin PAN,Ye YANG,Yigang WANG,Cheng LIN. A double-level intelligent improvement approach for overhangs on side loss[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 781-794.
[5] Yujie LIU,Yafu YUAN,Xiaorui SUN,Zongmin LI. A point cloud processing network combining global and local information[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 770-780.
[6] Wei CHEN,Jinwen QI,Jian LI,Ruixia SONG. A fast algorithm for V-system[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 761-769.
[7] Peiquan ZHANG,Weiwei XU. Hash encoding empowered IRON for inverse rendering: Geometry and material reconstruction[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 754-760.
[8] Tianqi CHENG,Lei WANG,Xinping GUO,Yuwei WANG,Chunxiang LIU,Bin LI. LK-CAUNet: Large kernel multi-scale deformable medical image registration network based on cross-attention[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 745-753.
[9] Feng DOU,Huiwen MA,Xinyang XIE,Wanwen YANG,Xue SHI,Li HAN,Bin LIN. Unsupervised generalized functional map learning for arbitrary 3D shape dense correspondence[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 736-744.
[10] Zhaohui XIA,Jianli LIU,Baichuan GAO,Tao NIE,Chen YU,Long CHEN,Jingui YU. Efficient GPU parallel strategy for multi-scale topology optimization via asymptotic homogenization[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 722-735.
[11] Fei WANG,Weihong LI,Yu YANG,Dazhi JIANG,Baoquan ZHAO,Xiaonan LUO. Highly efficient fluid-solid coupled incompressible SPH simulation method for atherosclerotic plaque generation[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 711-721.
[12] Zechu ZHANG,Weilong PENG,Keke TANG,Zhaoyang YU,Asad Khan,Meie FANG. Reconstructing tooth meshes by pyramid diffeomorphic deformation from CBCT images[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 701-710.
[13] Hanyang MAO,Chen PENG,Chen LI,Changbo WANG. Neural marching cubes for open surfaces[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 692-700.
[14] Kehua SU,Bailüe LIU,Na LEI,Kehan LI,Xianfeng GU. Focus+Context visualization based on optimal mass transportation[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 681-691.
[15] Shengjun LIU,Zi TENG,Haibo WANG,Xinru LIU. Two-dimensional shape intrinsic symmetry detection algorithm based on functional map[J]. Journal of Zhejiang University (Science Edition), 2023, 50(6): 668-680.