Scene Categorization Using Topic Model Based Hierarchical Conditional Random Fields