CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

gammaCorrection

Applies a gamma correction to an image.

Therefore, all pixels x of the Image X are normalized and the power to gamma g is computed, before normlization is reversed (^ is the power operator):f(x) = (x / max(X)) ^ gamma * max(X)

Category: Filter

Usage in ImageJ macro

Ext.CLIJx_gammaCorrection(Image input, Image destination, Number gamma);

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint