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, wherein in an instance where the light source moves across the plurality of areas, the controller is configured to generate the bokeh image by mapping the bokeh pattern of each of the plurality of areas to each of the plurality of areas where the light source moves during a preset time.