CImg plugin implementation of the PatchMatch algorithm