Inferring Sparse, Overcomplete Image Codes Using an Efficient Coding Framework