Two-Dimensional Visual Dictionary