Research Article
Single Image Dehazing and Edge Preservation Based on the Dark Channel Probability-Weighted Moments
Algorithm 1
Algorithm of the proposed method based on DCPWM.
(1) | Procedure DCPWM () | (2) | //normalizing the original image. | (3) | //computing the minimum values from each color channel. | (4) | //computing the transmission. | (5) | //closed-form framework and soft matting technique. | (6) | PWM ⟵ standard deviation //probability-weighted moments based on the standard deviation for each color channel. | (7) | C (r, g, b) ⟵ log transform //logarithmic transform is applied on each color channel. | (8) | End procedure. |
|