Hi all,
i want to convert my dicom image to png image.
below my coding, but error. Anyone can help me?
[I, map]=dicomread('lung.dcm');imwrite(I,map,'lung.png','png');
ERRORR!!!!
Error using imwrite>parse_inputs (line 628)The colormap should have three columns.Error in imwrite (line 440)[data, map, filename, format, paramPairs] = parse_inputs(varargin{:});
CAN HELP ME?
Best Answer