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
200 stars 72 forks source link

Resaving E2E files #116

Closed benjaminralex closed 1 year ago

benjaminralex commented 1 year ago

Hey Mark,

Quick question: for E2E and FDA files, is it possible to add information to the metadata and the resave the files in the original format?

Thanks!

marksgraham commented 1 year ago

Hi,

At the moment there aren't any methods that allow you to do this, but I think it should be doable. It's just a matter of creating a construct for the relevant field, e.g. patient metadata, building the dict a done in this example and then writing over the relevant bits of the image.

If you're interested in trying to get it working i can maybe help, let me know.