An image processing method, comprising: transforming a first image to obtain a first transform coefficient set; transforming a second image in a same manner to obtain a second transform coefficient set, wherein a same manner means that a same transformation method is used for the first image and the second image, wherein the first image and the second image are image regions in a same shape and same size and include a same quantity of pixels; selecting a first group of transform coefficients from the first transform coefficient set according to magnitudes of transform coefficients in the first transform coefficient set, wherein magnitudes of transform coefficients in the first group of transform coefficients meet a preset threshold condition; determining an image difference between the first image and the second image according to the first group of transform coefficients and the second transform coefficient set; and processing the first image and the second image according to the image difference, wherein the determining an image difference between the first image and the second image according to the first group of transform coefficients and the second transform coefficient set comprises: selecting, from the second transform coefficient set according to a one-to-one correspondence between transform coefficients in the first transform coefficient set and in the second transform coefficient set, a second group of transform coefficients that is corresponding to the first group of transform coefficients; and determining the image difference according to the first group of transform coefficients and the second group of transform coefficients comprising determining a first target value, wherein the first target value is a sum of differences between corresponding transform coefficients in the first group of transform coefficients and in the second group of transform coefficients; determining a second target value, wherein the second target value is a sum of differences between corresponding transform coefficients in remaining transform coefficients other than the first group of transform coefficients in the first transform coefficient set and in remaining transform coefficients other than the second group of transform coefficients in the second transform coefficient set; and performing weighted summation on the first target value and the second target value according to a weighting coefficient of the first target value and a weighting coefficient of the second target value, to obtain the image difference. transforming a first image to obtain a first transform coefficient set; transforming a second image in a same manner to obtain a second transform coefficient set, wherein a same manner means that a same transformation method is used for the first image and the second image, wherein the first image and the second image are image regions in a same shape and same size and include a same quantity of pixels; selecting a first group of transform coefficients from the first transform coefficient set according to magnitudes of transform coefficients in the first transform coefficient set, wherein magnitudes of transform coefficients in the first group of transform coefficients meet a preset threshold condition; determining an image difference between the first image and the second image according to the first group of transform coefficients and the second transform coefficient set; and processing the first image and the second image according to the image difference, wherein the determining an image difference between the first image and the second image according to the first group of transform coefficients and the second transform coefficient set comprises: selecting, from the second transform coefficient set according to a one-to-one correspondence between transform coefficients in the first transform coefficient set and in the second transform coefficient set, a second group of transform coefficients that is corresponding to the first group of transform coefficients; and determining the image difference according to the first group of transform coefficients and the second group of transform coefficients comprising selecting, from the second transform coefficient set according to a one-to-one correspondence between transform coefficients in the first transform coefficient set and in the second transform coefficient set, a second group of transform coefficients that is corresponding to the first group of transform coefficients; and determining the image difference according to the first group of transform coefficients and the second group of transform coefficients comprising determining a first target value, wherein the first target value is a sum of differences between corresponding transform coefficients in the first group of transform coefficients and in the second group of transform coefficients; determining a second target value, wherein the second target value is a sum of differences between corresponding transform coefficients in remaining transform coefficients other than the first group of transform coefficients in the first transform coefficient set and in remaining transform coefficients other than the second group of transform coefficients in the second transform coefficient set; and performing weighted summation on the first target value and the second target value according to a weighting coefficient of the first target value and a weighting coefficient of the second target value, to obtain the image difference.