如何比较两个图像并将它们转换为匹配?
我正在拍摄两张相似的图像,并将一张放在另一张上面作为半透明覆盖层。 我现在想要实现的是比较它们之间的差异,并变换(缩放、裁剪、移动和旋转)顶部的图像,使其尽可能与下面的图像匹配。
这是一个视觉表示:
我正在尝试在 Flutter 中实现这一点,但其他解决方案方法也有帮助。
编辑:我已经用 Stack 小部件制作了这个,我可以通过平移来转换顶部的图像。但我正在寻找一种通过分析图像使这件事自动化的方法。
I am taking two similar images and putting one on top of the other as semi transparent overlay.
What I'm trying to achieve now is to compare the difference between them and transform (scale, crop, move and rotate) the image on top so it matches the image underneath as good as it can.
Here is a visual representation:
I'm trying to achieve this in Flutter, but other approaches to a solution help aswell.
Edit: I already made this with a Stack widget I can transform the image on top by panning. But I am looking for a way to make this thing automated by analyzing the images.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论