Google Camera Depth Data
Google recently updated their camera app to include a ‘Lens Blur’ feature which lets you add a DSLR-like depth of field effect to your photos.
Coders have discovered that the method creates a computed ‘depth map’ file to help distinguish the subjects in an image and their relative distances from each other. These are grayscale images (in the examples above, the darker the area, the closer the object is, and vice-versa).
The bottom wiggle GIF was created using only 2 images (the original and the depth map).
Jaume Sanchez Elias has just set up a website that can extract the depth map file from the new Android camera map, which you can use yourself here