Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read Cube Images #1

Open
gaw89 opened this issue Jul 6, 2018 · 6 comments
Open

Read Cube Images #1

gaw89 opened this issue Jul 6, 2018 · 6 comments

Comments

@gaw89
Copy link

gaw89 commented Jul 6, 2018

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?

@mandorra
Copy link
Owner

mandorra commented Jul 6, 2018

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.

@gaw89
Copy link
Author

gaw89 commented Jul 6, 2018

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.

@mandorra
Copy link
Owner

mandorra commented Jul 6, 2018

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.

@coin-mine
Copy link

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?

@gaw89
Copy link
Author

gaw89 commented Feb 16, 2021

@coin-mine I abandoned that project before I really went any further with the Matlab stuff. Good luck!

@mandorra
Copy link
Owner

I abandoned the project long ago too, but good luck hacking into the raw binaries!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants