Embodiments of the present invention provide an image processing method and an image processing apparatus. The method includes: determining depth information of multiple depth planes, where the depth information of the multiple depth planes is used to indicate the multiple depth planes, the multiple depth planes are respectively corresponding to multiple refocused images of the multiple depth planes, and the multiple refocused images are generated based on raw data of the multiple refocused images; and generating a refocused image of the multiple depth planes according to the depth information, where the refocused image of the multiple depth planes includes focused parts of the multiple refocused images. In the technical solutions of the present invention, clear images of objects in multiple depth planes can be simultaneously obtained.