PROBLEM TO BE SOLVED: To provide an endoscopic apparatus, a program and the like, by which deviation in the depth direction in a moving image can be suppressed.SOLUTION: The endoscopic apparatus includes: an image acquiring section which acquires images in time series a coefficient calculating section 703 which calculates a correction coefficient for correcting deviation in the depth direction which is a direction along the optical axis of an imaging section and a depth deviation correction processing section 704 which performs a processing for correcting the deviation in the depth direction of the image which has been acquired in time series, based on the correction coefficient.COPYRIGHT: (C)2012,JPO&INPIT【課題】動画像における奥行き方向のブレを抑制可能な内視鏡装置及びプログラム等を提供すること。【解決手段】内視鏡装置は、時系列に画像を取得する画像取得部と、撮像部の光軸に沿った方向である奥行き方向のブレを補正するための補正係数を算出する係数算出部703と、その補正係数に基づいて、時系列に取得された画像の奥行き方向のブレを補正する処理を行う奥行きブレ補正処理部704と、を含む。【選択図】図5