On multiple foreground cosegmentation
beyond bags of features : spatial pyramid matching for recognizing natural scene categories .