mehta-lab / waveorder

Wave optical models and inverse algorithms for label-agnostic imaging of density & orientation.
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

Replace OpenCV with pillow #108

Closed ziw-liu closed 1 year ago

ziw-liu commented 1 year ago

This PR replaces the OpenCV image encoder with pillow. The 'jpg' name and docstring has been editted to match the actual codec (PNG). Related: #107, #97.

ziw-liu commented 1 year ago

I manually tested several interactive viewers that calls the encoder function, and they seem to be working

talonchandler commented 1 year ago

Excellent! I just tested and confirmed that the image viewer still works, that the installation works, and that #97 and #107 are fixed. Merging...thanks @ziw-liu.