Originally posted by elliott There are fake shallow DOF effects you can do in post, they are commonly used with cell phone cameras and other small sensor compacts because it is otherwise almost impossible to achieve the effect. It can be easy to pick out the poorly done fakes because there is usually something sharp that shouldn't be or vice versa. Also, you can't always easily mimic the unique bokeh that some glass is known for.
The problem with this technique is that the algorithm doesn't really have any way to measure how much bokeh it should give any given pixel, other than guessing, but you can construct this data and do a better job. Shoot a stereo frame and combine the two to produce 3D depth data using the parallax, then apply a gaussian blur based on how far from the desired plane of focus any given pixel is. Pixels that are close get little blur, pixels that are in the background get a lot of blur. And because you're applying the bokeh in software, you can make it look however you want, in theory.
You can shoot two stereo half-frames onto a single sensor and avoid the need for a stitch or a stereo camera. Panasonic makes such a lens for the M4/3 system.
Of course it would work better on APS-C or full frame, because half of a tiny sensor is even smaller. Or you can simply use two separate sensors and lens systems (or bodies).
Ideally you would have a wider stereo base so you could get better parallax data, but it would probably suffice, particularly up close.