Algorithm 1 Pseudo code of the proposed enhanced model.
FUNCTION TSSR_Enhancement(original_image, beta = 1.5):    // Apply Tuned Single-Scale Retinex (TSSR) for contrast enhancement    1. Compute gradient of the original image along x and y directions (Gx, Gy)    2. Calculate normalization factor (N) based on gradient magnitudes    3. Generate modified Gaussian function (G) with parameter beta    4. Convolve original image with G to compute illumination-adjusted image    5. Output enhanced_image = (original_image / N) * G    RETURN enhanced_image |