A thermodynamically complete model of visual processing | Synapse