Research Article
Improved Dark Channel Defogging Algorithm for Defect Detection in Underwater Structures
Table 7
Key processes in image disease ratio statistics.
| Name | Key processes |
| Disease ratio statistics | Coefficient = [0, 0.5, 0.85, 1 ]; | Node = [225, 235, 245]; | ind_t = find ((file_Pix_gray ≤ node (1)) == 1); | Area 1 = file_Pix_gray (ind_t); | ind_t = find (((file_Pix_gray > node (1)) and (file_Pix_gray ≤ node (2))) == 1); | Area 2 = file_Pix_gray (ind_t); | ind_t = find(((file_Pix_gray > node (2)) and (file_Pix_gray ≤ node (3))) = = 1); | Area 3 = file_Pix_gray (ind_t); | ind_t = find ((file_Pix_gray > node(3)) == 1); | Area 4 = file_Pix_gray (ind_t); |
|
|