版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
HighdynamicrangeimagingDigitalVisualEffectsYung-YuChuangwithslidesbyFredoDurand,BrianCurless,SteveSeitz,PaulDebevecandAlexeiEfrosCameraisanimperfectdeviceCameraisanimperfectdeviceformeasuringtheradiancedistributionofascenebecauseitcannotcapturethefullspectralcontentanddynamicrange.Limitationsinsensordesignpreventcamerasfromcapturingallinformationpassedbylens.CamerapipelinelenssensorshutterAssumeastaticscene,Thus,Lisnotafunctionoftime.Camerapipeline12bits8bitsReal-worldresponsefunctionsIngeneral,theresponsefunctionisnotprovidedbycameramakerswhoconsideritpartoftheirproprietaryproductdifferentiation.Inaddition,theyarebeyondthestandardgammacurves.Theworldishighdynamicrange11,50025,000400,0002,000,000,000TheworldishighdynamicrangeRealworlddynamicrangeEyecanadaptfrom~10-6to106cd/m2Often1:100,000inasceneTypical1:50,max1:500forpictures10-6106RealworldHighdynamicrangespotmeterShortexposure10-610610-6106RealworldradiancePictureintensitydynamicrangePixelvalue0to255Longexposure10-610610-6106RealworldradiancePictureintensitydynamicrangePixelvalue0to255CameraisnotaphotometerLimiteddynamicrangePerhapsusemultipleexposures?Unknown,nonlinearresponse
NotpossibletoconvertpixelvaluestoradianceSolution:Recoverresponsecurvefrommultipleexposures,thenreconstructtheradiancemapVaryingexposureWaystochangeexposureShutterspeedApertureNeutraldensityfiltersShutterspeedNote:shuttertimesusuallyobeyapowerseries–each“stop”isafactorof2¼,1/8,1/15,1/30,1/60,1/125,1/250,1/500,1/1000secUsuallyreallyis:¼,1/8,1/16,1/32,1/64,1/128,1/256,1/512,1/1024secVaryingshutterspeedsHDRIcapturingfrommultipleexposuresCaptureimageswithmultipleexposuresImagealignment(evenifyouusetripod,itissuggestedtorunalignment)ResponsecurverecoveryGhost/flareremovalImagealignmentWewillintroduceafastandeasy-to-implementmethodforthistask,calledMedianThresholdBitmap(MTB)alignmenttechnique.Consideronlyintegraltranslations.Itisenoughempirically.TheinputsareNgrayscaleimages.(YoucaneitherusethegreenchannelorconvertintograyscalebyY=(54R+183G+19B)/256)MTBisabinaryimageformedbythresholdingtheinputimageusingthemedianofintensities.WhyisMTBbetterthangradient?Edge-detectionfiltersaredependentonimageexposuresTakingthedifferenceoftwoedgebitmapswouldnotgiveagoodindicationofwheretheedgesaremisaligned.SearchfortheoptimaloffsetTryallpossibleoffsets.GradientdescentMultiscaletechniquelog(max_offset)levelsTry9possibilitiesforthetoplevelScaleby2whenpassingdown;tryits9neighborsThresholdnoiseignorepixelsthatareclosetothethresholdexclusionbitmapEfficiencyconsiderationsXORfortakingdifferenceANDwithexclusionmapsBitcountingbytablelookupResultsSuccessrate=84%.10%failureduetorotation.3%forexcessivemotionand3%fortoomuchhigh-frequencycontent.Recoveringresponsecurve12bits8bitsRecoveringresponsecurveWewanttoobtaintheinverseoftheresponsecurve0255Dt=
1/4secDt=
1secDt=
1/8secDt=
2secImageseriesDt=
1/2secRecoveringresponsecurve•1•1•1•1•1•3•3•3•3•3•2•2•2•2•20255Dt=
1/4secDt=
1secDt=
1/8secDt=
2secImageseriesDt=
1/2secRecoveringresponsecurve•1•1•1•1•1•3•3•3•3•3•2•2•2•2•2Xij=lnXijIdeabehindthemathln2IdeabehindthemathEachlineforascenepoint.TheoffsetisessentiallydeterminedbytheunknownEiIdeabehindthemathNotethatthereisashiftthatwecan’trecoverBasicideaDesignanobjectivefunctionOptimizeitMathforrecoveringresponsecurveRecoveringresponsecurveThesolutioncanbeonlyuptoascale,addaconstraintAddahatweightingfunctionRecoveringresponsecurveWewantIfP=11,N~25(typically50isused)Wepreferthatselectedpixelsarewelldistributedandsampledfromconstantregions.Theypickedpointsbyhand.ItisanoverdeterminedsystemoflinearequationsandcanbesolvedusingSVDHowtooptimize?1.SetpartialderivativestozeroHowtooptimize?Setpartialderivativestozero
SparselinearsystemAx=b256nn×p1254g(0)g(255)lnE1lnEn:::QuestionsWillg(127)=0alwaysbesatisfied?Whyorwhynot?Howtofindtheleast-squaresolutionforanover-determinedsystem?Least-squaresolutionforalinearsystemTheyareoftenmutuallyincompatible.Weinsteadfindxtominimizethenormoftheresidualvector.Iftherearemultiplesolutions,weprefertheonewiththeminimallength.Least-squaresolutionforalinearsystemIfweperformSVDonAandrewriteitasthenistheleast-squaresolution.pseudoinverseProofProofLibrariesforSVDMatlabGSLBoostLAPACKATLASMatlabcodeMatlabcodefunction[g,lE]=gsolve(Z,B,l,w)n=256;A=zeros(size(Z,1)*size(Z,2)+n+1,n+size(Z,1));b=zeros(size(A,1),1);k=1;%%Includethedata-fittingequationsfori=1:size(Z,1)forj=1:size(Z,2)wij=w(Z(i,j)+1);A(k,Z(i,j)+1)=wij;A(k,n+i)=-wij;b(k,1)=wij*B(i,j);k=k+1;endendA(k,129)=1;%%Fixthecurvebysettingitsmiddlevalueto0k=k+1;fori=1:n-2%%IncludethesmoothnessequationsA(k,i)=l*w(i+1);A(k,i+1)=-2*l*w(i+1);A(k,i+2)=l*w(i+1);k=k+1;endx=A\b;%%SolvethesystemusingSVDg=x(1:n);lE=x(n+1:size(x,1));RecoveredresponsefunctionConstructingHDRradiancemapcombinepixelstoreducenoiseandobtainamorereliableestimationReconstructedradiancemapWhatisthisfor?HumanperceptionVision/graphicsapplications
AutomaticghostremovalbeforeafterWeightedvarianceMovingobjectsandhigh-contrastedgesrenderhighvariance.RegionmaskingThresholding;dilation;identifyregions;BestexposureineachregionLensflareremovalbeforeafterEasierHDRreconstructionrawimage=12-bitCCDsnapshot
EasierHDRreconstructionXij=Ei*Δtj
Exposure(X)Δt12bytesperpixel,4foreachchannelsignexponentmantissaPF7685121<binaryimagedata>FloatingPointTIFFsimilarTextheadersimilartoJeffPoskanzer’s.ppm
imageformat:PortablefloatMap(.pfm)(145,215,87,149)=(145,215,87)*2^(149-128)=(1190000,1760000,713000)(145,215,87,103)=(145,215,87)*2^(103-128)=(0.00000432,0.00000641,0.00000259)Ward,Greg."RealPixels,"inGraphicsGemsIV,editedbyJamesArvo,AcademicPress,1994Radianceformat(.pic,.hdr,.rad)RedGreenBlueExponent32bits/pixelILM’sOpenEXR(.exr)6bytesperpixel,2foreachchannel,compressedsignexponentmantissa
Severallosslesscompressionoptions,2:1typicalCompatiblewiththe“half”datatypeinNVidia'sCgSupportednativelyonGeForceFXandQuadroFX
Availableat/RadiometricselfcalibrationAssumethatanyresponsefunctioncanbemodeledasahigh-orderpolynomialNoneedtoknowexposuretimeinadvance.UsefulforcheapcamerasZXMitsunagaandNayarTofindthecoefficientscmtominimizethefollowingAguessfortheratioof
MitsunagaandNayarAgain,wecanonlysolveuptoascale.Thus,addaconstraintf(1)=1.ItreducestoM-1variables.Howtosolveit?MitsunagaandNayarWesolvetheaboveiterativelyandupdatetheexposureratioaccordinglyHowtodetermineM?SolveuptoM=10andpickuptheonewiththeminimalerror.Noticethatyouprefertohavethesameorderforallchannels.Usethecombinederror.Robertsonet.al.Givenand,thegoalistofindbothandMaximumlikelihoodRobertsonet.al.repeatassumingisknown,optimizeforassumingisknown,optimizeforuntilconvergeRobertsonet.al.repeatassumingisknown,optimizeforassumingisknown,optimizeforuntilconvergeRobertsonet.al.repeatassumingisknown,optimizeforassumingisknown,optimizeforuntilconvergeRobertsonet.al.repeatassumingisknown,optimizeforassumingisknown,optimizeforuntilconvergenormalizesothatSpaceofresponsecurvesSpaceofresponsecurvesPatch-BasedHDRHDRVideoHighDynamicRangeVideo
SingBingKang,MatthewUyttendaele,SimonWinder,RichardSzeliskiSIGGRAPH2003
videoAssortedpixelAssortedpixelAssortedpixelAVersatileHDRVideoSystem
videoAVersatileHDRVideoSystemHDRbecomescommonpracticeManycamerashasbracketexposuremodesiPhone4hasHDRoption,butitismoreexposure
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 康复护理与患者沟通
- 药物应用护理技巧与策略
- 辽宁公考试题常识及答案
- 养老院安全隐患排查治理对标手册
- 1+X水环境监测治理职业技能综合考核试题附答案
- 普通过磷酸钙生产工岗前新设备考核试卷含答案
- 油漆作文物修复师安全生产基础知识竞赛考核试卷含答案
- 汽车租赁业务员岗前安全生产意识考核试卷含答案
- 液氯气化处理工岗前道德考核试卷含答案
- 机动车驾驶教练员保密意识水平考核试卷含答案
- 2026内蒙古乌海市国创数字产业发展有限责任公司招聘15人考试备考题库及答案解析
- 2026年济南商标审查协作中心招聘(10名)考试参考试题及答案解析
- 2026年高一历史学业水平考试知识点归纳总结(复习必背)
- 2026年华远国际陆港集团校园招聘(122人)笔试参考题库及答案解析
- 2025年国企档案专员《档案管理知识》真题及答案解析
- 国家事业单位招聘2025中国文联所属单位公开招聘笔试历年参考题库典型考点附带答案详解
- 2026天津市河北区产业发展集团有限公司社会招聘工作人员3人考试备考题库及答案解析
- 2026年四川省事业单位考试真题及答案
- 2026中国兵器审计中心(西安中心)招聘(5人)笔试参考题库及答案解析
- 2026年演出经纪人考前冲刺测试卷及参考答案详解(综合卷)
- 2026年广东教师公需课《人工智能赋能制造业高质量发展》习题及答案
评论
0/150
提交评论