Unified Dictionary Learning and Region Tagging with Hierarchical Sparse Representation