freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于dct變換的圖像壓縮編碼(參考版)

2024-11-11 22:07本頁(yè)面
  

【正文】 end end 。 Xpq_deestimate(table(depress_index,1),table(depress_index,2))=Xpq_decoded(index,2)。 depress_index=depress_index+1。 depress_index=1。 [cols,tmp]=size(Xpq_decoded)。8,7。6,8。8,6。 7,6。5,8。5,7。7,5。 8,3。6,5。4,7。2,8。 4,6。6,4。8,2。7,2。 5,4。3,6。1,8。2,6。 4,4。6,2。6,1。4,3。 2,5。1,5。3,3。5,1。 3,2。1,4。2,2。2,1。% 反量化恢復(fù)的過(guò)程要考慮到量化系數(shù) quotiety 的影響 《 信息處理系統(tǒng)綜合訓(xùn)練 》報(bào)告 第 19 頁(yè) %與 Run_length_coding_function 完全相逆的過(guò)程 解碼,此處不再贅述 function Xpq_deestimate=Run_length_decoding_function(Xpq_decoded) table=[1,1。 global quotiety。 49,64,78,87,103,121,120,101。 18,22,37,56,68,109,103,77。 14,13,16,24,40,57,69,56。 % 用變化矩陣的乘法代替效率極低的 for 求和循環(huán) function Xpq_resume=deintegral_function(Xpq_deestimate) integral_table=[16,11,10,16,24,40,51,61。 %生成變換矩陣 xmn_resume=T39。)。 title(39。 figure。 waitbar(4/4,h)。,8)。 %DCT 逆變換得到 xmn xmn_resume=blkproc(Xpq_resume,[8 8],39。)。 %反量化得到幅頻值 Xpq_resume=blkproc(Xpq_deestimate,[8 8],39。 %游程解碼得到 Xpq_deestimate for index1=1:1:M for index2=1:1:N Xpq_deestimate(8*(index11)+1:8*index1,8*(index21)+1:8*index2)=Run_length_d《 信息處理系統(tǒng)綜合訓(xùn)練 》報(bào)告 第 18 頁(yè) ecoding_function(Xpq_decoded{index1,index2})。 [M,N]=size(Xpq_decoded)。 Xpq_decoded=Xpq_coded。正在解壓,請(qǐng)稍候 ?? 39。 uiload。clc。 Xpq_coded(press_index,2)=0。 %過(guò)去這個(gè)元素之后 0 的個(gè)數(shù)就要重新計(jì) press_index=press_index+1。 Xpq_coded(press_index,2)=Xpq_estimate(table(index,1),table(index,2))。 for index=1:1:64 %掃描 if Xpq_estimate(table(index,1),table(index,2))==0 %如果遇到了 0,那么下一個(gè)數(shù)字到來(lái)之前的 0 的個(gè)數(shù)就加 1 count=count+1。 %存儲(chǔ)編碼后的結(jié)果 count=0。%64*2 的矩陣 ,表明 Z 字形壓縮的行走路徑 Xpq_coded=[。8,7。6,8。8,6。 7,6。5,8。5,7。7,5。 8,3。6,5。4,7。2,8。 4,6。6,4。8,2。7,2。 5,4。3,6。1,8。2,6。 4,4。6,2。6,1。4,3。 2,5。1,5。3,3。5,1。 3,2。1,4。2,2。2,1。 function Xpq_coded=Run_length_coding_function(Xpq_estimate) table=[1,1。而人眼對(duì)高頻成分識(shí)別小,對(duì)低頻成分識(shí)別大 %量化后 0 主要集中在右下方,于是 Z 字形掃描對(duì)于游程編碼才有利 %主要思想:原矩陣的每個(gè)元素變化為用兩個(gè)元素【 a, b】表示, a 表示在這個(gè)元素之前 0 的個(gè)數(shù), % b 表示這個(gè)元素是什么。 %量化矩陣 global quotiety Xpq_estimate=int8(Xpq./(integral_table*quotiety))。 49,64,78,87,103,121,120,101。 《 信息處理系統(tǒng)綜合訓(xùn)練 》報(bào)告 第 16 頁(yè) 18,22,37,56,68,109,103,77。 14,13,16,24,40,57,69,56。 function Xpq_estimate=integral_function(Xpq) integral_table=[16,11,10,16,24,40,51,61。 function Xpq=DCT2_function(xmn,M) T=dctmtx(M)。壓縮圖像 39。imshow(Xpq_estimate)。)。},39。, 39。 uisave({39。 end end waitbar(4/4,h)。 %量化表量化 waitbar(3/4,h)。integral_function39。 % 每一小塊 DCT 變換 waitbar(2/4,h)。DCT2_function39。 waitbar(1/4,h)。)。 《 信息處理系統(tǒng)綜合訓(xùn)練 》報(bào)告 第 15 頁(yè) title(39。 figure。 I=rgb2gray(I)。 quotiety=str2num(cell2mat(quotiety))。正在壓縮,請(qǐng)稍候 ?? 39。})。,1,{39。,39。 quotiety=inputdlg(39。%s%s39。)。,39。*.jpg。 [FileName,PathN
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1