Skip to content

Commit

Permalink
Remove stereo only parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Vahl <[email protected]>
  • Loading branch information
Flova authored Mar 19, 2024
1 parent 551e0be commit e0a37e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ipm_library/ipm_library/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ def get_field_intersection_for_pixels(
ray_directions[:, :2] = cv2.undistortPoints(
points.reshape(1, -1, 2).astype(np.float32),
np.array(camera_info.k).reshape(3, 3),
distortion_coefficients,
R=np.array(camera_info.r).reshape(3, 3)).reshape(-1, 2)
distortion_coefficients).reshape(-1, 2)

# Calculate ray -> plane intersections
intersections = line_plane_intersections(
Expand Down

0 comments on commit e0a37e6

Please sign in to comment.