| Begin |
Input: Color image (CI) having size M and N Minkowski’s norm (mn) = 5 Sigma () = 2 differential order(do) = 2. |
Step 1: Divide CI into RI, GI, and BI. |
Step 2: Remove saturated color points. It represents those pixels that are greatly influenced by the light direction [21, 22]. |
Step 3Computed aggregated color values as [23]: |
|
|
|
Here, , , and define the aggregated color values of , , and , respectively. |
Step 4: Compute the average of all color channels as [24]: |
|
Step 5: Computer the impact of color saturation as [25, 26]: |
|
|
|
Step 6: Remove the color saturation as [18, 27]: |
|
|
|
Step 7: Evaluate the effect illuminance () using 2nd order edge-based approach as: |
|
Step 8: Evaluate the impact of light on each color channel as [18, 28]: |
|
|
|
Here, , , and show the mask containing the saturated pixels. |
Step 9: Evaluate the aggregated impact of normalized whiteness in the color channels as [18, 29]: |
|
Step 10: Compute the impact of light source as: |
|
|
|
Step 11: Compute the restored color channels as |
|
|
|
Step 12: Return concatenated (Ro, GO, and Bo) |