【发布时间】:2023-03-21 09:06:01
【问题描述】:
我有 2 张图片,我想在 image2 上附加 image1。 被表示为像这样的图像:
Image<Bgr, Byte> image1 = new Image<Bgr, byte>("2.jpg");
Image<Bgr, Byte> image2 = new Image<Bgr, byte>("4.jpg");
假设 image2 很小,我想把它放在 image1 的 x,y 坐标中,这样它们将是一个小方块,代表 image1 在特定点上的 image2。
我尝试使用复制方法,但不能这样做,因为它没有坐标选项。
我应该使用这个库中的哪个函数?
【问题讨论】: