This repository can be accessed at derickson2402/Math-214-Project-4.
The corresponding project submission folder can be found on Google Drive. If the link is no longer valid, you can send an email to one of the authors and we would be happy to show off our work!
The waveCompress.py
script performs a wavelet-transform compression algorithm on an image of your choosing. To run it, open a terminal on your computer and run ./waveCompress.py
. Then just specify an input and output file, as well as the number of layers for your compression [1, 6].
The script was written for Python 3.10.3, but you may be able to get it to work with other versions. The easiest way to set up your computer is to use pyenv
, which is a Python version manager. You can use something like the following if you're on a mac (please Google this first because I did this a long time ago and it might need more setup...):
$ brew update && brew install pyenv
$ pyenv install 3.10.3
$ pyenv local 3.10.3
$ chmod +x ./waveCompress.py
$ pip install PyWavelets
Main point is you need to make sure you have Python installed, and you will need the PyWavelets
package.
To edit this project on your computer, click Code
in GitHub and follow the instructions to set up GitHub Desktop. On your computer, open the repo in VSCode, and edit the .tex
file.
To set up your computer so you can build the PDF with LaTeX, first make sure you set up GitHub Desktop and VS Code. Then install LaTeX to your computer (brew install mactex
on mac, or on windows go to the LaTeX website and download it). On VS Code, install LaTeX Workshop
and LaTeX Utilities
extensions. Now when you save the LaTeX file, the PDF will automatically be generated.
Before adding changes, do a git pull
, then do your changes, then do git commit
and include a message on what problem you did, then do git push
.
There are tags on some of the git commits, they correspond to the different deadlines outlined in the spec. So for example 1-Initial-Proposal
corresponds to the commit used to submit the Initial Proposal.