-
-
Notifications
You must be signed in to change notification settings - Fork 830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sfm] Use opengl coordinate system in Alembic & Meshes and add new alignment from Cameras X Axis #1030
Conversation
fabiencastan
commented
Apr 20, 2021
•
edited
Loading
edited
- Use opengl coordinate system in Alembic and Meshes
- Move sfmData files version to 1.2.3.
- Move alignment function from software to the sfm/utils module
- New method in the sfmTransform to align on all cameras X axis
- Take orientation metadata into account
* of the camera centers is the origin of the world coordinate system, | ||
* a dominant Y axis is defined based on the X axis of all cameras, | ||
* and the scale is set so that the optical centers RMS is "1.0". | ||
* (Hartley-like normalization, p.180) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please provide a usable reference (p.180 of what?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Richard Hartley and Andrew Zisserman. 2003. Multiple View Geometry in Computer Vision (2nd. ed.). Cambridge University Press, USA.
It's the bible of computer vision, so you only cite the page... ;-)
f2e276d
to
f6d773f
Compare
f7b4a6b
to
2f2ab54
Compare
9ac22ae
to
0c2ec95
Compare
c102e75
to
c57ce3f
Compare
c57ce3f
to
b49dc33
Compare
b49dc33
to
a59b419
Compare
a59b419
to
3b8c22b
Compare
1de6683
to
10a5b01
Compare
Mat3 R_image = Eigen::AngleAxisd(-degreeToRadian(orientationToRotationDegree(orientation)), Vec3(0, 0, 1)).toRotationMatrix(); | ||
|
||
Eigen::Vector3d oriented_X = R_image * Eigen::Vector3d::UnitX(); | ||
Eigen::Vector3d oriented_Y = R_image * Eigen::Vector3d::UnitY(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mat3 R_image = Eigen::AngleAxisd(-degreeToRadian(orientationToRotationDegree(orientation)), Vec3(0, 0, 1)).toRotationMatrix(); | |
Eigen::Vector3d oriented_X = R_image * Eigen::Vector3d::UnitX(); | |
Eigen::Vector3d oriented_Y = R_image * Eigen::Vector3d::UnitY(); | |
const Mat3 R_image = Eigen::AngleAxisd(-degreeToRadian(orientationToRotationDegree(orientation)), Vec3(0, 0, 1)).toRotationMatrix(); | |
const Eigen::Vector3d oriented_X = R_image * Eigen::Vector3d::UnitX(); | |
const Eigen::Vector3d oriented_Y = R_image * Eigen::Vector3d::UnitY(); |
Mat3 R_image = Eigen::AngleAxisd(-degreeToRadian(orientationToRotationDegree(orientation)), Vec3(0, 0, 1)).toRotationMatrix(); | ||
Eigen::Vector3d oriented_X = R_image * Eigen::Vector3d::UnitX(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mat3 R_image = Eigen::AngleAxisd(-degreeToRadian(orientationToRotationDegree(orientation)), Vec3(0, 0, 1)).toRotationMatrix(); | |
Eigen::Vector3d oriented_X = R_image * Eigen::Vector3d::UnitX(); | |
const Mat3 R_image = Eigen::AngleAxisd(-degreeToRadian(orientationToRotationDegree(orientation)), Vec3(0, 0, 1)).toRotationMatrix(); | |
const Eigen::Vector3d oriented_X = R_image * Eigen::Vector3d::UnitX(); |
036590f
to
cea7f4f
Compare
cea7f4f
to
1ffe759
Compare
Move alignment function from software to the sfm/utils module. Expose the new method in the sfmTransform software.
…tion and use percentile
…n is far from the solution
… sfmtransform alignment
1ffe759
to
ca64bd7
Compare