-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path3dBorderExtractionImg_8cpp.html
More file actions
201 lines (195 loc) · 17.1 KB
/
Copy path3dBorderExtractionImg_8cpp.html
File metadata and controls
201 lines (195 loc) · 17.1 KB
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGtal: 3dBorderExtractionImg.cpp File Reference</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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/javascript">
window.MathJax = {
options: {
ignoreHtmlClass: 'tex2jax_ignore',
processHtmlClass: 'tex2jax_process'
}
};
</script>
<script type="text/javascript" id="MathJax-script" async="async" src="MathJax-3.2.2/es5/tex-chtml.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.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 id="projectrow">
<td id="projectalign">
<div id="projectname">DGtal<span id="projectnumber"> 2.1.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function(){initNavTree('3dBorderExtractionImg_8cpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">3dBorderExtractionImg.cpp File Reference<div class="ingroups"><a class="el" href="group__Examples.html">DGtal Examples</a></div></div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <iostream></code><br />
<code>#include "DGtal/base/Common.h"</code><br />
<code>#include "DGtal/io/readers/VolReader.h"</code><br />
<code>#include "DGtal/images/ImageSelector.h"</code><br />
<code>#include "DGtal/images/imagesSetsUtils/SetFromImage.h"</code><br />
<code>#include "DGtal/io/viewers/PolyscopeViewer.h"</code><br />
<code>#include "DGtal/helpers/StdDefs.h"</code><br />
<code>#include "ConfigExamples.h"</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for 3dBorderExtractionImg.cpp:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="3dBorderExtractionImg_8cpp__incl.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
<p><a href="3dBorderExtractionImg_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="3dBorderExtractionImg_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR <a class="el" href="structA.html">A</a> PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.</p>
<dl class="section author"><dt>Author</dt><dd>Bertrand Kerautret (<code><a href="#" onclick="location.href='mai'+'lto:'+'ker'+'au'+'tre'+'@l'+'ori'+'a.'+'fr'; return false;">kerau<span class="obfuscator">.nosp@m.</span>tre@<span class="obfuscator">.nosp@m.</span>loria<span class="obfuscator">.nosp@m.</span>.fr</a></code> ) LORIA (CNRS, UMR 7503), University of Nancy, France</dd></dl>
<dl class="section date"><dt>Date</dt><dd>2011/03/25</dd></dl>
<p>An example file named 3dBorderExtraction.</p>
<p>This file is part of the <a class="el" href="namespaceDGtal.html" title="DGtal is the top-level namespace which contains all DGtal functions and types.">DGtal</a> library. </p>
<p class="definition">Definition in file <a class="el" href="3dBorderExtractionImg_8cpp_source.html">3dBorderExtractionImg.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">◆ </a></span>main()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int main </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="3dBorderExtractionImg_8cpp_source.html#l00065">65</a> of file <a class="el" href="3dBorderExtractionImg_8cpp_source.html">3dBorderExtractionImg.cpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 66</span>{</div>
<div class="line"><span class="lineno"> 67</span> </div>
<div class="line"><span class="lineno"> 68</span> std::string inputFilename = examplesPath + <span class="stringliteral">"samples/Al.100.vol"</span>;</div>
<div class="line"><span class="lineno"> 69</span> <a class="code hl_class" href="classDGtal_1_1PolyscopeViewer.html">PolyscopeViewer<></a> viewer;</div>
<div class="line"><span class="lineno"> 70</span> </div>
<div class="line"><span class="lineno"> 71</span> <span class="keyword">typedef</span> <a class="code hl_typedef" href="structDGtal_1_1ImageSelector.html#ade9e299930f5119de680d6308646613e">ImageSelector < Z3i::Domain, int>::Type</a> <a class="code hl_class" href="classDGtal_1_1Image.html">Image</a>;</div>
<div class="line"><span class="lineno"> 72</span> <a class="code hl_class" href="classDGtal_1_1Image.html">Image</a> <a class="code hl_function" href="testSimpleRandomAccessRangeFromPoint_8cpp.html#a614d1b1c043b31763c1eb50f64666737">image</a> = <a class="code hl_function" href="structDGtal_1_1VolReader.html#aa4f1ebd956ed345e4c64e78c83da25d2">VolReader<Image>::importVol</a>(inputFilename);</div>
<div class="line"><span class="lineno"> 73</span> <a class="code hl_class" href="classDGtal_1_1DigitalSetByAssociativeContainer.html">Z3i::DigitalSet</a> set3d (<a class="code hl_function" href="testSimpleRandomAccessRangeFromPoint_8cpp.html#a614d1b1c043b31763c1eb50f64666737">image</a>.<a class="code hl_function" href="classDGtal_1_1Image.html#a0e27ef0f1f6763d9d0d87f3789dc6395">domain</a>());</div>
<div class="line"><span class="lineno"> 74</span> <a class="code hl_struct" href="structDGtal_1_1SetFromImage.html">SetFromImage<Z3i::DigitalSet>::append<Image></a>(set3d, <a class="code hl_function" href="testSimpleRandomAccessRangeFromPoint_8cpp.html#a614d1b1c043b31763c1eb50f64666737">image</a>, 0,255);</div>
<div class="line"><span class="lineno"> 75</span> <a class="code hl_class" href="classDGtal_1_1Object.html">Z3i::Object18_6</a> obj3d (<a class="code hl_variable" href="namespaceDGtal_1_1Z3i.html#a4175cb6f2e4d9a47d70139103c6c89eb">Z3i::dt18_6</a>, set3d);</div>
<div class="line"><span class="lineno"> 76</span> <a class="code hl_class" href="classDGtal_1_1Object.html">Z3i::Object18_6</a> border = obj3d.<a class="code hl_function" href="classDGtal_1_1Object.html#a4aa4b903a3446d05261ceaa8c00d1888">border</a>();</div>
<div class="line"><span class="lineno"> 77</span> viewer << border;</div>
<div class="line"><span class="lineno"> 78</span> viewer << <a class="code hl_struct" href="structDGtal_1_1ClippingPlane.html">ClippingPlane</a>(0,1,0, -40);</div>
<div class="line"><span class="lineno"> 79</span> </div>
<div class="line"><span class="lineno"> 80</span> viewer.<a class="code hl_function" href="classDGtal_1_1PolyscopeViewer.html#a8581233ea7c2efc437b4813ad51d4c33">show</a>();</div>
<div class="line"><span class="lineno"> 81</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><span class="lineno"> 82</span>}</div>
<div class="ttc" id="aclassDGtal_1_1DigitalSetByAssociativeContainer_html"><div class="ttname"><a href="classDGtal_1_1DigitalSetByAssociativeContainer.html">DGtal::DigitalSetByAssociativeContainer</a></div><div class="ttdoc">Aim: A wrapper class around a STL associative container for storing sets of digital points within som...</div><div class="ttdef"><b>Definition</b> <a href="DigitalSetByAssociativeContainer_8h_source.html#l00089">DigitalSetByAssociativeContainer.h:90</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Image_html"><div class="ttname"><a href="classDGtal_1_1Image.html">DGtal::Image</a></div><div class="ttdoc">Aim: implements association between points lying in a digital domain and values.</div><div class="ttdef"><b>Definition</b> <a href="Image_8h_source.html#l00069">Image.h:70</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Image_html_a0e27ef0f1f6763d9d0d87f3789dc6395"><div class="ttname"><a href="classDGtal_1_1Image.html#a0e27ef0f1f6763d9d0d87f3789dc6395">DGtal::Image::domain</a></div><div class="ttdeci">const Domain & domain() const</div><div class="ttdef"><b>Definition</b> <a href="Image_8h_source.html#l00192">Image.h:192</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Object_html"><div class="ttname"><a href="classDGtal_1_1Object.html">DGtal::Object</a></div><div class="ttdoc">Aim: An object (or digital object) represents a set in some digital space associated with a digital t...</div><div class="ttdef"><b>Definition</b> <a href="Object_8h_source.html#l00119">Object.h:120</a></div></div>
<div class="ttc" id="aclassDGtal_1_1Object_html_a4aa4b903a3446d05261ceaa8c00d1888"><div class="ttname"><a href="classDGtal_1_1Object.html#a4aa4b903a3446d05261ceaa8c00d1888">DGtal::Object::border</a></div><div class="ttdeci">Object border() const</div></div>
<div class="ttc" id="aclassDGtal_1_1PolyscopeViewer_html"><div class="ttname"><a href="classDGtal_1_1PolyscopeViewer.html">DGtal::PolyscopeViewer</a></div><div class="ttdef"><b>Definition</b> <a href="PolyscopeViewer_8h_source.html#l00057">PolyscopeViewer.h:57</a></div></div>
<div class="ttc" id="aclassDGtal_1_1PolyscopeViewer_html_a8581233ea7c2efc437b4813ad51d4c33"><div class="ttname"><a href="classDGtal_1_1PolyscopeViewer.html#a8581233ea7c2efc437b4813ad51d4c33">DGtal::PolyscopeViewer::show</a></div><div class="ttdeci">void show() override</div><div class="ttdoc">Starts the event loop and display of elements.</div><div class="ttdef"><b>Definition</b> <a href="PolyscopeViewer_8h_source.html#l00073">PolyscopeViewer.h:73</a></div></div>
<div class="ttc" id="anamespaceDGtal_1_1Z3i_html_a4175cb6f2e4d9a47d70139103c6c89eb"><div class="ttname"><a href="namespaceDGtal_1_1Z3i.html#a4175cb6f2e4d9a47d70139103c6c89eb">DGtal::Z3i::dt18_6</a></div><div class="ttdeci">static const DT18_6 dt18_6</div><div class="ttdef"><b>Definition</b> <a href="StdDefs_8h_source.html#l00195">StdDefs.h:195</a></div></div>
<div class="ttc" id="astructDGtal_1_1ClippingPlane_html"><div class="ttname"><a href="structDGtal_1_1ClippingPlane.html">DGtal::ClippingPlane</a></div><div class="ttdoc">Clipping plane.</div><div class="ttdef"><b>Definition</b> <a href="Display3D_8h_source.html#l00299">Display3D.h:299</a></div></div>
<div class="ttc" id="astructDGtal_1_1ImageSelector_html_ade9e299930f5119de680d6308646613e"><div class="ttname"><a href="structDGtal_1_1ImageSelector.html#ade9e299930f5119de680d6308646613e">DGtal::ImageSelector::Type</a></div><div class="ttdeci">ImageContainerBySTLVector< Domain, Value > Type</div><div class="ttdef"><b>Definition</b> <a href="ImageSelector_8h_source.html#l00084">ImageSelector.h:84</a></div></div>
<div class="ttc" id="astructDGtal_1_1SetFromImage_html"><div class="ttname"><a href="structDGtal_1_1SetFromImage.html">DGtal::SetFromImage</a></div><div class="ttdoc">Aim: Define utilities to convert a digital set into an image.</div><div class="ttdef"><b>Definition</b> <a href="SetFromImage_8h_source.html#l00063">SetFromImage.h:64</a></div></div>
<div class="ttc" id="astructDGtal_1_1VolReader_html_aa4f1ebd956ed345e4c64e78c83da25d2"><div class="ttname"><a href="structDGtal_1_1VolReader.html#aa4f1ebd956ed345e4c64e78c83da25d2">DGtal::VolReader::importVol</a></div><div class="ttdeci">static ImageContainer importVol(const std::string &filename, const Functor &aFunctor=Functor())</div></div>
<div class="ttc" id="atestSimpleRandomAccessRangeFromPoint_8cpp_html_a614d1b1c043b31763c1eb50f64666737"><div class="ttname"><a href="testSimpleRandomAccessRangeFromPoint_8cpp.html#a614d1b1c043b31763c1eb50f64666737">image</a></div><div class="ttdeci">Image image(domain)</div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="classDGtal_1_1Object.html#a4aa4b903a3446d05261ceaa8c00d1888">DGtal::Object< TDigitalTopology, TDigitalSet >::border()</a>, <a class="el" href="Image_8h_source.html#l00192">DGtal::Image< TImageContainer >::domain()</a>, <a class="el" href="StdDefs_8h_source.html#l00195">DGtal::Z3i::dt18_6</a>, <a class="el" href="testSimpleRandomAccessRangeFromPoint_8cpp.html#a614d1b1c043b31763c1eb50f64666737">image()</a>, <a class="el" href="structDGtal_1_1VolReader.html#aa4f1ebd956ed345e4c64e78c83da25d2">DGtal::VolReader< TImageContainer, TFunctor >::importVol()</a>, and <a class="el" href="PolyscopeViewer_8h_source.html#l00073">DGtal::PolyscopeViewer< Space, KSpace >::show()</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d28a4824dc47e487b107a5db32ef43c4.html">examples</a></li><li class="navelem"><a class="el" href="dir_e2a1212e307b93bd4c291c0c273a42c5.html">topology</a></li><li class="navelem"><a class="el" href="3dBorderExtractionImg_8cpp.html">3dBorderExtractionImg.cpp</a></li>
<li class="footer">Generated on Mon Jul 27 2026 13:22:45 for DGtal by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>
</html>