Add a static_assert to force a scalar image to be passed.
Add a static_assert to force a scalar image to be passed.

jingtangliao/ff,daviddoria/PatchBasedInpainting,daviddoria/PatchBasedInpainting,jingtangliao/ff,daviddoria/PatchBasedInpainting,jingtangliao/ff