Multiple random walkers and their application to image cosegmentation