A method for processing still images to generate stereo images, the method comprising: generating a block-level depth map based on an estimate of depth information of remote objects in a captured still image, the estimate based at least in part on autofocus information for the captured still image, wherein generating the autofocus information comprises determining a depth value of each focus block including corner points (A, B, C and D) when detecting the block-level depth map, the block-level depth map comprising a depth value for each block, each block comprising a plurality of pixels; approximating an image depth map from the block-level depth map using bilinear filtering, the image depth map comprising a depth value for each pixel, wherein the bilinear filtering includes obtaining the depth value of the pixels inside the block, wherein position values and the depth values for the corners points (A, B, C, and D) of the block are denoted as (x A, y A, d A), (x B, y B, d B), (x C, y C, d C), (x D, y D, d D) so that the depth value of all the pixels within the block are calculated, wherein for a respective pixel denoted by a point P (x P, y P, d P), the depth value d P of the respective pixel is defined as d p = x p - x A 4 + y p - y A 4 x p - x A 4 + y p - y A 4 + x p - x B 4 + y p - y B 4 + x p - x C 4 + y p - y C 4 + x p - x D 4 + y p - y D 4 ⁢ d A + x p - x B 4 + y p - y B 4 x p - x A 4 + y p - y A 4 + x p - x B 4 + y p - y B 4 + x p - x C 4 + y p - y C 4 + x p - x D 4 + y p - y D ⁢ d B + x p - x C 4 + y p - y C 4 x p - x A 4 + y p - y A 4 + x p - x B 4 + y p - y B 4 + x p - x C 4 + y p - y C 4 + x p - x D 4 + y p - y D ⁢ d C + x P - x D 4 + y p - y D 4 x p - x A 4 + y p - y A 4 + x p - x B 4 + y p - y B 4 + x p - x C 4 + y p - y C 4 + x p - x D 4 + y p - y D ⁢ d D;; and generating a second view from the captured still image and the associated image depth map to create three-dimensional stereo left and right views. generating a block-level depth map based on an estimate of depth information of remote objects in a captured still image, the estimate based at least in part on autofocus information for the captured still image, wherein generating the autofocus information comprises determining a depth value of each focus block including corner points (A, B, C and D) when detecting the block-level depth map, the block-level depth map comprising a depth value for each block, each block comprising a plurality of pixels; approximating an image depth map from the block-level depth map using bilinear filtering, the image depth map comprising a depth value for each pixel, wherein the bilinear filtering includes obtaining the depth value of the pixels inside the block, wherein position values and the depth values for the corners points (A, B, C, and D) of the block are denoted as (x A, y A, d A), (x B, y B, d B), (x C, y C, d C), (x D, y D, d D) so that the depth value of all the pixels within the block are calculated, wherein for a respective pixel denoted by a point P (x P, y P, d P), the depth value d P of the respective pixel is defined as d p = x p - x A 4 + y p - y A 4 x p - x A 4 + y p - y A 4 + x p - x B 4 + y p - y B 4 + x p - x C 4 + y p - y C 4 + x p - x D 4 + y p - y D 4 ⁢ d A + x p - x B 4 + y p - y B 4 x p - x A 4 + y p - y A 4 + x p - x B 4 + y p - y B 4 + x p - x C 4 + y p - y C 4 + x p - x D 4 + y p - y D ⁢ d B + x p - x C 4 + y p - y C 4 x p - x A 4 + y p - y A 4 + x p - x B 4 + y p - y B 4 + x p - x C 4 + y p - y C 4 + x p - x D 4 + y p - y D ⁢ d C + x P - x D 4 + y p - y D 4 x p - x A 4 + y p - y A 4 + x p - x B 4 + y p - y B 4 + x p - x C 4 + y p - y C 4 + x p - x D 4 + y p - y D ⁢ d D;; and generating a second view from the captured still image and the associated image depth map to create three-dimensional stereo left and right views.