Incremental learning of sparse representations for visual recognition and categorization : dissertation