PROBLEM TO BE SOLVED: To provide a radiographic apparatus in which imaging of a soft tissue is prevented from being inhibited due to an unwrapping error.SOLUTION: An X-ray image detector detects an X-ray which is emitted from an X-ray source and passes through first and second gratings, and generate image data. A phase-differential image generating section generates a phase-differential image on the basis of the image data. An OK/NG region detecting section detects an NG region where an unwrapping error easily occurs in the phase-differential image, and detects the other regions as OK regions. An unwrapping processing section sets a starting point SP in an OK region, applies unwrapping processing to adjacent pixels while using the starting point SP as a reference point, and then, sequentially performs unwrapping processing for the pixels in the OK regions while changing the reference point for the pixels subjected to the unwrapping processing.COPYRIGHT: (C)2013,JPO&INPIT【課題】アンラップエラーによる軟部組織の画像化の阻害を防止する。【解決手段】X線画像検出器は、X線源から放射され第1及び第2の格子を通過したX線を検出して画像データを生成する。位相微分画像生成部は、画像データに基づいて位相微分画像を生成する。OK/NG領域検出部は、位相微分画像においてアンラップエラーが生じやすいNG領域を検出するとともに、それ以外の領域をOK領域として検出する。アンラップ処理部は、OK領域中に起点SPを設定し、この起点SPを基準点として隣接画素をアンラップ処理した後、アンラップ処理が行われた画素に基準点を変更しながらOK領域内の画素を順にアンラップ処理する。【選択図】図6