GPU Gamma Correction

Hello, is there any equivalent functions to

cv::intensity_transform::gammaCorrection( );

on GPU side? I found that there is

cv::cuda::gammaCorrection( );

but this one doesn’t take alpha parameter and seems to only work on 3 channel images but my input is grayscale image. If there is not any equivalent, then is the best way to implement the gamma correction is to implement the formula below by using element-wise power operation on a cv::GpuMat object?