return the average of the pixel values of an image
principal component analysis
return the variance of the pixel values of an image