suman1209 / robotics_dataset_compression

This is a repository for compressing robotics datasets
0 stars 0 forks source link

encoding the diffs - huffman #21

Open suman1209 opened 1 month ago

suman1209 commented 1 month ago

look into huffman encoding

encode the diffs with lower number of bits(for smaller values) with anomalies (position encoding)

billy0705 commented 1 month ago

Huffman Coding with Python

source 1 \ source 2

suman1209 commented 1 month ago

next items:

billy0705 commented 3 weeks ago

The frequency for pixels, there are 2422 different kinds of diff pixels. The most frequent one is the [0,0,0], it appears 5139 times.

Screenshot 2024-10-25 at 4 19 53 PM

The result from the first frame of this approach is as follows:

Screenshot 2024-10-25 at 4 26 04 PM
billy0705 commented 3 weeks ago

The result for separating the channels, and applying Huffman encoding on each channel. The result is a bit worse than only doing one Huffman encoding with the whole frame.

Screenshot 2024-10-25 at 4 22 28 PM