An Information-theoretic Approach to Interactions in Images