This paper presents a contrast-enhancement-based dehazing algorithm to address detail loss, dim brightness, and color distortion in dehazed images of offshore tugboat sailing scenes with large sea-sky regions. First, atmospheric light estimation is optimized using quadtree segmentation to locate the light source in regions with minimal local pixel variance. Then, mean squared error contrast preserves image details, and a contrast overall cost function combined with an information loss function is used to find optimal transmission, enhancing contrast and making the sky region clearer. A fast guided filter further refines the transmission map, reducing block artifacts and maintaining real-time performance while restoring image authenticity. Finally, adaptive histogram equalization preserves contrast information in the sky, avoiding over-bright or over-dark areas. Experiments show that the image obtained using the proposed algorithm improves structural similarity, peak signal-to-noise ratio, and mean squared error by 15. 94%, 11. 46%, and 25. 82%, respectively, compared with the OCE method, while preventing color cast and halo effects, enhancing sea-sky boundary clarity, and meeting real-time requirements for restoring a realistic maritime environment.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |