The basic data structure for JAG3D is a tab-separated text file without and header row.
There are two files that are required:
- Startsystem: Raw Photosynth data
- Zeilsystem: Target ground control points in the proper coordinate system
(#) (x) (y) (z)
In order to georeference your Photosynth point clouds you will need ground control points (GCPs). I suggest you collect them with a high-quality GPS and have them well distributed throughout your study area. I strongly suggest you use UTM coordinates for your GCPs as this projection matches the Cartesian system from Photosynth.
Your ground control points will need to be matched 1:1 to points in your raw data.
The easiest way to do this is to find the points in the raw cloud that match your GCPs. The program CloudCompare (link the my software post) allows you to pick out individual points and retrieve their attribute info.
- Open your PLY file in CloudCompare
- Save the XYZ info for each point that matches your GCPs into a separate text file
- Open the PLY file in a text editor
- Find the points you chose in CloudCompare and move them to the top of the PLY file. Save the PLY file as a text file
- Open the text file in Excel, insert a column on the left-hand side
and add sequential numbers down to the last row. (i.e. 1,2,3…)
You will need to strip off the color information from the points, save it to another file and you can merge it back together later.
Save this as a new text file. This is your Startsystem file for JAG3D
- To create your Zielsystem file, create a file (Excel works for this) input your GCP coordinates in the same format (#)(X)(Y)(Z) and in the same order as the corresponding points in the Startsystem file.
- Save this as a new text file.