Manually projecting 3d model points into images?
Hi,
Can you point me to any resources about how I should go about this task:
I'd like to write some code that takes a single 3d point on my reconstructed mesh and projects it into all of my source images for the project. That could be either the undistorted images, or the originals, it doesn't matter.
I have already done this to some extent via the export registration function, but I'm stuck on incorporating camera distortion parameters into my setup.
I don't want to use 3d software like maya -- just a few lines of python is all I'm looking for.
Is there a particular export format + distortion model I should be using to make this process easier?
Thanks a lot
-
Hello.
For lens distortion model you can use this math: https://en.wikipedia.org/wiki/Distortion_(optics)#Software_correction
Or try to use Control Points. Set CP on mesh, RC will "suggest" where this CP can be in other images. Apply and fix this suggestions, set missed points by hand (if RC lost tracks for some images) than export Control Points as table text format, that will have XY coordinates of this CP original images
Please sign in to leave a comment.
Comments
2 comments