The document presents a study on a modified histogram-based fast enhancement algorithm (mhbfe) aimed at improving the quality of medical images, particularly computed tomography (CT) scans. This algorithm enhances image contrast while preserving brightness and details, addressing the limitations of conventional histogram equalization techniques. Experimental results demonstrate significant improvements in metrics such as peak signal-to-noise ratio (psnr), absolute mean brightness error (ambe), and entropy across various types of CT images.