4D-uint16 DICOM image filtering

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 个评论

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.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 DICOM Format 的更多信息

评论:

Rik
2018-9-20

Community Treasure Hunt

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

Start Hunting!

Translated by