Hello XMALab Group
In
2018/2019 I did some experiments at the CFS when I was a visiting researcher at Nicolai Konows Lab.
For this I used the calibration body of the station which is marked L-S-I-U (see Fig. 1 and reference / framespec).
When I calibrate my dataset, there are two types of problems: (A) either the calibration looks good, but the animation is inverted (Fig. 2) or (B) the calibration is inverted, but the animation is OK (Fig 3).
I discussed this problem with Nicolai but we couldn't find a solution.
At first I thought that this happened because the physical markings on the cube were misplaced.
I think I can disprove this idea; because I tested all 6 possible
combinations of the marking sequence, in which S, I and U define different
axes, but "L" is the coordinate origin in the corner of the cube
(since it is also physically in the corner as the coordinate origin (compare Fig.
1 with reference
/ framespec)).
Three combinations resulted in type (A) errors and 3 combinations in type (B) errors.
Then I thought this happened because I might have flipped or rotated the images of one or both perspectives during recording.
I have now
tried to create an experimental XMA calibration data set with a self-made
calibration body and the X-ray machine used in Germany.
I didn't flip or rotate
a perspective when recording the experimental data set. Nevertheless, the
calibration is also inverted.
I think it's pretty unlikely that two different people will make the same mistake when creating a calibration body - or isn’t it?
Have I overlooked something or could that be a bug in XMALab?
I would be very grateful for help and suggestions.
Thanks a lot,
Daniel Schwarz
Hi Daniel, Hi Steve,
I do not think this is related to the camera zoom in the view. In
that case it will not turn the cameras inside out., but will
invert the whole world.
David, did you check if the 3D models you have are correct. It
might be that the handedness of you CT-data might be wrong and you
have to flip them. You can easily check this by confirming the
marker positions on them.
Otherwise, do you have rigid bodies with 4 markers in them? If you have some of them how does the rigid body error look in both calibrations?
Best,
Ben
--
To unsubscribe from this group and stop receiving emails from it, send an email to xmalab+un...@brown.edu.
Thanks Beth for sharing your experience regarding your mirroring issues!
Now that I've finally had the time to review my data, I can definitely say that the error came from the CT data, or to be more specific: from the segmentation software.
The following steps can help anyone faced with similar issues:
I solved
the problem by mirroring the meshes along the x-axis in Maya before calculating
“vAv2” (Fig. 1; simply changed the x-scale to -1). After the "vav2"
calculation, I also exported the mirrored meshes to enable the further XMALab
steps.
Perhaps such problems could be avoided generally in the future. I assume that the error is due to the use of different segmentation software. Because different programs seem to use different internal coordinate system orientations (left-hand rule vs. right-hand rule) and seem to store this information in the mesh objects. If so, the error might be avoided by "simply" telling XMALab to ignore the absolute x, y, z orientation of the markers and instead use the relative orientation of the markers to one another - to calculate how a mesh needs to be placed on the points that form a rigid body. – Does that make any sense & would that be possible? :)