Skip to content

Commit

Permalink
Deploying to gh-pages from @ 9cbc792 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoskela committed Jun 13, 2024
1 parent 0e45128 commit 962f657
Show file tree
Hide file tree
Showing 57 changed files with 323 additions and 323 deletions.
6 changes: 3 additions & 3 deletions copy__tiff_8cc.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,18 +168,18 @@ <h2 class="memtitle"><span class="permalink"><a href="#a790aa8b99fa3d90918361b89
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; }</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="comment">// Read input file</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> image = <a class="code" href="namespacesopt_1_1notinstalled.html#a3008033a62397de1c2e272b6caab6648">sopt::notinstalled::read_standard_tiff</a>(argv[1]);</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> image = <a class="code" href="namespacesopt_1_1tools.html#a7a29b5ae602984d1d93165eb0c1f0b54">sopt::tools::read_standard_tiff</a>(argv[1]);</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <a class="code" href="namespacesopt_1_1utilities.html#a18ac636e4a560294191b1066bc3599b4">sopt::utilities::write_tiff</a>(image, argv[2]);</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> reread = <a class="code" href="namespacesopt_1_1utilities.html#a571717c98b97e19d3d47d8507bb32a8a">sopt::utilities::read_tiff</a>(argv[2]);</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;}</div>
<div class="ttc" id="anamespacesopt_1_1notinstalled_html_a3008033a62397de1c2e272b6caab6648"><div class="ttname"><a href="namespacesopt_1_1notinstalled.html#a3008033a62397de1c2e272b6caab6648">sopt::notinstalled::read_standard_tiff</a></div><div class="ttdeci">Image read_standard_tiff(std::string const &amp;name)</div><div class="ttdoc">Reads tiff image from sopt data directory if it exists.</div><div class="ttdef"><b>Definition:</b> <a href="tiffwrappers_8cc_source.html#l00009">tiffwrappers.cc:9</a></div></div>
<div class="ttc" id="anamespacesopt_1_1tools_html_a7a29b5ae602984d1d93165eb0c1f0b54"><div class="ttname"><a href="namespacesopt_1_1tools.html#a7a29b5ae602984d1d93165eb0c1f0b54">sopt::tools::read_standard_tiff</a></div><div class="ttdeci">Image read_standard_tiff(std::string const &amp;name)</div><div class="ttdoc">Reads tiff image from sopt data directory if it exists.</div><div class="ttdef"><b>Definition:</b> <a href="tiffwrappers_8cc_source.html#l00009">tiffwrappers.cc:9</a></div></div>
<div class="ttc" id="anamespacesopt_1_1utilities_html_a18ac636e4a560294191b1066bc3599b4"><div class="ttname"><a href="namespacesopt_1_1utilities.html#a18ac636e4a560294191b1066bc3599b4">sopt::utilities::write_tiff</a></div><div class="ttdeci">void write_tiff(Image&lt;&gt; const &amp;image, std::string const &amp;filename)</div><div class="ttdoc">Writes a tiff greyscale file.</div><div class="ttdef"><b>Definition:</b> <a href="utilities_8cc_source.html#l00068">utilities.cc:68</a></div></div>
<div class="ttc" id="anamespacesopt_1_1utilities_html_a571717c98b97e19d3d47d8507bb32a8a"><div class="ttname"><a href="namespacesopt_1_1utilities.html#a571717c98b97e19d3d47d8507bb32a8a">sopt::utilities::read_tiff</a></div><div class="ttdeci">Image read_tiff(std::string const &amp;filename)</div><div class="ttdoc">Reads tiff image.</div><div class="ttdef"><b>Definition:</b> <a href="utilities_8cc_source.html#l00038">utilities.cc:38</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="tiffwrappers_8cc_source.html#l00009">sopt::notinstalled::read_standard_tiff()</a>, <a class="el" href="utilities_8cc_source.html#l00038">sopt::utilities::read_tiff()</a>, and <a class="el" href="utilities_8cc_source.html#l00068">sopt::utilities::write_tiff()</a>.</p>
<p class="reference">References <a class="el" href="tiffwrappers_8cc_source.html#l00009">sopt::tools::read_standard_tiff()</a>, <a class="el" href="utilities_8cc_source.html#l00038">sopt::utilities::read_tiff()</a>, and <a class="el" href="utilities_8cc_source.html#l00068">sopt::utilities::write_tiff()</a>.</p>

