Opened 8 years ago
Last modified 6 years ago
#3110 new enhancement
i.colors.enhance or r.colors: add Gamma correction parameter to improve brightness
Reported by: | neteler | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6.2 |
Component: | Imagery | Version: | svn-releasebranch72 |
Keywords: | i.colors.enhance, r.colors, gamma | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
Sometimes color composites of satellite data are very dark. A common solution is "Gamma correction" (https://en.wikipedia.org/wiki/Gamma_correction) which brightens an image while keeping colors intact.
While I would like to see a gamma=... parameter in i.colors.enhance, I guess that it needs to be added to r.colors.
Some code:
- https://github.com/imagico/gdal-py/blob/master/ls2rgb.py (uses numpy)
- r7436 brought some gamma support to r.in.png but it is not quite clear to me what it does. At least it is in C.
Maybe it is not complicated to add that?
Change History (8)
comment:1 by , 8 years ago
Milestone: | 7.2.0 → 7.2.1 |
---|
comment:2 by , 8 years ago
Milestone: | 7.2.1 → 7.2.2 |
---|
comment:3 by , 7 years ago
Milestone: | 7.2.2 → 7.4.0 |
---|
All enhancement tickets should be assigned to 7.4 milestone.
comment:5 by , 7 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:6 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
All enhancement tickets should be assigned to 7.6 milestone.
Note:
See TracTickets
for help on using tickets.
Ticket retargeted after milestone closed