VrTwo Orientation - Batch Import of ISAT Measurements
VrTwo Orientation Tutorial Batch Import Measurement Method (vr2ori.exe)
VrTwo Orientation is used to create stereo image pairs (or models) for viewing in VrTwo and VrLite. Stereo models may be generated manually or by importing the results from various aerial triangulation programs. Orientations may be performed on a single model or multiple models may be oriented in a batch mode. The importing of models from aerial triangulation may be performed from the exterior orientations or from the measurements used to tie images and strips together. This tutorial will address Importing Orientations for multiple models using the ISAT measurement photo file.
Creating or Editing the Camera File
New Camera (NewCam)
Allows the user to create and edit a new camera calibration file. Prompts user for the new camera's file name. Camera files in Vr Mapping have the .cam file name extension. See Edit Camera below for information on editing a camera file. If a preexisting camera file exists, this feature may not be needed.
Creating the Camera File
From the "Camera" dropdown menu, click on either "New Camera" or "Edit Camera".
The Edit Camera dialog box
Creating or Editing a Control File
If one does not already exist, create a new coordinate file. From the "Coordinates" dropdown menu, click on "New Coordinate File". Please see VrTwo Orientation New Coordinate File for more information.
The Edit Control dialog box
If a control file exists and contains the PointName X Y Z fields, it can be used directly by Vr Mapping programs. Simply rename the file by replacing the file postfix with .cor. For example, if there were a coordinate file named TheCoords.txt which contained the PointName XYZ fields, it could be renamed TheCoords.cor and be used by VrTwo Orientation.
The following is an example of a contents of a coordinate file compatible with Vr Mapping:
201 837831.194130 951352.037020 303.8200
202 836399.079330 951266.642540 337.6800
203 837994.618340 950634.951710 299.6000
204 836711.670600 950565.198920 326.3200
205 836018.411470 950724.804370 309.2900
The first field is the point name followed by the X, Y and Z coordinates.
Creating or Editing the Project
The following steps create the project:
3. Define Images - Click the "Define Images" button in the "Edit Project" dialog box. The "Edit Project - Define Images" dialog box allows the definition of multiple image files. Each image file has a Photo Name Format, which are parameters that define the strip and photo number from an image file name. Strip direction, pixel size and the "Open in Layout" flag may also be defined for each image. The top portion of the dialog box is a template of these parameters. This template may be copied to an image or a group of images by selecting the desired file(s) then pressing the "Apply" button.
The Edit Project - Define Images dialog box
The following are descriptions of the parameters in the "Edit Project - Define Images" dialog box:
Project cameras (.cam) are assigned to individual images. Up to 10 camera files may be defined.
Film Strip Location
Defines the direction flight. For more information please see VrTwo Orientation - Film Strip Direction.
Photo Pixel Size
The photo pixel size is in the same fiducial units (millimeters, inches, or pixels) defined by the Camera file. If this value is unknown, it can be computed after reading three points in Inner Orientation at the bottom left of the Interior Orientation window.
Adds images to the project.
Photo Name Format
Sets the parameters that define the strip and photo number from an image file name. For more Information please see VrTwo Orientation - Photo Name Format.
4. Create Model Names
Click "Add Model" to create a new model. Pressing this button allows a single model to be added to the list of models. After the model is added, the left and right images must be selected and the epipolar re-sampling image parameters must be set.
Please see VrTwo Orientation - Project for more information.
Importing Measurement Orientations Batch
begin photo_measurements 01-02 strip_id 01 version 2.0
21370307 -12.313744 -61.250663 -12.312909 -61.246508 1 85
21370297 -3.3020941 -68.078501 -3.3018724 -68.073928 1 85
21370317 -5.2376813 -75.449179 -5.2373545 -75.44447 1 85
21370322 -14.481854 -68.898072 -14.480887 -68.89347 1 85
21370344 -0.68857854 -82.631939 -0.68853523 -82.626727 1 85
For more information, please see Photo Name Format.
The Photo Name Format definition dialog box
9. Click the OK button, then take a break while the epipolar images are being built.
Section 3 Verifying Orientations (Optional)
The VrTwo Orientation Absolute Orientation environment
1. Start VrTwo from the Vr Mapping folder on the desktop by double clicking on the VrTwo icon.
2. Click on File -> Open Model or use the Open Model (OpeMod) command. Navigate to the location of the project folder by double clicking in the far left hand box.
3. Double click on the VrTwo Model (.vmo) file and press OK.
The Open Model dialog box
4. VrTwo will now generate pyramids for the epipolar images if they do not already exist.
5. Open a VrOne File by clicking on File -> Open Vr File or by using the Open VrOne File (OpeVr) command. Navigate to the project folder by double clicking in the far left hand box.
6. Double click on the VrOne (.vr) file.
The stereo model should open and the stereo model and vectors should be seen on the screen. If the stereo window does not show a stereo image and vectors try using the Drive Control (Cd) command. Typing "Cd 1" will drive to the first control point in the model. For more information please see the Getting started with VrOne/VrTwo tutorial which covers basics of data collection and editing.
The VrTwo graphics window showing the stereo model (Anaglyph)