-
Notifications
You must be signed in to change notification settings - Fork 0
/
CompSurfelData.html
120 lines (118 loc) · 7.61 KB
/
CompSurfelData.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!-- HTML header for doxygen 1.8.11-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<title>DGtalTools: 3DCompSurfelData</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="modern-doxygen-green.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">DGtalTools
 <span id="projectnumber">1.5.beta</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="PageDoc"><div class="header">
<div class="headertitle">
<div class="title">3DCompSurfelData </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Computes generic scalar surfel data comparisons (squared error) (given from an input data file and from a reference one).</p>
<p><b>Usage:</b> 3dCompSurfelData [input] [reference]</p>
<p><b>Allowed</b> <b>options</b> <b>are:</b> </p>
<div class="fragment"><div class="line">Positionals:</div>
<div class="line"> 1 TEXT:FILE REQUIRED input file: sdpa (sequence of discrete points with attribute)</div>
<div class="line"> s TEXT:FILE input file: sdpa (sequence of discrete points with attribute)</div>
<div class="line"> </div>
<div class="line">Optionals:</div>
<div class="line"> -h,--help Print <span class="keyword">this</span> help message and exit</div>
<div class="line"> -i,--input TEXT:FILE REQUIRED input file: sdpa (sequence of discrete points with attribute)</div>
<div class="line"> -r,--reference TEXT:FILE REQUIRED input file: sdpa (sequence of discrete points with attribute)</div>
<div class="line"> -l,--compAccordingLabels apply the comparisos only on points with same labels (by <span class="keywordflow">default</span> fifth colomn)</div>
<div class="line"> -a,--drawSurfelAssociations Draw the surfel association.</div>
<div class="line"> -o,--fileMeasureOutput TEXT specify the output file to store (append) the <a class="codeRef" href="https://dgtal-team.github.io/doc-nightly/namespaceLibBoard.html#a7230298bf18922cfa1097dba489d87de">error</a> stats <span class="keywordflow">else</span> the result is given to std output.</div>
<div class="line"> -n,--noWindows Don<span class="stringliteral">'t display Viewer windows.</span></div>
<div class="line"><span class="stringliteral"> -d,--doSnapShotAndExit TEXT save display snapshot into file. Notes that the camera setting is set by default according the last saved configuration (use SHIFT+Key_M to save current camera setting in the Viewer3D).</span></div>
<div class="line"><span class="stringliteral"> --fixMaxColorValue FLOAT fix the maximal color value for the scale error display (else the scale is set from the maximal value)</span></div>
<div class="line"><span class="stringliteral"> --labelIndex UINT set the index of the label (by default set to 4)</span></div>
<div class="line"><span class="stringliteral"> --SDPindex UINT x 4 specify the sdp index (by default 0,1,2,3).</span></div>
<div class="ttc" id="anamespaceLibBoard_html_a7230298bf18922cfa1097dba489d87de"><div class="ttname"><a href="https://dgtal-team.github.io/doc-nightly/namespaceLibBoard.html#a7230298bf18922cfa1097dba489d87de">LibBoard::error</a></div><div class="ttdeci">MessageStream error</div></div>
</div><!-- fragment --><p><b>Example:</b> </p>
<p>To use this tools we need first to have two differents surfel set with an attribute to be compared. We can use for instance the curvature from the sample file of DGtal/examples/samples/cat10.vol: </p><div class="fragment"><div class="line"><span class="preprocessor"># generating another input vol file using tutorial example (eroded.vol):</span></div>
<div class="line">$ $DGtal/build/examples/tutorial-examples/FMMErosion</div>
<div class="line"><span class="preprocessor"># Estimate curvature using other DGtalTools program:</span></div>
<div class="line">$ 3dCurvatureViewer -i $DGtal/examples/samples/cat10.vol -r 3 --exportOnly -d curvatureCat10R3.dat</div>
<div class="line">$ 3dCurvatureViewer -i eroded.vol -r 3 --exportOnly -d curvatureCat10ErodedR3.dat</div>
</div><!-- fragment --><p> Now we compare the different curvature values from the two shapes: </p><div class="fragment"><div class="line">./visualisation/3dCompSurfelData curvatureCat10ErodedR3.dat curvatureCat10R3.dat --fixMaxColorValue 1.0 -o statMeasures.dat </div>
</div><!-- fragment --><p>You should obtain such a visualisation: </p><div class="image">
<img src="res3dCompSurfelData.png" alt=""/>
<div class="caption">
resulting visualisation of curvature comparison.</div></div>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="3dCompSurfelData_8cpp_source.html">3dCompSurfelData.cpp</a> 3dCurvatureViewer </dd></dl>
</div></div><!-- contents -->
</div><!-- PageDoc -->
<!-- HTML footer for doxygen 1.8.11-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Companion project associated to <a href= "http://liris.cnrs.fr/dgtal/doc/nightly/"> DGtal </a>;
Generated on Mon Aug 26 2024 21:31:31 for DGtalTools by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.9.1
</small></address>
</body>
</html>