PROBLEM TO BE SOLVED: To provide an endoscope device capable of reducing a decrease in measurement precision, a method of controlling the endoscope device, and a program.SOLUTION: A tip part 21 has a changeover part 25 which changes an optical path so that only one of two images formed in a region S1 by an optical system is formed, and an imaging element 22 which generates a first picture based upon a first image formed in the region S1 and a second picture based upon a second image formed in the region S1. A control part 30 makes the imaging element 22 generate the second picture after making the imaging element 22 generate the first picture. Then the control part 30 makes the imaging element 22 generate a first picture again, and determines whether there is a blur on the basis of the first pictures generated before and after the second picture is generated. The control part 30 makes a measurement part 31 perform measurement when determining that there is no blur.COPYRIGHT: (C)2016,JPO&INPIT【課題】計測精度の低下を低減することができる内視鏡装置、内視鏡装置の制御方法、およびプログラムを提供する。【解決手段】先端部21は、光学系によって領域S1に結像される2つの像のうちのいずれか一方の像のみが結像されるように光路を切り替える切替部25と、領域S1に結像された第1の像に基づく第1画像および領域S1に結像された第2の像に基づく第2画像を生成する撮像素子22とを有する。制御部30は、撮像素子22に第1画像を生成させた後に、撮像素子22に第2画像を生成させる。続いて、制御部30は、再度撮像素子22に第1画像を生成させると共に、第2画像の生成の前および後にそれぞれ生成された第1画像に基づいてぶれの有無を判定する。制御部30は、ぶれがないと判定した場合に計測部31に計測を行わせる。【選択図】図2