“…For a given grid position U, among all the candidate patches for that position, the patch that belongs to the highest ranked image is selected to fill the background. This can be performed successively for each pair of patches (P,Q) at corresponding locations in two different images, as follows: (2) After selecting the best patch for each grid position U from the candidate patches, a consensus background image is formed, but holes corresponding to removed foreground objects are still present in that image and need to be filled in order to recover the complete background.…”