1. An electronic apparatus comprising: a data acquisition unit configured to acquire each of a plurality of pieces of light-field image data in which a corresponding focus position being an in-focus position in a depth direction is changeable after image capturing, and a plurality of pieces of data each of which is added to a different one of the plurality of pieces of light-field image data and associated with a position in the depth direction; a group identification unit configured to identify a group to which at least one of the plurality of pieces of added data acquired by the data acquisition unit belongs; an image generation unit configured to generate, from the plurality of pieces of light-field image data associated with the one or more pieces of added data belonging to the group identified by the group identification unit, each of a plurality of refocused images with the corresponding focus position set to a position associated with the one or more pieces of added data belonging to the group; and a display control unit configured to display the plurality of refocused images on a display unit.