Here you can find the source of gammaCorrection(final float gamma, final float x)
public static final float gammaCorrection(final float gamma, final float x)
//package com.java2s; public class Main { public static final float gammaCorrection(final float gamma, final float x) { return (float) Math.pow(x, 1 / gamma); }/*from w ww.j a va 2 s . c o m*/ }