{"id":1971,"date":"2014-02-05T17:32:44","date_gmt":"2014-02-05T17:32:44","guid":{"rendered":"https:\/\/www.anagram.at\/en\/diplomarbeit\/3d-reconstruction-and-visualization\/"},"modified":"2014-02-05T17:32:44","modified_gmt":"2014-02-05T17:32:44","slug":"3d-reconstruction-and-visualization","status":"publish","type":"page","link":"https:\/\/www.anagram.at\/en\/diplomarbeit\/3d-reconstruction-and-visualization\/","title":{"rendered":"3D Reconstruction and Visualization"},"content":{"rendered":"<p><body><br \/>\n<!--Navigation Panel--><br \/>\n<b> Next:<\/b> <a name=\"tex2html565\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/robot-head\/\">Robot Head<\/a><br \/>\n<b> Up:<\/b> <a name=\"tex2html561\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/methods\/\">Methods<\/a><br \/>\n<b> Previous:<\/b> <a name=\"tex2html555\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/object-detection\/\">Object detection<\/a><br \/>\n<!--End of Navigation Panel--><\/p>\n<h1><a name=\"SECTION00460000000000000000\"\/> <a name=\"M_3drec\"\/><\/p>\n<p>3D Reconstruction and Visualization<br \/>\n<\/h1>\n<p>\nFor each pair of corresponding lines, the 3D position can be computed. OpenGL has been used to visualize the result of the reconstruction. The origin of the left camera is positioned at the origin of the OpenGL coordinate system, but can be moved along the y axis if desired. A 10cm x 10cm grid can be displayed to have an idea where the objects are placed in reference to the real world. Also the view of the camera can be displayed. Figure <a href=\"#reconstruction_syn\">3.13<\/a> shows the result of the reconstruction using a synthetic image pair. The coordinate system is off.  <\/p>\n<\/p>\n<div align=\"CENTER\"><a name=\"reconstruction_syn\"\/><a name=\"1769\"\/><\/p>\n<table>\n<caption align=\"BOTTOM\"><strong>Figure 3.13:<\/strong><br \/>\nResults of the reconstruction using synthetic data.<\/caption>\n<tr>\n<td>\n<div align=\"CENTER\">\n <img loading=\"lazy\" width=\"993\" height=\"455\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/reconstruction_syn.jpg\" alt=\"Image reconstruction_syn\"\/><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>If the right mouse is clicked inside the application, the program switches to the 3D window. It is now possible to fly around in the reconstructed world. The commands are given by<\/p>\n<dl>\n<dt><strong>w<\/strong><\/dt>\n<dd>move forward\n<\/dd>\n<dt><strong>a<\/strong><\/dt>\n<dd>strafe left\n<\/dd>\n<dt><strong>d<\/strong><\/dt>\n<dd>strafe right\n<\/dd>\n<dt><strong>s<\/strong><\/dt>\n<dd>move backward\n<\/dd>\n<\/dl>\n<p>The mouse can be used to change the viewing direction. Figure <a href=\"#application\">3.14<\/a> shows an image of the whole application. The view of the camera is displayed, as well as the coordinate system that is 50cm translated in y direction. <\/p>\n<div align=\"CENTER\"><a name=\"application\"\/><a name=\"1777\"\/><\/p>\n<table>\n<caption align=\"BOTTOM\"><strong>Figure 3.14:<\/strong><br \/>\nWin32 application<\/caption>\n<tr>\n<td>\n<div align=\"CENTER\">\n <img loading=\"lazy\" width=\"1020\" height=\"705\" align=\"BOTTOM\" border=\"0\" src=\"https:\/\/www.anagram.at\/app\/uploads\/2014\/02\/application.jpg\" alt=\"Image application\"\/><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>The input field, next to the calibrate button can be used to load image pairs into the program by entering their filename. If a image pair is found, it is loaded automatically. The prompt &#8220;<i>ccs<\/i> digit&#8221; moves the camera coordinate system, which has its origin in the OpenGL coordinate system, along the y axis. The value of digit represents the amount of the movement in cm. <\/p>\n<p>The buttons on the left are used to control the program, e.g. show the edge list, rectify the images or calibrate the camera. The buttons next to them can be used to control the robot head. If <i>Manual<\/i> is pressed, the opto-couplers are deactivated, thus the head could turn in. The four circles in the middle, represents the images on the right side. If one is clicked, the image is displayed using the whole image area. The camera button can be used to switch between file or camera input. <i>Freeze<\/i> stops the calculation, and <i>output<\/i> can be used to change the output content.<\/p>\n<hr\/>\n<p><!--Navigation Panel--><b> Next:<\/b> <a name=\"tex2html565\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/robot-head\/\">Robot Head<\/a><br \/>\n<b> Up:<\/b> <a name=\"tex2html561\" href=\"https:\/\/www.anagram.at\/diplomarbeit\/methods\/\">Methods<\/a><br \/>\n<!--End of Navigation Panel--><\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>3D Reconstruction and Visualization<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1946,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":""},"categories":[],"featured_image_src":null,"featured_image_src_square":null,"_links":{"self":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/pages\/1971"}],"collection":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/comments?post=1971"}],"version-history":[{"count":0,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/pages\/1971\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/pages\/1946"}],"wp:attachment":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/media?parent=1971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/categories?post=1971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}