|
SOLUTIONS
|
MATHEMATICA 内置符号
MorphologicalPerimeter
MorphologicalPerimeter[image]
选取 image 中前景区域的形态学周长.
MorphologicalPerimeter[image, t]
将大于 t 的值视为前景.
更多信息更多信息
- MorphologicalPerimeter[image, ...] 产生一个二值图像,其中在形态学周长上的像素视为 1,其它视为 0.
- 形态学周长定义包含直接与背景相邻的像素.
- MorphologicalPerimeter 可用于二值、灰度和多通道图像,以及具有任意秩的实数数组.
- MorphologicalPerimeter[image] 等价于 MorphologicalPerimeter[image, 0].
- MorphologicalPerimeter 默认情况下将给出像素周围的8个像素视为相邻的.
- 选项设置 CornerNeighbors->False 仅将坐标方向的4个像素视为相邻的.
- MorphologicalPerimeter 采用 Padding 选项. 默认设置是 Padding->0,对应于一个黑色背景.
- MorphologicalPerimeter 适用于 Image3D 对象.
版本 7 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




