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
193 stars 70 forks source link

Scan quality e2e format #138

Open seslootbeek opened 3 months ago

seslootbeek commented 3 months ago

Hi, For large scale analyses I need the scan quality (dB), but I can't find them. Any idea how to extract the scan quality from the e2e-format?

marksgraham commented 3 months ago

I don't know where it is in the file -- have you written the full metadata file and seen if any of the field looks like they might be the scan quality? If you had any ground truth knowledge of this value for some files that could help

seslootbeek commented 2 months ago

The quality is in the metadata: bscan_data according to e2e_binary imgQuality / Float32l, however it keeps giving 0.8416000008583069 as a result for each scan. For me two different scans should be 42 and 39 dB.