|
SOLUTIONS
|
FindThreshold
FindThreshold[image]
求把 image 中的亮度值划分为两个区间的全局阈值.
更多信息更多信息
- FindThreshold 可用于任意图像. 它把多通道和彩色图像转化为灰度图像,并且求一个全局阈值.
- FindThreshold 可用于任意维度的实数数组.
- FindThreshold[image, Method->method] 指定用来决定阈值的方法.
- Method 选项的可能设置包括:
-
{"BlackFraction",b} 使得所有像素中的一定比例 b 变成黑色 "Cluster" 聚类方差最大化(Otsu 算法) "Entropy" 直方图熵最大化(Kapur 方法) "Mean" 将平均像素级作为阈值使用 "Median" 将中位数像素级作为阈值使用 "MinimumError" Kittler-Illingworth最小误差阈值方法 - 默认设置为 Method->"Cluster".
版本 8 的新功能 | 版本 9 修改功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

