OCT .fds image in 3D slicer?

Wondering if I can load OCT .fds files into 3D slicer.

Otherwise I can get .png files but how can i stack them?

I’m not too familiar with OCT, but if you can convert them to something Slicer can read it should work. People have done it before and had good luck. It looks like this converter could be helpful and maybe you could use it to bypass the png step by reading directly into slicer. Or if you have the pngs already you could use ImageStacks from SlicerMorph to read them in and set the spacing parameters.

1 Like

If you often need to read such images into Slicer then you can use the converter that @pieper suggested above to create a reader plugin for Slicer (probably you need to write less than 30 lines of code, see a complete example here). If you can share an example file then I can give it a try to write a plugin.

Thank you very much for your help. Here is an example file https://uwoca-my.sharepoint.com/:u:/g/personal/dpur_uwo_ca/EbAqtJUjuBpEpAm8QD_uxfYBy359eLrZNye78o2K41Ftag?e=z4FSzk

@pieper Thank you for the suggestions I have tried it, it did work to get the PNG files with a different OCT file. The one I plan on using seems to have a slightly different internal organization and it’s giving me some errors when converting to PNG. I reached out to the creator of the converter and hopefully he has some tips!

I am wondering if you have had a chance to write a plugin for it. Thank you

I’ve added an OCT importer plugin to Sandbox extension that uses OCT-Converter Python package to read OCT volumes stored in .fda file format. It is available in the latest Slicer Preview Release.

1 Like

Thank you very much! I’ve been struggling to find the extension in the extension manager. Not sure why! This is what I see

Thanks for reporting this. I’ve made a mistake when I added the new module, which cause packaging to fail. The Sandbox extension should be available again in the Slicer Preview Release from tomorrow.