Page 1 of 1

haze removal

Posted: 2015-06-16T09:46:46-07:00
by dognose
Image
Image

Wondering what IM commands could help with haze removal.

Re: haze removal

Posted: 2015-06-16T11:59:59-07:00
by fmw42
If on unix, see my script, retinex or space, autotone for example.

It also makes it more useful to anyone trying to demonstrate if you post individual before and after images, rather than ones that contain both. We now have to separate them and may not crop them to the same sizes.

Manually use -contrast-stretch and -gamma or just -equalize.

Code: Select all

convert haze.png -contrast-stretch 1x1% -auto-gamma result.png
User snibgo has an adaptive histogram equalize that probably works even better. See http://im.snibgo.com/eqlimit.htm