Zipimage
This is a library for image compression.
Requirement
- cmake ( >= 2.6)
- g++
- Imagine++
Run Exemple
$sh zipimage/run.sh
Function
TreeCompress
- encodeImage : the function to encode a grey image to a quadtree
- quaddag: the function to encode a grey image to quaddag (a quadtree sharing its leaves)
- restoreImage: the function to restore agrey image from a quadtree
- restoreImageWithSquare: the function to restore a grey image from a quadtree and draw bounding squares for its leaves
- getCompressionRate: the function to print a quadtree's compression rate
- encodeRectImage: the function to encode a rectangle grey image to a quadtree
- compressImage: the function to encode a grey image to a lossy quadtree with a threshold
- encoderColorImage: the function to load a color image
FileCompress
- saveTree: the function to save a quadtree to a txt file
- loadTree: the function to load a quadtree from a txt file