1. In a computing environment, a method performed at least in part on at least one processor, comprising, generating a scene representation for a query image, including, searching scenes corresponding to sample images to identify one or more objects for comparing with the query image, and transforming the query image and the one or more objects into semantic segments comprising at least a portion of the scene representation.