Skip to content

Commit

Permalink
phinhole: Minor readability tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Jan 17, 2017
1 parent 6a7bb58 commit e59580d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vw/Camera/PinholeModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ void PinholeModel::rebuild_camera_matrix() {

Matrix<double,3,3> rotation_inverse = transpose(m_rotation);
submatrix(m_extrinsics,0,0,3,3) = uvwRotation * rotation_inverse;
select_col(m_extrinsics,3) = uvwRotation * -rotation_inverse * m_camera_center;
select_col(m_extrinsics,3) = uvwRotation * (-rotation_inverse) * m_camera_center;

m_camera_matrix = m_intrinsics * m_extrinsics;
m_inv_camera_transform = inverse(uvwRotation*rotation_inverse) * inverse(m_intrinsics);
Expand Down

0 comments on commit e59580d

Please sign in to comment.