InternLandMark / LandMark

Other
441 stars 39 forks source link

questions about coordinate system conversion #36

Open BaiBF opened 10 months ago

BaiBF commented 10 months ago

Thank for the excellent work! I have a question about code for coordinate system conversion in colmap2nerf.py line63 :# Convert from COLMAP's camera coordinate system (OpenCV) to ours (OpenGL) the OpenCV is RDF coordinate and the opengl coordinate is RUB the code line 64 c2w[0:3, 1:3] = -1 has been completed the coordinate system conversion the Subsequent code "c2w = c2w[np.array([1, 0, 2, 3]), :] c2w[2, :] = -1" What is it used to achieve????