1. A processor, comprising: an imaging control unit which causes an imaging unit for capturing an image with changing a focused object distance, to change the focused object distance with a first change width in the case of a first focused object distance, and to change the focused object distance with a second change width that is smaller than the first change width in the case of a second focused object distance that is shorter than the first focused object distance; and an image processing unit which extracts focused object image data from captured image data for each of the focused object distances, and generates image data by shifting the extracted object image data by parallax amounts corresponding to the respective focused object distances, and by synthesizing the extracted object image data.