1. An image processing method for obtaining an out-of-focus image by using a plurality of images, the method comprising: capturing a first image, a second image, and a third image, which are captured with different focuses for the same subject and background; setting a subject portion and a background portion by using the first and second images; and combining the first image for the subject portion and the third image for the background portion with each other to obtain an out-of-focus image.