- you could take special steps to convert to a true grayscale jpg image
- you could convert the image to grayscale and write it as png or other format that is more suitable for grayscale
- you could rgb2gray the image after reading it in
- you could go back to the original dicom data and write it as png
Error with anisotropic diffusion script
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I tried to use the attached 'anisotropic diffusion' script but it gives me an error that it does not work on 3d image. I wonder if anyone has an updated script to work on the attached example image.
0 Kommentare
Antworten (1)
Walter Roberson
am 20 Aug. 2022
The great majority of gray-looking jpg images are actually rgb images.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!