Local adaptive thresholding with GUI to help find best parameters.

バージョン 1.0.0.0 (46 KB) 作成者: CY Y
Local adaptive thresholding based on local mean and standard deviation.
ダウンロード: 485
更新 2016/8/22

Local adaptive thresholding : using local mean and standard deviation for foreground segmentation.
Two usage:
Using GUI to find best parameter and perform thresholding.

[ bw, params ] = localthreshGUI(img) takes img and displays it and segmented image.

Upon existing GUI program, binary image (bw) and parameters for localthresholding (params) are returned.

Using the function without GUI.

bw = localthresh(img, ssize, msize, sthresh, mthresh) performs local threshing holding on image.

ssize : filter size for standard deviation filter. msize : filter size for mean filter sthresh : threshold for standard deviation ( in fold number relative to local standard deviation ) mthresh : threshold for mean ( in fold number relative to local mean )

Type in the following to try it :

%load built-in rice image
img = imread('rice.png')
localthreshGUI(img)

引用

CY Y (2024). Local adaptive thresholding with GUI to help find best parameters. (https://github.com/joe-of-all-trades/localthresh), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート
1.0.0.0

Updated title and summary
Updated description

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。