This is the code for the depth player here http://www.clicktorelease.com/code/depth-player, which is a tool to reconstruct scenes in 3D taken with the Android Lens Blur camera, using LensBlurDepthExtractor.js
It correctly converts depth information from the depth image into a 3D set of points that can be visualized as point cloud, wireframe mesh or solid mesh. The mesh is textured with the pre-blurred version of the image. There's option to export a .obj version of the reconstructed mesh, and an uploader to SketchFab.
Read about this in Creating Android Lens Blur Depth Viewer.
Demo: http://www.clicktorelease.com/code/depth-player
Coded using three.js, zip.js, StackBlur, LensBlurDepthExtractor.js and a modified version of THREE.OBJExporter.js to export models.
MIT licensed
Copyright (C) 2014 Jaume Sanchez Elias http://twitter.com/thespite