dicomread for grayscale images
Afficher commentaires plus anciens
I am trying to get grayscale values for a jawbone dicom image, however, the values obtained for pixels do not seem to make sense. It says that data type is uint16. When i try to visually check the value correctness, a relatively gray area gives me a value of only 1000. I am expecting a value much larger as it is uint16 ranging from 0 to 65535.
Can somebody please take a look at my dicom file?
Thanks a lot!
Alan
1 commentaire
alan shen
le 13 Jan 2021
Réponses (1)
Anshika Chaurasia
le 19 Jan 2021
0 votes
Hi Alan,
First thing, int16 and uint16 datatypes are different.
- int16 - 16-bit signed integer, [-32768, 32767]
- uint16 - 16-bit unsigned integer, [0, 65535]
The image attached by you shows that datatype is int16 not uint16.
Hpoe it helps you!
Catégories
En savoir plus sur DICOM Format dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
