-
Notifications
You must be signed in to change notification settings - Fork 25
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
how to transform from pixel coordinate to world coordinate? #8
Comments
@kargarisaac Hi, sorry for such a huge delay in reponse :( I rotated the car on purpose to show you that agent's yaw (relative to the map) is important to properly compute the final Point O is the agent's location on birdview (which is always in the middle of an image), but at the same time we know his carla-birdeye-view/carla_birdeye_view/__init__.py Lines 238 to 240 in f666b0f
Output array produced by
Let's say you want to know The only thing that now we need is to use yaw information ( Angle between lines
Please double check if there'd no problems with angle signs (when X is on the left/right to the car from birdview perspective). I hope this will do the job. Once again, sorry for not responding so long. I'm planning to focus a bit more on maintaining my stuff 😛. |
I'll commit this utility method at some point |
Hi,
I have some points in the pixel coordinate frame (for example locations and orientations of cars in the scene) and want to transform it into the world frame. I see that you have
location_to_pixel()
andapply_agent_following_transformation_to_masks()
functions to do it in the other direction (world to pixel). Can you help me to do the inverse?Thanks
The text was updated successfully, but these errors were encountered: