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
Rik
2018년 9월 20일
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에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!