Commit 8b7366b7 authored by Bryce Hepner's avatar Bryce Hepner
Browse files

made this longer and with more detail, not perfect

parent b1c9e3df
Loading
Loading
Loading
Loading
+13 −1
Original line number Original line Diff line number Diff line
# Image Compression
# Image Compression


Python code for developing a system to compress images in order to achieve uninterrupted frames.
Python code for developing a system to compress images in order to achieve uninterrupted frames.

The approach revolves around predicting a pixel based on the surrounding 4 pixels on the top and left.
The process is thought of like a cathode ray TV, processing each row one pixel at a time. Therefore
the 3 pixels above any nonboundary pixel and the one to the left have already been read. The goal is to then
interpolate the next point and record if there is any difference between the predicted and the actual.

Encoding_decoding contains the main body of code, while compression_benchmark.ipynb contains some test code
for already produced methods of compression.

The current status is that the inhouse compression works better as per its own method of checking the ratio.

TODO: Update how it calculates compression by actual filesize instead of in python calculations
 No newline at end of file