24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1888  |  回复: 8
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zhang8826857

铁杆木虫 (著名写手)

[求助] 求助此图的ostu方法分割图像的matlab编程,急急急,金币不是问题啊!

求助此图的ostu方法分割图像的matlab编程,急急急,金币不是问题啊! 有效 回复重金答谢啊!尽量给出完整的程序呀

[ Last edited by zhang8826857 on 2012-6-8 at 15:18 ]
回复此楼
好孩子!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

H_LG

银虫 (正式写手)

type graythresh就可以 看到代码了
邢台学院学生论坛:http://www.xtxybbs.com
6楼2012-06-07 08:44:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

youth0826

至尊木虫 (著名写手)

weibo.com/138147022

曾经有过这个代码,后来不知道扔哪里去了,纯帮顶吧
QQ群:202610705,关注计算机视觉,模式识别,模式分析,机器学习,人工智能,统计学习,图像处理等,欢迎加入!
2楼2012-06-06 23:41:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kk_2010

木虫 (正式写手)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
zhang8826857: 金币+5, 有帮助 2012-06-11 10:52:02
3楼2012-06-07 02:41:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

H_LG

银虫 (正式写手)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
zhang8826857: 金币+5, 有帮助 2012-06-11 10:52:10
matlab自带的graythresh用的就是ostu方法:
help graythresh

GRAYTHRESH Compute global image threshold using Otsu's method.
    LEVEL = GRAYTHRESH(I) computes a global threshold (LEVEL) that can be
    used to convert an intensity image to a binary image with IM2BW. LEVEL
    is a normalized intensity value that lies in the range [0, 1].
    GRAYTHRESH uses Otsu's method, which chooses the threshold to minimize
    the intraclass variance of the thresholded black and white pixels.

    Class Support
    -------------
    The input image I can be of class uint8, uint16, or double and it
    must be nonsparse.  LEVEL is a double scalar.

    Example
    -------
        I = imread('coins.png');
        level = graythresh(I);
        BW = im2bw(I,level);
        imview(BW)

    See also im2bw.

    Reference page in Help browser
       doc graythresh
邢台学院学生论坛:http://www.xtxybbs.com
5楼2012-06-07 08:43:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见