[vtkusers] vtkCamera focal length to pixels

Bruno Cafaro cafaro at dis.uniroma1.it
Mon Sep 22 13:30:07 EDT 2014

hi all
i have found the following to be the calibration matrix for the vtkCamera:

|f_x     alpha     p_x |     |1113.2    1            299.4 |
|          f_y        p_y  | = |                1110.5  399.7 |
|                        1    |     |     1  |

i think this should be correct (there is a rounding error), as i get 
always the rigth reprojection of my mesh vertex, as you can see in the 
attached images.



p.s. (screensot00.png is taken using vtk write png, and figure.tiff i 
obtained reprojecting the same mash vertexes using matlab)

On 09/22/2014 06:53 PM, David Gobbi wrote:
> On Mon, Sep 22, 2014 at 10:04 AM, luta <sharmaatul11 at gmail.com> wrote:
>> Hi David,
>> what does the "distance" of camera mean ? is it from the distance from focal
>> point ?
> Yes.  The distance from the camera to the focal point.
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

Bruno Cafaro
PhD Student
Dip.to Ingegneria informatica, automatica e gestionale "Antonio Ruberti"
Università "La Sapienza"
Via Ariosto, 25
00185 Roma
Tel: +390677274155

-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot00.png
Type: image/png
Size: 46435 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140922/d0ad9712/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: figure.tiff
Type: image/tiff
Size: 11416 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140922/d0ad9712/attachment.tiff>

More information about the vtkusers mailing list