The document presents a modified histogram-based fast enhancement algorithm aimed at improving contrast in medical images, particularly CT head images, to aid in cancer diagnosis. This algorithm enhances areas of interest with reduced complexity by adjusting the method of determining a crucial constant value (k), allowing it to be more adaptable to different CT images. Experimental results demonstrate improved performance in contrast enhancement compared to traditional methods, measured through metrics such as PSNR, AMBE, and entropy.