版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
CompressionCode
VectorQuantization向量量化編碼
在向量量化編碼中,則是把輸入數(shù)據(jù)幾個一組地分成許多組,成組地量化編碼,即將這些數(shù)看成一個k維向量,然后以向量為單位逐個向量進行量化。向量量化是一種限失真編碼,其原理仍可用信息論中的率失真函數(shù)理論來分析。
Principleofvectorquantizationencoding衡量兩個向量之間接近程度的度量標準可以用均方誤差準則:其他準則????在向量量化編碼中,關鍵是碼本的建立和碼字搜索算法。
碼本的生成算法有兩種類型:一種是已知信源分布特性的設計算法;另一種是未知信源分布,但已知信源的一列具有代表性且足夠長的樣點集合(即訓練序列)的設計算法。碼字搜索是向量量化中的一個最基本問題,向量量化過程本身實際上就是一個搜索過程,即搜索出與輸入最為匹配的碼字。
DiscreteCosineTransformFFT一個變量的周期函數(shù)g(x)能夠通過傅立葉級數(shù)表示出來:系數(shù)(A0、An和Bn)的值按照下面的公式計算:
傅立葉變換(FourierTransform)的物理意義:將信號從時間域(timedomain)變換到頻率域(frequencydomain)。DFT正變換:給定一個二維信號的樣本序列{x(k,l),k=0,1,…,N-1,l=0,1,…,N-1},二維離散傅立葉變換(2D-DFT)
:
逆變換:
DCTTheDFTtransformsacomplexsignalintoitscomplexspectrum.However,ifthesignalisreal(asinmostoftheapplications),halfofthedataisredundant.(Theimaginarypartofthesignalisallzeroandboththerealandimaginarypartsofthespectrumaresymmetry.)Asarealtransform,Discretecosinetransform(DCT)transformsrealdataintorealspectrumandthereforeavoidstheproblemofredundancy.AlsoasDCTisderivedfromDFT,allthedesirablepropertiesofDFTarepreserved.一個變量的周期函數(shù)g(x)能夠通過傅立葉級數(shù)表示出來:系數(shù)(A0、An和Bn)的值按照下面的公式計算:
2DDCT2D-DCT:2D-IDCT:The2D-DCTisseparable!
TheDCT,unliketheFouriertransform,isspatiallyvariant.
TheDCTissensitivetophase,sothatanobjectmovingacrossthescreenwillhavedifferentfrequencycontentfromframetoframe.
Thisalsomeansthatthevisibilityofcodingartifactsduetocoefficientquantizationwillvarysomewhatdependingonthepositionofanobject(edge)intheimage.
becausetheDCTisastrictlyboundedblocktransform,lossycodingwillproduceblock-edgemismatchwhichwillbevisibleatsomelevelofquantizationevenifthereisonlylowfrequencycontentinthatarea.Blocksize8×8????smallblockfastercorrelationexistsbetweenneighboringpixelslargeblockbettercompressioninsmoothregions20020218918818917517517520020319818818918217817520320020019520018718517520020020020019718718718720020520020019518818717520020020020020019018717520520019920019118718717521020020020018818518718651565-12412-85-163200-11-23-12611-1301-2-83-42-2-3-5-20-27-540-1-40-3-1041-103-2-333-1-1-3-25-24-22-30ThefirstcoefficientB(0,0)istheDCcomponent,theaverageintensityThetop-leftcoefficientsrepresentlowfrequencies,thebottomright–highfrequenciesZig-ZagScan123451565-12412-85-163200-11-23-12611-1301-2-83-42-2-3-5-20-27-540-1-40-3-1041-103-2-333-1-1-3-25-24-22-30QuantizationIdea:getridofthefrequenciesintheimagethatareirrelevanttothehumaneye.TwodifferentmethodsforquantizationUniform(dividingbyaconstantnumber)UsingquantizationtablesQuantizationtablescanbescaledupordowntoadjustthequalityfactor1611101624405161121214192658605514131624405769561417222951878062182237566810910377243555648110411392496478871031211201017292959811210010399326-100000-10000000-10100000-100000000000000000000000000000000000000051266-1000000-120000000-1401600000-1400000000000000000000000000000000000000019919619118618217817717620119919619218818318017820320320220019518918318020220320420319819118318020020120220119618918217720020019919719218618117720420219919519018618318120720420019419018718518416-227-3-2-1-142-41-1-2-30-3-2-55-22-5-2-3-4-3-1-44804-2-1-1-1520013846-2120511463-406-2-222conclusionDCTenablesimagecompressionbyconcentratingmostimageinformationinthelowfrequenciesLooseunimportantimageinfo(highfrequencies)bycuttingB(u,v)atbottomrightThedecodercomputestheinverseDCT–IDCTRGB?YUVConversionRGBtoYUVY=(0.257*R)+(0.504*G)+(0.098*B)+16Cb=-(0.148*R)-(0.291*G)+(0.439*B)+128Cr=(0.439*R)-(0.368*G)-(0.071*B)+128YUVtoRGBR=1.164(Y-16)+1.596(V-128)
G=1.164(Y-16)-0.813(V-128)-0.391(U-128)B=1.164(Y-16)+2.018(U-128)ChrominanceSub-SamplingHumaneyeismoresensitivetowardschangesinluminanceratherthanincolorLuminanceQuantizationTable
ChrominanceQuantizationTableLimitationoftheDCTTimesignaltransformthefrequencyinformationNotemporalapplicationDatacompression(JPEG)SignalanalysisWatermarkingWaveletTransformCodingMulti-resolutionanalysisofthesequence:takingaveragesanddifferenceandkeepingresultsforeverystep.Forimages,thiswouldbeequivalenttocreatingsmallerandsmallersummaryimages,one-quarterthesizeforeachstep,andkeepingtrackofdifferencefortheaverageaswell.Mentallystackingthefull-sizeimage,thequarter-sizeimage,thesixteenthsizeimage,andsoon,createsapyramid.thefullset,alongwithdifferenceimages,isthemulti-resolutionanalysis.Theobjectiveofthewavelettransformistodecomposetheinputsignal,forcompressionpurpose,componentsthatareeasiertodealwith;havingspecialinterpretations,havingsomecomponentsthatcanbethresholdaway.Furthermore,wewanttobeableatleastapproximatelyreconstructtheoriginalsignal,givethesecomponents.Supposewearegiventhefollowinginputsequences:Considerthetransformthatreplacestheoriginalsequencewithitspair-wiseaverageanddifference.Wavelettransformdecomposesasignalintoasetofbasisfunctions.Thesebasisfunctionsarecalled
waveletsWaveletsareobtainedfromasingleprototypewavelet
y(t)calledmotherwavelet
bydilationsandshiftingwhereaisthescalingparameter
bistheshiftingparameterThecontinuouswavelettransform(CWT)ofafunctionfisdefinedasIfyissuchthat
fcanbereconstructedbyaninversewavelettransform:
DiscretewaveletsDiscretewaveletsareformedamotherwavelet,butwithscaleandshiftindiscretesteps.Notethat:
1):wechangethescaleoftranslationalongwiththeoverallscale2j,soastokeepmovementinthelower-resolutionimageproportion.
2):AlargeindexjcorrespondstoacoarserversionoftheimageMulti-resolutionanalysisprovidethetoolto
adaptsignalresolutiontoonlyrelevantdetailsforparticulartask.Mallatdecomposesasignalintoanapproximationcomponentandadetailcomponent.Theapproximationcomponentisthenrecursivelydecomposedintoapproximationcomponentanddetailsuccessivelycoarserscales.Waveletsaresetupsuchthattheapproximationatresolution2-jcontainsallthenecessaryinformationtocomputeanapproximationatcoarserresolution2-(j+1)Waveletsareusedtocharacterizedetailinformation.Theaveraginginformationisformallydeterminedbyakindofdualtothemotherwavelet,calledthescalingfunctionWeperformthe2-Dwavelettransformbyapplying1-Dwavelettransformfirstonrowsandthenoncolumns.LHLLLHHLHHLL1HL1LH1HH1LL2HL2HL1LH2HH2LH1HH1HL2HL1LH2HH2LH1HH1LL3HL3LH3HH3firstSecondThird運用filter中:低通濾波器為高通濾波器為的小波變換的LL和LH分量Step1:的每行進行偶延拓得到
的每行進行低通濾波得到
Step2:Step3:的每列進行偶延拓得到
的每列進行低通濾波得到Step4:隔二抽一得到LL分量
的每列進行高通濾波得到
Step5:隔二抽一得到LH分量
96.64%0.41%0.92%0.35%0.94%0.27%0.43%ApplicationsSignalprocessingTargetidentification.Seismicandgeophysicalsignalprocessing.Medicalandbiomedicalsignalandimageprocessing.Imagecompression(verygoodresultforhighcompressionratio).Audiocompression(achallengeforhigh-qualityaudio).Signalde-noising.多尺度子波圖像融合—結構圖待檢原始彩色圖像光線校正YCbCr膚色HIS膚色像素級融合融合不同膚色模型下的膚色圖彩色圖像轉化為灰度灰度圖像的小波LL子圖像HL子圖像LH子圖像像素級融合子圖像人臉檢測和校驗原始圖像人臉區(qū)域及尺寸根據(jù)人臉邊緣特征,運用多尺度子波圖像融合算法:
多尺度子波圖像融合--YCbCrRGBYCbCr空間Y分量
YCbCr空間Cb分量
YCbCr空間Cr分量多尺度子波圖像融合--膚色圖像YCbCr空間的膚色分割多尺度子波圖像融合--膚色圖像多尺度子波圖像融合--HSIHSI空間的膚色分割多尺度子波圖像融合—HIS和YCbCr
YCbCrHSI融合結果多尺度子波圖像融合
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 水發(fā)燃氣集團2026秋季校園招聘8人備考筆試題庫及答案解析
- 2026中國礦產資源集團校園招聘和所屬單位社會招聘備考筆試題庫及答案解析
- 深度解析(2026)《GBT 25915.6-2010潔凈室及相關受控環(huán)境 第6部分:詞匯》
- 深度解析(2026)《GBT 25889-2010機器狀態(tài)監(jiān)測與診斷 聲發(fā)射》(2026年)深度解析
- 2025甘肅中醫(yī)藥大學招聘博士研究生5人(第二期)模擬筆試試題及答案解析
- 深度解析(2026)GBT 25757-2010無損檢測 鋼管自動漏磁檢測系統(tǒng)綜合性能測試方法
- 深度解析(2026)《GBT 25710-2010礦用斜巷行人助行裝置》(2026年)深度解析
- 2025安徽江淮汽車集團股份有限公司招聘1人模擬筆試試題及答案解析
- 2025山東日照市五蓮縣教體系統(tǒng)招聘博士研究生2人參考考試題庫及答案解析
- 戈夫曼“前臺-后臺”對教師專業(yè)表演的分析-基于《日常生活中的自我呈現(xiàn)》
- 2025天津大學管理崗位集中招聘15人筆試備考重點題庫及答案解析
- 供應飯菜應急預案(3篇)
- 2026年遼寧理工職業(yè)大學單招職業(yè)適應性測試題庫及參考答案詳解
- 接地線課件教學課件
- 2025西部科學城重慶高新區(qū)招聘急需緊缺人才35人考試筆試模擬試題及答案解析
- 2026蘇州大學附屬第二醫(yī)院(核工業(yè)總醫(yī)院)護理人員招聘100人(公共基礎知識)測試題帶答案解析
- 2025水發(fā)集團社會招聘269人參考筆試題庫及答案解析
- 2024江蘇南京市鼓樓區(qū)司法局社區(qū)矯正社會工作者招聘1人備考題庫及答案解析(奪冠)
- 中國定制客運發(fā)展報告(2024)-
- 2026中國儲備糧管理集團有限公司湖北分公司招聘33人筆試歷年題庫及答案解析(奪冠)
- 2026年春湘教版地理八年級下冊第九章 第九章 建設永續(xù)發(fā)展的美麗中國課件
評論
0/150
提交評論