PROBLEM TO BE SOLVED: To provide a technique capable of increasing the accuracy of detecting a body motion of a subject.SOLUTION: The MR apparatus comprises : distance calculation means for calculating the distance between the position of an isocenter C in an AP direction and the position of an edge of the liver in the AP direction phase calculation means 911 for calculating the phase φk of a reference signal on the basis of the distance a detector circuit for converting a digital signal DH into a digital signal DL, using a reference signal containing information of the phase φk calculated by the phase calculation means 911 image creation means for creating a sagittal image on the basis of the filtered digital signal DL data specification means for specifying the data in the position of the edge of the liver in the AP direction, from within the sagittal signal and detection means for detecting the position of the edge of the liver in an SI direction on the basis of the data.SELECTED DRAWING: Figure 26COPYRIGHT: (C)2016,JPO&INPIT【課題】被検体の体動の検出精度を向上させることができる技術を提供する。【解決手段】MR装置は、アイソセンターCのAP方向の位置と、肝臓の端部のAP方向の位置との間の距離を算出する距離算出手段と、該距離に基づいて、基準信号の位相φkを算出する位相算出手段911と、位相算出手段911により算出された位相φkの情報を含む基準信号を用いて、デジタル信号DHをデジタル信号DLに変換する検波回路と、フィルタ処理されたデジタル信号DLに基づいてサジタル画像を作成する画像作成手段と、サジタル画像の中から、肝臓の端部のAP方向の位置におけるデータを特定するデータ特定手段と、該データに基づいて、肝臓の端部のSI方向の位置を検出する検出手段とを有する。【選択図】図26