Skip to content

Latest commit

 

History

History
132 lines (96 loc) · 5.22 KB

README.md

File metadata and controls

132 lines (96 loc) · 5.22 KB

PoC - Master Thesis Build Status

Optimierung von Augmented Reality Anwendungen durch die Berücksichtigung von Tiefeninformationen mit Googles Project Tango

Optimization of AR applications considering the depth information with Googles project tango

Table of Content

Final Prototype

  • depthmap rendering with 3 different reconstruction mechanisms
    • pointcloud projection
    • tsdf reconstruction
    • plane reconstruction
  • using depthmap as Z-Buffer (GL_DEPTH_COMPONENT) for augmented reality occlustion

final_overview

  • optional OpenCV guided filtering with settings possible

filter

Augmented Reality (ar/)

  • AR Camera matching intrinsics
  • motion tracking with correct gl positioning
  • visualization of the current pointcloud
  • ray-intersection for pointcloud interaction
  • simple tower defense game with ray intersection
  • simple direct pointcloud z-buffer occlusion

AR Screenshot

Pointcloud App (pc/)

  • collects points into a large pointcloud using an octree
  • exports to pts file
  • plane based reconstruction applicable
  • marching cube reconstruction applicable (usualy to slow here!)

PointCloud Screenshot PointCloud Screenshot 2

Plane Based Reconstruction (construct/)

1. OctTree clustering of the global pointcloud
2. on incoming depth frame
	* update random n global clusters with points from depth frame
	* use RANSAC to detect 3 planes per cluster
	* project points from 3D space to 2D space (based on detected planes)
	* use Graham Scan to compute comvex hull for each plane
	* use Sweep‐line for triangulation with poly2tri
	* project polygon vertices back to 3D space (based on detected planes)

Video Demonstration

Plane Reconstruction Demo

Old Screenshots

AR Screenshot AR Screenshot

Native PCL based Reconstruction (construct-native/)

  • VoxelGrid downsampling
  • Greedy Triangulation with PCL
  • Build PCL Library not included!

Unity Screenshot 1

CHISEL open_chisel implementation (chisel/)

  • online reconstruction using open_chisel library
  • transformation and interfaces to native environment
  • PLY exporter
  • Build open_chisel Library not included!

Chisel Screenshot

OpenCV Depthmap Generation and Filtering

  • generate depthmap using this approach
  • applying inpaint and guided filtering for depthmap improvements
  • Build opencv+contrib Library not included!

Chisel Screenshot

Video Demonstration

OpenCV Demonstration

OpenCV Depthmap Filtering for AR

  • using the previous approach for a pointcloud reprojection

Chisel Screenshot

Unity Implementierung (unity/)

  • Reconstruction using the MeshBuilder with an simple TSDF by Google
  • Implementation of a Clipping Depth Shader
  • simple ball moving interaction
  • extension of shader for shadowing effects

Video Demonstration

Instagram Video Demo

Old Screenshots

Unity Screenshot 1 Unity Screenshot 1

Verwendete Librarys