haze removal
haze removal
Wondering what IM commands could help with haze removal.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: haze removal
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.
User snibgo has an adaptive histogram equalize that probably works even better. See http://im.snibgo.com/eqlimit.htm
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