Implement reconstruction
Identify valid center index

Valid center is the pixel that a patch centered at Valid Center
does not include missing regions pixel.
bug fix, change mask to linemask

fix the problem of running testPatchMatch
validCenter => validCenters