| Algorithm 1 Proposed method for TII Enhancement | ||
|
Input:I, G, , n, Output:(Enhanced image) Initialization: G, 1: for to n do 2: Calculation of top-hat transform. (Equation (11)) (Equation (12)) 3: Calculation of subtractions from neighboring scales, obtained through the top-hat transform. The top-hat is subtracted with the previous difference, from the first subtraction of the first neighboring top-hat. 4: end for 5: Calculation of the maximum values of all the multiple scales obtained. (Equation (15)) (Equation (16)) (Equation (17)) (Equation (18)) 6: TII enhancement calculation.The contrast enhancement calculation consists of adding the results of the multiple bright scales to the original image and subtracting the results of the multiple dark scales. (Equation (19)) 7: return |