Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

if smallImg and bigImg have the same format, and you're sure it 'fits' at the given position, try:

 smallImg.copyTo( bigImg.submat( y, smallImg.rows(), x, smallImg.cols() ) );