4D-uint16 DICOM image filtering
Show older comments
Hello!
I have a 4D-uint16 image and I can only display it making the sum image. I also wanted to put a filter in the dicom but it doesn't work.
I=dicomread('filename.dcm');
info=dicominfo('filename.dcm');
sumImg = sum(I,4);
imagesc(sumImg);
Also I need it to open like this :
I=dicomread('filename.dcm');
info=dicominfo('filename.dcm');
imshow(I,'DisplayRange',[])
But the error: Error using images.internal.imageDisplayValidateParams>validateCData (line 115) Multi-plane image inputs must be RGB images of size MxNx3.
Error in images.internal.imageDisplayValidateParams (line 27) common_args.CData = validateCData(common_args.CData,image_type);
Error in images.internal.imageDisplayParseInputs (line 78) common_args = images.internal.imageDisplayValidateParams(common_args);
Error in imshow (line 240) images.internal.imageDisplayParseInputs({'Parent','Border','Reduce'},preparsed_varargin{:});
Error in Untitled (line 3) imshow(I,'DisplayRange',[]);
Please, help me!
1 Comment
Rik
on 20 Sep 2018
the imshow function only handles 2D images. The only 3D input would be for a color image. You should look for a 3D viewer on the FEX.
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!