marksgraham / OCT-Converter

Tools for extracting the raw optical coherence tomography (OCT) and fundus data from proprietary file formats.
https://pypi.org/project/oct-converter/
MIT License
199 stars 72 forks source link

StreamError when converting .oct files #67

Closed gxg2002cn closed 2 years ago

gxg2002cn commented 2 years ago

Dear Mark, Thanks a lot for developing OCT-Converter. I wish to extract the photo from some .oct files (an example attached), but met the StreamError. I wonder if there is any suggestion on solving the problem? Many thanks!

Best regards, Xiaogang

image

Default_0002_Mode2D.zip

marksgraham commented 2 years ago

Hi,

First things first - are you sure it's a .oct file from a Bioptigen scanner?

Mark

gxg2002cn commented 2 years ago

Hi Mark,

Thanks for your remainder and sorry to bother. Please ignore my issue.

I just confirmed the .oct file used Thorlabs OCT imaging systems and as output from ThorImage®OCT (https://www.thorlabs.de/newgrouppage9.cfm?objectgroup_id=7982).

I managed to import it into ImageJ following their instruction at (https://www.thorlabs.de/thorcat/MTN/MTN020880-D03.pdf) page 100-101.

Thank you again!

Xiaogang