|
SOLUTIONS
|
MATHEMATICA 内置符号
MorphologicalEulerNumber
MorphologicalEulerNumber[image]
计算二值图像中区域的形态学欧拉数.
MorphologicalEulerNumber[image, t]
将大于 t 的值视为前景.
更多信息更多信息
- MorphologicalEulerNumber[image] 缺省下给出 image 中连接白色区域的全部数量, 减去这些区域内出现的黑色洞的数量.
- MorphologicalEulerNumber[image] 等价于 MorphologicalEulerNumber[image, 0].
- MorphologicalEulerNumber 默认情况下下将给出像素周围的 8 个像素视为相邻的.
- 选项设置 CornerNeighbors->False 仅将坐标方向的 4 个像素视为相邻的.
- MorphologicalEulerNumber 作用于二值,灰度和其它图像中.
- MorphologicalEulerNumber 采用 Padding 选项. 默认设置为 Padding->0,对应于一个黑色背景.
版本 7 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


