SlideShare a Scribd company logo
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
DOI: 10.5121/ijcsit.2019.11504 51
ESTIMATING THE CREST LINES ON POLYGONAL
MESH MODELS BY AN AUTOMATIC THRESHOLD
Zhihong Mao, Ruichao Wang, Fan Liu and Yulin Zhou
Division of Intelligent Manufacturing, Wuyi University, Jiangmen529020, China
ABSTRACT
Crest lines convey the inherent features of the shape. Mathematically Crest lines are described via
extremes of the surface principal curvatures along their corresponding lines of curvature. In this study we
used an automatic threshold estimation technique to estimate crest lines. We firstly computed the principal
curvature and corresponding direction for each vertex in the mesh; then we computed the saliency value by
a linear combination of the maximal absolute curvature and the absolute curvature difference; finally, we
automatically determine the threshold to detect the crest lines according to the saliency value. For
illustrative purpose, we demonstrated our method with several examples.
KEY WORDS
Crest Lines, Polygonal Mesh Models, Curvature
1. INTRODUCTION
Digital geometry processing (DGP) is a new branch of computer graphics, which analyses and
processes the polygonal mesh models. Estimating the crest lines is an important area of DGP.
Many applications in mesh processing and analysis require the detection of crest lines, such as
simplification of 3D models, shape matching and shape editing of 3D models, 3D animations,
Medical imaging. Crest lines convey the inherent features of the shape. Mathematically Crest
lines are described via extremes of the surface principal curvatures along their corresponding
lines of curvature, which are traced by using high-order curvature derivatives.
Recent research in 3D computer graphics has focused on estimating the crest lines over triangle
mesh models [1-6]. The basic idea of these papers is first to robustly estimate surface principal
curvature and then to identify the crest lines as lines of curvature extremes. However, most 3D
models are collections of discrete triangular facets, which are not continuous parameterized.
Moreover, natural objects have various morphologies. So it is very difficult to find efficient
functions to describe these shapes, which makes it difficult to detect the crest lines on discrete
triangular mesh.
We present an automatic threshold estimation technique for robustly extracting crest lines on
polygonal mesh models based on the observation that polygonal surface models with features
usually contain many flat regions and a little sharp edges. Firstly, our method computed the
principal curvature and corresponding direction for each vertex in triangular mesh models; then
the method computed the saliency value [7, 8] by a linear combination of the maximal absolute
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
52
curvature and the absolute curvature difference, which can identify regions that are different from
their surrounding
context and reduce ambiguity in noisy circumstances; Finally, our method automatically
determines the threshold to detect the crest lines according to the saliency value.
2. RELATED WORK
Crest lines, sometimes called ridges and valleys or Feature lines, are invariant of transformation,
rotation and scale. They are the basis of mesh shape processing such as shape recognition,
matching and segmentation. With the continuous improvement of 3D scanning technology the
model becomes more and more detailed, making crest lines extraction techniques increasingly
popular in computer graphics [16, 17, 23]. Lee presented an image-based method to extract crest
lines on a rendered projection image by edge detection algorithm in image processing [16].
Although the algorithm is visually more pleasant and less computational complexity, the accuracy
of pixel-based representation method is lower. Model-based method extracts lines directly on
polygonal mesh models based on curvature, the differential geometric property of the surface.
Briefly, Curvature estimation methods can be categorized as follows: 1) Normal curvature
approximation method where the Weingarten matrix is used to estimate the principal curvature
and direction [9, 10]. 2) Surface (curve) fitting method where a polynomial surface (curve) is
fitted to points in a local region [11, 12]. 3) Discrete differential geometry method [13, 14] where
discrete versions of differential geometry theorems, such as the Laplace-Beltrami operator and
Gauss-Bonnet theorem, are developed and applied to the neighbourhood of each vertex. Now
model-based method dominates the field of 3D computer graphics. There are a number of lines
that serve to extract the geometric linear features of the surface. The first class is view-dependent
curves. The silhouette (contour) is the curves that are only defined with respect to a viewing
screen. Suggestive contours are contours that would first appear with a minimal change in
viewpoint [18]. Apparent ridges are defined as the ridges of view-dependent curvature, the
variation of surface normal with respect to a viewing screen plane [6]. View-dependent curves
depend on the viewing direction and produce visually pleasing line drawings. So they are usually
used for non-photorealistic rendering methods. The second class is view-independent curves that
depend only on the differential geometric properties of the surface. Many researchers have tried
to depict the shape of the 3D model with a high-quality crest lines. But the features are traced
using high-order curvature derivatives and are not easy to be detected from discrete surface. The
most common curves are ridges and valleys which occur at points of extremal principal
curvatures. This paper focuses on the problem of accurately detecting crest lines on surfaces.
Ohtake et al. [2] proposed a method for detecting ridge-valley lines by combining multi-level
implicit surface fitting and finite difference approximations. Because the method involves
computing curvature tensors and their derivatives at each vertex, it is time-consuming. Yoshizawa
[3] detected the crest lines based on a modification of Ohtake’s method. The method reduced the
computation times since Yoshizawa’s method estimated the surface derivatives via local
polynomial fitting. Soo-Kyun Kim [4] found ridges and valleys in a discrete surface using a
modified MLS approximation. The algorithm was quick because the modified MLS
approximation exploited locality. Stylianou and Farin [5] presented a reliable, automatic method
for extracting crest lines from triangulated meshes. The algorithm identified every crest point, and
then joined them using region growing and skeletonization.
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
53
However, a purely curvature-based metric may not necessarily be a good metric of crest lines
extraction. Non-uniform sampling, noise and irregularities of triangulation make the curvature-
based
method get false crest lines or incomplete crest lines. Saliency map [15] that assigns a saliency
value to each image pixel has done excellent work in image processing. By the saliency value,
salient image edges will be distinct from their surroundings. Encouraged by the success of the
method on 2D problem, Lee [7] introduces the idea of mesh saliency as a measure of regional
importance for graphics meshes. Lee discusses how to apply the saliency value to graphics
applications such as mesh simplification and viewpoint selection. Ran Gal [8] defined salient
geometric features for partial shape matching and similarity by the salient parts of an object. By
“salience of a part”, he captured the object’s shape with a small number of parts. He proposed
that the salience of a part depends on (at least) two factors: its size relative to the whole object,
the number of curvature changes and strength. Similar to the two methods, we will compute the
saliency value of each mesh point for our automatic algorithm.
Other types of curves aren’t defined as the maximum of curvature, but defined as the zero
crossings of some function of curvature. Demarcating curves [19] are the loci of points for which
there is a zero crossing of the curvature in the curvature gradient direction. Demarcating curves
can be viewed as the curves that typically separate ridges and valleys on 3D surface. Relief edges
[20] are defined as the zero crossing of the normal curvature in the direction perpendicular to the
edge. Compared to view-dependent curves, view-independent curves are locked to the object
surface, and do not slide when the viewpoint changes. Moreover, they are pure geometrical and
convey prominent and meaningful information about the shape. Our approach is closely related to
traditional ridges and valleys.
3. PRELIMINARIES
A good introduction to differential geometry can be found in [21]. We just recall some notions of
differential geometry, useful for the introduction of the extraction of crest lines on 3D meshes.
Figure 1. Normal section of surface S.
Differential geometry of a 2D manifold embedded in 3D is the study of the intrinsic properties of
the surface. Here, we will recall basic notions of differential geometry required in this paper. The
unit normal N of a surface S at p is the vector perpendicular to S , i.e., the tangent plane of S
at p . A normal section curve at p is constructed by intersecting S with a plane normal to it, i.e.,
a plane that contains N and a tangent direction T . The curvature of this curve is the normal
curvature of S in the direction T (See Fig.1).
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
54
Figure 2. Comparison of the detection algorithm by saliency values with the algorithm only by principal
curvatures. Left: Detect the feature lines only by principal curvatures; Right: Detect the feature lines by
saliency values, a measure of regional importance.
For a smooth surface, the normal curvature in direction V is VVV IIk T
)( , where the symmetric
matrix II is the second fundamental form. The eigenvalues of II are the principal curvature
values ),( minmax kk . The eigenvectors of II are the coordinates of the principal curvature
directions ),( minmax tt . Let maxe and mine be the derivatives of the principal curvatures minmax , kk
along their corresponding curvatures directions minmax ,tt . Mathematically crest lines are
described via extrema of the surface principal curvatures along their corresponding lines of
curvature:
||,0,0 minmaxmaxmaxmax kkee  t (Ridges) (1)
||,0,0 maxminminminmin kkee  t (Valleys) (2)
Figure 3. The saliency values can capture the interesting features at all perceptually meaningful scales and
reveals the difference between the vertex and its surrounding context. Left: Visualize the saliency values of
each mesh points with colour. Right: Visualize the principal curvature (max) of each mesh points with
colour.
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
55
4. AUTOMATIC METHOD FOR FEATURE DETECTION
4.1 Detect the Crest Points Via Local Polynomial Fitting
In order to achieve an accurate estimation of the crest lines, we used Stylianou[5] crest point
classification method to determine whether the main curvature kmax(kmin) of mesh points
reaches the maximum (minimum) value along its curvature line.
1. Calculate the intersection of the normal cross section, containing tmax and N, and the
neighborhood polygon of the target point p. Assuming that they intersect at the points a and
b, find the two ends of the edge where the points a and b are. For example, the two ends, pi
and pi+1, of the edge where the point a is.
2. The principal curvatures of the points of intersection a and b are calculated by linear
interpolation. For example, the principal curvature a
kmax of the point a is obtained by ip
kmax and
1
max
ip
k of the two ends pi and pi+1.
3. if 0)()( 2
max
2
max  ap
kk i
, 0)()( 2
max
2
max  bp
kk i
and maxmax Tk p
 ,then p is a crest
point. Here, 0max T is the threshold.
Computing of the crest points involves estimation of high-order surface derivatives, so these
surface features are very sensitive to noise and irregularities of the triangulation (see Fig.2).
4.2 Modify the Detection Algorithm by Saliency Values
Mesh saliency, a measure of regional importance, can identify regions that are different from their
surrounding context and reduce ambiguity in noisy circumstances. In this paper, the computation
of the salience value is built on the methods of the salience of visual parts proposed by Ran Gal
[8] and mesh saliency proposed by Lee [7]. Differing from the salient parts, we compute a
saliency value of each mesh point to identify mesh points that are different from their surrounding
context. We have modified their algorithms slightly to define a saliency value S as a linear
combination of two terms:
)()( pp VarWCurvWS 21  (5)
Where )(pCurv is the maximal absolute curvature of a point p and )(pVar is the absolute
curvature difference. The first term of equation (5) expresses the saliency of the mesh point. The
second term expresses the degree of the difference between the point and its surrounding context.
We use 0.4 for 1W and 0.6 for 2W . Let )(pk denote the maximal absolute value of the principal
curvatures and ))(( pkG denote the Gaussian-weighted average of )(pk ,







)(
22
)(
22
)]2/(||exp[
)]2/(||exp[)(
))((
pneighborx
pneighborx
k
kG


px
pxx
p (6)
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
56
 is a scale factor that is estimated by e  , where e is the average length of edges of the
mesh. We compute the saliency value )(pi of a vertex p as the absolute difference between the
Gaussian-weighted averages ))(( pkG computed at the two neighboring boundaries:
|)),(()1),((|)( KpkGKpkGpK  (7)
)( pVar is computed by an average value at multiple scales:


n
1K
)()( pKpVar  (8)
Where n is set 3 or 4. We define a salient geometric feature point as a measure of regional
importance which is salient and interesting compared to its neighborhood. The top graded points
define the salient geometric feature of a given shape. So it is better than the method extracting the
crest lines only by the curvature (see Fig.2 and Fig.3).
Figure 4. The comparison of the saliency algorithm with different thresholds. Left: Top 30% for ridge
points, bottom 30% for valley points;Middle: Top 20% for ridge points, bottom 25% for valley
points;Right: Top 8%for ridge points, bottom 15% for valley points.
4.3 An Automatic Crest Points Detection Method
Suppose that the surface points are composed of feature points and flat points. One obvious way
to extract the feature points on a mesh is to select a threshold T that separates these mesh points.
Because of its intuitive properties and simplicity of implementation, threshold method enjoys a
central position in applications of the extraction of the surface feature points. Unfortunately it is
difficult for a user to set the threshold if no any apriori knowledge (see Fig.4 and Fig.6)
Our automatic algorithm is based on the observation that polygonal surface models with features
usually contain many flat regions and a little sharp edges. Sorting the mesh saliency value of each
point by the ascending order, we can find: The saliency values begin to increase slowly and the
plot almost corresponds to a planar line, after arriving to a value, the plot rises steeply. Obviously,
flat regions correspond to the planar line part of the plot and sharp edges correspond to the steep
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
57
line part of the plot. So this value is the optimal threshold to extract the feature points (see Fig.5).
Finally, we summarize the automatic crest lines extraction algorithm as follows:
1. Estimate necessary surface curvature and their derivatives via local polynomial fitting.
2. Compute the saliency values as a measure of regional importance for graphics meshes.
3. Seek the optimal threshold by the analysis mentioned above.
4. Extract the feature points by the threshold.
For step 3, we give the pseudo-ode as follow:
Procedure SeekThreshold(saliency)
1. Quicksort (saliency) /* Sort the mesh saliency value of each point.*/
2. for i = vertex_num / 2 to vertex_num step k
/* vertex_num represents the number of mesh vertices. Firstly, we search the value
at a coarse scale, usually set /200vertex_numk  . */
2.1. im = saliency[i] – saliency[i-1]; 1im = saliency[i-1] – saliency[i-2]
2.2 if im > 1.3* 1im , then shrink the search range in size and repeat step 2 at a finer scale
till finding the threshold. /*From Fig.5 we can find the plot rises steeply, we used 1.3
for
the coefficient.*/
4.4 Generation of Crest Lines
Once the crests have been detected, we need to connect them together. We follow the procedure
proposed in [4] with an addition which can reduce the fragmentation of the crest lines:
1) Get the optimal threshold in section 4.3. Flag the vertex which saliency value is greater
than the threshold T as feature points set 1M . Flag the vertex which saliency value is
less than T and greater than 0.8*T as weak feature points set 2M . Define k-neighbor of
a point p as ),( kN p .
2) For a feature point p , examine the point q in )1,(pN . If only one point 1Mq , then
connect it to p .
3) If two or more points 2and,...,1,  nni1i Mq , then we connected p to one of them
by following the vertex iq corresponding to the smaller dihedral angle with the
orientation of the principal curvature.
4) No any point in 1M , but at least one point 2Mq . If having
)1,(and)1,( 1 pkkqk NMandN  , then connect p to q similarly following the
rule in step 2 and step 3.
Repeat step 2 to step 4.
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
58
Figure 5 Sort the mesh saliency value of each point by the ascending order, we can get a plot: Firstly, the
plot almost corresponds to a planar line, after arriving to a value, the plot rises steeply. Left: 3D model;
Right: The plot corresponding to the mesh saliency values by the ascending order.
5. RESULTS
For evaluating the effectiveness of our automatic mesh saliency method, this section shows
results of our algorithm and compares it to the user-specified threshold algorithm. All of our tests
were run on a PC with Intel® Core™ 2 1.73.GHz processor and 1.0 GB of main memory.
Figure 6 The comparison of the saliency algorithms with different thresholds and our automatic detection
algorithm. Upper Left: Top 25% for ridge points, bottom 30% for valley points;Upper Right: Top 15%
for ridge points, bottom 20% for valley points;Bottom Left: Top 5% for ridge points, bottom 5% for
valley points; Bottom Right: The automatic detection algorithm.
Fig.2 and 3 show some results. Fig.2 shows the comparison of the detection algorithm by saliency
values and the algorithm only by principal curvatures. Owing to its locality, the method only by
principal curvature is sensitive to noise and irregularities of the triangulation and usually
produces spurious crest lines. The result shows on the left of Fig.2. Mesh saliency that measure
the region importance at multiple scales in the neighborhood can reveal the difference between
the vertex and its surrounding context. So it can extract the most salient features points robustly.
The result on the right shows that the lines are clearly detected by saliency values. In Fig. 3, we
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
59
visualize the magnitude of principal curvature value and the saliency value of each point with
color on a bunny model. Warm color corresponds to the sharp features and cool color corresponds
to the flat regions. We can find that saliency values differentiate the neck and the leg from their
circumferences.
Fig.4 and Fig.6 show the comparison between the different thresholds. The surface points are
composed of feature points and flat points. One obvious way to extract the feature points on the
surface is to select a thresholdT , for example, TOP 20% means that the feature points are the top
20% points with high saliency values. But improper threshold produces many spurious crest lines.
Polygonal surface models can be roughly divided into two classes: CAD-like models showed in
Fig.6, which usually have large flat regions; Non-CAD-like model showed in Fig.4, which have
many fine details. We can’t find a unified threshold for the detection method. So how to decide
the threshold is a problem for user-specified threshold methods.
Fig.5 gives an analysis for the optimal threshold. On the left is the 3D model; on the right is the
corresponding plot of the saliency values in ascending order. The plot begins to rise slowly and
almost corresponds to a planar line, after arriving to a value (Flagged in red circle dot), the plot
rises steeply. The value at the red circle dot is the threshold we need. Fig.6 shows results from the
fandisk CAD model, in which our automatic method works well. Moreover, our method doesn’t
need a user to select the threshold. It is not easy for a user to modify the threshold if no any
apriori knowledge. Ohtake’s method [2, 22] is a reliable detection of ridge-valley structures on
surfaces approximated by dense triangle meshes and has become a representative method of crest
lines detection algorithm. Fig.7 shows that our automatic method almost has the same precise as
Ohtake’s method.
6. CONCLUSION
This paper has presented an automatic algorithm for the detection of crest lines on triangular
meshes basesssssd on the concept of salient geometric features. The utility of saliency values for
robustly detecting the crest lines on surface has been demonstrated. The results show saliency
values effectively capture important shape features.
Figure 7 Our automatic algorithm VS. Ohtake’s method, left: Our automatic algorithm; right: Ohtake’s
method.
Our automatic algorithm is a fully automatic method. It can advantageously select a “good”
threshold without any user intervention. The results show that our automatic algorithm can find
an optimal threshold to detect the crest lines on 3D meshes. In the future we intend to develop
data clustering method into the field of the crest lines detection.
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
60
ACKNOWLEDGEMENT
This study was supported by the Innovation projects of Department of Education of Guangdong
Province, China (NO.2017KTSCX183) and the Funding for Introduced Innovative R&D Team
Program of Jiangmen (Grant No.2018630100090019844).
REFERENCES
[1] Forrester Cole & Kevin Sanik, (2009) “How Well Do Line Drawings Depict Shape?”, ACM
Transaction on Graphics, Vol. 28, No.3, pp43-51.
[2] Ohtake Y. & Belyaev A., (2004) “Ridge-valley Lines on Meshes via Implicit Surface Fitting”, ACM
Transactions on Graphics, Vol. 23, No. 3, pp609-612.
[3] Shin Yoshizawa & Alexander Belyaev, (2005) “Fast and Robust Detection of Crest Lines on
Meshes”, Symposium on Solid and Physical Modeling’05, pp227-232.
[4] Soo-Kyun Kim & Chang-Hun Kim, (2006) “Finding Ridges and Valleys in A Discrete Surface
Using A Modified MLS Approximation”, Computer-Aided Design, Vol. 38, No.2, pp173-180.
[5] Georgios Stylianou & Gerald Farin, (2004) “Crest Lines for Surface Segmentation and Flattening”,
IEEE Transaction on Visualization and Computer Graphics, Vol. 10, No. 5, pp536-543.
[6] Tilke Judd & Fredo Durand, (2007) “Apparent ridges for line drawing”, ACM Transactions on
Graphics, Vol. 26, No. 3, pp19-26.
[7] Chang Ha Lee & Amitabh Varshney, (2005) “Mesh Saliency”. Proceedings of ACM Siggraph’05,
pp659-666.
[8] Ran Gal & Daniel Cohen-Or, (2006) “Salient Geometric Features for Partial Shape Matching and
Similarity”, ACM Transactions on Graphics, Vol. 25, No. 1, pp130-150.
[9] Taubin G, (1995) “Estimating the Tensor of Curvature of a Surface from a Polyhedral
Approximation”, In Proceedings of Fifth International Conference on Computer Vision’95, pp902-
907.
[10] Sachin Nigam & Vandana Agrawal, (2013) “A Review: Curvature approximation on triangular
meshes”, Int. J. of Engineering science and Innovative Technology, Vol. 2, No. 3, pp330-339
[11] Xunnian Yang & Jiamin Zheng, (2013) “Curvature tensor computation by piecewise surface
interpolation”, Computer Aided Design, Vol. 45, No. 12, pp1639-1650.
[12] Gady Agam & Xiaojing Tang, (2005) “A Sampling Framework for Accurate Curvature Estimation
in Discrete Surfaces”, IEEE Transaction on Visu alization and Computer Graphics, Vol. 11, No. 5,
pp573-582.
[13] Meyer M. & Desbrun M., (2003) “Discrete Differential-geometry Operators for Triangulated 2-
manifolds”, In Visualization and Mathematics III’03, pp35-57.
[14] Stupariu & Mihai-Sorin, (2016) “An application of triangle mesh models in detecting patterns of
vegetation”, WSCG’2016, pp87-90.
International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019
61
[15] Chen L. & Xie X., (2003) “A visual attention model for adapting images on small displays”, ACM
Multimedia Systems Journal, Vol. 9, No. 4, pp353-364.
[16] Lee, Y. & Markosian, L., (2007) “Line drawings via abstracted shading”, ACM Transactions on
Graphics, Vol. 26, No. 3, pp1-9.
[17] Chen, J. S.-S. and H.-Y. Feng, (2017) “Idealization of scanning-derived triangle mesh models of
prismatic engineering parts”, International Journal on Interactive Design and Manufacturing, Vol.
11, No. 2, pp205-221.
[18] Decarlo D. & Finkelstein A., (2003) “Suggestive Contours for Conveying Shape”, ACM
Transactions on Graphics, Vol.22, No. 3, pp848-855.
[19] M. Kolomenkin & I. Shimshoni, (2008) “Demarcating curves for shape illustration”, ACM
Transactions on Graphics, Vol.27, No.5, pp157-166.
[20] M. Kolomenkin & I. Shimshoni, (2009) “On Edge Detection on Surface”, 2012 IEEE Conference on
Computer Vision and Pattern Recognition, pp2767-2774.
[21] M. P. Do Carmo (2004) Differential geometry of curves and surfaces, Book, China Machine Press.
[22] A. Belyaev & P.-A. Fayolle, (2013) “Signed Lp-distance fields”, CAD, Vol.45, No. 2, pp523-528.
[23] Y Zhang & G Geng, (2016) “A statistical approach for extraction of feature lines from point clouds”,
Computers & Graphics, Vol. 56, No. 3, pp31-45.
AUTHORS:
Zhihong Mao received his PhD degree at Department of Computer Science and
Engineering, Shanghai Jiao Tong University. He is now a teacher at Division of
Intelligent Manufacturing, Wuyi University, China. His research interests include
computer aided design and Digital Geometry Processing.
Ruichao Wang received his PhD degree at Department of Mechanical and
Automotive Engineering, South China University of Technology. He is now a
teacher at Division of Intelligent Manufacturing, Wuyi University, China. His
research interests include Intelligent manufacturing and industrial robot
technology, precision numerical control technology, digital power inverter
technology
Fan Liu was born in 1996. He is now a Master Candidate at Division of
Intelligent Manufacturing, Wuyi University, China. His research interests include
Reverse Engineering.
Yulin Zhou was born in 1995. She is now a Master Candidate at Division of
Intelligent Manufacturing, Wuyi University, China. Her research interests include
computer aided design.

More Related Content

PPT
Geometric modeling
PDF
3D Mesh Segmentation using Local Geometry
PDF
3D M ESH S EGMENTATION U SING L OCAL G EOMETRY
PDF
2D Shape Reconstruction Based on Combined Skeleton-Boundary Features
PPT
Introduction to solid modeling
PPTX
Solid modelling cg
PPTX
CAD - UNIT 2 (Geometric Modelling)
Geometric modeling
3D Mesh Segmentation using Local Geometry
3D M ESH S EGMENTATION U SING L OCAL G EOMETRY
2D Shape Reconstruction Based on Combined Skeleton-Boundary Features
Introduction to solid modeling
Solid modelling cg
CAD - UNIT 2 (Geometric Modelling)

What's hot (18)

PPTX
Solid modeling
PDF
5 geometric-modeling-ppt-university-of-victoria
PPTX
Polygon mesh
PPTX
ppt of solid modeling for cad
PDF
ME6501 Unit 2 geometric modeling
PPTX
Assembly of Parts
PDF
Image segmentation Based on Chan-Vese Active Contours using Finite Difference...
PPT
Geometric Modeling
PPTX
Solidmodelling
PDF
Unit 3 visual realism
PDF
Solid Modeling Schemes CAM
 
PDF
A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...
PDF
57892883 geometric-modeling
PDF
187186134 5-geometric-modeling
PDF
Nose Tip Detection Using Shape index and Energy Effective for 3d Face Recogni...
PDF
Solving the Pose Ambiguity via a Simple Concentric Circle Constraint
PPT
Geometric modeling111431635 geometric-modeling-glad (1)
PDF
Curves and surfaces
Solid modeling
5 geometric-modeling-ppt-university-of-victoria
Polygon mesh
ppt of solid modeling for cad
ME6501 Unit 2 geometric modeling
Assembly of Parts
Image segmentation Based on Chan-Vese Active Contours using Finite Difference...
Geometric Modeling
Solidmodelling
Unit 3 visual realism
Solid Modeling Schemes CAM
 
A Method to Determine End-Points ofStraight Lines Detected Using the Hough Tr...
57892883 geometric-modeling
187186134 5-geometric-modeling
Nose Tip Detection Using Shape index and Energy Effective for 3d Face Recogni...
Solving the Pose Ambiguity via a Simple Concentric Circle Constraint
Geometric modeling111431635 geometric-modeling-glad (1)
Curves and surfaces
Ad

Similar to Estimating the Crest Lines on Polygonal Mesh Models by an Automatic Threshold (20)

PDF
3D Mesh Segmentation using Local Geometry
PPTX
3D-Object Representation in Computer Graphics.pptx
PDF
A Survey On Different Methods Of Edge Detection
PDF
SEGMENTATION AND CLASSIFICATION OF POINT CLOUDS FROM DENSE AERIAL IMAGE MATCHING
PDF
Conceptual and Practical Examination of Several Edge Detection Strategies
PPTX
3D Graphics : Computer Graphics Fundamentals
PDF
Image Segmentation from RGBD Images by 3D Point Cloud Attributes and High-Lev...
PDF
Honours_Thesis2015_final
PPT
Image Segmentation with Fundamentals, Point, Line, and Edge Detection, Thres...
PPT
digital image processing classification.ppt
PPTX
Features image processing and Extaction
PDF
Visual surface detection computer graphics
PDF
ModelingOfUnsegmentedCloudPointData-RP-SanjayShukla
PPT
ImageSegmentation.ppt
PPT
ImageSegmentation (1).ppt
PPT
ImageSegmentation.ppt
PPT
Image segmentation
PDF
Extended hybrid region growing segmentation of point clouds with different re...
PDF
EXTENDED HYBRID REGION GROWING SEGMENTATION OF POINT CLOUDS WITH DIFFERENT RE...
PDF
A Hybrid Technique for Shape Matching Based on chain code and DFS Tree
3D Mesh Segmentation using Local Geometry
3D-Object Representation in Computer Graphics.pptx
A Survey On Different Methods Of Edge Detection
SEGMENTATION AND CLASSIFICATION OF POINT CLOUDS FROM DENSE AERIAL IMAGE MATCHING
Conceptual and Practical Examination of Several Edge Detection Strategies
3D Graphics : Computer Graphics Fundamentals
Image Segmentation from RGBD Images by 3D Point Cloud Attributes and High-Lev...
Honours_Thesis2015_final
Image Segmentation with Fundamentals, Point, Line, and Edge Detection, Thres...
digital image processing classification.ppt
Features image processing and Extaction
Visual surface detection computer graphics
ModelingOfUnsegmentedCloudPointData-RP-SanjayShukla
ImageSegmentation.ppt
ImageSegmentation (1).ppt
ImageSegmentation.ppt
Image segmentation
Extended hybrid region growing segmentation of point clouds with different re...
EXTENDED HYBRID REGION GROWING SEGMENTATION OF POINT CLOUDS WITH DIFFERENT RE...
A Hybrid Technique for Shape Matching Based on chain code and DFS Tree
Ad

More from AIRCC Publishing Corporation (20)

PDF
Computer Vision Based Fall Detection Methods Using the Kinect Camera : A Survey
PDF
Models of IT-Project Management - ijcst journal
PDF
Open Source Technology : An Emerging and Vital Paradigm in Institutions of Le...
PDF
Improved Computing Performance for Listing Combinatorial Algorithms Using Mul...
PDF
Simulation of Software Defined Networks with Open Network Operating System an...
PDF
CFP : 17th International Conference on Wireless & Mobile Network (WiMo 2025
PDF
Online Legal Service : The Present and Future
PDF
Applying Cfahp to Explore the Key Models of Semiconductor Pre-Sales
PDF
Hybrid Transformer-Based Classification for Web-Based Injection Attack Detect...
PDF
CFP : 6 th International Conference on Natural Language Processing and Applic...
PDF
Dual Edge-Triggered D-Type Flip-Flop with Low Power Consumption
PDF
Analytical Method for Modeling PBX Systems for Small Enterprise
PDF
CFP : 12th International Conference on Computer Science, Engineering and Info...
PDF
CFP: 14th International Conference on Advanced Computer Science and Informati...
PDF
Investigating the Determinants of College Students Information Security Behav...
PDF
CFP : 9 th International Conference on Computer Science and Information Techn...
PDF
CFP : 6 th International Conference on Artificial Intelligence and Machine Le...
PDF
Remotely View User Activities and Impose Rules and Penalties in a Local Area ...
PDF
April 2025-: Top Read Articles in Computer Science & Information Technology
PDF
March 2025-: Top Cited Articles in Computer Science & Information Technology
Computer Vision Based Fall Detection Methods Using the Kinect Camera : A Survey
Models of IT-Project Management - ijcst journal
Open Source Technology : An Emerging and Vital Paradigm in Institutions of Le...
Improved Computing Performance for Listing Combinatorial Algorithms Using Mul...
Simulation of Software Defined Networks with Open Network Operating System an...
CFP : 17th International Conference on Wireless & Mobile Network (WiMo 2025
Online Legal Service : The Present and Future
Applying Cfahp to Explore the Key Models of Semiconductor Pre-Sales
Hybrid Transformer-Based Classification for Web-Based Injection Attack Detect...
CFP : 6 th International Conference on Natural Language Processing and Applic...
Dual Edge-Triggered D-Type Flip-Flop with Low Power Consumption
Analytical Method for Modeling PBX Systems for Small Enterprise
CFP : 12th International Conference on Computer Science, Engineering and Info...
CFP: 14th International Conference on Advanced Computer Science and Informati...
Investigating the Determinants of College Students Information Security Behav...
CFP : 9 th International Conference on Computer Science and Information Techn...
CFP : 6 th International Conference on Artificial Intelligence and Machine Le...
Remotely View User Activities and Impose Rules and Penalties in a Local Area ...
April 2025-: Top Read Articles in Computer Science & Information Technology
March 2025-: Top Cited Articles in Computer Science & Information Technology

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPT
Total quality management ppt for engineering students
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
PPT on Performance Review to get promotions
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPT
introduction to datamining and warehousing
PPTX
introduction to high performance computing
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
Artificial Intelligence
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Total quality management ppt for engineering students
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT on Performance Review to get promotions
R24 SURVEYING LAB MANUAL for civil enggi
introduction to datamining and warehousing
introduction to high performance computing
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Safety Seminar civil to be ensured for safe working.
Visual Aids for Exploratory Data Analysis.pdf
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Automation-in-Manufacturing-Chapter-Introduction.pdf
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Exploratory_Data_Analysis_Fundamentals.pdf
Artificial Intelligence
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION

Estimating the Crest Lines on Polygonal Mesh Models by an Automatic Threshold

  • 1. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 DOI: 10.5121/ijcsit.2019.11504 51 ESTIMATING THE CREST LINES ON POLYGONAL MESH MODELS BY AN AUTOMATIC THRESHOLD Zhihong Mao, Ruichao Wang, Fan Liu and Yulin Zhou Division of Intelligent Manufacturing, Wuyi University, Jiangmen529020, China ABSTRACT Crest lines convey the inherent features of the shape. Mathematically Crest lines are described via extremes of the surface principal curvatures along their corresponding lines of curvature. In this study we used an automatic threshold estimation technique to estimate crest lines. We firstly computed the principal curvature and corresponding direction for each vertex in the mesh; then we computed the saliency value by a linear combination of the maximal absolute curvature and the absolute curvature difference; finally, we automatically determine the threshold to detect the crest lines according to the saliency value. For illustrative purpose, we demonstrated our method with several examples. KEY WORDS Crest Lines, Polygonal Mesh Models, Curvature 1. INTRODUCTION Digital geometry processing (DGP) is a new branch of computer graphics, which analyses and processes the polygonal mesh models. Estimating the crest lines is an important area of DGP. Many applications in mesh processing and analysis require the detection of crest lines, such as simplification of 3D models, shape matching and shape editing of 3D models, 3D animations, Medical imaging. Crest lines convey the inherent features of the shape. Mathematically Crest lines are described via extremes of the surface principal curvatures along their corresponding lines of curvature, which are traced by using high-order curvature derivatives. Recent research in 3D computer graphics has focused on estimating the crest lines over triangle mesh models [1-6]. The basic idea of these papers is first to robustly estimate surface principal curvature and then to identify the crest lines as lines of curvature extremes. However, most 3D models are collections of discrete triangular facets, which are not continuous parameterized. Moreover, natural objects have various morphologies. So it is very difficult to find efficient functions to describe these shapes, which makes it difficult to detect the crest lines on discrete triangular mesh. We present an automatic threshold estimation technique for robustly extracting crest lines on polygonal mesh models based on the observation that polygonal surface models with features usually contain many flat regions and a little sharp edges. Firstly, our method computed the principal curvature and corresponding direction for each vertex in triangular mesh models; then the method computed the saliency value [7, 8] by a linear combination of the maximal absolute
  • 2. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 52 curvature and the absolute curvature difference, which can identify regions that are different from their surrounding context and reduce ambiguity in noisy circumstances; Finally, our method automatically determines the threshold to detect the crest lines according to the saliency value. 2. RELATED WORK Crest lines, sometimes called ridges and valleys or Feature lines, are invariant of transformation, rotation and scale. They are the basis of mesh shape processing such as shape recognition, matching and segmentation. With the continuous improvement of 3D scanning technology the model becomes more and more detailed, making crest lines extraction techniques increasingly popular in computer graphics [16, 17, 23]. Lee presented an image-based method to extract crest lines on a rendered projection image by edge detection algorithm in image processing [16]. Although the algorithm is visually more pleasant and less computational complexity, the accuracy of pixel-based representation method is lower. Model-based method extracts lines directly on polygonal mesh models based on curvature, the differential geometric property of the surface. Briefly, Curvature estimation methods can be categorized as follows: 1) Normal curvature approximation method where the Weingarten matrix is used to estimate the principal curvature and direction [9, 10]. 2) Surface (curve) fitting method where a polynomial surface (curve) is fitted to points in a local region [11, 12]. 3) Discrete differential geometry method [13, 14] where discrete versions of differential geometry theorems, such as the Laplace-Beltrami operator and Gauss-Bonnet theorem, are developed and applied to the neighbourhood of each vertex. Now model-based method dominates the field of 3D computer graphics. There are a number of lines that serve to extract the geometric linear features of the surface. The first class is view-dependent curves. The silhouette (contour) is the curves that are only defined with respect to a viewing screen. Suggestive contours are contours that would first appear with a minimal change in viewpoint [18]. Apparent ridges are defined as the ridges of view-dependent curvature, the variation of surface normal with respect to a viewing screen plane [6]. View-dependent curves depend on the viewing direction and produce visually pleasing line drawings. So they are usually used for non-photorealistic rendering methods. The second class is view-independent curves that depend only on the differential geometric properties of the surface. Many researchers have tried to depict the shape of the 3D model with a high-quality crest lines. But the features are traced using high-order curvature derivatives and are not easy to be detected from discrete surface. The most common curves are ridges and valleys which occur at points of extremal principal curvatures. This paper focuses on the problem of accurately detecting crest lines on surfaces. Ohtake et al. [2] proposed a method for detecting ridge-valley lines by combining multi-level implicit surface fitting and finite difference approximations. Because the method involves computing curvature tensors and their derivatives at each vertex, it is time-consuming. Yoshizawa [3] detected the crest lines based on a modification of Ohtake’s method. The method reduced the computation times since Yoshizawa’s method estimated the surface derivatives via local polynomial fitting. Soo-Kyun Kim [4] found ridges and valleys in a discrete surface using a modified MLS approximation. The algorithm was quick because the modified MLS approximation exploited locality. Stylianou and Farin [5] presented a reliable, automatic method for extracting crest lines from triangulated meshes. The algorithm identified every crest point, and then joined them using region growing and skeletonization.
  • 3. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 53 However, a purely curvature-based metric may not necessarily be a good metric of crest lines extraction. Non-uniform sampling, noise and irregularities of triangulation make the curvature- based method get false crest lines or incomplete crest lines. Saliency map [15] that assigns a saliency value to each image pixel has done excellent work in image processing. By the saliency value, salient image edges will be distinct from their surroundings. Encouraged by the success of the method on 2D problem, Lee [7] introduces the idea of mesh saliency as a measure of regional importance for graphics meshes. Lee discusses how to apply the saliency value to graphics applications such as mesh simplification and viewpoint selection. Ran Gal [8] defined salient geometric features for partial shape matching and similarity by the salient parts of an object. By “salience of a part”, he captured the object’s shape with a small number of parts. He proposed that the salience of a part depends on (at least) two factors: its size relative to the whole object, the number of curvature changes and strength. Similar to the two methods, we will compute the saliency value of each mesh point for our automatic algorithm. Other types of curves aren’t defined as the maximum of curvature, but defined as the zero crossings of some function of curvature. Demarcating curves [19] are the loci of points for which there is a zero crossing of the curvature in the curvature gradient direction. Demarcating curves can be viewed as the curves that typically separate ridges and valleys on 3D surface. Relief edges [20] are defined as the zero crossing of the normal curvature in the direction perpendicular to the edge. Compared to view-dependent curves, view-independent curves are locked to the object surface, and do not slide when the viewpoint changes. Moreover, they are pure geometrical and convey prominent and meaningful information about the shape. Our approach is closely related to traditional ridges and valleys. 3. PRELIMINARIES A good introduction to differential geometry can be found in [21]. We just recall some notions of differential geometry, useful for the introduction of the extraction of crest lines on 3D meshes. Figure 1. Normal section of surface S. Differential geometry of a 2D manifold embedded in 3D is the study of the intrinsic properties of the surface. Here, we will recall basic notions of differential geometry required in this paper. The unit normal N of a surface S at p is the vector perpendicular to S , i.e., the tangent plane of S at p . A normal section curve at p is constructed by intersecting S with a plane normal to it, i.e., a plane that contains N and a tangent direction T . The curvature of this curve is the normal curvature of S in the direction T (See Fig.1).
  • 4. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 54 Figure 2. Comparison of the detection algorithm by saliency values with the algorithm only by principal curvatures. Left: Detect the feature lines only by principal curvatures; Right: Detect the feature lines by saliency values, a measure of regional importance. For a smooth surface, the normal curvature in direction V is VVV IIk T )( , where the symmetric matrix II is the second fundamental form. The eigenvalues of II are the principal curvature values ),( minmax kk . The eigenvectors of II are the coordinates of the principal curvature directions ),( minmax tt . Let maxe and mine be the derivatives of the principal curvatures minmax , kk along their corresponding curvatures directions minmax ,tt . Mathematically crest lines are described via extrema of the surface principal curvatures along their corresponding lines of curvature: ||,0,0 minmaxmaxmaxmax kkee  t (Ridges) (1) ||,0,0 maxminminminmin kkee  t (Valleys) (2) Figure 3. The saliency values can capture the interesting features at all perceptually meaningful scales and reveals the difference between the vertex and its surrounding context. Left: Visualize the saliency values of each mesh points with colour. Right: Visualize the principal curvature (max) of each mesh points with colour.
  • 5. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 55 4. AUTOMATIC METHOD FOR FEATURE DETECTION 4.1 Detect the Crest Points Via Local Polynomial Fitting In order to achieve an accurate estimation of the crest lines, we used Stylianou[5] crest point classification method to determine whether the main curvature kmax(kmin) of mesh points reaches the maximum (minimum) value along its curvature line. 1. Calculate the intersection of the normal cross section, containing tmax and N, and the neighborhood polygon of the target point p. Assuming that they intersect at the points a and b, find the two ends of the edge where the points a and b are. For example, the two ends, pi and pi+1, of the edge where the point a is. 2. The principal curvatures of the points of intersection a and b are calculated by linear interpolation. For example, the principal curvature a kmax of the point a is obtained by ip kmax and 1 max ip k of the two ends pi and pi+1. 3. if 0)()( 2 max 2 max  ap kk i , 0)()( 2 max 2 max  bp kk i and maxmax Tk p  ,then p is a crest point. Here, 0max T is the threshold. Computing of the crest points involves estimation of high-order surface derivatives, so these surface features are very sensitive to noise and irregularities of the triangulation (see Fig.2). 4.2 Modify the Detection Algorithm by Saliency Values Mesh saliency, a measure of regional importance, can identify regions that are different from their surrounding context and reduce ambiguity in noisy circumstances. In this paper, the computation of the salience value is built on the methods of the salience of visual parts proposed by Ran Gal [8] and mesh saliency proposed by Lee [7]. Differing from the salient parts, we compute a saliency value of each mesh point to identify mesh points that are different from their surrounding context. We have modified their algorithms slightly to define a saliency value S as a linear combination of two terms: )()( pp VarWCurvWS 21  (5) Where )(pCurv is the maximal absolute curvature of a point p and )(pVar is the absolute curvature difference. The first term of equation (5) expresses the saliency of the mesh point. The second term expresses the degree of the difference between the point and its surrounding context. We use 0.4 for 1W and 0.6 for 2W . Let )(pk denote the maximal absolute value of the principal curvatures and ))(( pkG denote the Gaussian-weighted average of )(pk ,        )( 22 )( 22 )]2/(||exp[ )]2/(||exp[)( ))(( pneighborx pneighborx k kG   px pxx p (6)
  • 6. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 56  is a scale factor that is estimated by e  , where e is the average length of edges of the mesh. We compute the saliency value )(pi of a vertex p as the absolute difference between the Gaussian-weighted averages ))(( pkG computed at the two neighboring boundaries: |)),(()1),((|)( KpkGKpkGpK  (7) )( pVar is computed by an average value at multiple scales:   n 1K )()( pKpVar  (8) Where n is set 3 or 4. We define a salient geometric feature point as a measure of regional importance which is salient and interesting compared to its neighborhood. The top graded points define the salient geometric feature of a given shape. So it is better than the method extracting the crest lines only by the curvature (see Fig.2 and Fig.3). Figure 4. The comparison of the saliency algorithm with different thresholds. Left: Top 30% for ridge points, bottom 30% for valley points;Middle: Top 20% for ridge points, bottom 25% for valley points;Right: Top 8%for ridge points, bottom 15% for valley points. 4.3 An Automatic Crest Points Detection Method Suppose that the surface points are composed of feature points and flat points. One obvious way to extract the feature points on a mesh is to select a threshold T that separates these mesh points. Because of its intuitive properties and simplicity of implementation, threshold method enjoys a central position in applications of the extraction of the surface feature points. Unfortunately it is difficult for a user to set the threshold if no any apriori knowledge (see Fig.4 and Fig.6) Our automatic algorithm is based on the observation that polygonal surface models with features usually contain many flat regions and a little sharp edges. Sorting the mesh saliency value of each point by the ascending order, we can find: The saliency values begin to increase slowly and the plot almost corresponds to a planar line, after arriving to a value, the plot rises steeply. Obviously, flat regions correspond to the planar line part of the plot and sharp edges correspond to the steep
  • 7. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 57 line part of the plot. So this value is the optimal threshold to extract the feature points (see Fig.5). Finally, we summarize the automatic crest lines extraction algorithm as follows: 1. Estimate necessary surface curvature and their derivatives via local polynomial fitting. 2. Compute the saliency values as a measure of regional importance for graphics meshes. 3. Seek the optimal threshold by the analysis mentioned above. 4. Extract the feature points by the threshold. For step 3, we give the pseudo-ode as follow: Procedure SeekThreshold(saliency) 1. Quicksort (saliency) /* Sort the mesh saliency value of each point.*/ 2. for i = vertex_num / 2 to vertex_num step k /* vertex_num represents the number of mesh vertices. Firstly, we search the value at a coarse scale, usually set /200vertex_numk  . */ 2.1. im = saliency[i] – saliency[i-1]; 1im = saliency[i-1] – saliency[i-2] 2.2 if im > 1.3* 1im , then shrink the search range in size and repeat step 2 at a finer scale till finding the threshold. /*From Fig.5 we can find the plot rises steeply, we used 1.3 for the coefficient.*/ 4.4 Generation of Crest Lines Once the crests have been detected, we need to connect them together. We follow the procedure proposed in [4] with an addition which can reduce the fragmentation of the crest lines: 1) Get the optimal threshold in section 4.3. Flag the vertex which saliency value is greater than the threshold T as feature points set 1M . Flag the vertex which saliency value is less than T and greater than 0.8*T as weak feature points set 2M . Define k-neighbor of a point p as ),( kN p . 2) For a feature point p , examine the point q in )1,(pN . If only one point 1Mq , then connect it to p . 3) If two or more points 2and,...,1,  nni1i Mq , then we connected p to one of them by following the vertex iq corresponding to the smaller dihedral angle with the orientation of the principal curvature. 4) No any point in 1M , but at least one point 2Mq . If having )1,(and)1,( 1 pkkqk NMandN  , then connect p to q similarly following the rule in step 2 and step 3. Repeat step 2 to step 4.
  • 8. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 58 Figure 5 Sort the mesh saliency value of each point by the ascending order, we can get a plot: Firstly, the plot almost corresponds to a planar line, after arriving to a value, the plot rises steeply. Left: 3D model; Right: The plot corresponding to the mesh saliency values by the ascending order. 5. RESULTS For evaluating the effectiveness of our automatic mesh saliency method, this section shows results of our algorithm and compares it to the user-specified threshold algorithm. All of our tests were run on a PC with Intel® Core™ 2 1.73.GHz processor and 1.0 GB of main memory. Figure 6 The comparison of the saliency algorithms with different thresholds and our automatic detection algorithm. Upper Left: Top 25% for ridge points, bottom 30% for valley points;Upper Right: Top 15% for ridge points, bottom 20% for valley points;Bottom Left: Top 5% for ridge points, bottom 5% for valley points; Bottom Right: The automatic detection algorithm. Fig.2 and 3 show some results. Fig.2 shows the comparison of the detection algorithm by saliency values and the algorithm only by principal curvatures. Owing to its locality, the method only by principal curvature is sensitive to noise and irregularities of the triangulation and usually produces spurious crest lines. The result shows on the left of Fig.2. Mesh saliency that measure the region importance at multiple scales in the neighborhood can reveal the difference between the vertex and its surrounding context. So it can extract the most salient features points robustly. The result on the right shows that the lines are clearly detected by saliency values. In Fig. 3, we
  • 9. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 59 visualize the magnitude of principal curvature value and the saliency value of each point with color on a bunny model. Warm color corresponds to the sharp features and cool color corresponds to the flat regions. We can find that saliency values differentiate the neck and the leg from their circumferences. Fig.4 and Fig.6 show the comparison between the different thresholds. The surface points are composed of feature points and flat points. One obvious way to extract the feature points on the surface is to select a thresholdT , for example, TOP 20% means that the feature points are the top 20% points with high saliency values. But improper threshold produces many spurious crest lines. Polygonal surface models can be roughly divided into two classes: CAD-like models showed in Fig.6, which usually have large flat regions; Non-CAD-like model showed in Fig.4, which have many fine details. We can’t find a unified threshold for the detection method. So how to decide the threshold is a problem for user-specified threshold methods. Fig.5 gives an analysis for the optimal threshold. On the left is the 3D model; on the right is the corresponding plot of the saliency values in ascending order. The plot begins to rise slowly and almost corresponds to a planar line, after arriving to a value (Flagged in red circle dot), the plot rises steeply. The value at the red circle dot is the threshold we need. Fig.6 shows results from the fandisk CAD model, in which our automatic method works well. Moreover, our method doesn’t need a user to select the threshold. It is not easy for a user to modify the threshold if no any apriori knowledge. Ohtake’s method [2, 22] is a reliable detection of ridge-valley structures on surfaces approximated by dense triangle meshes and has become a representative method of crest lines detection algorithm. Fig.7 shows that our automatic method almost has the same precise as Ohtake’s method. 6. CONCLUSION This paper has presented an automatic algorithm for the detection of crest lines on triangular meshes basesssssd on the concept of salient geometric features. The utility of saliency values for robustly detecting the crest lines on surface has been demonstrated. The results show saliency values effectively capture important shape features. Figure 7 Our automatic algorithm VS. Ohtake’s method, left: Our automatic algorithm; right: Ohtake’s method. Our automatic algorithm is a fully automatic method. It can advantageously select a “good” threshold without any user intervention. The results show that our automatic algorithm can find an optimal threshold to detect the crest lines on 3D meshes. In the future we intend to develop data clustering method into the field of the crest lines detection.
  • 10. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 60 ACKNOWLEDGEMENT This study was supported by the Innovation projects of Department of Education of Guangdong Province, China (NO.2017KTSCX183) and the Funding for Introduced Innovative R&D Team Program of Jiangmen (Grant No.2018630100090019844). REFERENCES [1] Forrester Cole & Kevin Sanik, (2009) “How Well Do Line Drawings Depict Shape?”, ACM Transaction on Graphics, Vol. 28, No.3, pp43-51. [2] Ohtake Y. & Belyaev A., (2004) “Ridge-valley Lines on Meshes via Implicit Surface Fitting”, ACM Transactions on Graphics, Vol. 23, No. 3, pp609-612. [3] Shin Yoshizawa & Alexander Belyaev, (2005) “Fast and Robust Detection of Crest Lines on Meshes”, Symposium on Solid and Physical Modeling’05, pp227-232. [4] Soo-Kyun Kim & Chang-Hun Kim, (2006) “Finding Ridges and Valleys in A Discrete Surface Using A Modified MLS Approximation”, Computer-Aided Design, Vol. 38, No.2, pp173-180. [5] Georgios Stylianou & Gerald Farin, (2004) “Crest Lines for Surface Segmentation and Flattening”, IEEE Transaction on Visualization and Computer Graphics, Vol. 10, No. 5, pp536-543. [6] Tilke Judd & Fredo Durand, (2007) “Apparent ridges for line drawing”, ACM Transactions on Graphics, Vol. 26, No. 3, pp19-26. [7] Chang Ha Lee & Amitabh Varshney, (2005) “Mesh Saliency”. Proceedings of ACM Siggraph’05, pp659-666. [8] Ran Gal & Daniel Cohen-Or, (2006) “Salient Geometric Features for Partial Shape Matching and Similarity”, ACM Transactions on Graphics, Vol. 25, No. 1, pp130-150. [9] Taubin G, (1995) “Estimating the Tensor of Curvature of a Surface from a Polyhedral Approximation”, In Proceedings of Fifth International Conference on Computer Vision’95, pp902- 907. [10] Sachin Nigam & Vandana Agrawal, (2013) “A Review: Curvature approximation on triangular meshes”, Int. J. of Engineering science and Innovative Technology, Vol. 2, No. 3, pp330-339 [11] Xunnian Yang & Jiamin Zheng, (2013) “Curvature tensor computation by piecewise surface interpolation”, Computer Aided Design, Vol. 45, No. 12, pp1639-1650. [12] Gady Agam & Xiaojing Tang, (2005) “A Sampling Framework for Accurate Curvature Estimation in Discrete Surfaces”, IEEE Transaction on Visu alization and Computer Graphics, Vol. 11, No. 5, pp573-582. [13] Meyer M. & Desbrun M., (2003) “Discrete Differential-geometry Operators for Triangulated 2- manifolds”, In Visualization and Mathematics III’03, pp35-57. [14] Stupariu & Mihai-Sorin, (2016) “An application of triangle mesh models in detecting patterns of vegetation”, WSCG’2016, pp87-90.
  • 11. International Journal of Computer Science & Information Technology (IJCSIT) Vol 11, No 5, October 2019 61 [15] Chen L. & Xie X., (2003) “A visual attention model for adapting images on small displays”, ACM Multimedia Systems Journal, Vol. 9, No. 4, pp353-364. [16] Lee, Y. & Markosian, L., (2007) “Line drawings via abstracted shading”, ACM Transactions on Graphics, Vol. 26, No. 3, pp1-9. [17] Chen, J. S.-S. and H.-Y. Feng, (2017) “Idealization of scanning-derived triangle mesh models of prismatic engineering parts”, International Journal on Interactive Design and Manufacturing, Vol. 11, No. 2, pp205-221. [18] Decarlo D. & Finkelstein A., (2003) “Suggestive Contours for Conveying Shape”, ACM Transactions on Graphics, Vol.22, No. 3, pp848-855. [19] M. Kolomenkin & I. Shimshoni, (2008) “Demarcating curves for shape illustration”, ACM Transactions on Graphics, Vol.27, No.5, pp157-166. [20] M. Kolomenkin & I. Shimshoni, (2009) “On Edge Detection on Surface”, 2012 IEEE Conference on Computer Vision and Pattern Recognition, pp2767-2774. [21] M. P. Do Carmo (2004) Differential geometry of curves and surfaces, Book, China Machine Press. [22] A. Belyaev & P.-A. Fayolle, (2013) “Signed Lp-distance fields”, CAD, Vol.45, No. 2, pp523-528. [23] Y Zhang & G Geng, (2016) “A statistical approach for extraction of feature lines from point clouds”, Computers & Graphics, Vol. 56, No. 3, pp31-45. AUTHORS: Zhihong Mao received his PhD degree at Department of Computer Science and Engineering, Shanghai Jiao Tong University. He is now a teacher at Division of Intelligent Manufacturing, Wuyi University, China. His research interests include computer aided design and Digital Geometry Processing. Ruichao Wang received his PhD degree at Department of Mechanical and Automotive Engineering, South China University of Technology. He is now a teacher at Division of Intelligent Manufacturing, Wuyi University, China. His research interests include Intelligent manufacturing and industrial robot technology, precision numerical control technology, digital power inverter technology Fan Liu was born in 1996. He is now a Master Candidate at Division of Intelligent Manufacturing, Wuyi University, China. His research interests include Reverse Engineering. Yulin Zhou was born in 1995. She is now a Master Candidate at Division of Intelligent Manufacturing, Wuyi University, China. Her research interests include computer aided design.