Capturing Spatial Interdependence in Image Features: The Counting Grid, an Epitomic Representation for Bags of