Modeller is designed to work with any make of digital camera. Before building a model it is necessary to provide details of the camera being used.
You can use the Tools->Wizards->Camera Wizard to have a Wizard direct you through the process of defining a camera. This is recommended for new users.
Alternatively you can set up the camera using the project settings. Open the Project->Settings... dialog box, and select the Camera tab. The following property page is displayed,
|
Define the Camera Type in one of the following ways - please note that if you wish to use Viewpoint Estimation in the project you must not set the camera type to None
2.1 Adding a calibration image to a project
A Calibration Image is used to infer details about your camera. In order to do this an image is required of an object of known size, a known distance away. The following approach is recommended,
|
Figure 1.0
If your camera cannot view both objects at once, the objects may be placed any distance apart (the Target Width), and any distance away (the Distance to Target) from the table edge. Remember the two distances you choose, the program requires these two numbers.
Now load the image into the project. View the image and select View->Properties from the menu. From the dialog box, select Use this image for calibration, as shown below,
|
Select Calibration Properties, the following dialog box appears,
|
enter the Distance to target D (this is the distance that the objects are from the edge of the table), and Width of target W (this is the distance the objects are apart), as shown in Figure 1.0 .
Now define a viewpoint cue for this image.
Select the Viewpoint Cue button
on the image tool-bar.
Using the mouse select the position in the image of each of the two
objects placed on the table.
Open the Project->Settings... dialog box, and select the Camera tab. Select the Calibrate option.
To define a Custom Camera select Project->Settings->Camera Tab and then select the Custom radio button.
|
Fill in the values in the Custom Camera group. To understand the meaning of these values consider the camera geometry shown in Figure 2.0. Here an object point Q forms an image on the image plane at q. The width of the image plane in millimeters is the value of CCD Width, as the CCD is the part of a digital camera on which images are formed. Similarly the height of this plane corresponds to CCD Height. The camera's CCD is a rectangular array of Pixels (picture elements), arranged in a grid. The width and Height of this grid correspond to the Width and Height parameters.
The image, q, of point Q is formed by a 'ray' passing through Q and f, intersecting the image plane. The point f lies perpendicularly behind the image plane point c, the image centre, a distance of Focal Length millimeters. The focal length corresponds to the camera's zoom.
As focal length is increased the image of the object will become larger, this is equivalent to using camera zoom to make things look bigger. Increasing the focal distance also reduces perspective effect, so lines which are parallel in reality look parallel in the image.
Finally note that the image origin is at the top-left of the image plane.
|
Real2Virtual Modeller Documentation Version
0.3
© Real2Virtual 2000-2002. All rights reserved.