Looking at the basic example for copyMakeBorder(), we have the code:
copyMakeBorder( src, dst, top, bottom, left, right, borderType, value );
Are there any circumstances where the bits in src do not equal the bits in dst(top, left, dst.height - top - bottom, dst.width - left - right), or in other words is the src always unmodified within dst?
I ask because I've inherited some code that adds a border with cv::BORDER_REFLECT + cv::BORDER_ISOLATED but then extracts the src from inside the borders, so I'm suspicious that this is all unnecessary work.
Furthermore, I've used the code here to convince myself that for the current code the src and the centre of the dst are equal, but I'd still like confirmation that my assumptions are correct.