1. An electronic apparatus, comprising: an image photographing unit configured to photograph an image; a display configured to display a user interface (UI) to set a bokeh option on the image; and a controller configured to, when the image is divided into a plurality of areas on the UI, and a bokeh pattern is determined for each of the plurality of areas, generate a bokeh image by mapping the bokeh pattern determined for each of the plurality of areas to a light source point included in the respective each of the plurality of areas.