Error with anisotropic diffusion script

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.

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 8 月 20 日

0 投票

The great majority of gray-looking jpg images are actually rgb images.
  • 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

カテゴリ

ヘルプ センター および File ExchangeConvert Image Type についてさらに検索

質問済み:

BA
2022 年 8 月 19 日

回答済み:

2022 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by