引用格式:胡志新,梅紫俊,王涛,等.基于自适应窗口和改进Census变换的半全局立体匹配算法[J].电光与控制,2023,30(3):33-37.HUZX,MEIZJ,WANGT,etal.Semi-globalstereomatchingalgorithmbasedonadaptivewindowandimprovedCensustransform[J].ElectronicsOptics&Control,2023,30(3):33-37.基于自适应窗口和改进Census变换的半全局立体匹配算法胡志新,梅紫俊,王涛,曹刘洋(东华理工大学机械与电子工程学院,南昌330000)摘要:针对基于Census变换的立体匹配算法匹配精度不理想、易受噪声干扰的问题,提出一种自适应窗口结合改进Census变换的方法。通过自适应选择变换窗口大小,并在Census变换中引入噪声容限参数,且将其改进Census代价与RGB颜色差值代价加权融合,再采用四路径代价聚合策略完成初始代价聚合,最后用WTA算法计算初始视差后通过后处理优化得到最终视差。实验结果表明所提算法误匹配率较低,抗噪性能有较好提升。关键词:视觉检测;立体匹配;自适应窗口;Census变换;代价融合中图分类号:TP391.41文献标志码:Adoi:10.3969/j.issn.1671-637X.2023.03.006Semi-globalStereoMatchingAlgorithmBasedonAdaptiveWindowandImprovedCensusTransformHUZhixin,MEIZijun,WANGTao,CAOLiuyang(SchoolofMechanicalandElectronicEngineering,EastChinaUniversityofTechnology,Nanchang330000,China)Abstract:AimingattheproblemthatstereomatchingalgorithmbasedonCensustransformhaspoormatchingaccuracyandissusceptibletonoiseinterference,amethodcombiningadaptivewindowwithimprovedCensustransformisproposed.Thesizeofthetransformwindowisselectedadaptively,thenoisetoleranceparameterisintroducedintotheCensustransformtocalculatethecost,andtheimprovedCensuscostandRGBcolordifferencecostareweightedandfused.Then,thefour-pathcostaggregationstrategyisadoptedtocompletetheinitialcostaggregation.Finally,theWTAalgorithmisusedtocalculatetheinitialdisparity,andthefinaldisparityisobtainedthroughpost-processingoptimization.Theexperimentalresultsshowthattheproposedalgorithmhaslowmismatchingrateandbetteranti-noiseperformance.Keywords:visualinspection;stereomatching;adaptivewindow;Censustransformation;costfusion0引言立体匹配一直以来是三维视觉检测技术的研究重点,立体匹配可分为局...