How to fix a threshold for an image?

1 次查看(过去 30 天)
Hi, I have obtained the PDF of an gray scale image.The research paper I am referring to says to fix a threshold such that anything lower than the threshold becomes the foreground and the values above the threshold becomes the background. Based on what should I set my threshold value? Can anybody help me with the matlab code?
Thank You.
  1 个评论
Brattv
Brattv 2016-2-16
That is really hard when we dont know have information about your image. Can you use the function " histogram " and show us the results?

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by