Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Problems with running of Transmission Tomography demo?
shahrokh
Newbie
Posts: 5
Permalink
Post Problems with running of Transmission Tomography demo?
on: July 7, 2013, 12:53
Quote

Dear NiftyRec developers

Unfortunately I get following errors when I run ‘tt_demo_mlem_conebeam’, ‘tt_demo_mlem_parallel’ and 'tt_demo_mlem_parallel_large'. I should mention that I installed NiftyRec (NiftyRec-1.6.8) under Linux, Fedora Core 13 (32 bit) and MATLAB Version 7.6.0.324 (R2008a). I can run the demos of Emission Tomography, successfully, such as et_demo_osem. Please guide me to solve these roblems about transmission tomography. How can I run it

PROBLEM #1
>> tt_demo_mlem_conebeam
??? Undefined function or method 'tt_project_ray_mex' for input arguments of type
'int32'.

Error in ==> tt_demo_mlem_conebeam at 69
p =
tt_project_ray_mex(attenuation,volume_size_mm,source_location_mm,int32(detector_size_pix),detector_size_mm,detector_translation_mm,detector_rotation_rad,ray_step_vox);

----------------------------------------------------------------------------------------------------------------------
PROBLEM #2
>> tt_demo_mlem_parallel

------------------------------------------------------------------------
Segmentation violation detected at Sun Jul 7 19:52:21 2013
------------------------------------------------------------------------

Configuration:
MATLAB Version: 7.6.0.324 (R2008a)
MATLAB License: 161051
Operating System: Linux 2.6.33.3-85.fc13.i686.PAE #1 SMP Thu May 6 18:27:11 UTC 2010 i686
GNU C Library: 2.12 stable
Window System: Fedora Project (10800000), display :0.0
Current Visual: 0x21 (class 4, depth 24)
Processor ID: x86 Family 6 Model 10 Stepping 7, GenuineIntel
Virtual Machine: Java 1.6.0_01 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode, sharing
Default Encoding: UTF-8

Fault Count: 1

Register State:
eax = afb01460 ebx = 00a22a84
ecx = 00000000 edx = 00000000
esi = 00000000 edi = afb00af4
ebp = 05986818 esp = 05986790
eip = 00a2166a flg = 00010206

