An image processing method, comprising: acquiring an image to be processed when shooting a picture; acquiring N shooting brightness parameters for adjusting a camera and corresponding to the shooting, the N shooting brightness parameters comprising an exposure time and an ISO value where N is a positive integer; dividing the image to be processed into P independent areas, and selecting Q independent areas from the P independent areas, wherein a mean brightness of each of the Q independent areas is greater than a preset mean brightness, where P and Q are positive integers and P is greater than Q; determining a current environment according to the N shooting brightness parameters, comprising: determining a discrete distribution degree of the Q independent areas in the image to be processed; wherein the discrete distribution degree is a standard deviation between Q geometric center points of the Q independent areas and a target center geometric point, and the target center geometric point is a center of the Q geometric center points of the Q independent areas; determining a current environment as a first preset environment when the discrete distribution degree is smaller than a preset discrete threshold, the exposure time is smaller than a first preset threshold and the ISO value is smaller than a second preset threshold; determining the current environment as a second preset environment when the discrete distribution degree is greater than or equal to the preset discrete threshold, or when the exposure time is greater than or equal to the first preset threshold or when the ISO value is greater than or equal to the second preset threshold; determining a light spot area of the image to be processed according to the current environment; and performing different processing operations on the light spot area and other areas of the image to be processed, so as to acquire an output image. acquiring an image to be processed when shooting a picture; acquiring N shooting brightness parameters for adjusting a camera and corresponding to the shooting, the N shooting brightness parameters comprising an exposure time and an ISO value where N is a positive integer; dividing the image to be processed into P independent areas, and selecting Q independent areas from the P independent areas, wherein a mean brightness of each of the Q independent areas is greater than a preset mean brightness, where P and Q are positive integers and P is greater than Q; determining a current environment according to the N shooting brightness parameters, comprising: determining a discrete distribution degree of the Q independent areas in the image to be processed; wherein the discrete distribution degree is a standard deviation between Q geometric center points of the Q independent areas and a target center geometric point, and the target center geometric point is a center of the Q geometric center points of the Q independent areas; determining a current environment as a first preset environment when the discrete distribution degree is smaller than a preset discrete threshold, the exposure time is smaller than a first preset threshold and the ISO value is smaller than a second preset threshold; determining the current environment as a second preset environment when the discrete distribution degree is greater than or equal to the preset discrete threshold, or when the exposure time is greater than or equal to the first preset threshold or when the ISO value is greater than or equal to the second preset threshold; determining a light spot area of the image to be processed according to the current environment; and performing different processing operations on the light spot area and other areas of the image to be processed, so as to acquire an output image. <EOS>