Creating efficient codebooks for visual recognition | Synapse