You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
4.8 KiB

<!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">
<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.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: Stitching Barrel Surface Images and Correcting Their Brightness</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>
<link href="doxygen.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">My Project
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @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&amp;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>
</div><!-- top -->
<!-- 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 class="PageDoc"><div class="header">
<div class="headertitle">
<div class="title">Stitching Barrel Surface Images and Correcting Their Brightness </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="intro_sec"></a>
Introduction</h1>
<p>This is the documentation for the thesis</p>
<p>There are two .cpp files: <a class="el" href="test_8cpp.html">test.cpp</a> and <a class="el" href="pointbase_8cpp.html">pointbase.cpp</a></p>
<p><a class="el" href="test_8cpp.html">test.cpp</a> contains sample use cases of the implemented library</p>
<p><a class="el" href="pointbase_8cpp.html">pointbase.cpp</a> is the implemented library</p>
<p>in the camera folder are scripts for dataset capture, method of operation is mentioned below</p>
<h1><a class="anchor" id="prereq"></a>
Prerequisites</h1>
<p>OpenCV version: 4.5.2 <a href="https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html">https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html</a></p>
<p>C++17 jsoncpp: </p><pre class="fragment">sudo apt install libjsoncpp-dev
sudo ln -s /usr/include/jsoncpp/json/ /usr/include/json
</pre><h1><a class="anchor" id="install_sec"></a>
Installation</h1>
<p>Install using make</p>
<h1><a class="anchor" id="cam_op"></a>
Dataset capture</h1>
<p>The scripts in the camera folder are used for image capture from BBX-mini</p>
<p>The mode of operation is following:</p>
<p>0. (If you want to stitch images automatically, make the project and run online stitching)</p>
<ol type="1">
<li>Make sure, that you are connected to bbx-mini and that you have addresses that can ping each other</li>
<li>Copy the contents of camera/raspberry to BBX-mini and make</li>
<li>Edit the addresses in the server and client scripts</li>
<li>Run a GStreamer pipeline on BBX-mini (sample pipeline is in runThisOnRpi.txt)</li>
<li>server.py provides manual stitching with the 'v' button is pressed, server2.py saves the sharpest image each second</li>
<li>run a chosen server.py on your workstation</li>
<li>run the client.py script on bbx-mini (lighting is activated by running /lights/lights - needs to be created by make as in step 2) </li>
</ol>
</div></div><!-- PageDoc -->
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>