How does the graythresh function works for a dicom image?

조회 수: 3 (최근 30일)
Sanjay Saxena
Sanjay Saxena 2015년 4월 8일
댓글: Image Analyst 2015년 4월 10일
Hi,
I have made a function for thresholding. When i compare result of my function with the graythresh function of MATLAB for gray scale images, it is almost same. But when i execute my function for dicom images than it gives different results as from graythresh function of MATLAB. I just want to know that how can i fix my problem?
  댓글 수: 2
Ashish Uthama
Ashish Uthama 2015년 4월 10일
I suspect this has something to do with datatypes (dicom images can be uin16, while grascale images in general are uint8). You can always 'edit graythresh' to see the code and compare against what your function does. Not enough information in the question to say more.
Image Analyst
Image Analyst 2015년 4월 10일
Attach your image if you want more help.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by