-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_laplacian_integrator_8hpp_source.html
151 lines (149 loc) · 16.1 KB
/
_laplacian_integrator_8hpp_source.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
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
<!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.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Rendu: src/engine/processing/LaplacianIntegrator.hpp Source File</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/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.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">Rendu
</div>
<div id="projectbrief">A lightweight rendering engine for experimentations</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</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">
<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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_2052808828190f934b76e979ee65af8a.html">engine</a></li><li class="navelem"><a class="el" href="dir_b43039da36bd21e778fba45cec2523be.html">processing</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">LaplacianIntegrator.hpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include "processing/ConvolutionPyramid.hpp"</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include "resources/Texture.hpp"</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include "resources/ResourcesManager.hpp"</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include "Common.hpp"</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html"> 11</a></span><span class="keyword">class </span><a class="code hl_class" href="class_laplacian_integrator.html">LaplacianIntegrator</a> {</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_class" href="class_laplacian_integrator.html">LaplacianIntegrator</a>(uint width, uint height, uint downscaling);</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_laplacian_integrator.html#a59a7a8390c4c9e13e1a088b4849e4f4a">process</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_texture.html">Texture</a>& <a class="code hl_function" href="class_laplacian_integrator.html#a7b75319104d05ece1967e314eb051405">texture</a>);</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_laplacian_integrator.html#a91786835d8ebc92b638dcda53e9e5df5">resize</a>(uint width, uint height);</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html#a7b75319104d05ece1967e314eb051405"> 35</a></span> <span class="keyword">const</span> <a class="code hl_class" href="class_texture.html">Texture</a> * <a class="code hl_function" href="class_laplacian_integrator.html#a7b75319104d05ece1967e314eb051405">texture</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> &<a class="code hl_variable" href="class_laplacian_integrator.html#afca942a49be367c3fc94e46f196fb765">_compo</a>; }</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html#a03dfe7262978efdc85c7fb237ee98ae5"> 40</a></span> <span class="keyword">const</span> <a class="code hl_class" href="class_texture.html">Texture</a> * <a class="code hl_function" href="class_laplacian_integrator.html#a03dfe7262978efdc85c7fb237ee98ae5">preprocId</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> &<a class="code hl_variable" href="class_laplacian_integrator.html#a9e877225ce80b124eb731527577ab5d6">_preproc</a>; }</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html#ad8ad48225f7787f082cc32a917db396a"> 43</a></span> <a class="code hl_class" href="class_convolution_pyramid.html">ConvolutionPyramid</a> <a class="code hl_variable" href="class_laplacian_integrator.html#ad8ad48225f7787f082cc32a917db396a">_pyramid</a>; </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html#abb85509a569e4dea7904d97d6c755fa3"> 44</a></span> <a class="code hl_class" href="class_program.html">Program</a> * <a class="code hl_variable" href="class_laplacian_integrator.html#abb85509a569e4dea7904d97d6c755fa3">_prepare</a>; </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html#a1f18a3825988fca9a20d9938294e8211"> 45</a></span> <a class="code hl_class" href="class_program.html">Program</a> * <a class="code hl_variable" href="class_laplacian_integrator.html#a1f18a3825988fca9a20d9938294e8211">_composite</a>; </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html#a9e877225ce80b124eb731527577ab5d6"> 46</a></span> <a class="code hl_class" href="class_texture.html">Texture</a> <a class="code hl_variable" href="class_laplacian_integrator.html#a9e877225ce80b124eb731527577ab5d6">_preproc</a>; </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html#afca942a49be367c3fc94e46f196fb765"> 47</a></span> <a class="code hl_class" href="class_texture.html">Texture</a> <a class="code hl_variable" href="class_laplacian_integrator.html#afca942a49be367c3fc94e46f196fb765">_compo</a>; </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="class_laplacian_integrator.html#ad28969dadfda5afd6b73008897d6ae6a"> 48</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="class_laplacian_integrator.html#ad28969dadfda5afd6b73008897d6ae6a">_scale</a>; </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span>};</div>
<div class="ttc" id="aclass_convolution_pyramid_html"><div class="ttname"><a href="class_convolution_pyramid.html">ConvolutionPyramid</a></div><div class="ttdoc">Implements a multiscale scheme for approximating convolution with large filters. This is the basis of...</div><div class="ttdef"><b>Definition:</b> ConvolutionPyramid.hpp:13</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html"><div class="ttname"><a href="class_laplacian_integrator.html">LaplacianIntegrator</a></div><div class="ttdoc">Compute the laplacian field of a RGB image before reconstructing the initial image through integratio...</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:11</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_a03dfe7262978efdc85c7fb237ee98ae5"><div class="ttname"><a href="class_laplacian_integrator.html#a03dfe7262978efdc85c7fb237ee98ae5">LaplacianIntegrator::preprocId</a></div><div class="ttdeci">const Texture * preprocId() const</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:40</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_a1f18a3825988fca9a20d9938294e8211"><div class="ttname"><a href="class_laplacian_integrator.html#a1f18a3825988fca9a20d9938294e8211">LaplacianIntegrator::_composite</a></div><div class="ttdeci">Program * _composite</div><div class="ttdoc">Passthrough to output the result.</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:45</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_a59a7a8390c4c9e13e1a088b4849e4f4a"><div class="ttname"><a href="class_laplacian_integrator.html#a59a7a8390c4c9e13e1a088b4849e4f4a">LaplacianIntegrator::process</a></div><div class="ttdeci">void process(const Texture &texture)</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.cpp:22</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_a7b75319104d05ece1967e314eb051405"><div class="ttname"><a href="class_laplacian_integrator.html#a7b75319104d05ece1967e314eb051405">LaplacianIntegrator::texture</a></div><div class="ttdeci">const Texture * texture() const</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:35</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_a91786835d8ebc92b638dcda53e9e5df5"><div class="ttname"><a href="class_laplacian_integrator.html#a91786835d8ebc92b638dcda53e9e5df5">LaplacianIntegrator::resize</a></div><div class="ttdeci">void resize(uint width, uint height)</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.cpp:53</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_a9e877225ce80b124eb731527577ab5d6"><div class="ttname"><a href="class_laplacian_integrator.html#a9e877225ce80b124eb731527577ab5d6">LaplacianIntegrator::_preproc</a></div><div class="ttdeci">Texture _preproc</div><div class="ttdoc">Contains the computed laplacian field.</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:46</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_abb85509a569e4dea7904d97d6c755fa3"><div class="ttname"><a href="class_laplacian_integrator.html#abb85509a569e4dea7904d97d6c755fa3">LaplacianIntegrator::_prepare</a></div><div class="ttdeci">Program * _prepare</div><div class="ttdoc">Shader to compute the laplacian field of a RGB image.</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:44</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_ad28969dadfda5afd6b73008897d6ae6a"><div class="ttname"><a href="class_laplacian_integrator.html#ad28969dadfda5afd6b73008897d6ae6a">LaplacianIntegrator::_scale</a></div><div class="ttdeci">int _scale</div><div class="ttdoc">The downscaling factor.</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:48</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_ad8ad48225f7787f082cc32a917db396a"><div class="ttname"><a href="class_laplacian_integrator.html#ad8ad48225f7787f082cc32a917db396a">LaplacianIntegrator::_pyramid</a></div><div class="ttdeci">ConvolutionPyramid _pyramid</div><div class="ttdoc">The convolution pyramid.</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:43</div></div>
<div class="ttc" id="aclass_laplacian_integrator_html_afca942a49be367c3fc94e46f196fb765"><div class="ttname"><a href="class_laplacian_integrator.html#afca942a49be367c3fc94e46f196fb765">LaplacianIntegrator::_compo</a></div><div class="ttdeci">Texture _compo</div><div class="ttdoc">Contains the integrated result at input resolution.</div><div class="ttdef"><b>Definition:</b> LaplacianIntegrator.hpp:47</div></div>
<div class="ttc" id="aclass_program_html"><div class="ttname"><a href="class_program.html">Program</a></div><div class="ttdoc">Represents a group of shaders used for rendering.</div><div class="ttdef"><b>Definition:</b> Program.hpp:31</div></div>
<div class="ttc" id="aclass_texture_html"><div class="ttname"><a href="class_texture.html">Texture</a></div><div class="ttdoc">Represents a texture containing one or more images, stored on the CPU and/or GPU.</div><div class="ttdef"><b>Definition:</b> Texture.hpp:12</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="http://www.doxygen.org/index.html">Doxygen</a> 1.9.5
- Theme by <a href="http://simonrodriguez.fr">Simon Rodriguez</a></small></address><br>
</body>
</html>