Title: A statistical method for image classification and tone reproduction determination