Hi

best thing is to get real camera parameters f.e. calibrating it with opencv 
routines, so you can built correct projection matrix.
other than that all you can is just guessing and trying different projections 
to see which will fit best.

Cheers.

07.01.2013, 18:51, "DavidHornung" <[email protected]>:
> Hi,
> for example: I have a video of a football game, the teal camera always
> stays in its place and force the same point.
> Now I want to add a virtual football field on the one in the video.
>
> So how can i get the camera parameters the real camera had(unknown) for
> my virtual camera so that their views fit together?
> Which techniques are there?
>
> Hope now it is more clear
>
> Cheers,
> David
>
> Am 07.01.2013 15:43, schrieb Robert Osfield:
>
>>  Hi David,
>>
>>  On 7 January 2013 11:21, DavidHornung <[email protected]> wrote:
>>>  how can I map a rectangle in my osg world on a rectangle with the same size
>>>  in a Video? The Video is behind the OSG Scene.
>>  Probably solve this in a similar way to one would answer the generic
>>  question "how long is a piece of string?"
>>
>>  The bottom line is we can't answer you question as it's too open
>>  ended.  Is you OSG world a 3D one, an perspective or orthographic one?
>>    When you say rectangle in my OSG world, what exactly do you mean?
>>  What about the rectangle in the video, is the dimensions of the vedeo
>>  frame or a rectangle that is within the video image?
>>
>>  Robert.
>>  _______________________________________________
>>  osg-users mailing list
>>  [email protected]
>>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to