How does the graythresh function works for a dicom image?

1 次查看(过去 30 天)
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.

请先登录,再进行评论。

回答(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