Image cognition using Convolutional Restricted Boltzmann Machines