| 9 | 1/1 | 返回列表 |
| 查看: 2054 | 回復(fù): 8 | ||
zhang8826857鐵桿木蟲 (著名寫手)
|
[求助]
求助此圖的ostu方法分割圖像的matlab編程,急急急,金幣不是問(wèn)題啊!
|
求助此圖的ostu方法分割圖像的matlab編程,急急急,金幣不是問(wèn)題啊! 有效 回復(fù)重金答謝!盡量給出完整的程序呀![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() [ Last edited by zhang8826857 on 2012-6-8 at 15:18 ] |

至尊木蟲 (著名寫手)
weibo.com/138147022

木蟲 (正式寫手)
|
http://blog.csdn.net/daxiamit/article/details/6619075 http://hi.baidu.com/%BA%A3%B3%E6 ... 9cc7f1e7cd403e.html |
|
銀蟲 (正式寫手)
|
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 |

銀蟲 (正式寫手)


鐵蟲 (初入文壇)
|
由于圖像背景較大,先做底帽變換,在用matlab的otsu函數(shù); clear;clc; a=imread('*.jpg'); a=rgb2gray(a); b=imbothat(a,strel('disk',10)); t=graythresh(b); c=im2bw(b,t); subplot(3,1,1);imshow(a,[]); subplot(3,1,2);imshow(b,[]); subplot(3,1,3);imshow(c,[]); |
鐵桿木蟲 (著名寫手)
|
| 9 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 341求調(diào)劑 +5 | 搗蛋豬豬 2026-03-11 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 070300化學(xué)319求調(diào)劑 +4 | 錦鯉0909 2026-03-17 | 4/200 |
|
|
[考研] 材料工程專碩調(diào)劑 +5 | 204818@lcx 2026-03-17 | 5/250 |
|
|
[考研] 344求調(diào)劑 +4 | knight344 2026-03-16 | 4/200 |
|
|
[考研] 275求調(diào)劑 +4 | 太陽(yáng)花天天開(kāi)心 2026-03-16 | 4/200 |
|
|
[考研] 一志愿985,本科211,0817化學(xué)工程與技術(shù)319求調(diào)劑 +5 | Liwangman 2026-03-15 | 5/250 |
|
|
[考研] 一志愿華中師范071000,325求調(diào)劑 +6 | RuitingC 2026-03-12 | 6/300 |
|
|
[考研] 0856專碩279求調(diào)劑 +5 | 加油加油!? 2026-03-15 | 5/250 |
|
|
[考研] 080500,材料學(xué)碩302分求調(diào)劑學(xué)校 +4 | 初識(shí)可樂(lè) 2026-03-14 | 5/250 |
|
|
[考研] 材料080500調(diào)劑求收留 +3 | 一顆meteor 2026-03-13 | 3/150 |
|
|
[考研] 學(xué)碩285求調(diào)劑 +13 | Wisjxn 2026-03-12 | 46/2300 |
|
|
[考研] 招收0805(材料)調(diào)劑 +3 | 18595523086 2026-03-13 | 3/150 |
|
|
[考研] 0703化學(xué)調(diào)劑 +4 | 快樂(lè)的香蕉 2026-03-11 | 4/200 |
|
|
[考研] 308求調(diào)劑 +5 | 是Lupa啊 2026-03-11 | 5/250 |
|
|
[考研] 求材料調(diào)劑 085600英一數(shù)二總分302 前三科235 精通機(jī)器學(xué)習(xí) 一志愿哈工大 +4 | 林yaxin 2026-03-12 | 4/200 |
|
|
[考研] 304求調(diào)劑 +7 | 7712b 2026-03-13 | 7/350 |
|
|
[考研] 315求調(diào)劑 +9 | 小羊小羊_ 2026-03-11 | 10/500 |
|
|
[考研] 307求調(diào)劑 +5 | 超級(jí)伊昂大王 2026-03-12 | 5/250 |
|
|
[考研] 求調(diào)劑 +3 | 程雨杭 2026-03-12 | 3/150 |
|
|
[考研] 化工學(xué)碩306求調(diào)劑 +9 | 42838695 2026-03-12 | 9/450 |
|