Simple tools for making stereographic images in Python.
This code currently very poorly documented. However, a browser-based interactive user interface for it is available here. Try it out!
To create stereographs within a script:
from twoeyes import Stereo
s = Stereo(left='some-image.jpg', right='another-image.jpg')
s.to_anaglyph()
s.to_gif()
s.to_sidebyside()
To spin up an interactive interface in a jupyter notebook:
from twoeyes import MakeYourOwn
s = MakeYourOwn()
You should be able to install this by running
pip install two-eyes
from a UNIX prompt.
These tools were originally developed by Zach Berta-Thompson for the Fall 2020 (pandemic) semester of ASTR1030 at the University of Colorado Boulder. The lab instructional team and students for that course provided valuable feedback and suggestions on its usage.
This package was written by Zach Berta-Thompson.