An image processing method, comprising: obtaining a first set comprising key point descriptors in a first image that is of a to-be-shot scene and that is formed by using a first camera in a dual camera system, and a second set comprising key point descriptors in a second image that is of the to-be-shot scene and that is formed by using a second camera in the dual camera system, wherein the first image and the second image are formed at a same moment; pairing, based on a similarity of the key point descriptors, a key point in the first set and a key point in the second set that match each other to form a key point pair, wherein paired key points in the first set are in a one-to-one correspondence with paired key points in the second set, and each key point pair comprises one key point in the first set and a matched key point in the second set; selecting, according to depth information of the first image and the second image, the key point pair that meets a predetermined condition, wherein the depth information of the first image and the second image is used to describe a depth of a pixel in the first image and the second image at a spatial location corresponding to the to-be-shot scene; generating an image alignment vector field according to the selected key point pair, wherein the image alignment vector field is a vector field that is formed by an image alignment vector of a pixel in the first image relative to a corresponding pixel in the second image, and an image alignment vector of a first pixel in the first image relative to a second pixel in the second image is a vector obtained by subtracting coordinates of the first pixel from coordinates of the second pixel; and estimating an occlusion area in the first image and the second image according to the depth information of the first image and the second image, and eliminating an alignment vector of the occlusion area in the image alignment vector field, to form a corrected image alignment vector field, wherein an image in the occlusion area of the first image is invisible in the second image, and an image in the occlusion area of the second image is invisible in the first image. obtaining a first set comprising key point descriptors in a first image that is of a to-be-shot scene and that is formed by using a first camera in a dual camera system, and a second set comprising key point descriptors in a second image that is of the to-be-shot scene and that is formed by using a second camera in the dual camera system, wherein the first image and the second image are formed at a same moment; pairing, based on a similarity of the key point descriptors, a key point in the first set and a key point in the second set that match each other to form a key point pair, wherein paired key points in the first set are in a one-to-one correspondence with paired key points in the second set, and each key point pair comprises one key point in the first set and a matched key point in the second set; selecting, according to depth information of the first image and the second image, the key point pair that meets a predetermined condition, wherein the depth information of the first image and the second image is used to describe a depth of a pixel in the first image and the second image at a spatial location corresponding to the to-be-shot scene; generating an image alignment vector field according to the selected key point pair, wherein the image alignment vector field is a vector field that is formed by an image alignment vector of a pixel in the first image relative to a corresponding pixel in the second image, and an image alignment vector of a first pixel in the first image relative to a second pixel in the second image is a vector obtained by subtracting coordinates of the first pixel from coordinates of the second pixel; and estimating an occlusion area in the first image and the second image according to the depth information of the first image and the second image, and eliminating an alignment vector of the occlusion area in the image alignment vector field, to form a corrected image alignment vector field, wherein an image in the occlusion area of the first image is invisible in the second image, and an image in the occlusion area of the second image is invisible in the first image.