Esther
unread,May 27, 2011, 4:08:51 PM5/27/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dirart
Hi,
I tried to do deformable registration by using DIRART, but there are
some issues before actually start deformation and registration. I am
using MATLAB R2007b 32-bits and CERR v.3.3Beta1.
1. When I load images from "DICOM image set (using CERR)" and choose
"import all," there is an error message:
-----------------------------------------------------------------------------
dirart
ans =
1
C:\Fermi_Prostate_New\BRE-test\CTOR1
Reading scan ...
Reading CERROptions ...
CERR>> Using zValues to compute voxel thicknesses.
C:\Fermi_Prostate_New\BRE-test\plan
??? Reference to non-existent field 'all'.
Error in ==> DICOMJ_Import at 79
dcmdir = dcmdirS.(selected);
Error in ==> Load_2_Images at 25
[planC,pathname] = DICOMJ_Import(options);
Error in ==> reg3dgui>Load_Dicom_Images_Menu_Item_Callback at 345
Load_2_Images(handles,3);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> reg3dgui at 82
gui_mainfcn(gui_State, vars{:});
Error in ==>
@(hObject,eventdata)reg3dgui('Load_Dicom_Images_Menu_Item_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uimenu Callback
-------------------------------------------------------------------------
But if I choose "Import Selected Patient," then it works just fine. I
guess that this importing function only imports the imaging and
doesn't import the structures. Therefore the error message is because
the study set includes the structure information.
2. After loading 2 sets of imaging, there is a window "Align Two
Images." There is only one object for both my moving image and fixed
image which is the whole image. If I choose "continue," there is
another error:
------------------------------------------------------------------------------
CERR>> Using zValues to compute voxel thicknesses.
??? Error using ==> minus
Matrix dimensions must agree.
Error in ==> Align_Images_After_Loading at 53
ori1 = (handles.images(1).origin -
c(1,:)).*handles.images(1).voxel_spacing_dir;
Error in ==> After_Loading_Two_Images at 21
handles = Align_Images_After_Loading(handles);
Error in ==> Load_2_Images at 62
After_Loading_Two_Images(handles);
Error in ==> reg3dgui>Load_Dicom_Images_Menu_Item_Callback at 345
Load_2_Images(handles,3);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> reg3dgui at 82
gui_mainfcn(gui_State, vars{:});
Error in ==>
@(hObject,eventdata)reg3dgui('Load_Dicom_Images_Menu_Item_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uimenu Callback
--------------------------------------------------------------------------------
If I choose "Cancel," I will be able to see my image but the "Set/
Change Voxel dimension" was uncheckable after I check "allow change
image alinement."
Are these bugs from the version of MATLAB I use or there are other
issue? Can you please help me?
Thanks a lot!
Esther