how can i apply rgb2gray to dicom image...
Show older comments
why cant i apply rgb2gray to dicom image... its giving an error...
>> I = dicomread('\C:\Users\Asad\Documents\MATLAB\1.dcm');
>> I=rgb2gray(I);
??? Error using ==> rgb2gray>parse_inputs at 82
MAP must be a m x 3 array.
Error in ==> rgb2gray at 35
X = parse_inputs(varargin{:});
Accepted Answer
More Answers (0)
Categories
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!