Professional portrait photos have a distinct aura about them. They radiate quality and stand out from everyday photos we capture on our mobile devices. This perception of quality comes primarily from the long focal length of the lens and the shallow depth of field it dictates (also known as “Bokeh”). A professional lens for portraiture has a focal length of 80-100mm – much larger than the lens in the typical smartphone camera. Therefore, standard smartphone cameras cannot support such optical Bokeh effect.
Corephotonics’ dual camera systems, however, can mimic optical Bokeh by taking advantage of the disparity between the two cameras. The natural parallax that exists between the images is translated into a depth map, which in turn is used to digitally blur objects which are off the plane of focus of the camera, effectively narrowing down the camera’s depth of field. Corephotonics’ software libraries support digital Bokeh on both snapshots and videos, running at camera frame rates.
Corephotonics’ Bokeh software library registers the two frames and a depth map is constructed, accounting for occluded areas. Then, the library defines blur values for each pixel, based on its distance from the focus plane. The blur mimics the out-of-focus blur of a lens.
The software library takes advantage of multiple hardware accelerators such as GPU, DSP and SIMD cores, and is optimized for run time and low power consumption.