1. An image processing method, which is implemented by a computer, comprising: acquiring multiple parallax images of an object, the parallax images having a parallax to one another; acquiring, by using the respective parallax images as mutually different base images, relative difference information for each of the mutually different base images on a relative difference between that base image and at least one other parallax image in the multiple parallax images; detecting an unwanted component contained in each of the parallax images by using the relative difference information acquired for the mutually different base images; and correcting each of the parallax images by removing or reducing the detected, unwanted component contained in each of the parallax images.