This tool performs a gamma colour correction transform on an input image (input
), such that each input pixel value (zin) is mapped to the corresponding output value (zout) as:
zout = zin
gamma
The user must specify the value of the gamma
parameter. The input image may be of either a greyscale or RGB colour composite data type.
def gamma_correction(self, raster: Raster, gamma_value: float = 0.5) -> Raster: ...