摘要 |
A method of producing a three-dimensional image from a single image captured from a single lens camera module comprising extending the depth of field (EDoF) using opto-algorithmic means, deriving a depth map from the captured image, calculating offsets from the depth map to produce a stereoscopic image, and applying the offsets to the appropriate image channels. The opto-algorithmic means may comprise a deliberately introduced lens flaw or aberration, such as longitudinal chromatic aberrations which cause the three colour channels (RGB) to each have a different focal length and depth of field, to the single lens system and signal processing means for de-convoluting this aberration. The mapping may assign each pixel a depth value corresponding to an object distance based upon a comparison of relative sharpness across colour channels. The greatest offset may be applied to the furthest away or nearest objects. A red and cyan 3D anaglyph or a jiggly animated GIF may be produced. The camera module may be integrated into a mobile device such as a mobile phone, laptop computer, webcam or digital camera. |