On the relation of image restoration and template matching: application to block-matching motion estimation | IEEE Conference Publication | IEEE Xplore