-
Notifications
You must be signed in to change notification settings - Fork 0
/
Doc3dVolMarchingCubes.html
116 lines (114 loc) · 6.17 KB
/
Doc3dVolMarchingCubes.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
<!-- 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: 3dVolMarchingCubes</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">3dVolMarchingCubes </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Outputs the isosurface of the input volume as an OFF file</p>
<p><b>Usage:</b> 3dVolMarchingCubes [-i <fileName.vol>] [-t <threshold>] [-a <adjacency>] [-o <output.off>]</p>
<p>Outputs the isosurface of value <threshold> of the volume <fileName.vol> as an OFF file <output.off>. The <adjacency> (0/1) allows to choose between interior (6,18) and exterior (18,6) adjacency.</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 the volume file (.vol).</div>
<div class="line"> 2 TEXT=marching-cubes.off the output OFF file that represents the geometry of the isosurface</div>
<div class="line"> </div>
<div class="line">Options:</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 the volume file (.vol).</div>
<div class="line"> -t,--threshold FLOAT=1 the value that defines the isosurface in the image (an integer between 0 and 255).</div>
<div class="line"> -a,--adjacency UINT=0 0: interior adjacency, 1: exterior adjacency</div>
<div class="line"> -o,--output TEXT=marching-cubes.off the output OFF file that represents the geometry of the isosurface</div>
<div class="line"> -n,--noise FLOAT Kanungo noise level in ]0,1[. Note that only the largest connected component is considered and that no specific embedder is used.</div>
</div><!-- fragment --><p><b>Example:</b> </p>
<div class="fragment"><div class="line">$ 3dVolMarchingCubes $DGtal/examples/samples/lobster.vol -t 30</div>
<div class="line"><span class="preprocessor"># we invert the default normol orientation to improve display (-n option):</span></div>
<div class="line"><span class="preprocessor">$ meshViewer -i marching-cubes.off -n</span></div>
</div><!-- fragment --><p>You should obtain such a result: </p><div class="image">
<img src="res3dVolMarchingCubes.png" alt=""/>
<div class="caption">
Resulting visualization.</div></div>
<p>You can test on other samples like <a href="http://www.tc18.org/code_data_set/3D_greyscale/bonsai.vol.bz2">http://www.tc18.org/code_data_set/3D_greyscale/bonsai.vol.bz2</a> </p><div class="fragment"><div class="line">$ 3dVolMarchingCubes -i bonsai.vol -t 80</div>
</div><!-- fragment --><p> You should obtain such a result: </p><div class="image">
<img src="res3dVolMarchingCubes2.png" alt=""/>
<div class="caption">
Resulting visualization.</div></div>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="3dVolMarchingCubes_8cpp_source.html">3dVolMarchingCubes.cpp</a> </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>