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

Updated oct.py to normalize output 0-255 #35

Closed dkermany closed 3 years ago

dkermany commented 3 years ago

Normalizing output images to between 0-255. In its current form, the code produces blank jpg files since the images are not bound between 0 and 255. This change both reduces file size and allows outputs in JPG format

marksgraham commented 3 years ago

Thank's for the PR! Out of curiosity, what file types did you find the empty jpeg issue with?