Fixed border interpolation problem in filter2D

This commit is contained in:
Andrey Kamaev
2011-12-26 08:05:33 +00:00
parent 4cfc9dc67e
commit 320bee3bfe
3 changed files with 5 additions and 2 deletions

View File

@@ -218,6 +218,8 @@ void cv::copyMakeBorder( InputArray _src, OutputArray _dst, int top, int bottom,
src.adjustROI(dtop, dbottom, dleft, dright);
top -= dtop;
left -= dleft;
bottom -= dbottom;
right -= dright;
}
borderType &= ~BORDER_ISOLATED;