Skip to content
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

why downsample? #4

Open
guker opened this issue Mar 9, 2023 · 2 comments
Open

why downsample? #4

guker opened this issue Mar 9, 2023 · 2 comments

Comments

@guker
Copy link

guker commented Mar 9, 2023

n = -2# resize power

why use resized_mat@pms_v1?

@TemugeB
Copy link
Owner

TemugeB commented Mar 9, 2023

I haven't looked at this repository in a while so I don't remember all the details. But the main reason is the input image is 256x256 pixels while the predicted heatmaps is 64x64. So when you downsample the image, the intrinsic matrix of the camera must also be modified. n = -2 here actually means 1/4 rescale. The intrinsic matrix can be modified by just multiplying the projection matrix from the left. For more details, look here: link

@guker
Copy link
Author

guker commented Apr 4, 2023

I got it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants