資源簡(jiǎn)介
多維OTSU閾值分割方法,能夠?qū)崿F(xiàn)二維圖像多閾值分割
代碼片段和文件信息
function?[IDXsep]?=?otsu(In)
%OTSU?Global?image?thresholding/segmentation?using?Otsu‘s?method.
%???IDX?=?OTSU(IN)?segments?the?image?I?into?N?classes?by?means?of?Otsu‘s
%???N-thresholding?method.?OTSU?returns?an?array?IDX?containing?the?cluster
%???indices?(from?1?to?N)?of?each?point.?Zero?values?are?assigned?to
%???non-finite?(NaN?or?Inf)?pixels.
%
%???IDX?=?OTSU(I)?uses?two?classes?(N=2?default?value).
%
%???[IDXsep]?=?OTSU(...)?also?returns?the?value?(sep)?of?the?separability
%???criterion?within?the?range?[0?1].?Zero?is?obtained?only?with?data
%???having?less?than?N?values?whereas?one?(optimal?value)?is?obtained?only
%???with?N-valued?arrays.
%
%???Notes:
%???-----
%???It?should?be?noticed?that?the?thresholds?generally?become?less?credible
%???as?the?number?of?
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件???????6055??2010-03-10?10:35??otsu.m
-----------?---------??----------?-----??----
?????????????????6523????????????????????3
評(píng)論
共有 條評(píng)論