An image processing method for generating a phase image includes generating a phase image on the basis of a differential image in a first direction based on image information of a subject and a differential image in a second direction different from the first direction, the second-direction differential image including information about a difference between signal values of pixels arranged side by side in the second direction in the first-direction differential image.