Page 1 of 2
.pt2/.pt3 format specification?
Posted: Mon Jan 14, 2013 2:42 am
by dsc
Hi,
I would like to ask whether NaturalPoint would be willing to provide the specification of the .pt2 and especially .pt3 file format.
The background is the following: I have a large number of tracking errors in my data recorded with Arena 1.7.1, an example of which can be seen in the screenshot below.
This kind of error looks like it should be easy enough to fix automatically, so I would like to write a program that reads the .pt3 data, fixes these errors, and writes a valid .pt3 file again, which I can then load into arena for further processing.
Thank you,
Dietmar

Re: .pt2/.pt3 format specification?
Posted: Fri Jan 18, 2013 1:14 pm
by NaturalPoint - Brent
Dietmar,
We are discussing this internally right now and will get back to you shortly.
Re: .pt2/.pt3 format specification?
Posted: Fri Feb 01, 2013 7:35 am
by hussak
Hi,
I would also be highly interested by this.
Best regards,
Huseyin
Re: .pt2/.pt3 format specification?
Posted: Fri Feb 01, 2013 11:16 am
by NaturalPoint - Brent
At this time we are unable to give out specifications to our proprietary file formats.
-Brent Mason
Re: .pt2/.pt3 format specification?
Posted: Tue Feb 05, 2013 3:13 am
by dsc
That's a pity. Thanks for considering though!
Do you have other suggestions, what one can do whithin ARENA to deal with these kinds of errors?
Settings for trajectorization, or anything else?
Re: .pt2/.pt3 format specification?
Posted: Tue Feb 05, 2013 2:21 pm
by Seth Steiling
If you're looking to batch process your captures, it should be reasonable to handle in MotionBuilder via scripting. You could just export the C3D from Expression and process it in MoBu.
Re: .pt2/.pt3 format specification?
Posted: Wed Feb 06, 2013 2:45 am
by dsc
Yes, that's what I'm doing afterwards anyways. However, as far as correcting the capture data goes, it is very useful to use Expression's feature to project the marker data onto the grayscale video.
I'm also wondering if maybe I'd just need to set some parameters for trajectorization differently. If you have a look at this short video (15 MB):
https://dl.dropbox.com/s/bu3o4s2su45z8g ... s.avi?dl=1
Strange things happen here in the tracking, but if I display the 3D markers only, they look correct. They are "only" confused among each other. I know there is the "swap tracks" tool that one can use after trajectorization, but I didn't succedd in really repairing the data with that. Maybe I'm not using it right.
Does anyone have any suggestions what I could try to get better trajectories out of this data?
Thanks, Dietmar
Re: .pt2/.pt3 format specification?
Posted: Wed Feb 06, 2013 11:10 am
by Seth Steiling
Oh, wow. That's a highly unusual amount of track swapping--especially with the solid marker data you're working with. I'm going to pass this along to one of our developers to examine.
- Seth
Re: .pt2/.pt3 format specification?
Posted: Wed Feb 06, 2013 11:26 am
by Seth Steiling
Dietmar--do you have your source files available to send us? Ideally the .pt2 (instead of .pt3), so we have it pre-labeling.
If so, you can email me at seth[at]naturalpoint[dot]com for FTP instructions.
Re: .pt2/.pt3 format specification?
Posted: Tue Feb 12, 2013 2:26 pm
by Seth Steiling
[quote=dsc]Yes, that's what I'm doing afterwards anyways. However, as far as correcting the capture data goes, it is very useful to use Expression's feature to project the marker data onto the grayscale video.
I'm also wondering if maybe I'd just need to set some parameters for trajectorization differently. If you have a look at this short video (15 MB):
https://dl.dropbox.com/s/bu3o4s2su45z8g ... s.avi?dl=1
Strange things happen here in the tracking, but if I display the 3D markers only, they look correct. They are "only" confused among each other. I know there is the "swap tracks" tool that one can use after trajectorization, but I didn't succedd in really repairing the data with that. Maybe I'm not using it right.
Does anyone have any suggestions what I could try to get better trajectories out of this data?
Thanks, Dietmar[/quote]
Hi Dietmar,
We had a chance to review your data. The problem was primarily due to the face template not aligning toward the actual front direction of the actor. The problems were amplified slightly by the residual setting being a bit too high, which we recommend reducing to 2mm stabilize the 3D points.
You can see how to address these issues here:
http://media.naturalpoint.com/ftp/npupl ... ection.wmv
Here are the steps:
1. Reduce the Residual in the Point Cloud tab to 2mm
2. Select the Rotation button from the toolbar
3. Select the head rigid body by selecting the marker connecting lines for the head
4. Inspect from the top. The z axis (red ring) is pointing off to the side, not exactly aligning with the face orientation. You'll need to adjust the 4 head markers so that the z axis better aligns with nose marker.
5. Hide 3D markers from the Display tab
6. Select the 4 head markers and rotate them to better align the z axis with the nose. In order to see the rotation result, advance one frame and reselect head rigid body. Repeat if necessary.
7. Save the corrected face template.