README.md 500 字节
Newer Older
H
All  
hypox64 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
## my_dct
This code finish in python3  and use numpy ,opencv-python as tool.
@Hypo,雷海波 1910273011

## Run  code
```shell
python image_dct_and_idct.py
```
## Result:
QF=1 | QF=20 | QF=50 | QF=100 
:-: | :-: | :-: | :-: | :-:
![image](./images/QF=1.png) | ![image](./images/QF=20.png) | ![image](./images/QF=50.png) | ![image](./images/QF=100.png) | 
* We can find that image will get worse quality when QF is larger. 
* When quantfy  DCT blocks, it will loss more information when QF is large.