T want to know how to get transform matrix form rotate and position matrix
I have a gaussian splatting training data(cameras.json):
{“id”: 172, “img_name”: “_DSC9212”, “width”: 5025, “height”: 3312,
“position”: [-0.9423499940335544, 0.28486305041301685, 2.6765325102683923],
“rotation”: [[-0.9422739617199267, -0.06827267201680368, 0.32780882129729266], [-0.0691681892839679, 0.9975649425280717, 0.008941310314600368], [-0.32762103512413787, -0.014248778707339807, -0.9447017675698175]],
“fy”: 4285.457130435278, “fx”: 4328.590804346088}]
I try to define transform_matrix =
[[-0.9982609640488053, -0.010911420501731176, 0.057930894684822855, -0.044550560003616964],
[-0.023242959401519592, 0.9759623621223222, -0.2166961756904737, 1.4236172811064225],
[-0.054173909722383416, -0.21766581868371465, -0.974518742191313, 2.92660596573917],
[0.0, 0.0, 0.0, 1.0]]))
but it seems wrong.
Could anyone help me to get the correct transform_matrix?
Lalalalex is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.