The invention relates to the field of image enhancement technology, in particular to an image enhancement method and system and electronic equipment. The image enhancement method comprises the steps that a, a lateral inhibition network mathematical model is constructed; b, an edge feature matrix of an original image is calculated through a sobel operator, and normalization is performed on the edgefeature matrix to obtain a sobel measurement factor matrix; and c, the lateral inhibition network mathematical model is optimized through the sobel measurement factor matrix, and enhancement processing is performed on the original image according to the optimized lateral inhibition network mathematical model. Through the image enhancement method and system and the electronic equipment, the advantage of conforming to visual physiological features of a lateral inhibition network and noise suppression of the Sobel operator are combined, so that the contrast ratio of edge points is increased, theedge enhancement ability is improved, meanwhile, noise is suppressed to some extent, the requirement of subsequent image analysis is met, and real-time processing can be realized.