Patent ID: 8780258

Claim:
A method for generating an out-of-focus image in a mobile terminal, the method comprising: receiving a selection of an out-of-focus function; displaying a preview image and a depth map on a display unit of the mobile terminal when the out-of-focus function is selected; receiving a selection of a specific object from the displayed preview image; adjusting the displayed depth map based on a convergence of the specific object when the specific object is selected; capturing an image using at least one camera of the mobile terminal; and generating an out-of-focus image by blurring the captured image based on the adjusted depth map, wherein adjusting the displayed depth map comprises: setting the selected specific object as a zero-point of convergence; determining whether one or more objects with a negative convergence are present in at least the displayed preview image or displayed depth man; displaying the one or more objects on a screen of the mobile terminal when the one or more objects are present; extracting the displayed one or more objects when no user selection of the displayed one or more objects is received within a specific period of time; resetting a convergence of the extracted one or more objects to a positive convergence relative to the zero-point of convergence; and adjusting the depth map based on the reset positive convergence of the extracted one or more objects.