|
SOLUTIONS
|
MATHEMATICA 内置符号
ImageDifference
ImageDifference[image1, image2]
给出一个图像,其中每个像素都是
和
中对应像素的差的绝对值.
更多信息更多信息
- 图像
和
必须具有相同的维度. - ImageDifference 可用于任意单通道或者多通道图像.
- 如果
或者
是一个单通道图像,在 ImageDifference[image1, image2] 中,绝对差由另一个图像的每个通道计算. - 如果
和
都是多通道图像,分别对每个通道的值进行比较. - ImageDifference[image1, image2] 给出一个具有
或者
中最大类型的图像. - 对于二值图像,ImageDifference 实际上找到像素值的逻辑异或.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


