Calculation of all the coefficients, that we need to reconstruct the
image. And calculation of the RGB image channel per channel (function
imageReconstruction)