Apply gamma correction
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | img(:,:,:) |
Image array has pixel values. |
||
integer, | intent(in) | :: | maximum_value |
The max value of pixels. |
||
real, | intent(in) | :: | g |
Gamma value. |
The image applied gamma correction.