The invention discloses a wave
image matching method based on fusion matching cost, and relates to the field of
stereo matching, and the method comprises the following steps: S1, collecting left and right eye images of
waves through a binocular camera, and determining a
parallax range; s2, preprocessing the left and right eye images of the original
waves collected in the step S1; s3, obtaining a matching cost value of the wave image by using an improved Census
algorithm; s4, fusing the improved Census cost, AD cost and gradient cost to obtain a cost space; s5, carrying out
cost aggregation by adopting a cross domain; s6, calculating the
parallax of the wave image by using a WTA strategy; and S7, performing left and right consistency check on the disparity map in the step S6, and performing hole filling and sub-pixel optimization
processing. By the adoption of the method, the problem that a disparity map obtained from a wave image is prone to having a large number of invalid points and mismatching points is solved, the accuracy of wave
stereo matching is improved, and the matching precision of a depth discontinuous area is guaranteed.