Hello,
Dears NiftyRec developers
I have two problems in using the reconstruction toolbox of NiftyRec. Please guide me to solve these problems.
The First problem:
First I should mention that I want to use NiftyRec under Linux, Fedora Core 13 (32 bit) and MATLAB Version 7.6.0.324 (R2008a). For this purpose, I downloaded and compiled the source files of NiftyRec (NiftyRec-1.6.8.zip) using cmake-gui. After doing it, I had the following files in the paths below:
[sn@localhost ~]$ ll -h /usr/local/lib/
total 7.2M
-rwxr-xr-x. 1 root root 4.8K Jun 27 21:03 lib_et_accumulate.so
-rwxr-xr-x. 1 root root 30K Jun 27 21:03 lib_et_array_interface.so
-rwxr-xr-x. 1 root root 4.9K Jun 27 21:03 lib_et_clear_accumulator.so
-rwxr-xr-x. 1 root root 12K Jun 27 21:03 lib_et_common.so
-rwxr-xr-x. 1 root root 5.5K Jun 27 21:03 lib_et_convolve2D.so
-rwxr-xr-x. 1 root root 4.7K Jun 27 21:03 lib_et_convolveFFT2D.so
-rwxr-xr-x. 1 root root 6.0K Jun 27 21:03 lib_et_convolveSeparable2D.so
-rwxr-xr-x. 1 root root 5.2K Jun 27 21:03 lib_et_line_backproject_attenuated.so
-rwxr-xr-x. 1 root root 4.9K Jun 27 21:03 lib_et_line_backproject.so
-rwxr-xr-x. 1 root root 5.5K Jun 27 21:03 lib_et_line_integral_attenuated.so
-rwxr-xr-x. 1 root root 5.7K Jun 27 21:03 lib_et_line_integral.so
-rwxr-xr-x. 1 root root 18K Jun 27 21:03 lib_et.so
-rwxr-xr-x. 1 root root 6.2K Jun 27 21:03 lib_niftyrec_memory.so
-rwxr-xr-x. 1 root root 16K Jun 27 21:03 lib_reg_affineTransformation.so
-rwxr-xr-x. 1 root root 13K Jun 27 21:03 lib_reg_array_interface.so
-rwxr-xr-x. 1 root root 1.4M Jun 27 21:03 lib_reg_blockMatching.so
-rwxr-xr-x. 1 root root 425K Jun 27 21:03 lib_reg_bspline.so
-rwxr-xr-x. 1 root root 2.2M Jun 27 21:03 lib_reg_mutualinformation.so
-rwxr-xr-x. 1 root root 125K Jun 27 21:03 libreg_nifti.so
-rwxr-xr-x. 1 root root 1.3M Jun 27 21:03 lib_reg_resampling.so
-rwxr-xr-x. 1 root root 13K Jun 27 21:03 lib_reg.so
-rwxr-xr-x. 1 root root 364K Jun 27 21:03 lib_reg_ssd.so
-rwxr-xr-x. 1 root root 214K Jun 27 21:03 lib_reg_tools.so
-rwxr-xr-x. 1 root root 27K Jun 27 21:03 lib_seg_array_interface.so
-rwxr-xr-x. 1 root root 39K Jun 27 21:03 lib_seg_BiasCorrection.so
-rwxr-xr-x. 1 root root 37K Jun 27 21:03 lib_seg_EM.so
-rwxr-xr-x. 1 root root 16K Jun 27 21:03 lib_seg_FMM.so
-rwxr-xr-x. 1 root root 45K Jun 27 21:03 lib_seg_LabFusion.so
-rwxr-xr-x. 1 root root 14K Jun 27 21:03 lib_seg_LoAd.so
-rwxr-xr-x. 1 root root 14K Jun 27 21:03 lib_seg_MRF.so
-rwxr-xr-x. 1 root root 96K Jun 27 21:03 lib_seg_tools.so
-rwxr-xr-x. 1 root root 21K Jun 27 21:03 lib_seg_Topo.so
lrwxrwxrwx. 1 root root 32 Mar 4 2012 libstir.a -> /home/sn/stir/STIR/opt/libstir.a
-r-xr-xr-x. 1 root root 779K Sep 28 2012 libtcl8.4.so
-rw-r--r--. 1 root root 1.9K Sep 28 2012 libtclstub8.4.a
drwxr-xr-x. 8 root root 4.0K Sep 28 2012 tcl8.4
-rw-r--r--. 1 root root 7.0K Sep 28 2012 tclConfig.sh
[sn@localhost ~]$ ll -h /usr/local/nifty*
/usr/local/niftyrec:
total 12K
drwxr-xr-x. 5 root root 4.0K Jun 27 21:04 bin
drwxr-xr-x. 3 root root 4.0K Jun 27 21:04 matlab
drwxr-xr-x. 3 root root 4.0K Jun 27 21:04 python
/usr/local/niftyreg:
total 4.0K
drwxr-xr-x. 3 root root 4.0K Jun 27 21:04 matlab
/usr/local/niftyseg:
total 4.0K
drwxr-xr-x. 3 root root 4.0K Jun 27 21:04 matlab
[sn@localhost ~]$
I think that up to this point things have been done correctly. At this moment I lunch MATLAB and enter the command of 'et_demo_osem' in the command line of MATLAB. Unfortunately, I get the following error message:
>> et_demo_osem
Creating synthetic sinogram..
??? Invalid MEX-file '/usr/local/niftyrec/matlab/et_project_mex.mexglx':
/home/sn/MATLAB/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
/usr/local/lib/lib_reg_affineTransformation.so).
Error in ==> et_project at 91
sinogram = et_project_mex(activity, cameras, attenuation, psf, use_gpu, background, background_attenuation,
truncate_negative_values);
Error in ==> et_demo_osem at 56
ideal_sinogram = et_project(phantom, cameras, attenuation, psf, GPU);
>>
Of course, I'm referring to the fact that MATLAB runs this command but not perfect and get things in Workspace of MATLAB such as GPU, N, N_counts, N_projections, attenuation, cameras, iter_mlem, mask, phantom, phantom_type, psf AND subset_order. please guide me to solve it.
The second problem:
Another problem is the use of MATLAB Help of 'NiftyRec Toolbox'. In the Help window of MATLAB, when I click on 'NiftyRec Toolbox' of 'Contents' and then click on 'Emission Tomography Use Guide' and select 'Getting Started' and 'Product Overview' and then click on next page including 'Example: Emission Tomography - Maximum Likelihood Expectation Maximisation', I get this warning message about 'Warning - Documentation File Not Found'.
Please guide me in the solving my problems.
Thanks a lot,
Shahrokh.
|