Loading...
Verify that pairs of corresponding epipolar points from stereo images lie on the same horizontal scanline.
In a properly rectified stereo pair, all epipolar lines are horizontal, meaning corresponding points in the left and right images should have the same (or very close) y-coordinates. This is a fundamental requirement for efficient stereo matching.
Given two lists of corresponding points from the left and right images, check whether each pair satisfies the horizontal alignment condition within a given tolerance ϵ:
∣yleft−yright∣≤ϵ
Return a list of boolean values, one per pair, indicating whether the pair is properly rectified.
left_points = [[100, 200], [150, 300], [200, 400]] right_points = [[80, 200], [130, 301], [180, 410]] tolerance = 2.0
[True, True, False]
left_points and right_points.tolerance of 2.0 and check if it satisfies the condition: ∣yleft−yright∣≤ϵ.[True, True, False].