Automated Identification of Neuronal Activity from Calcium Imaging by Sparse Dictionary Learning