|
SOLUTIONS
|
MATHEMATICA 内置符号
ImageCooccurrence
ImageCooccurrence[image, n]
给出 image 的 n×n 共生矩阵.
ImageCooccurrence[image, n, ker]
对由核 ker 指定的任意空间关系,计算共生矩阵.
更多信息更多信息
- ImageCooccurrence[image, n] 返回一个 n×n 矩阵 m,其中元素
表示亮度为 i 的像素位于亮度为 j 的像素的右边或者下边的所有位置的概率,假设所有的像素位于 n 个连续的柱体之一. - 设置 ImageCooccurrence[image, n, ker],可以对由矩阵 ker 指定的任意空间关系计算共生矩阵.
- ImageCooccurrence 所用的默认的二维核是
. - ImageCooccurrence[{image1, image2}, ...] 计算两个图像的共生矩阵. 图像必须具有相同的维度.
- ImageCooccurrence 支持 Masking 选项. 默认设置为 Masking->All,基于所有的图像像素构建共生矩阵.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




