4D-uint16 DICOM image filtering
Ältere Kommentare anzeigen
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 Kommentar
Rik
am 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.
Antworten (0)
Kategorien
Mehr zu DICOM Format finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!