Stack Trace:
[0] lib_et_line_integral_attenuated.so:et_line_integral_attenuated(nifti_image*, nifti_image*, nifti_image*, int, float)~(0, 0xafb03998, 0xafb01460, 0) + 26 bytes
[1] lib_et.so:et_project(nifti_image*, nifti_image*, nifti_image*, nifti_image*, float*, float*, int, float, float, int)~(0, 0xafb01460, 0, 0xafaaba68) + 1211 bytes
[2] lib_et_array_interface.so:et_array_project~(0, 0x05986abc, 0xaac79010, 0x05986a98) + 865 bytes
[3] et_project_mex.mexglx:mexFunction~(1, 0x05987384, 8, 0x059873e4 ") + 1020 bytes
[4] libmex.so:mexRunMexFile(1, 0x05987384, 8, 0x059873e4 ") + 100 bytes
[5] libmex.so:Mfh_mex::runMexFileWithSignalProtection(int, mxArray_tag**, int, mxArray_tag**)(0xb126cc00, 1, 0x05987384, 8) + 119 bytes
[6] libmex.so:Mfh_mex::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0xb126cc00, 1, 0x05987384, 8) + 257 bytes
[7] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xb126cc00, 1, 0x05987384, 8) + 215 bytes
[8] libmwm_interpreter.so:ResolverFunctionDesc::CallFunction(int, mxArray_tag**, int, mxArray_tag**)(0x05987964, 1, 0x05987384, 8) + 810 bytes
[9] libmwm_interpreter.so:Resolver::CallMFunction(int, int, _m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*, int*)(0x05987540, 1, 1, 0xafcc7500) + 1548 bytes
[10] libmwm_interpreter.so:inResolveMFunctionCall(_m_function_desc*, int, int, _m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*, int*, inMarshalType*, int, mpsTypeSequenceNlhs const*, mxArray_tag* (*)(int))(0xafaaaed0, 1, 1, 0xafcc7500) + 496 bytes
[11] libmwm_interpreter.so:accelImpl::MFunctionCall(_accelOp**)(0x05987a7c, 0x05987a90, 0xafcc7480, 0x00e0c1a4) + 279 bytes
[12] libmwm_interpreter.so:accelImpl::Exec()(0x05987a7c, 0xb15af1d8 ", 0x05987a88, 3773618) + 205 bytes
[13] libmwm_interpreter.so:accelCode::Call(inMarshalType*, int*) const(0xafb23290, 0x05987c50, 0x05987c4c, 0x01389560) + 99 bytes
[14] libmwm_interpreter.so:inJit::ExecuteHotSegment(_inJitAccelInfo*, opcodes*, int*, int*)(0x05987dac, 0x05987dec, 0x05987dc4, 0x0598824c) + 1839 bytes
[15] libmwm_interpreter.so:.L740(1, 276, 91, 0) + 104 bytes
[16] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(1, 276, 67, 0) + 120 bytes
[17] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(0, 0xb0180560, 0x0598824c, 0x0598824c) + 286 bytes
[18] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0xafa3d5c0, 0, 0xafa3d5c0, 8) + 803 bytes
[19] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(1, 0x059886f4, 6, 0x05988754) + 676 bytes
[20] libmwm_interpreter.so:Mfh_mp::dispatch_file(_mdUnknown_workspace*, int, mxArray_tag**, int, mxArray_tag**)(0xafa3d5c0, 0, 1, 0x059886f4) + 64 bytes
[21] libmwm_interpreter.so:Mfh_mp::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0xafa3d5c0, 1, 0x059886f4, 6) + 56 bytes
[22] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xafa3d5c0, 1, 0x059886f4, 6) + 215 bytes
[23] libmwm_interpreter.so:ResolverFunctionDesc::CallFunction(int, mxArray_tag**, int, mxArray_tag**)(0x05988cd4, 1, 0x059886f4, 6) + 810 bytes
[24] libmwm_interpreter.so:Resolver::CallMFunction(int, int, _m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*, int*)(0x059888b0, 1, 1, 0xafccc040) + 1548 bytes
[25] libmwm_interpreter.so:inResolveMFunctionCall(_m_function_desc*, int, int, _m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*, int*, inMarshalType*, int, mpsTypeSequenceNlhs const*, mxArray_tag* (*)(int))(0xafb08548, 1, 1, 0xafccc040) + 496 bytes
[26] libmwm_interpreter.so:accelImpl::MFunctionCall(_accelOp**)(0x05988dec, 0x05988e00, 0xb6960cd0, 0x00e0c1a4) + 279 bytes
[27] libmwm_interpreter.so:accelImpl::Exec()(0x05988dec, 0xb15a9d80, 0x05988df8, 3773618) + 205 bytes
[28] libmwm_interpreter.so:accelCode::Call(inMarshalType*, int*) const(0xafb24cd0, 0x05988fc0, 0x05988fbc, 0x01389560) + 99 bytes
[29] libmwm_interpreter.so:inJit::ExecuteHotSegment(_inJitAccelInfo*, opcodes*, int*, int*)(0x0598911c, 0x0598915c, 0x05989134, 0x059895bc) + 1839 bytes
[30] libmwm_interpreter.so:.L740(1, 0, 37, 0) + 104 bytes
[31] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(1, 0, 21, 0) + 120 bytes
[32] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(0, 0xb017b760, 0x059895bc, 0x059895bc) + 286 bytes
[33] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0xafa2c410, 1, 0x059898dc, 0) + 803 bytes
[34] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0, 0x059898dc, 0, 0x0598993c ") + 676 bytes
[35] libmwm_interpreter.so:Mfh_mp::dispatch_file(_mdUnknown_workspace*, int, mxArray_tag**, int, mxArray_tag**)(0xafa2c410, 0, 0, 0x059898dc) + 64 bytes
[36] libmwm_interpreter.so:Mfh_mp::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0xafa2c410, 0, 0x059898dc, 0) + 56 bytes
[37] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xafa2c410, 0, 0x059898dc, 0) + 215 bytes
[38] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int, int)(726, 0xafcc6fcc "tt_demo_mlem_parallel", 0, 0) + 1074 bytes
[39] libmwm_interpreter.so:inDispatchCall(char const*, int, int, int, int*, int*)(0, 0x05989bf8, 0xb125c960, 0x05989cf0) + 160 bytes
[40] libmwm_interpreter.so:.L752(1, 0, 1, 0) + 183 bytes
[41] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(1, 0, 1, 0) + 120 bytes
[42] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(0, 0xb0175ec0, 0x0598a05c, 0x0598a05c) + 286 bytes
[43] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0xafa2c5e0, 1, 0x0598ae98, 0) + 803 bytes
[44] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0, 0x0598ae98, 0, 0) + 676 bytes
[45] libmwm_interpreter.so:Mfh_mp::dispatch_file(_mdUnknown_workspace*, int, mxArray_tag**, int, mxArray_tag**)(0xafa2c5e0, 0, 0, 0x0598ae98) + 64 bytes
[46] libmwm_interpreter.so:Mfh_mp::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0xafa2c5e0, 0, 0x0598ae98, 0) + 56 bytes
[47] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xafa2c5e0, 0, 0x0598ae98, 0) + 215 bytes
[48] libmwm_interpreter.so:inEvalPcodeHeaderToWord(_memory_context*, int, mxArray_tag**, _pcodeheader*, Mfh_mp*, unsigned int)(0x00e55e68 ", 0, 0x0598ae98, 0x0598ad6c) + 199 bytes
[49] libmwm_interpreter.so:in_local_call_script_function(_memory_context*, _pcodeheader*, int, mxArray_tag**, unsigned int, bool)(0x0598ae98, 0, 0, 0x00ef9b60) + 108 bytes
[50] libmwm_interpreter.so:inEvalStringWithIsVarFcn(_memory_context*, char const*, EvalType, int, mxArray_tag**, inDebugCheck, _pcodeheader*, int*, bool (*)(void*, char const*), void*, bool, bool)(0, 0x0598ae98, 0, 0) + 1568 bytes
------------------------------------------------------------------------------------------------------------
PROBLEM #3
>> tt_demo_mlem_parallel_large
Loading phantom ...
Padding ...
Rotating ...
Cropping ...
Simulating projection ...

------------------------------------------------------------------------
Segmentation violation detected at Sun Jul 7 19:53:21 2013
------------------------------------------------------------------------

Configuration:
MATLAB Version: 7.6.0.324 (R2008a)
MATLAB License: 161051
Operating System: Linux 2.6.33.3-85.fc13.i686.PAE #1 SMP Thu May 6 18:27:11 UTC 2010 i686
GNU C Library: 2.12 stable
Window System: Fedora Project (10800000), display :0.0
Current Visual: 0x21 (class 4, depth 24)
Processor ID: x86 Family 6 Model 10 Stepping 7, GenuineIntel
Virtual Machine: Java 1.6.0_01 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode, sharing
Default Encoding: UTF-8

Fault Count: 1

Register State:
eax = b0741158 ebx = 00a22a84
ecx = 00000000 edx = 00000000
esi = 00000000 edi = b07401ac
ebp = 03da7178 esp = 03da70f0
eip = 00a2166a flg = 00210206

Stack Trace:
[0] lib_et_line_integral_attenuated.so:et_line_integral_attenuated(nifti_image*, nifti_image*, nifti_image*, int, float)~(0, 0xb0743690, 0xb0741158, 0) + 26 bytes
[1] lib_et.so:et_project(nifti_image*, nifti_image*, nifti_image*, nifti_image*, float*, float*, int, float, float, int)~(0, 0xb0741158, 0, 0xb23a9c10) + 1211 bytes
[2] lib_et_array_interface.so:et_array_project~(0, 0x03da741c, 0xa5e1d010, 0x03da73f8) + 865 bytes
[3] et_project_mex.mexglx:mexFunction~(1, 0x03da7ce4, 8, 0x03da7d44) + 1020 bytes
[4] libmex.so:mexRunMexFile(1, 0x03da7ce4, 8, 0x03da7d44) + 100 bytes
[5] libmex.so:Mfh_mex::runMexFileWithSignalProtection(int, mxArray_tag**, int, mxArray_tag**)(0xb1f657c0 "h2h", 1, 0x03da7ce4, 8) + 119 bytes
[6] libmex.so:Mfh_mex::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0xb1f657c0 "h2h", 1, 0x03da7ce4, 8) + 257 bytes
[7] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xb1f657c0 "h2h", 1, 0x03da7ce4, 8) + 215 bytes
[8] libmwm_interpreter.so:ResolverFunctionDesc::CallFunction(int, mxArray_tag**, int, mxArray_tag**)(0x03da82c4, 1, 0x03da7ce4, 8) + 810 bytes
[9] libmwm_interpreter.so:Resolver::CallMFunction(int, int, _m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*, int*)(0x03da7ea0, 1, 1, 0xb09708a0) + 1548 bytes
[10] libmwm_interpreter.so:inResolveMFunctionCall(_m_function_desc*, int, int, _m_operand*, m_operand_storage*, int, _m_operand*, m_operand_storage*, int*, inMarshalType*, int, mpsTypeSequenceNlhs const*, mxArray_tag* (*)(int))(0xb22ac7e0, 1, 1, 0xb09708a0) + 496 bytes
[11] libmwm_interpreter.so:accelImpl::MFunctionCall(_accelOp**)(0x03da83dc, 0x03da83f0, 0xb09711e0, 1647012) + 279 bytes
[12] libmwm_interpreter.so:accelImpl::Exec()(0x03da83dc, 0xb23ccf48, 0x03da83e8, 0x004144b2) + 205 bytes
[13] libmwm_interpreter.so:accelCode::Call(inMarshalType*, int*) const(0xb0752d80, 0x03da85b0, 0x03da85ac, 0x013ab560) + 99 bytes
[14] libmwm_interpreter.so:inJit::ExecuteHotSegment(_inJitAccelInfo*, opcodes*, int*, int*)(0x03da870c, 0x03da874c, 0x03da8724, 0x03da8bac) + 1839 bytes
[15] libmwm_interpreter.so:.L740(1, 276, 91, 0) + 104 bytes
[16] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(1, 276, 67, 0) + 120 bytes
[17] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(0, 0xb0e3fac0 ", 0x03da8bac, 0x03da8bac) + 286 bytes
[18] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0xb0713630, 0, 0xb0713630, 8) + 803 bytes
[19] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(1, 0x03da8ecc, 6, 0x03da8f2c) + 676 bytes
[20] libmwm_interpreter.so:Mfh_mp::dispatch_file(_mdUnknown_workspace*, int, mxArray_tag**, int, mxArray_tag**)(0xb0713630, 0, 1, 0x03da8ecc) + 64 bytes
[21] libmwm_interpreter.so:Mfh_mp::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0xb0713630, 1, 0x03da8ecc, 6) + 56 bytes
[22] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xb0713630, 1, 0x03da8ecc, 6) + 215 bytes
[23] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int, int)(738, 0xb26e2ee1 "et_project", 1, 6) + 1074 bytes
[24] libmwm_interpreter.so:.L88(33, 0xffffffe3, 1, 0) + 38 bytes
[25] libmwm_interpreter.so:.L728(1, 0, 79, 0) + 206 bytes
[26] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(1, 0, 26, 0) + 120 bytes
[27] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(0, 0xb0e3c010, 0x03da95bc, 0x03da95bc) + 286 bytes
[28] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0xb243ee30, 1, 0x03da98dc, 0) + 803 bytes
[29] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0, 0x03da98dc, 0, 0x03da993c) + 676 bytes
[30] libmwm_interpreter.so:Mfh_mp::dispatch_file(_mdUnknown_workspace*, int, mxArray_tag**, int, mxArray_tag**)(0xb243ee30, 0, 0, 0x03da98dc) + 64 bytes
[31] libmwm_interpreter.so:Mfh_mp::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0xb243ee30, 0, 0x03da98dc, 0) + 56 bytes
[32] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xb243ee30, 0, 0x03da98dc, 0) + 215 bytes
[33] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int, int)(714, 0xb096bdac "tt_demo_mlem_parallel_large", 0, 0) + 1074 bytes
[34] libmwm_interpreter.so:inDispatchCall(char const*, int, int, int, int*, int*)(0, 0x03da9bf8, 0xb1f60f60, 0x03da9cf0) + 160 bytes
[35] libmwm_interpreter.so:.L752(1, 0, 1, 0) + 183 bytes
[36] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(1, 0, 1, 0) + 120 bytes
[37] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, int*)(0, 0xb0e3d570, 0x03daa05c, 0x03daa05c) + 286 bytes
[38] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0xb243f000, 1, 0x03daae98, 0) + 803 bytes
[39] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0, 0x03daae98, 0, 0) + 676 bytes
[40] libmwm_interpreter.so:Mfh_mp::dispatch_file(_mdUnknown_workspace*, int, mxArray_tag**, int, mxArray_tag**)(0xb243f000, 0, 0, 0x03daae98) + 64 bytes
[41] libmwm_interpreter.so:Mfh_mp::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0xb243f000, 0, 0x03daae98, 0) + 56 bytes
[42] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xb243f000, 0, 0x03daae98, 0) + 215 bytes
[43] libmwm_interpreter.so:inEvalPcodeHeaderToWord(_memory_context*, int, mxArray_tag**, _pcodeheader*, Mfh_mp*, unsigned int)(1949288, 0, 0x03daae98, 0x03daad6c) + 199 bytes
[44] libmwm_interpreter.so:in_local_call_script_function(_memory_context*, _pcodeheader*, int, mxArray_tag**, unsigned int, bool)(0x03daae98, 0, 0, 0x00f1bb60) + 108 bytes
[45] libmwm_interpreter.so:inEvalStringWithIsVarFcn(_memory_context*, char const*, EvalType, int, mxArray_tag**, inDebugCheck, _pcodeheader*, int*, bool (*)(void*, char const*), void*, bool, bool)(0, 0x03daae98, 0, 0) + 1568 bytes
[46] libmwm_interpreter.so:inEvalCmdWithLocalReturn(0xb0ac4650 "tt_demo_mlem_parallel_large\n", 0, 0, 1) + 151 bytes
[47] libmwbridge.so:evalCommandWithLongjmpSafety(char const*)(0xb0ac4650 "tt_demo_mlem_parallel_large\n", 1, 3434496, 0xb78cc8e0) + 116 bytes
[48] libmwbridge.so:mnParser(0x03dab0ac, 0xb67044d0, 1, 0) + 279 bytes
[49] libmwmcr.so:mcrInstance::mnParser()(0xb67044d0, 0x03dad308, 0xb67044c0, 0xb6704508 " 4h") + 51 bytes

This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.

If it is an official MathWorks function, please
follow these steps to report this problem to The MathWorks so we
have the best chance of correcting it:

The next time MATLAB is launched under typical usage, a dialog box will...

Please guide me to solve my problems.
Your sincerely,
Shahrokh

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.097 seconds.
{lang: 'en-GB'}