This page is optimized for mobile devices, if you would prefer the desktop version just click here

1.3 Compression - zeros grouping

Compression algorithm

Zeros grouping

The second part to our image framework is zeros grouping. Just like the JPEG standard, the algorithm utilizesa zig-zag pattern that goes through each DCT matrix and creates a 64-length vector for each matrix. The advantage of the zig-zagpattern is that it groups the resulting vector from low frequencies to high frequencies. Groups of zeros are then replacedwith an ASCII character representing how many zeros are represented within that group.

Zig-zag method traverses the matrix and vectorizes the matrix. After grouping zeros the resulting bitstream is sent to a file.

With this simple framework in place, we are able to model a real world image compression algorithm and focus onimplementing steganography.

<< Chapter < Page Page > Chapter >>

Read also:

OpenStax, Elec 301 projects fall 2005. OpenStax CNX. Sep 25, 2007 Download for free at http://cnx.org/content/col10380/1.3
Google Play and the Google Play logo are trademarks of Google Inc.
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use and Privacy Policy.