Learning generic prior models for visual computation | Synapse