Open gaw89 opened 6 years ago
Thanks for your interest. I started this by reverse engineering the binaries of Spectralis. However, I put the project aside a while ago because I was lacking time on developing this OCT interface. That said, it shouldn't be hard to extract the A / B Scans. In the header we know how many slices we have so I guess we should try to guess the size of each slice and make a loop to extract each of them in a similar way I extracted the SLO image.
Thanks for the quick response! I actually found an OCT reader here that's written in Matlab. I'm trying to translate the Matlab code to Python now - though I'm not terribly familiar with Matlab. If I can figure it out, I'll submit a PR here.
That sounds great it would save a lot of time to identify the way it's storing the B-Scans and their location on the SLO image. I use Matlab/Octave eventually, but I'm definitely more comfortable in Python that's why I started to develop this.
Many thanks for sharing the tool! It works very well for the overall header and the SLO image. Do you have any updates on the B-Scan extraction? @gaw89 Did you manage to translate the Matlab code?
@coin-mine I abandoned that project before I really went any further with the Matlab stuff. Good luck!
I abandoned the project long ago too, but good luck hacking into the raw binaries!
This is fantastic for reading the SLO images and the headers. Do you have any idea how to extract all the slices of the cube?