I'm newbie in this forum. Pardon me if this thread not in appropriate sub forum.
I have SSIM algorithm. I want to derive this algorithm.
for average x
for variance x
for covariance x
To be like this
Please help me to solve step by step.