How to fix a threshold for an image?

3 vues (au cours des 30 derniers jours)
Yashaswini MU
Yashaswini MU le 16 Fév 2016
Commenté : Brattv le 16 Fév 2016
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 commentaire
Brattv
Brattv le 16 Fév 2016
That is really hard when we dont know have information about your image. Can you use the function " histogram " and show us the results?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by