How to convert a stack of dicom images to grayscale

8 vues (au cours des 30 derniers jours)
Stelios Fanourakis
Stelios Fanourakis le 16 Mar 2018
My ultrasound images are truecolor type. I need to make them grayscale. They are multiple. How do I do that? im2uint8 is not working.
Thanks

Réponses (1)

Alok Nimrani
Alok Nimrani le 28 Mar 2018
Hi Stelios,
Try out the ‘rgb2gray’ function to convert ‘truecolor’ RGB image to grayscale: https://www.mathworks.com/help/matlab/ref/rgb2gray.html
Hope this helps.
Thanks

Catégories

En savoir plus sur DICOM Format dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by