Outline ·
[ Standard ] ·
Linear+
C++ Image processing codes, to compress and decompress image
|
TSboxsystem
|
Jan 9 2006, 02:22 PM, updated 20y ago
|
|
hello ppl ! i was wondering if any of you have any ideas or sources to image compressing C++ source codes by using DCT(discrete cosine transform) method. i really need your help in order to complete my final year project. thanks in advance.
|
|
|
|
|
|
TSboxsystem
|
Jan 10 2006, 01:49 PM
|
|
alrite thanks for the reply. and sorry for not being specific.
currently, here's my level of knowledge of DCT.
all i know .. the pictures are seperated into pixels which will form blocks of pixels. for example, 8x8 pixels. these blocks will be processed through specific calculations(which i don't have any idea how?) and the output will quantized by quantization processes e.g. scalar or vector.(in my case i will use scalar quantization).
thus, the results will be coded using entropy coding such as Huffman or others .. (PCM maybe .. still havent decided ..) and the obviously the compressed image will lose some of the data which are still acceptable for human eyes(high frequencies waves).
so, i can't use the JPEG library as my program itself should compress the image on its own. and one more thing, it's like a real-time system where a webcam/camera will capture images(environment scenes) and the PC(program that i wrote based on DCT) will compressed those captured images and display them and make comparations with the original images.
and just for your info, i'm a newbie. i've took some C++ classes yet i never learned anything about images and my coding skills are quite rusty as i'm not a science computer/IT student. my course are more likely focuses on electronics.
|
|
|
|
|