They've mentioned it in the pseudo code. http://graphics.cs.cmu.edu/people/efros/research/NPS/alg.html