insert Iplimage in Iplimage (C)
I have a problem , how do I get a small Iplimage and putting the same over a greater area Iplimage ? In C
Iplimage small
Iplimage big
Iplimage result
Asked: 2015-06-30 20:03:36 -0600
Seen: 285 times
Last updated: Jun 30 '15
the old c-api is no more maintained, and covers only ~20% of opencv's current functionality, you must use c++, and cv::Mat nowadays, not IplImages.
in c++, it would be as easy as:
smallImg.copyTo(bigImg(Rect(x,y,smallImg.cols,smallImg.rows)));