Floating tangents for approximating spatial curves with G1 piecewise helices

Curves are widely used in computer science to describe real-life objects such as slender deformable structures. Using only 3 parameters per element, piecewise helices offer an interesting and compact way of representing digital curves. In this paper, we present a robust and fast algorithm to approximate Bezier curves with G1 piecewise helices. Our approximation algorithm takes a Bezier spline as input along with an integer N and returns a piecewise helix with N elements that closely approximates the input curve. The key idea of our method is to take N+1 evenly distributed points along the curve, together with their tangents, and interpolate these tangents with helices by slightly relaxing the points. Building on previous work, we generalize the proof for Ghosh?s co-helicity condition, which serves us to guarantee the correctness of our algorithm in the general case. Finally, we demonstrate both the efficiency and robustness of our method by successfully applying it to various datasets of increasing complexity, ranging from synthetic curves created by an artist to automatic image-based reconstructions of real data such as hair, heart muscular fibers or magnetic field lines of a star. Highlights? We propose a novel algorithm to fit G1 piecewise helices to spatial curves. ? Our method is based on points relaxation and tangents interpolation. ? We show that our method is fast, precise and scalable to complex input datasets.

[1]  Karan Singh,et al.  Sketch-based path design , 2009, Graphics Interface.

[2]  James M. Sloss,et al.  The bending of space curves into piecewise helical curves , 1970 .

[3]  Steve Marschner,et al.  Capturing hair assemblies fiber by fiber , 2009, ACM Trans. Graph..

[4]  Xuejin Chen,et al.  Sketch-based tree modeling using Markov random field , 2008, ACM Trans. Graph..

[5]  Damien Rohmer,et al.  Reconstruction and Visualization of Fiber and Laminar Structure in the Normal Human Heart from Ex Vivo Diffusion Tensor Magnetic Resonance Imaging (DTMRI) Data , 2007, Investigative radiology.

[6]  Alain Goriely,et al.  Polyhelices through n points , 2009, Int. J. Bioinform. Res. Appl..

[7]  Kun Zhou,et al.  Example-based hair geometry synthesis , 2009, ACM Trans. Graph..

[8]  Long Quan,et al.  Image-based tree modeling , 2007, SIGGRAPH 2007.

[9]  Ken Museth,et al.  Robust fitting of super-helices to parametric curves , 2007, SIGGRAPH '07.

[10]  Helmut Alt,et al.  Computing the Fréchet distance between two polygonal curves , 1995, Int. J. Comput. Geom. Appl..

[11]  Jarek Rossignac,et al.  Compressed piecewise-circular approximations of 3D curves , 2003, Comput. Aided Des..

[12]  Mark S. Miesch,et al.  MAGNETIC CYCLES IN A CONVECTIVE DYNAMO SIMULATION OF A YOUNG SOLAR-TYPE STAR , 2011, 1102.1993.

[13]  Rosemarie Swanson,et al.  Algorithms for Finding the Axis of a Helix: Fast Rotational and Parametric Least-squares Methods , 1996, Comput. Chem..

[14]  Marie-Paule Cani,et al.  Super-helices for predicting the dynamics of natural hair , 2006, SIGGRAPH 2006.

[15]  Joëlle Thollot,et al.  Stable inverse dynamic curves , 2010, ACM Trans. Graph..

[16]  Yves Nievergelt Fitting helices to data by total least squares , 1997, Comput. Aided Geom. Des..

[17]  Mitsuru Osaki,et al.  HELFIT: Helix fitting by a total least squares method , 2008, Comput. Biol. Chem..

[18]  Joëlle Thollot,et al.  3D inverse dynamic modeling of strands , 2011, SIGGRAPH '11.

[19]  Peter Savadjiev,et al.  3D curve inference for diffusion MRI regularization and fibre tractography , 2006, Medical Image Anal..

[20]  Ulrich Neumann,et al.  Interactive multiresolution hair modeling and editing , 2002, SIGGRAPH.

[21]  H. Mannila,et al.  Computing Discrete Fréchet Distance ∗ , 1994 .

[22]  K. M. Bolton Biarc curves , 1975, Comput. Aided Des..

[23]  Frédo Durand,et al.  Hair photobooth: geometric and photometric acquisition of real hairstyles , 2008, ACM Trans. Graph..

[24]  Kaleem Siddiqi,et al.  Generalized Helicoids for Modeling Hair Geometry , 2011, Comput. Graph. Forum.

[25]  Philip J. Schneider,et al.  An algorithm for automatically fitting digitized curves , 1990 .

[26]  Sunayana Ghosh,et al.  Geometric approximation of curves and singularities of secant maps : a differential geometric approach , 2010 .