# Revision history [back]

Artifacts appear using OpenCV 3.1.0, in 2.4.9 it's working perfectly.

The reason is because warped images were changed to be conformed by borderType BORDER_CONSTANT instead of by BORDER_REFLECT. That leads to black gaps in the images that will blur with foreground pixels in the pyramidal blending step, resulting in the mentioned artifacts. I show two examples of warped images to see the difference:

With BORDER_CONSTANT:

With BORDER_REFLECT:

First case is returning artifacts, second is working perfectly.

I've already report the issue to change it back.

Artifacts appear using OpenCV 3.1.0, in 2.4.9 it's working perfectly.

The reason is because warped images were changed to be conformed by borderType BORDER_CONSTANT instead of by BORDER_REFLECT. That leads to black gaps in the images that will blur with foreground pixels in the pyramidal blending step, resulting in the mentioned artifacts. I show two examples of warped images to see the difference:

With BORDER_CONSTANT:

With BORDER_REFLECT:

First case is returning artifacts, second is working perfectly.

I've already report reported the issue to change it back.