Patent ID: 8184196

Claim:
A method, comprising: receiving, with a hardware processor, first image data corresponding to a scene recorded by an image capture device at a first focus position associated with a first distance from the image capture device; receiving, with a hardware processor, second image data corresponding to the scene at a second focus position associated with a second distance from the image capture device, wherein the second distance is greater than the first distance; performing, with a hardware processor, an edge detection process to generate first edge data corresponding to at least a first portion of the first image data and to generate second edge data corresponding to at least a second portion of the second image data, wherein the edge detection process detects a presence and an absence of an edge at each location of the first portion of the first image data and the second portion of the second image data and each detected edge is identified as a hard edge or a soft edge; and generating, with a hardware processor, depth data based on the first edge data and the second edge data.