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개)

카테고리

도움말 센터File Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by