Multilevel Histogram thresholding

currently i am working on video files.Can you tell how to perform multilevel histogram thresholding on the gray scale images extracted from the video files?

 採用された回答

Image Analyst
Image Analyst 2011 年 12 月 23 日

1 投票

binaryImage = (grayImage < upperThreshold) & (grayImage > lowerThreshold);

5 件のコメント

srikanth
srikanth 2011 年 12 月 24 日
thank you
srikanth
srikanth 2012 年 6 月 19 日
Thanks, but i have to perform automatic thresholding
Image Analyst
Image Analyst 2012 年 6 月 19 日
So use an algorithm to pick the two thresholds.
srikanth
srikanth 2012 年 6 月 26 日
thanks,
i have to work on the threshold has to be updated automatically according to illumination changes to get the bright objects like vehicle headlights in a night time traffic scene efficiently. can u suggest any sample code for this.
Image Analyst
Image Analyst 2012 年 6 月 26 日
You can look here: http://fiji.sc/wiki/index.php/Auto_Threshold
You might look in this book: http://szeliski.org/Book/drafts/SzeliskiBook_20100818_draft.pdf

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

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by