How to compute camera positions in the same coordinate system as the exported Gaussian splat (.ply)? #3748
Unanswered
JoelHellberg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I’m trying to understand the coordinate relationship between COLMAP, Nerfstudio and the exported Gaussian splat (.ply).
My goal is to compute the 3D position of a camera (i.e. the location where an image was taken) in the same coordinate system as the exported Gaussian splat (.ply).
My current approach is:
images.bindataparser_transforms.jsonMy assumption is that applying the
dataparser_transforms.jsontransform should convert COLMAP poses into the same coordinate system used by the exported.ply.However, the camera positions I compute do not seem to match the splat geometry as expected.
So my main question is:
Are the coordinates of the exported Gaussian splat (
ns-export gaussian-splat) in the same coordinate system as the poses after applyingdataparser_transforms.json?Or is the
.plyexported in the original COLMAP / training coordinate system?Below is the code I currently use to compute camera positions in viewer space.
get_camera_in_viewer_spaceis the function i intend to use in order to get the position in the.plyfile of where said image was taken.Beta Was this translation helpful? Give feedback.
All reactions