| Algorithm 1 Multi-scale fusion and denoising of NIR and RGB images. |
|
Input: Noisy gray image from RGB image, NIR image
Initialize: ,,, , , , , , , . 1. Perform DT-CWT on noisy gray and NIR images. 2. Detail layer: For m=1:M (M: Maximum decomposition) For n=1:N (N: Maximum iteration number) a. Calculate of and [24]; b. Calculate from by (13); c. Calculate by (14)–(17); d. Optimize by (21); e. Optimize by (23); if and ; break; end For end For 3. Base layer:For n=1:N (N: Maximum iteration number) a. Calculate of and [24]; b. Calculate from g by (26); c. Calculate by (14); d. Optimize and by (24)–(25); if and ; break; end For 4. Perform inverse DT-CWT.Output: Fused gray image. |