摘要 |
PROBLEM TO BE SOLVED: To provide a method and system for stereo matching.SOLUTION: The method for stereo matching includes a matching cost calculation step, a cost integration step, a parallax calculation step, and a parallax optimization step. The matching cost calculation step acquires a left parallax spatial image and a right parallax spatial image on the basis of a horizontal gradient and a vertical gradient of intensity values of all component channels of each pixel in a left image and a right image. |