Skip to content

Commit

Permalink
Update util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elerac committed Aug 15, 2020
1 parent 434c84e commit f0aaab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions structuredlight/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def getCorrespondenceTable(img_index_x, img_index_y=None):

if img_index_y is not None:
prj_y = img_index_y[cam_y, cam_x]
correspondence_table = np.stack([cam_x, cam_y, prj_x, prj_y]).astype(np.uint16).T
correspondence_table = np.stack([cam_x, cam_y, prj_x, prj_y]).T
else:
correspondence_table = np.stack([cam_x, cam_y, prj_x]).astype(np.uint16).T
correspondence_table = np.stack([cam_x, cam_y, prj_x]).T

return correspondence_table

0 comments on commit f0aaab0

Please sign in to comment.