Control Points' Measurements Export
If you have placed control points into your images, you can easily export their positions into a file.
- Be aware that RC will export measurements only from the selected control points (at least 2 selected). To export all measurements, leave control points unselected.
- Go to ALIGNMENT / Export / .
- Fill in a file name and select a file type:
NOTE: This option is available only if you have at least one control point in your project.
- Control points' measurements can be exported also using the command line.
- RealityCapture (RC) supports 3 basic types of export formats compatible with our import: Comma-separated, Space-separated and Tab-separated csv file.
- The list of export file formats is stored in measurementsexport.xml, where all formats are defined as a simple script.
NOTE: Your 5 last used formats come first in the export dialog windows.
- Advanced users can easily modify the existing formats or create their own using our API.
To export measurements of control points, use the $ExportControlPointsMeasurements(...) function and inside the brackets put everything which should be printed for each measurement.
The expansion system will automatically substitute variables/terms inside the brackets starting with a dollar sign ($). Everything else will be left untouched like it is, including new lines.
An example script:
$ExportControlPointsMeasurements($(imagePath)$(imageName)$(imageExt), Point$(pointIndex + 1), $(x:g), $(y:g)
Example of the output from the script above:
Z:\Dataset\DSC_0010.JPG, Point1, 2906.45, 1345.21
Z:\Dataset\DSC_0011.JPG, Point1, 2632.51, 964.36
Z:\Dataset\DSC_0011.JPG, Point3, 2786.19, 1512.24
||Index of a measurement
||Index of an image containing measurement
||Path to the folder of the image containing measurement
||Name of the image containing measurement without an extension
||Extension of an image
||Index of a control point
||Name of the control point
||X - the coordinate of the point from the top-left corner in pixels
||Y - the coordinate of the point the from top-left corner in pixels