Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何扭曲提取的矩形 ROI 以填充整个预览并保持比例?我从相机源图像(Opencv Mat)中提取了一个矩形并将其保存到另一个 Mat 中。现在我想变形/缩放/放大/我不知道……这样它就可以填充整个预览,保持比例!显然,要填充预览,它可能需要变得大于预览大小.. 不在乎!
谢谢!