Multilevel Histogram thresholding

2 views (last 30 days)
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?

Accepted Answer

Image Analyst
Image Analyst on 23 Dec 2011
binaryImage = (grayImage < upperThreshold) & (grayImage > lowerThreshold);
  5 Comments
srikanth
srikanth on 26 Jun 2012
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 on 26 Jun 2012
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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!