use entropy to summarize an image