全文预览

图像JPEG压缩的matlab实现

上传者:火锅鸡 |  格式:pdf  |  页数:35 |  大小:4523KB

文档介绍
r11111111F\r11111111F\r-29-EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rJPEG\nSmatlabTU\r11111111F\r11111111F]F\r%BY5BU5BV5}double~\rBY5=blkproc(BY4,[88]z*Pl.*x'zmask)F\rBU5=blkproc(BU4Z[88]z'Pl.*x'zmask)F\rBV5=blkproc(BV4,[88],'Pl.*x',mask)F\r%YIUIVI}double~\rYI=blkproc(double(BY5),[88],*Pl*x*P2',T'ZT)F\rUI=blkproc(double(BU5),[88],'Pl*x*P2',T'ZT);\rVI=blkproc(double(BV5),[88],'Pl*x*P2',T'ZT)F\r%YUVI}double~\rYUVI=cat(3zuint8(YI)zuint8(UI)zuint8(VI));%ŽkDCTx\ry?ƒ„MSYUV\rfigure,imshow(YUVI),title(2ŽkDCTxy?ƒ„MSYUV\r,)F\rRI=YI-0.001*UI+l.402*VI;\rGI=YI-0.344*UI-0.714*VI;\rBI=YI+1.772*UI+0.001*VI;\rRGBI=cat(3,RI,GI,BI);%ŽkDCTxy?ƒ„MSYUV\rRGBI=uint8(RGBI);\rfigure,imshow(RGBI),title('ŽkDCTxy?ƒ„MSRGB\r,);\rimwrite(RGBI,'c.\Users\yifan\Desktop\end.jpg')F|GH\r\r-30-

收藏

分享

举报
下载此文档