This paper discusses adaptive histogram equalization techniques for enhancing grayscale images in both natural and unnatural lighting. It presents a comparison of methods such as adaptive histogram equalization (AHE) and contrast limited adaptive histogram equalization (CLAHE), detailing their impact on image contrast and quality. The results demonstrate varying performance across different methods, indicating that the choice of technique should be tailored to specific applications.