How to fix a threshold for an image?

조회 수: 3 (최근 30일)
Yashaswini MU
Yashaswini MU 2016년 2월 16일
댓글: Brattv 2016년 2월 16일
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