Research on Image Compression of Packaging and Decoration Based on MATLAB (2)
Name Size Size Byte Format Original Image 256×256 65536 Unint8
1st compression restoration image 135×135 145800 double compression image restoration 75×75 45000 double precision
From the subjective evaluation of the recovered image, it can be seen that although the second compression ratio is greater than the first compression ratio, the first compression effect is significantly better than the second compression effect. This is because when the decomposition is performed, the increased number of decomposition layers will cause blurring at the edge of the baseband, which is not conducive to extracting the desired high frequency subband classification information or the extracted information is inaccurate, resulting in high frequency subbands. The effectiveness and rationality of the coding have declined.
4 Conclusion Image compression is a research field with promising future. The breakthrough in this field will have a profound impact on the development of packaging and printing. Therefore, invest a certain amount of funds and manpower in image compression to conduct in-depth research.
A1=wrcoef2('a',e,l,'dbl',1);
H1=wrcoef2('h',e,l,'dbl',1);
D1=wrcoef2('d',c,l,'dbl',1);
V1=wrcoef2('v',c,l,'dbl',1); c1=[A1 H1;V1 D1].
The following is the compression of the image: The first layer of low-frequency information is preserved and quantized and encoded. MATLAB uses the wcodemat() function to complete this process.
Cai=wcodemat(cAl,440,'that',0); cai=0.5*cal.
3 Experimental results and analysis The image used in this experiment is 256*256 pixels and each pixel is 8bit coded. The compression effect can be examined by comparing the memory space occupied by the original image lea and the compressed restored image and the displayed image, as shown in FIG. 1 .
[ references]
[1] Jiang Rui compiled. Packaging Design [M]. Changsha: Hunan University Press, 1989.
[2] Philosophy of Ge. MATLAB6.5 auxiliary image processing [M]. Beijing: Electronic Industry Press.
[3] Chen Yang. MATLAB6.X graphics programming and image processing [M]. Xi'an: Xi'an University of Electronic Science and Technology Press.
[4] Cheng Zhengxing. Wavelet analysis algorithm and application [M]. Xi'an: Xi'an Jiaotong University Press.
Bathroom Cabinet,Bathroom Vanities,Bathroom Furniture,Bathroom Storage
Tv Stand Co., Ltd. , http://www.peilinchen.com