Conversion of .mha file to grayscale for segmentation

1 Ansicht (letzte 30 Tage)
N/A
N/A am 23 Nov. 2015
Hi, I am trying to convert a .mha image to grayscale. When I used rgb2gray I got this error Error using rgb2gray>parse_inputs (line 89) RGB must be a m x n x 3 array.
Error in rgb2gray (line 37) X = parse_inputs(X); I tried looking into the other question forums to understand this error. But couldn't quite understand the problem.

Akzeptierte Antwort

Image Analyst
Image Analyst am 23 Nov. 2015
I don't know what format that is. What does this say, before that line:
whos X
  4 Kommentare
N/A
N/A am 25 Nov. 2015
Thank you for your answer.
Dileep Kumar Kothamasu
Dileep Kumar Kothamasu am 12 Mär. 2018
Do we need to use all the 176 slices for preprocessing and segmentation? if so how to do it and all my 176 slices are .png format is the format ok for further process or should we change it?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

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

Translated by