How can I layer dicom files?

2 vues (au cours des 30 derniers jours)
Alena Schwartz
Alena Schwartz le 10 Fév 2019
Commenté : Walter Roberson le 11 Fév 2019
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 commentaires
Alena Schwartz
Alena Schwartz le 11 Fév 2019
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 le 11 Fév 2019
What is class(V) that you are passing to viewer3d ?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur DICOM Format dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by