</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions copy__tiff_8cc_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; }</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="comment">// Read input file</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> image = <a class="code" href="namespacesopt_1_1notinstalled.html#a3008033a62397de1c2e272b6caab6648">sopt::notinstalled::read_standard_tiff</a>(argv[1]);</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> image = <a class="code" href="namespacesopt_1_1tools.html#a7a29b5ae602984d1d93165eb0c1f0b54">sopt::tools::read_standard_tiff</a>(argv[1]);</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <a class="code" href="namespacesopt_1_1utilities.html#a18ac636e4a560294191b1066bc3599b4">sopt::utilities::write_tiff</a>(image, argv[2]);</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> reread = <a class="code" href="namespacesopt_1_1utilities.html#a571717c98b97e19d3d47d8507bb32a8a">sopt::utilities::read_tiff</a>(argv[2]);</div>
Expand All @@ -110,7 +110,7 @@
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;}</div>
<div class="ttc" id="acopy__tiff_8cc_html_a790aa8b99fa3d90918361b8936af0b14"><div class="ttname"><a href="copy__tiff_8cc.html#a790aa8b99fa3d90918361b8936af0b14">main</a></div><div class="ttdeci">int main(int argc, char const **argv)</div><div class="ttdef"><b>Definition:</b> <a href="copy__tiff_8cc_source.html#l00014">copy_tiff.cc:14</a></div></div>
<div class="ttc" id="alogging_8h_html"><div class="ttname"><a href="logging_8h.html">logging.h</a></div></div>
<div class="ttc" id="anamespacesopt_1_1notinstalled_html_a3008033a62397de1c2e272b6caab6648"><div class="ttname"><a href="namespacesopt_1_1notinstalled.html#a3008033a62397de1c2e272b6caab6648">sopt::notinstalled::read_standard_tiff</a></div><div class="ttdeci">Image read_standard_tiff(std::string const &amp;name)</div><div class="ttdoc">Reads tiff image from sopt data directory if it exists.</div><div class="ttdef"><b>Definition:</b> <a href="tiffwrappers_8cc_source.html#l00009">tiffwrappers.cc:9</a></div></div>
<div class="ttc" id="anamespacesopt_1_1tools_html_a7a29b5ae602984d1d93165eb0c1f0b54"><div class="ttname"><a href="namespacesopt_1_1tools.html#a7a29b5ae602984d1d93165eb0c1f0b54">sopt::tools::read_standard_tiff</a></div><div class="ttdeci">Image read_standard_tiff(std::string const &amp;name)</div><div class="ttdoc">Reads tiff image from sopt data directory if it exists.</div><div class="ttdef"><b>Definition:</b> <a href="tiffwrappers_8cc_source.html#l00009">tiffwrappers.cc:9</a></div></div>
<div class="ttc" id="anamespacesopt_1_1utilities_html_a18ac636e4a560294191b1066bc3599b4"><div class="ttname"><a href="namespacesopt_1_1utilities.html#a18ac636e4a560294191b1066bc3599b4">sopt::utilities::write_tiff</a></div><div class="ttdeci">void write_tiff(Image&lt;&gt; const &amp;image, std::string const &amp;filename)</div><div class="ttdoc">Writes a tiff greyscale file.</div><div class="ttdef"><b>Definition:</b> <a href="utilities_8cc_source.html#l00068">utilities.cc:68</a></div></div>
<div class="ttc" id="anamespacesopt_1_1utilities_html_a571717c98b97e19d3d47d8507bb32a8a"><div class="ttname"><a href="namespacesopt_1_1utilities.html#a571717c98b97e19d3d47d8507bb32a8a">sopt::utilities::read_tiff</a></div><div class="ttdeci">Image read_tiff(std::string const &amp;filename)</div><div class="ttdoc">Reads tiff image.</div><div class="ttdef"><b>Definition:</b> <a href="utilities_8cc_source.html#l00038">utilities.cc:38</a></div></div>
<div class="ttc" id="atiffwrappers_8h_html"><div class="ttname"><a href="tiffwrappers_8h.html">tiffwrappers.h</a></div></div>
Expand Down
10 changes: 5 additions & 5 deletions cppflow__model_8cc.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ <h2 class="memtitle"><span class="permalink"><a href="#af13222888aa2682740656199
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="comment">// read in image</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; std::string <span class="keyword">const</span> input_image = <span class="stringliteral">&quot;cameraman256&quot;</span>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <a class="code" href="cppflow__model_8cc.html#aeeca20f5186519056cf53849afb07e6e">Image</a> <span class="keyword">const</span> image = <a class="code" href="namespacesopt_1_1notinstalled.html#a3008033a62397de1c2e272b6caab6648">sopt::notinstalled::read_standard_tiff</a>(input_image);</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <a class="code" href="cppflow__model_8cc.html#aeeca20f5186519056cf53849afb07e6e">Image</a> <span class="keyword">const</span> image = <a class="code" href="namespacesopt_1_1tools.html#a7a29b5ae602984d1d93165eb0c1f0b54">sopt::tools::read_standard_tiff</a>(input_image);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordtype">int</span> <span class="keyword">const</span> image_rows = image.rows();</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="keywordtype">int</span> <span class="keyword">const</span> image_cols = image.cols();</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; cppflow::tensor input_tensor = <a class="code" href="namespacesopt_1_1cppflowutils.html#a3db2be4ce233b68cb59e14bb41479afa">sopt::cppflowutils::convert_image_to_tensor</a>(image, image_rows, image_cols);</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="comment">// Read in model</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; cppflow::model model(std::string(<a class="code" href="namespacesopt_1_1notinstalled.html#a2fa3d08c375b7e60e38382025a454314">sopt::notinstalled::models_directory</a>() + <span class="stringliteral">&quot;/snr_15_model.pb/&quot;</span>));</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; cppflow::model model(std::string(<a class="code" href="namespacesopt_1_1tools.html#aeda5ba380aaf12ffc219fc436507e7d3">sopt::tools::models_directory</a>() + <span class="stringliteral">&quot;/snr_15_model.pb/&quot;</span>));</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="comment">// Run model on image</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="comment">// TODO: Automatically detect the string parameters, see issue #320</span></div>
Expand All @@ -230,10 +230,10 @@ <h2 class="memtitle"><span class="permalink"><a href="#af13222888aa2682740656199
<div class="ttc" id="acppflow__model_8cc_html_aeeca20f5186519056cf53849afb07e6e"><div class="ttname"><a href="cppflow__model_8cc.html#aeeca20f5186519056cf53849afb07e6e">Image</a></div><div class="ttdeci">sopt::Image&lt; Scalar &gt; Image</div><div class="ttdef"><b>Definition:</b> <a href="cppflow__model_8cc_source.html#l00020">cppflow_model.cc:20</a></div></div>
<div class="ttc" id="anamespacesopt_1_1cppflowutils_html_a3db2be4ce233b68cb59e14bb41479afa"><div class="ttname"><a href="namespacesopt_1_1cppflowutils.html#a3db2be4ce233b68cb59e14bb41479afa">sopt::cppflowutils::convert_image_to_tensor</a></div><div class="ttdeci">cppflow::tensor convert_image_to_tensor(Image&lt; double &gt; const &amp;image, int image_rows, int image_cols)</div><div class="ttdoc">Converts a sopt::Image to a cppflow::tensor.</div><div class="ttdef"><b>Definition:</b> <a href="cppflow__utils_8cc_source.html#l00014">cppflow_utils.cc:14</a></div></div>
<div class="ttc" id="anamespacesopt_1_1cppflowutils_html_a4144b27a919c778ad025f61dbef1b8ca"><div class="ttname"><a href="namespacesopt_1_1cppflowutils.html#a4144b27a919c778ad025f61dbef1b8ca">sopt::cppflowutils::convert_tensor_to_image</a></div><div class="ttdeci">Eigen::Map&lt; Eigen::Array&lt; double, Eigen::Dynamic, Eigen::Dynamic &gt; &gt; convert_tensor_to_image(std::vector&lt; float &gt; model_output, int image_rows, int image_cols)</div><div class="ttdoc">Convert a cppflow:tensor to an Eigen::Array.</div><div class="ttdef"><b>Definition:</b> <a href="cppflow__utils_8cc_source.html#l00086">cppflow_utils.cc:86</a></div></div>
<div class="ttc" id="anamespacesopt_1_1notinstalled_html_a2fa3d08c375b7e60e38382025a454314"><div class="ttname"><a href="namespacesopt_1_1notinstalled.html#a2fa3d08c375b7e60e38382025a454314">sopt::notinstalled::models_directory</a></div><div class="ttdeci">std::string models_directory()</div><div class="ttdoc">Machine-learning models.</div><div class="ttdef"><b>Definition:</b> <a href="directories_8in_8h_source.html#l00013">directories.in.h:13</a></div></div>
<div class="ttc" id="anamespacesopt_1_1notinstalled_html_a3008033a62397de1c2e272b6caab6648"><div class="ttname"><a href="namespacesopt_1_1notinstalled.html#a3008033a62397de1c2e272b6caab6648">sopt::notinstalled::read_standard_tiff</a></div><div class="ttdeci">Image read_standard_tiff(std::string const &amp;name)</div><div class="ttdoc">Reads tiff image from sopt data directory if it exists.</div><div class="ttdef"><b>Definition:</b> <a href="tiffwrappers_8cc_source.html#l00009">tiffwrappers.cc:9</a></div></div>
<div class="ttc" id="anamespacesopt_1_1tools_html_a7a29b5ae602984d1d93165eb0c1f0b54"><div class="ttname"><a href="namespacesopt_1_1tools.html#a7a29b5ae602984d1d93165eb0c1f0b54">sopt::tools::read_standard_tiff</a></div><div class="ttdeci">Image read_standard_tiff(std::string const &amp;name)</div><div class="ttdoc">Reads tiff image from sopt data directory if it exists.</div><div class="ttdef"><b>Definition:</b> <a href="tiffwrappers_8cc_source.html#l00009">tiffwrappers.cc:9</a></div></div>
<div class="ttc" id="anamespacesopt_1_1tools_html_aeda5ba380aaf12ffc219fc436507e7d3"><div class="ttname"><a href="namespacesopt_1_1tools.html#aeda5ba380aaf12ffc219fc436507e7d3">sopt::tools::models_directory</a></div><div class="ttdeci">std::string models_directory()</div><div class="ttdoc">Machine-learning models.</div><div class="ttdef"><b>Definition:</b> <a href="directories_8in_8h_source.html#l00013">directories.in.h:13</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="cppflow__utils_8cc_source.html#l00014">sopt::cppflowutils::convert_image_to_tensor()</a>, <a class="el" href="cppflow__utils_8cc_source.html#l00086">sopt::cppflowutils::convert_tensor_to_image()</a>, <a class="el" href="directories_8in_8h_source.html#l00013">sopt::notinstalled::models_directory()</a>, and <a class="el" href="tiffwrappers_8cc_source.html#l00009">sopt::notinstalled::read_standard_tiff()</a>.</p>
<p class="reference">References <a class="el" href="cppflow__utils_8cc_source.html#l00014">sopt::cppflowutils::convert_image_to_tensor()</a>, <a class="el" href="cppflow__utils_8cc_source.html#l00086">sopt::cppflowutils::convert_tensor_to_image()</a>, <a class="el" href="directories_8in_8h_source.html#l00013">sopt::tools::models_directory()</a>, and <a class="el" href="tiffwrappers_8cc_source.html#l00009">sopt::tools::read_standard_tiff()</a>.</p>

</div>
</div>
Expand Down
Loading

0 comments on commit 962f657

Please sign in to comment.