Introduction - If you have any usage issues, please Google them yourself
This code provides two image defogging methods, one is the traditional use of dark channel for defogging, but it has a strong white edge effect; the enhancement method combines statistical characteristics with dark channel to solve the white edge problem.