Contents Up Previous Next

Edit parameters

Figure 3.8: Edit tools; (i) Edit settings, (ii) Focal length, (iii) Rectify, (iv) generate point cloud, (v) Set coordinate reference system

Click the Pen edit button or select Settings->Edit or press keyboard E to edit parameters. This opens the project settings dialog.

There are several experimental parameters that are marked as Advanced. These should in general not be changed.

The most typical parameters to e.g. improve number of matched points or make the process faster are (see detailed description below):

Project settings dialog
Set start frame
Focal length
Point cloud rectification
Redo
Coordinate reference system
Dense matching
Change depth of stereo video
Time synchronization


Project settings dialog

When you have created and new project or opened an existing project you can edit most parameters by selecting Settings->Edit or press 'E'.

Figure 3.9: Settings dialogs for videos and images


Set start frame

If you repeatedly run a project and want to start at a particular frame each time, then you can play to this frame and then select Settings->Set start frame and save the project file. The next time you open the project, it will fast-forward to the selected start frame.


Focal length

When an uncalibrated camera is used, you can manually set the focal length by clicking the Focal length button or select Stereo->Focal length or press Ctrl+Alt+F. The focal length is defined in a normalized coordinate system with a default value of 0.67 (percent of width or height depending on which is larger). A new point cloud will be generated with the defined focal length when ok is clicked and the new focal lenght will be applied in the following processing.


Point cloud rectification

Initially, the point cloud is defined in a 3D projective space, where e.g. coordinate axises not necessarily are perpendicular. This 3D projective space is upgraded to a 3D euclidian space when the Rectify button is checked. This process includes a simplified self calibration, which is not guaranteed to succeed. However, you are recommended to keep the Rectify button checked unless you find the resulting 3D space distorted in which case it may help to uncheck rectification.


Redo

The Redo button will regenerate a 3D point cloud from the current images, possibly after you have changes some parameters. To enable a complete refresh, the image registration module is always run when redo is clicked, while it in general is not run while playing or at pausing.


Coordinate reference system

The globe button opens a dialog where you can select coordinate reference system by name or EPSG code. The dialog has a spell correction so that you easily find the desired coordinate reference system even if you do not know the exact name. For example entering "sewerf" will suggest the "SWEREF" reference system at the top of the dialog. TODO: The coordinate reference system is not applied when exporting point clouds.


Dense matching

The menu option Settings->Dense matching->Dense point cloud or Ctrl+Shift+D toggles dense matching on or off. Default is on and means that processing proceeds all the way to the original resolution when a project is paused. Uncheck this option to only generate sparse point clouds also when pausing.

Settings->Dense matching->Settings opens a dialog with settings for generation of a dense point cloud. All settings in this dialog are experimental and not intended to be changed! In particular, the check box Dense matching should be unchecked. Eventually this will generate truely dense point clouds with approximatelly one height estimate per pixel, but this is work in progress.


Change depth of stereo video

For projects with a single video, the preceived stereo depth is indirectly defined by the frame offset. You can interactively increase or decrease the frame offset to change the perceived 3D effect.

Select Settings->Increase offset (Ctrl+Alt+I) or Settings->Increase offset (Ctrl+Alt+D). Take a look at the status bar at the bottom left to see whether frame offset is increased or decreased, since this depends on which frame that is set as left and right.


Time synchronization

For projects with two videos and moving objects, you must ensure that the frame paris processed from the two videos are recorded at the same time. You can interactively increase or decrease the frame offset to synchronize two videos using the same procedure as when changing the stereo depth. Select Settings->Increase offset (Ctrl+Alt+I) or Settings->Increase offset (Ctrl+Alt+D). Take a look at the status bar at the bottom left to see whether frame offset is increased or decreased, since this depends on which frame that is set as left and right.