How can I layer dicom files?

2 次查看(过去 30 天)
Alena Schwartz
Alena Schwartz 2019-2-10
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