如何“添加”两个图像,以便产生两者的差异 [英] How to "add" two images so that resulting is the difference of the two

查看:58
本文介绍了如何“添加”两个图像,以便产生两者的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试过使用两位图的逐位比较来查找不同的像素并将差异绘制到另一个透明位图中,以便得到的图像是2个比较图像的差异。但是,对于大图像,
处理速度非常慢。我相信有更快的方法来实现同样的目标。你能建议吗?谢谢。

I have tried using a bit by bit comparison of two bitmaps in order to find different pixels and draw the difference into yet another transparent bitmap, so that the resulting image is the difference of the 2 compared images. However, with large images the processing is very slow. I am sure there is a faster way of achieving the same. Could you please suggest? Thanks.

推荐答案

Imaxus, 

Imaxus, 

可能我要等Tommy。但对我来说,它看起来是不可能的。 

Probably I've to wait on Tommy. But for me it looks impossible. 

你有2个位图,而且它们是不相等的。 

You have 2 bitmaps and somewhere they are unequal. 

但是什么是不平等的。如果向左移动一个像素,那么有什么不同,左边的部分或右边的部分?

But what is unequal. If there is a one pixel shift to the left then what is different, the part at the left or the part at the right side?

也许你可以用一些商业软件展示样本你试图实现。 

Maybe can you show a sample with some commercial software what you try to achieve. 


这篇关于如何“添加”两个图像,以便产生两者的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