Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Point Cloud using iPhone camera

I'm very new to the Computer Vision field and am fascinated by it. I'm still learning the concepts, and one thing that really caught my interest was Point Clouds and 3D reconstructions using images.

I was wondering whether images taken from an iPhone 6 camera are capable of generating Point Clouds. I know about the PCL(Point Cloud Library) and was thinking of developing an iOS app that would use it.

I ran this sample PCL application: https://github.com/9gel/hellopcl It is basically a renderer that uses Point Cloud data provided to it. I was hoping to make an application that would use the camera in real time to generate point clouds.

My question is, is it possible?

Thanks

like image 764
Shayan Jalil Avatar asked Jan 26 '16 15:01

Shayan Jalil


People also ask

How do I use LiDAR on my iPhone camera?

Use Canvas: LiDAR 3D Measurements for iPhone — free on the iOS App Store — and you can scan your surroundings. Stand in the middle of the room, tap the Measure-like controls, and then slowly turn around. What you see through the Canvas screen is like standing in a "Star Trek" holodeck.

Does iPhone camera have LiDAR?

Apple's latest products, the iPhone 12 Pro and Pro Max, iPhone 13 Pro and Pro Max, and iPad Pro now feature a built-in lidar scanner that can create 3D representations of close-range objects (up to 5 m away).

How accurate is LiDAR on iPhone?

The LiDAR sensors create accurate high-resolution models of small objects with a side length > 10 cm with an absolute accuracy of ± 1 cm.


1 Answers

Answer is yes, there are ways to generate pointcloud from multiple images. Some frequently used methods to generate 3D pointcloud from images are:

3D Reconstruction from Multiple images :

Having known camera's motion in 6-DOF space, based on changes in image intensities depth can be computed using standard stereo correspondence algorithms. But camera's motion cannot be precisely estimated using Gyro,Accelerometer and magnetometer.

You can read more about those methods here: General overview

In case 6-DOF pose in unknown, still you can extract point clouds from images using some of the methods like:

SLAM:

Uncertainty in position estimation can be solved by considering images along with motion information provided by inertial sensors. SLAM is a chicken-egg problem. To estimate depth you need precise motion information, to have motion information you require depth information. There are different versions of SLAM implemented for mobiles.

LSD-SLAM :

Large-Scale Direct Monocular SLAM is used to generate dense Depthmap from continuous video feed. This method is computationally intense. Can only be performed offline. Similar version implemented for mobiles too. You can find here

Bundle Adjustment (BA) :

Traditional Bundle Adjustments methods estimate Structure and motion of camera from multiple images using epipolar constraints and feature matching. It consumes more memory for Global Optimization. High quality 3D reconstruction of scene is possible using this method. There are multiple variants of this method available now.

You can find different approaches based on same concepts. Many of the above methods can be used to generate 3D pointcloud offline. But generating pointcloud in realtime is a big thing for mobile platforms like iPhone.

Thanks

like image 122
nbsrujan Avatar answered Sep 21 '22 00:09

nbsrujan