An imaging device (10) comprises: an objective optical system (110) which includes a focus lens (111); a light path division part (121) which divides a subject image into two light paths having different focus object positions; an imaging element (122) which acquires a first image and a second image by taking images of the respective subject images on the divided two optical paths; an image synthesis unit (330) which generates a single synthesis image by selecting images having a relatively high contrast in predetermined areas corresponding to the first image and the second image; and an AF control unit (360). The AF control unit (360) performs AF control on the basis of the first image and/or the second image before being subjected to synthesis processing by the image synthesis unit (330).La présente invention concerne un dispositif d'imagerie (10) qui comprend : un système optique d'objectif (110) qui comprend une lentille de focalisation (111) ; une partie de division de trajet de lumière (121) qui divise une image de sujet en deux trajets de lumière ayant différentes positions d'objet de mise au point ; un élément d'imagerie (122) qui acquiert une première image et une seconde image en prenant des images des images de sujet respectives sur les deux trajets optiques divisés ; une unité de synthèse d'image (330) qui génère une seule image de synthèse par sélection d'images ayant un contraste relativement élevé dans des zones prédéterminées correspondant à la première image et à la seconde image ; et une unité de commande autofocus, AF (360). L'unité de commande AF (360) effectue une commande AF sur la base de la première image et/ou de la seconde image avant d'être soumise à un traitement de synthèse par l'unité de synthèse d'image (330).撮像装置(10)は、フォーカスレンズ(111)を含む対物光学系(110)と、被写体像を合焦物体位置の異なる2つの光路に分割する光路分割部(121)と、分割された2つの光路の被写体像をそれぞれ撮像することによって、第1画像及び第2画像を取得する撮像素子(122)と、第1画像及び第2画像の間の対応する所定領域において、相対的にコントラストが高い画像を選択することによって、1つの合成画像を生成する画像合成部(330)と、AF制御部(360)を含む。AF制御部(3