Skip to content

Commit

Permalink
Use opencv BGR ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinus committed Nov 26, 2015
1 parent ffb2611 commit 8207415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/export_pmvs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if __name__ == "__main__":
fvis.write("\n")

#### radially undistort the original image
original_image = data.image_as_array(image)
original_image = data.image_as_array(image)[:,:,::-1]
camera = reconstruction['cameras'][shot['camera']]
original_h, original_w = original_image.shape[:2]
K = opencv_calibration_matrix(original_w, original_h, camera['focal'])
Expand Down

0 comments on commit 8207415

Please sign in to comment.