The conventional approach for computing loss on image observations is to use an independent output distribution, typically a Gaussian, on each pixel's intensity.
deliberate analysis of the statistics of natural images has shown that images are not well-described in terms of statistically independent pixels, but are instead better modeled in terms of edges (Field, 1987;Huang and Mumford, 1999).