The invention discloses a nighttime
color image enhancement method based on purpose optimization and
histogram equalization, and belongs to the technical field of
image processing. The nighttime
color image enhancement method based on purpose optimization and
histogram equalization is characterized by comprising the steps that
optimum control is carried out on the quadratic sum of the differences of pixel values of points of an image to be processed, gradient components, in the x direction and y direction, of the points of the image to be processed, the quadratic sum of the differences of pixel values of points of a result image, and gradient components, in the x direction and y direction, of the points of the result image, so that
image contrast is improved, wherein a parameter theta which controls the gradient components is used for controlling the gradient components, in the x direction and the y direction, of the result image, when the absolute value of the gradient component, in the x direction, of each pixel point of the image to be processed and the absolute value of the gradient component, in the y direction, of the pixel point of the image to be processed are smaller than the theta, the values of the gradient components, in the x direction and the y direction, of the corresponding point of the result image are kept unchanged, and when the absolute value of the gradient component, in the x direction, of each pixel point of the image to be processed and the absolute value of the gradient component, in the y direction, of the pixel point of the image to be processed are larger than or equal to the theta, the values of the gradient components, in the x direction and the y direction, of the corresponding point of the result image are enhanced through a
Gamma correction function; improved
histogram equalization processing is carried out, and therefore a result which is better than an existing
algorithm provided by Michael Elad and an MSRCR
algorithm is obtained.