Intrinsic Matrix for simulated camera
Posted: Mon Jan 14, 2019 7:03 pm
Hello all! I'm currently trying to do some computer vision tests using the pybullet simulated camera. I can get the image fine, but what I really need for my development is a mapping from world space to pixel space. I don't fully understand the view matrix and projection matrix however. I'm used to an intrinsic matrix where pixel = intrinsic_matrix * transformation_matrix * point_vector. Could someone help guide me just to find a way to create a matrix that will map from world space to pixel space if I have all the other necessary parameters?
I've tried pixel = projection_matrix * view_matrix * point_vector, but that didn't seem to work. Any guidance would be greatly appreciated.
I've tried pixel = projection_matrix * view_matrix * point_vector, but that didn't seem to work. Any guidance would be greatly appreciated.