本文介绍了两个位图图像的逻辑与的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们可以取两个位图的AND吗?
我正在尝试这段代码,但无法正常运行
公共静态位图AND(位图image1,位图image2)
{
位图img =(位图)(image1&image2);
返回img;
}
如果有人可以帮助我
在此先感谢.
我正在使用aforge.net.
can we take AND of two bitmaps
iam trying this code but it isn''t working
public static Bitmap AND(Bitmap image1, Bitmap image2)
{
Bitmap img=(Bitmap)(image1 & image2);
return img;
}
if any one can help me
thanks in advance.
i am using aforge.net. Is there any function which performs logical AND?
推荐答案
这篇关于两个位图图像的逻辑与的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!