Question. "calculate rigid body motion"

16 views
Skip to first unread message

Sando MD

unread,
Jun 17, 2010, 9:38:58 AM6/17/10
to XROMM
Hello.

I'm struggling and trying to do use XROMM package.

I'm training by using the sample codes (Pig Data Set) from http://xromm.org.
It is difficult for me to try the sample codes (Pig Data Set).

I'm at the step of "Calculate rigid body motion" of XrayProject .


I selected the "PigDs0001-00xyzpts.csv" as [prefix]xyzpts.csv,
and I selected the "CT_markerlocations.csv" as CT marker coordinate
file.

The two *.csv files are from the sample codes.


And I input the 2 as "Bone number" ( Was I wrong ? ) ,
And I select all markers for input the Markers select.

MatLab (XrayProject 2.1.4 and Matlab 2009b x64) output the error
message.

Error message are below:

--------------


??? Improper null index in null matrix.

Error in ==> svdrigid at 103
R(1,:,:) = [];

Error in ==> rigidBody at 109
[R t res(:,i)]=svdrigid(x);

Error in ==> XrayProject>svdRigidButton_Callback at 1098
rigidBody(handles);

Error in ==> gui_mainfcn at 96
feval(varargin{:});

Error in ==> XrayProject at 42
gui_mainfcn(gui_State, varargin{:});

Error in ==>
@(hObject,eventdata)XrayProject('svdRigidButton_Callback',hObject,eventdata,guidata(hObject))


??? Error while evaluating uicontrol Callback


--------------


What's the problem or mistake ?

Please help me.


Sincerely,

Young Han Lee.


Beth Brainerd

unread,
Jun 18, 2010, 12:30:35 PM6/18/10
to XROMM
This may not solve your problem, but I'll remind everyone that some
MATLAB toolboxes are required for the XrayProject workflow. The most
important one is the Image Processing Toolbox. We are trying to
eliminate toolboxes when we can, such as the changes in version 2.1.4
(from XROMM wiki; Recent Changes and Downloads page):

XrayProject 2.1.4 version has same functionality as version 2.1.3, but
does not require the Matlab Mapping Toolbox. Undistorter.m,
DLTcalibration5x.m, and mayacam.m are changed to eliminate calls to
the function rad2deg. Three Matlab Toolboxes are still required: Image
Processing Toolbox (used in many places), Signal Processing Toolbox
(used only for "filterXYZ" button functionality), and the Symbolic
Toolbox (used for "Calibrate 3-D" button functionality and the stand-
alone script mayacam.m). Download is XrayProject-2.1.4

On Jun 17, 9:38 am, Sando MD <radiolo...@gmail.com> wrote:
> Hello.
>
> I'm struggling and trying to do use XROMM package.
>
> I'm training by using the sample codes (Pig Data Set) fromhttp://xromm.org.
Reply all
Reply to author
Forward
0 new messages