This script tries to fix the tone of a photo taken with wrong exposure. In some landscape photos, it can have a nice effect of enhancing the colors.
The general idea is to produce different copies of the image at different gamma levels, then applying simple tone mapping techniques to produce a vibrant photo.
The script allows the user to control the number of copies by setting the lowest and highest gamma setting then the interval. For example lowest=20, highest=170, interval=10 results to (170-20)/10 = 15 copies with increasing gamma level from 0.2 to 1.7. Play around!
This is my first script and not so optimized, anyone is welcome to improve on it.
Warning, the higher the number of copies, the slower it becomes, especially on photos above 640x480. Best to try on reduced copies first.
| Attachment | Size |
|---|---|
| ftonefix.scm | 1.97 KB |
| pond2.JPG | 504.95 KB |
| pond1.jpg | 237.02 KB |
| trees1.jpg | 110.69 KB |
| trees.jpg | 240.46 KB |
Recent comments
1 day 12 hours ago
1 day 20 hours ago
1 day 23 hours ago
2 days 11 hours ago
2 days 11 hours ago
2 days 15 hours ago
2 days 23 hours ago
3 days 36 min ago
3 days 4 hours ago
3 days 11 hours ago