The invention discloses a self-adaptive 
image contrast enhancement method based on histograms, which is used to judge whether image gray scales are concentrated based on the total number of pixels corresponding to several continuous gray scales on contraction histograms and 
traverse histograms. For images with concentrated gray scales, namely the images with the total number more than a threshold, 
contrast enhancement operations cannot be performed so as to avoid 
image quality transformation after enhancement. Then the minimum key gray scale, a mid-value key gray scale and a maximum key gray scale are obtained through transformation based on a minimum gray scale, a maximum gray scale and a gray scale average value obtained by the contracted histograms. Finally, 
space mapping relationships are established based on four spaces divided by the minimum key gray scale, the mid-value key gray scale and the maximum key gray scale for the minimum gray scale, the gray scale average value and the maximum gray scale, a 
lookup table for 
image contrast enhancement is obtained, and 
image contrast is enhanced for input images based on the 
lookup table. Therefore, excessive enhancement of image contrast is avoided based on distribution conditions of image histograms and self-adaptive regulation mapping relationships.