optimized picture analysis
merged analysis functions into ImageResult class