How can I layer dicom files?

조회 수: 4 (최근 30일)
Alena Schwartz
Alena Schwartz 2019년 2월 10일
댓글: Walter Roberson 2019년 2월 11일
I have a 361 dicom files that I would like to combine to create a 3D rendering of the image. I have tried using viewer3D from the file exchange, but get an error message when I use it.
Is there a simple way to layer the slices so that the 3D image can be viewed all at once?
or is there another program from the file exchange that may work?
  댓글 수: 3
Alena Schwartz
Alena Schwartz 2019년 2월 11일
This is the error message that I get. I don't know enough about using MATLAB to figure out how to fix it. I am trying to create an image that looks similar to the output of using the volume viewer app, but want to use code to create the 3d rendering so that I am able to manipulate it.
Error using griddedInterpolant
Sample values must be a single or double array.
Error in interpn (line 138)
F = griddedInterpolant(X,V,method,extrap);
Error in viewer3d>imresize3d (line 1270)
A=interpn(V,X,Y);
Error in viewer3d>makePreviewVolume (line 244)
data.volumes(dvs).volume_preview=imresize3d(data.volumes(dvs).volume_original,[],[t t t],'linear');
Error in viewer3d>addOneVolume (line 218)
data=makePreviewVolume(data,nv);
Error in viewer3d>addVolume (line 184)
data=addOneVolume(data,V(:,:,:,i),Scales,Info,Editable);
Error in viewer3d>viewer3d_OpeningFcn (line 171)
if(isnumeric(V)), addVolume(V,[1 1 1],info); end
Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in viewer3d (line 48)
gui_mainfcn(gui_State, varargin{:});
Error in calculate_volume (line 3)
viewer3d(V);
Walter Roberson
Walter Roberson 2019년 2월 11일
What is class(V) that you are passing to viewer3d ?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by