How to convert a stack of dicom images to grayscale

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

0 votes

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 Convert Image Type 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!

Translated by