|
SOLUTIONS
|
MATHEMATICA 内置符号
ContourDetect
ContourDetect[image]
给出一个二值图像,其中白色像素对应于 image 中的零点和过零点.
ContourDetect[image, delta]
将 image 中绝对值小于 delta 的值视为0.
更多信息更多信息
- ContourDetect 求具有零值的像素,以及具有正值并且至少有一个相邻像素为负值的像素.
- 对于彩色图像,ContourDetect 对所有通道上的平均亮度进行操作.
- ContourDetect 可用于任意类型的图像.
- ContourDetect[m] 在一个数值矩阵 m 中找到零点和过零点,并返回一个稀疏数组.
- ContourDetect[m, delta] 实际上将幅度小于 delta 的值修剪掉.
- ContourDetect 默认情况下,把给定像素周围的所有八个像素视为相邻像素.
- 选项设置 CornerNeighbors->False 只把坐标方向上的四个像素视为相邻像素.
- 在选项设置 CornerNeighbors->None 下,ContourDetect 对像素与原图像中的角点相对应的双重网格进行操作,从而把所得图像的维度减少了一个像素.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


