Tips for 3D Computing


When selecting the value for "Compute Param" field, user should select a mode that computes as fewer number of parameters as possible. For example, if the focal lengths are known for all images, then "TR" should be used instead of TRF. In "TR" mode, Photo4D only needs to compute six unknown values for each image while it has to compute seven in "TRF" mode. If the focal lengths are unknown, but all the images were taken with a similar focal length, then TR(F) should be used instead of "TRF".

More parameters need more reference information to compute. Without sufficient reference points, selecting more parameters to compute may lead to a bad result.

It is recommended to repeat the 3D computation a few times until the errors shown in the image list do not decrease any further. This is particularly helpful when the real values for an image parameter is outside its initial setup range. In this case, repeating computation can gradually adjust the parameter to its real value.

A 3D computation may be unsuccessful, i.e., the camera parameters and point coordinates computed by Photo4D are not correct. An unsuccessful computation can be caused by problems in the following areas:

  1. Marking: It is very important that the same point on the object be marked as the same point in all images. Mis-marking is the most frequent cause of computation failure. See Tips for Marking Image for more information.
  2. Reference point coordinates: They must have consistent values in the right-hand coordinate system. In addition, the volume of space they cover must be reasonably large, i.e., the reference points are widely spread in the images. Bad reference point coordinates will lead to a computation failure. See Tips for Setting Reference Point for more information.
  3. Initial Camera Parameters: The initial values should be reasonable in terms of the camera general location and direction in the world coordinate system. The focal length should also be set properly. See Tips for Setting Imaging Parameter and Tips for Photographing Object for more information.
  4. Geometric Constraints: They must be set correctly. Incorrectness of any geometric constraint will lead to computation failure. See Tips for Setting Geometric Constraint for more information.

One indication of a successful computation is small error relative to the size of the object for each image shown in the "Image Info" listbox. If the errors are large, say (>0.1% of the object size), it is an indication of possible problems in marking, reference point setup, and camera initial values.

It is always recommended to examine the computed locations of the cameras by opening the Camera Parameter Window. If the computed locations and look-at directions seem reasonable, it is a good indication of a successful 3D computation.

It is recommended to examine the errors of the computed point coordinates (see Check Point Information).

Yet another way to examine the computation result is to see the computed 3D locations of points in the Preview Window.