statistical analysis in image processing