# Offset image with border interpolation

**URL:** <https://forum.opencv.org/t/offset-image-with-border-interpolation/8811>\
**Category:** C++\
**Tags:** imgproc, core\
**Created:** [May 17, 2022, 3:34am UTC](https://forum.opencv.org/t/offset-image-with-border-interpolation/8811 "2022-05-17T03:34:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MakeItGreatAgain](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@MakeItGreatAgain](https://forum.opencv.org/u/MakeItGreatAgain)\
**Post date:** [May 17, 2022, 3:34am UTC](https://forum.opencv.org/t/offset-image-with-border-interpolation/8811/1 "2022-05-17T03:34:51Z")

</div>

Hello,

> <https://stackoverflow.com/questions/19068085/shift-image-content-with-opencv>

This url is searched out via google. I want to do it similarlly, i.e. offset an image with a dx and dy. I want also pixels moved away from the border should be interpolated with the old borders.
