LOW COEFFICIENT COMPLEXITY APPROXIMATIONS OF THE ONE DIMENSIONAL DISCRETE COSINE TRANSFORM

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

LOWCOEFFICIENTCOMPLEXITYAPPROXIMATIONSOFTHEONEDIMENSIONALDISCRETECOSINETRANSFORM

TrevorW.FoxandLaurenceE.TurnerDepartmentofElectricalandComputerEngineeringUniversityofCalgaryfox@enel.ucalgary.ca

1.ABSTRACTAmethodforthedesignofarbitrarilyexactDiscreteCosineTransform(DCT)approximationsthatpermitperfectrecon-structionusingfixedpointarithmeticispresented.Sim-plequantizationoffloatingpointprecisioncoefficientstyp-icallyleadstoDCTapproximationswhichfailtomeetthecodinggain,MeanSquareError(MSE),andcoefficientcom-plexity(numberofcoefficientaddersandsubtractors)spec-ifications.ItisshownthatitispossibletodesignDCTap-proximationswithnearoptimalcodinggainsthatmeetstheMSEandcoefficientcomplexityrequirements.Finitepreci-sioneffectsarediscussedfortheseDCTapproximations.2.INTRODUCTIONTheDiscreteCosineTransform(DCT)hasfoundwideap-plicationinaudio,image,andvideocodingandhasbeenincorporatedintheJPEG,MPEG,andH.26xstandards[1].ComputationalspeedcanbecomeadominateconcerninDCTbasedcodingapplicationswhendealingwithlargeamountsofdata.ThemajorityofDCTalgorithmsrequirefloatingpointmultiplicationswhichcanbeslowinmicro-processorbasedimplementations.AnequivalentcustomVLSIimplementationmaynotbeaffordablebecauseofthepotentiallylargeamountsofhardwarerequiredtoimple-mentfloatingpointprecisionarithmetic.RecentlyanumberoffixedpointDCTapproximationswithperfectreconstructionpropertieshavebeenproposed.Theseapproximationshavethepotentialforhighspeedandinex-pensivehardwarebasedimplementations[2]-[5].Theworkin[2]-[4]usestheliftingscheme[6][7]toimplementtheplanerotationsinherentinmanyDCTfactorizationswhichpermitsperfectreconstruction.ThisDCTapproximationisreferredtoasthebinDCT.Theworkin[5]introducesaDCTfactorizationthatalsopermitsperfectreconstruc-tiondespitefiniteprecisionmultiplications.BothoftheseThisworkwassupportedinpartbytheNaturalSciencesandEngi-neeringResearchCouncilofCanadamethodsrestrictthecoefficientstoasumofpowers-of-twos(SOPOT)representationandthereforetheresultingtrans-formsapproximatetheDCT.

AlthoughSOPOTmultipliersrequiresubstantiallylesshard-warethanfloatingpointprecisionmultipliers,theystillre-quiremorehardwarethanothercoefficientrepresentations.CanonicSignedDigit(CSD)codedcoefficientsusingsubex-pressionsharing[8]canbemuchmorecosteffectivebe-causeredundantaddersandsubtractorscanbeeliminatedfromthecoefficientmultiplierimplementation.Alsothecontributions[2]-[5]donotprovideaneffectivemethodofchoosingthefiniteprecisioncoefficientvalues.RoundingortruncationoftheDCTfloatingpointprecisioncoefficientsissuggestedbutthesemethodscannotexplicitlycontroltheerrorbetweentheexactandapproximateDCTorthenum-berofaddersandsubtractorsrequiredtoimplementallofthecoefficientmultiplications.ThiscontributionpresentsamethodthatcanbeusedtodesignnearexactDCTapproxi-mationssuitableforlosslesscompressionapplicationswithahighcodinggainwhileusingaspecifiednumberofadders.

AllDCTapproximationspresentedemployCSDcodedco-efficientsusingsubexpressionsharingofthetwomostcom-monsubexpressions,and,whereisapowerthatdeterminesthelocationofthesubexpres-sioninthecoefficient.Thisformofsubexpressionshar-ingisstatisticallyexpectedtosaveone-thirdthenumberofaddersovernon-subexpressionsharing[8].Addersandsub-tractorsarebothreferredtoandcountedasaddersforconve-nience.ThesameliftingstructuresemployedinthebinDCTareusedintheDCTapproximationspresentedhere.FiniteprecisioneffectsintheseDCTapproximationsandwaystoreducethemarealsodiscussed.

3.PERFORMANCEMEASURESFORDCTAPPROXIMATIONS

Thecodinggainmeasuresthedegreeofenergycompactionofferedbyatransform[1].Thecodinggainisimportantincompressionapplicationsbecausetransformswithhigh

I - 2850-7803-7448-7/02/$17.00 ©2002 IEEEcodinggainvaluesresultinhighPeakSignaltoNoiseRatio(PSNR)values.Thebiorthogonalcodinggainisdefined[9]:

Whereisthenormoftheithbasisfunction,isthenumberofsubbands(foraneightpointDCT),isthevarianceoftheithsubband,andisthevarianceoftheinputsignal.AzeromeanunitvarianceAR(1)pro-cesswithcorrelationcoefficientisusedbecauseitaccuratelyapproximatesanaturalimage[3].AsecondimportantperformancemeasureistheMeanSquareError(MSE)betweenthetransformeddatageneratedbytheexactandapproximateDCTs.TheMSEcanbecalculateddeterministicallybytheexpression[4]:

WhereisthedifferencebetweentheforwardtransformmatrixoftheexactandapproximateDCTs.istheau-tocorrelationmatrixoftheinputsignal.ItisadvantageoustohaveaminimumMSEtoensureacloseapproximationoftheDCT.Thecoefficientcomplexity(thetotalnumberofaddersre-quiredtoimplementallofthecoefficientmultiplicationsus-ingsubexpressionsharing)isonemeasureofthehardwarecost.ShiftsarenotincludedinthecoefficientcomplexitybecausetheycanbehardwiredinbitparallelVLSIimple-mentationsandthereforeareessentiallyfree.Subtractorsarereferredtoandcountedasadders.Itisadvantageoustouseasmallnumberofadderssothatthehardwarecostisre-duced.HoweverareductionincoefficientcomplexityoftenleadstoahigherMSEvalue.