<div class="gmail_extra">Hi Li,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Looks like you may want to set the projection matrix with the intrinsic values. The pv / vtkCamera does not provide an API to do that but there is nothing stopping you from exposing it in your copy of the source. </div>

<div class="gmail_extra"><br></div><div class="gmail_extra">-Nikhil. <br><br><div class="gmail_quote">On Fri, Apr 20, 2012 at 12:31 PM, Li Guan <span dir="ltr">&lt;<a href="mailto:li.9uan@gmail.com" target="_blank">li.9uan@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br><br>I am trying to augment an image from a real camera to a VR world.<br>I came into a problem try to configure the paraview camera to the real camera.<br>

<br>I
 know that setting camera position, view-up direction and focal point, 
will give me the correct extrinsics of the camera (i.e. orientation and 
displacement of the camera in the world coordinate system), but I am now
 stuck at setting the intrinsics: for example my camera center is not at
 the image center, therefore, by just setting up the extrinsics does not
 give me the correct rendering view I need.<br>
<br>Is there a standard way to set up the camera so that I get correct intrinsics?<br><br>Let&#39;s say we have K R t for my real camera, the image resolution is [640,480]:<br><br>K = [1500       0 310<br>             0 1400 230<br>



             0      0     1]<br><br>R = [1 0 0<br>       0 1 0<br>       0 0 1]<br><br>t = [0 0 0]&#39;;<br><br>Many thanks!<span class="HOEnZb"><font color="#888888"><br><br>Li
</font></span><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>