REVERSING DEMOSAICKING AND COMPRESSION OF COLOR FILTER ARRAY IMAGES

  • 格式:pdf
  • 大小:711.89 KB
  • 文档页数:4

REVERSINGDEMOSAICKINGANDCOMPRESSIONOFCOLORFILTERARRAYIMAGESNai-XiangLian,LanlanChang,VitaliZagorodnov,andYap-PengTanNanyangTechnologicalUniversity50NanyangAvenue,639798,Singapore

ABSTRACTAnalternativeprocessingchainofdigitalstillcamera(DSC)hasbeenproposedtomovethecompressionprocessbeforedemosaickingtoavoidadditionaldataredundancyintroducedbythedemosaickingprocess.Recentempiricalstudieshaveshownthatthealternativeprocessingchaincanactuallyout-performtheconventionaloneintermsofimagequalityatlowcompressionratios.Toprovidetheoreticallysoundbasisforsuchconclusion,weproposeanalyticalmodelsfortherecon-structionerrorsofthetwoprocessingchains.Themodelsde-velopedconfirmtheresultsofexistingempiricalstudiesandalsoallowsperformancepredictionsformoreadvancedcom-pressionanddemosaickingmethods,thusprovidingimportantcuesfordevelopmentinthisarea.

1.INTRODUCTIONToreducethecostandsize,mostDSCscaptureimagesusingasinglesensoroverlaidwithacolorfilterarray(CFA),sam-plingoneofthethreeprimary/complementarycolorvaluesateachpixel.Toobtainfull-colorimages,thetwomissingcolorvaluesateachpixellocationaretobeestimated.Thispro-cessisreferredtoasCFAdemosaicking[1–3],whichplaysanimportantroleindecidingthequalityoffinalimageresult.Exceptdemosaickingprocess,thecompressionperformancealsoaffectsthefinalimagequality.Nowadays,DSCsusuallyadopttheJPEGcompressionstandardbasedonDiscreteCo-sineTransform(DCT).TheconventionalimageprocessingchaininDSCisshowninFigure1(a),wheretheCFAsamplesarefirstdemosaickedintoafull-colorimageandthencompressedbeforestorageortransmission.However,CFAdemosaickingdoesnotincreasetheinformationcontent(entropy)oftheoriginalimage,butintroducesmainlyredundancy[4].Assuch,onecanconsideranalternativeprocessingchainbyreversingthedemosaickingandcompressionprocessfortheCFAsamples[4–8],asshowninFigure1(b).Themainadvantageofthealternativeprocess-ingchainisthattheCFAsamplesconsistofonly1/3pixelvaluesofthefull-colorimage,thusrequiringlesscomputa-tionalresource,storagecapacity,and/ortransmissionband-width.Recentwork[4–8]hasalsoindicatedthatthealterna-tiveprocessingchaincanachievebetterimagequalitythantheconventionaloneunderlowcompressionratios.CFA data󰀀Demosaick󰀀Compress󰀀De-compress󰀀Output󰀀image󰀀Store or󰀀Transmit󰀀(a) CFA data󰀀Compress󰀀De-compress󰀀Output󰀀image󰀀Demosaick󰀀Store or󰀀Transmit󰀀(b)Fig.1.BlockdiagramsofDSCimageprocessingchains:(a)conventional;(b)alternative.However,asstandardcompressiontechniquesassumethecolorcomponentsbesampledatidentical,rectangularlattices,thesecompressiontechniquesneedtobecustomizedtotheCFApattern(i.e.non-rectangulargreensamplelattice)[6,7].Theexistingstudies[4–9]areempirical,makingtheirresultsrelevanttoonlyexistingcompressionanddemosaickingal-gorithms.Itisnotclearwhetherthealternativechainwillremainsuperiortoconventionaloneinthefutureadvanceddemosaickingandcompressionalgorithms.Inthispaperweanalyzetheconventionalandalternativeprocessingchainsbydetailedmodellingoftheirreconstruc-tionerrors.InSection2,westudytheinteractionbetweencompressionanddemosaickingerrorsandproposeamodelfortheerrorvarianceofeachprocessingchainbasedonthestudy.Usingthemodelproposed,weshowthattherelativeperformanceoftwoprocessingchainsprimarilydependsonthedifferenceinthecompressionerrorsoffull-colorandCFAimages.Tocomparethecompressionerrors,wemodeltheirvariancesinSection3.Basedontheproposedmodels,wecomparetheperformancesoftheconventionalandalternativeprocessingchainsforseveralcompressionanddemosaickingmethodsinSection4.Finally,thepaperisconcludedinSec-tion5.2.ERRORMODELSOFPROCESSINGCHAINSThedifferencebetweentheconventionalandalternativepro-cessingchainsliesinthereversalofthecompressionCanddemosaickingDoperations,asshowninFigure2.Letxbetheoriginal(desired)full-colorimage,¯xbetheCFAimage,andC(x)=x+δxDCxx+xC(x+x)

∆∆

(a)Conventionalprocessingchain

CDxx+xδ D(x+x)δ

(b)Alternativeprocessingchain

Fig.2.Blockdiagramsoferrormodels.

C(¯x)=¯x+δ¯xD(¯x)=x+∆x

whereδxandδ¯xarethecompressionerrorsofxand¯x,while∆xisthedemosaickingerror.Weuseindexitodesignateindividualpixelsandtreatdemosaickingandcompressioner-rorsineachpixelasrandomvariables.Letξ2s󰀁E(δ2xi)andξ2o󰀁E(δ2¯xi)bethecompressionerrorvariancesforthefull-colorandCFAimages,respectively,andζ2󰀁E(∆2xi)bethedemosaickingerrorvariance.Inwhatfollows,weevaluatethetotalerrorvariancesofthetwoprocessingchainsbymodellingtheinteractionbetweenthecompressionanddemosaickingerrors.

2.1.Conventional:Demosaicking-CompressionFromFigure2(a),theerrorintheconventionalprocessingchaincanbeexpressedasC[D(¯x)]−x=C(x+∆x)−C(x)+C(x)−x=C(x+∆x)−C(x)+δx.Theerrorisasumoftwocomponents:compressionerroroftheoriginalimageδxandthedifferencebetweenthecompressedversionsofthede-mosaickedandoriginalimagesC(x+∆x)−C(x).ThetotalerrorvarianceisthenΩ2=E{[C(xi+∆xi)−C(xi)]2}+E(δ2xi)+2E{[C(xi+∆xi)−C(xi)]δxi}.Letf(ζ2)=E{[C(xi+∆xi)−C(xi)]2},thenf(0)=0.Expandingf(ζ2)usingTaylorseriesandpreservingonlythelinearterm,wehavef(ζ2)≈a2ζ2,whereparameteraingeneralcandependonthecompressiontechniqueandthebitrateused.Similarly,E{[C(xi+∆xi)−C(xi)]δx}≈aE(∆xiδxi)=ρaaξsζ,whereρaisthecorrelationcoeffi-cientbetweentwoerrors.Combiningtheseapproximationsweobtainthefollowingexpressionforthetotalerrorvarianceoftheconventionalprocessingchain: