Hello everyone,
I am looking at the calibration.xml file to try and create a custom exporter. The features that I am looking at exporting are:
image_index image_name X Y Z Yaw Pitch Roll Omega Phi Kappa # i.e. the image index, image name, and POSE
image_index tie_point_index U V # i.e. the position in the image that the tiepoint has been extracted from
tie_point_index X Y Z # i.e. the tiepoint position information
I have read through this post: https://support.capturingreality.com/hc/en-us/community/posts/115001350332-camera-images-file-list-export
And this: https://support.capturingreality.com/hc/en-us/community/posts/115000774071#ip-1073
and so far I have come up with this:
\</body\>
\</format\>
\<format id="{2971BD35-37FD-4A70-A2B0-D35F56192EF6}" mask="\*.txt" desc="Tie Points" writer="cvs" requiresEqualResolution="1" undistortImages="1" undistortPrincipal="1" exportImages="0"\>
\<body\>
#Creation date : $(dateTime)
#Line Format: image\_index image\_name X Y Z Yaw Pitch Roll Omega Phi Kappa
$ExportCameras($(imageIndex) $(imageName) $(tx:f) $(ty:f) $(tz:f) $(yaw:f) $(pitch:f) $(roll:f) $(omega:f) $(phi:f) $(kappa:f)
)
#Line Format: image\_index tie\_point\_index U V
$ExportCameras($(imageIndex) $(pointIndex) $(u:f) $(v:f)
)
#Line Format: tie\_point\_index X Y Z
$ExportPoints($(pointIndex) $(x) $(y) $(z)
)
\</body\>
The problem I am having is the getting the tiepoint index for each image, and the location of the tiepoint in each image. i.e. this line here: $ExportCameras($(imageIndex) $(pointIndex) $(u:f) $(v:f)
Does anyone have any ideas or clues?