We are provided with the two high dynamic range images and we need to apply the gamma mapping.
Firstly we have applied the gamma non-linearity mapping to the grayscaled version of the HDR images.
Secondly, we have applied the gamma non-linearity mapping to the each color channel(RGB).