villekf / OMEGA

Open-source multi-dimensional tomographic reconstruction software (OMEGA)
https://omega-doc.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
70 stars 16 forks source link

main_PET.m issue #7

Closed akmal871026 closed 3 years ago

akmal871026 commented 3 years ago

Dear sir, when I want to run my own raw data PET, I use this code

>> main_PET.m

but error like below pop up

Error using OMEGA_error_check (line 304)
Implementation 4 supports only one OS and one MLEM algorithm at a time.

Error in main_PET (line 1390)
options = OMEGA_error_check(options);

can someone tell the problem is?

villekf commented 3 years ago

Set options.OSL_OSEM on line 851 to false. It was erroneously set as true on default.

akmal871026 commented 3 years ago

yes. it work. but havelittle bit error

Starting image reconstruction
Index exceeds matrix dimensions.

Error in reconstructions_main (line 3378)
                                uu = double(full(Sino(pituus(osa_iter)+1:pituus(osa_iter +
                                1))));

Error in main_PET (line 1480)
    pz = reconstructions_main(options);
villekf commented 3 years ago

What data are you using? Your own data or the one from Zenodo?

akmal871026 commented 3 years ago

my own data. from pet ct scan. the raw data

akmal871026 commented 3 years ago

can you give me your email so that I can share with you my own raw data. please help me.

villekf commented 3 years ago

Then the device/sinogram specific variables are most likely wrong. You should double-check them.

Furthermore, the input data needs to be in sinogram format, not in list-mode format.

villekf commented 3 years ago

If the input data is not Siemens Biograph list-mode data or Inveon data, I cannot help you. You need to contact the device manufacturer for assistance in reading the data.

akmal871026 commented 3 years ago

OH I SEE.. BECAUSE MY DATA FROM GE BRAND.