• 沒有找到結果。

Vector Quantization

N/A
N/A
Protected

Academic year: 2022

Share "Vector Quantization"

Copied!
4
0
0

加載中.... (立即查看全文)

全文

(1)

Homework Project #04:

Vector Quantization

Due Date: 12/14/2014

(2)

Vector Quantization of Image

Download the Vector Quantization source code, vq.zip, from the class website

Use trvqsp_img to train a codebook for VQ

Use vqimg_enc and vqimg_dec to encode/decode images using the codebook you generated in the previous step

Use different parameters/images to test the performance of the VQ algorithm

2/4

(3)

Usage Example of VQ

There are three images in vq.zip: bookshelf, sinan, and sensin

In general, you should train your codebook using one image and encode a different image for

performance evaluation

As a starting point, try:

C:\> trvqsp_img sinan.raw codebook.dat -b 1024 -t 8 -w 8

The codebook.dat can be used to encode sensin as follows:

C:\> vqimg_enc –i sensin.raw –o data.bit –c codebook.dat

Finally, reconstruct the sensin image by

C:\> vqimg_dec –i data.bit –o sensin.raw

3/4

(4)

Hand-in for the Homework

Please write a report including:

Description of the program flow of: trvqsp_img, vqimg_enc, and vqimg_dec

Try different parameters for VQ (e.g., codebook size, vector size)

Try different training images and compare the performance of VQ on different target images

Grading is based on

Your report

4/4

參考文獻

相關文件

Reading Task 6: Genre Structure and Language Features. • Now let’s look at how language features (e.g. sentence patterns) are connected to the structure

Understanding and inferring information, ideas, feelings and opinions in a range of texts with some degree of complexity, using and integrating a small range of reading

Writing texts to convey information, ideas, personal experiences and opinions on familiar topics with elaboration. Writing texts to convey information, ideas, personal

 Promote project learning, mathematical modeling, and problem-based learning to strengthen the ability to integrate and apply knowledge and skills, and make. calculated

Now, nearly all of the current flows through wire S since it has a much lower resistance than the light bulb. The light bulb does not glow because the current flowing through it

Writing texts to convey simple information, ideas, personal experiences and opinions on familiar topics with some elaboration. Writing texts to convey information, ideas,

This kind of algorithm has also been a powerful tool for solving many other optimization problems, including symmetric cone complementarity problems [15, 16, 20–22], symmetric

Finally, we use the jump parameters calibrated to the iTraxx market quotes on April 2, 2008 to compare the results of model spreads generated by the analytical method with