how to specify camera's intrinsic parameters

74 views
Skip to first unread message

Abhishek Dutta

unread,
Apr 7, 2010, 7:02:12 AM4/7/10
to pbrt
Hi,

Using the "Camera Calibration Toolbox for Matlab" (http://
www.vision.caltech.edu/bouguetj/calib_doc/), I am able to get the
intrinsic parameters of my camera.

Is there is a way to specify the intrinsic parameters of the camera
used in pbrt for renderings? the pbrtLookAt() method only allows to
setup the extrinsic parameters of the camera (rotation+translation).

Bye

Matt Pharr

unread,
Apr 15, 2010, 1:13:00 PM4/15/10
to pb...@googlegroups.com
That's an interesting model.  I think that implementing it in pbrt would require writing a new Camera implementation.  In particular, based on the information at


it looks like what would be necessary would be to implement the inverse mapping to go from pixels to directions, which is apparently provided in Matlab code in the normalize.m code.  I haven't looked at that file, so don't know how easily it could be converted to C++...

-matt

--
You received this message because you are subscribed to the Google Groups "pbrt" group.
To post to this group, send email to pb...@googlegroups.com.
To unsubscribe from this group, send email to pbrt+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pbrt?hl=en.


Abhishek Dutta

unread,
Apr 15, 2010, 3:21:36 PM4/15/10
to pb...@googlegroups.com
Hi,
I am working on writing a new Camera implementation that can be initialized using the intrinsic parameters obtained from camera calibration toolbox. I need this functionality for "3D to 2D Registration" required in my MSc. research project.

I will update you all via this forum when I have something useful to share. Meanwhile, ideas regarding this new Camera implementation are welcome.

Thanks

Abhishek
--
Abhishek
http://www-users.cs.york.ac.uk/~abhishek/
Reply all
Reply to author
Forward
0 new messages