how to find threshold

6 ビュー (過去 30 日間)
Sapam Jaya
Sapam Jaya 2013 年 11 月 10 日
コメント済み: Sapam Jaya 2013 年 11 月 12 日
I have calculated the variance of an image.now i need to classify the pixels as foreground when the variance is more than a threshold ,otherwise it is classified as background pixel.how to select this threshold

採用された回答

Image Analyst
Image Analyst 2013 年 11 月 10 日
編集済み: Image Analyst 2013 年 11 月 10 日
It doesn't make sense to do what you said globally - just think about it.
There are several ways to do it locally adaptive: blockproc(), stdfilt(), nlfilter(), nested for loops, etc.
I show two of these in the demo attached below.
  1 件のコメント
Sapam Jaya
Sapam Jaya 2013 年 11 月 12 日
it must b local variance..thnx a lot

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by