OMEGA icon indicating copy to clipboard operation
OMEGA copied to clipboard

Compiling cpp source code as standalone shared library

Open mscipio opened this issue 4 years ago • 1 comments

Hi! It's kind of a weird question, I guess, but I will try, nontheless. This software is really nice, I just discovered it between the abstracts for ISBI 2020.

I am also in the "job" of developing PET reconstruction softwares, but in Python, not in Matlab (you can check https://github.com/TomographyLab/TomoLab, if you are interested). I would really like to test the projectors code you wrote for OMEGA (the one to be compiled as a mex file) within my library, to compare it with the one I am currently using.

The problem is that I am not really familiar with writing source code for Mex files, and I don't know if it is unrealistic to think to separate the C++ code from the Mex wrapper. I mean, avoiding including mex.h, etc...

Two questions:

  • would you be OK with me trying such an 'improper' use of your code?
  • do you have any idea how hard would it be to adapt the source of the mex files, so that it could be compiled as a shared library, with no need for Matlab to run these functions?

Thanks a lot for the attention.

mscipio avatar Apr 07 '20 01:04 mscipio