neurodial / LibE2E

Library for reading OCT data from HEYEX/Spectralis (E2E, sdb)
GNU Lesser General Public License v3.0
11 stars 11 forks source link

How to use your library #2

Open gauravfotedar opened 4 years ago

gauravfotedar commented 4 years ago

I have compiled oct_cpp_framewwork and LibE2E and got a binary file named "libe2e_test" in the build directory. Looking at the main.cpp I tried using it by "./libe2e_test ". However when I do this it just outputs the path and exits, nothing else happens. Do you know what could be the issue? What should have happend?

I need to be able to read Heidelberg file format OCTs (sdb, pdb, e2e), and save them in a different format like png or nii. Is this at least partly possible with your library? Is your library GUI based or API based?

kaygdev commented 4 years ago

Hello gauravfotedar,

the test program loads only the file and do nothing else. It was only created for debugging usage. A “standalone“ usage was not a target for this lib (the same on LibOctData). The LibE2E is only used (in our repo) in LibOctData and some small internal tools. The LibOctData is the “main” lib and it is used in OCT-Marker, convert_oct_data, octdata4matlab, octdata4python and internal tools.

As you have already seen, extracting the data is possible with the CLI program convert_oct_data. The LibE2E library only offers a C++ interface. If you want write own converter tools, you can use convert_oct_data or octdata4python as example code.

Best Kay