tracksperanto 3.5.9 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.tm_properties +3 -0
- data/.travis.yml +5 -0
- data/.yardopts +5 -0
- data/Gemfile +1 -31
- data/MIT_LICENSE.txt +1 -1
- data/README.md +5 -5
- data/Rakefile +7 -32
- data/bin/tracksperanto +1 -1
- data/lib/export/base.rb +1 -2
- data/lib/export/boujou.rb +0 -1
- data/lib/export/cosa.rb +0 -1
- data/lib/export/equalizer3.rb +0 -1
- data/lib/export/equalizer4.rb +0 -1
- data/lib/export/flame_stabilizer.rb +0 -1
- data/lib/export/flame_stabilizer_2014.rb +0 -1
- data/lib/export/flame_stabilizer_2014_cornerpin.rb +0 -1
- data/lib/export/flame_stabilizer_cornerpin.rb +0 -1
- data/lib/export/match_mover.rb +0 -1
- data/lib/export/maxscript.rb +0 -1
- data/lib/export/maya_live.rb +0 -1
- data/lib/export/maya_locators.rb +0 -1
- data/lib/export/mux.rb +0 -1
- data/lib/export/nuke_cam_tk_usertracks.rb +1 -2
- data/lib/export/nuke_script.rb +0 -1
- data/lib/export/pfmatchit.rb +0 -1
- data/lib/export/pftrack.rb +0 -1
- data/lib/export/pftrack_5.rb +0 -1
- data/lib/export/ruby.rb +0 -1
- data/lib/export/shake_text.rb +0 -1
- data/lib/export/syntheyes.rb +0 -1
- data/lib/export/xsi.rb +0 -1
- data/lib/import/base.rb +0 -1
- data/lib/import/boujou.rb +0 -1
- data/lib/import/equalizer3.rb +0 -1
- data/lib/import/equalizer4.rb +0 -1
- data/lib/import/flame_stabilizer.rb +0 -1
- data/lib/import/match_mover.rb +0 -1
- data/lib/import/match_mover_rzml.rb +0 -1
- data/lib/import/maya_live.rb +0 -1
- data/lib/import/nuke_script.rb +0 -1
- data/lib/import/pftrack.rb +0 -1
- data/lib/import/shake_grammar/catcher.rb +0 -1
- data/lib/import/shake_grammar/lexer.rb +0 -1
- data/lib/import/shake_script.rb +2 -3
- data/lib/import/shake_text.rb +0 -1
- data/lib/import/syntheyes.rb +0 -1
- data/lib/import/syntheyes_all_tracker_paths.rb +0 -1
- data/lib/pipeline/base.rb +0 -2
- data/lib/tools/base.rb +0 -1
- data/lib/tools/crop.rb +0 -1
- data/lib/tools/flip.rb +0 -1
- data/lib/tools/flop.rb +0 -1
- data/lib/tools/golden.rb +0 -1
- data/lib/tools/length_cutoff.rb +0 -1
- data/lib/tools/lens_disto.rb +0 -1
- data/lib/tools/lerp.rb +0 -1
- data/lib/tools/lint.rb +0 -1
- data/lib/tools/move_to_first.rb +0 -1
- data/lib/tools/pad.rb +0 -1
- data/lib/tools/prefix.rb +0 -1
- data/lib/tools/reformat.rb +0 -1
- data/lib/tools/scaler.rb +0 -1
- data/lib/tools/shift.rb +0 -1
- data/lib/tools/slipper.rb +0 -1
- data/lib/tools/start_trim.rb +0 -1
- data/lib/tracksperanto.rb +1 -2
- data/lib/tracksperanto/blacklist.rb +0 -1
- data/lib/tracksperanto/block_init.rb +2 -4
- data/lib/tracksperanto/buffer_io.rb +0 -1
- data/lib/tracksperanto/casts.rb +0 -1
- data/lib/tracksperanto/const_name.rb +0 -1
- data/lib/tracksperanto/ext_io.rb +0 -1
- data/lib/tracksperanto/format_detector.rb +0 -1
- data/lib/tracksperanto/keyframe.rb +0 -1
- data/lib/tracksperanto/returning.rb +0 -1
- data/lib/tracksperanto/safety.rb +0 -1
- data/lib/tracksperanto/simple_export.rb +0 -1
- data/lib/tracksperanto/tracker.rb +0 -1
- data/lib/tracksperanto/uv_coordinates.rb +3 -4
- data/lib/tracksperanto/version.rb +3 -0
- data/lib/tracksperanto/zip_tuples.rb +0 -1
- data/test/export/README_EXPORT_TESTS.txt +1 -1
- data/test/export/test_ae_export.rb +0 -1
- data/test/export/test_boujou_export.rb +0 -1
- data/test/export/test_equalizer3_export.rb +0 -1
- data/test/export/test_equalizer_export.rb +0 -1
- data/test/export/test_flame_stabilizer_2014_cornerpin_export.rb +0 -1
- data/test/export/test_flame_stabilizer_2014_export.rb +0 -1
- data/test/export/test_flame_stabilizer_cornerpin_export.rb +0 -1
- data/test/export/test_flame_stabilizer_export.rb +0 -1
- data/test/export/test_match_mover_export.rb +0 -1
- data/test/export/test_maxscript.rb +0 -1
- data/test/export/test_maya_live_export.rb +0 -1
- data/test/export/test_maya_locators_export.rb +0 -1
- data/test/export/test_mux.rb +0 -1
- data/test/export/test_nuke_camtracker_export.rb +0 -1
- data/test/export/test_nuke_export.rb +0 -1
- data/test/export/test_pfmatchit_export.rb +0 -1
- data/test/export/test_pftrack5_export.rb +0 -1
- data/test/export/test_pftrack_export.rb +0 -1
- data/test/export/test_ruby_export.rb +0 -1
- data/test/export/test_shake_export.rb +0 -1
- data/test/export/test_syntheyes_export.rb +0 -1
- data/test/export/test_xsi_python_export.rb +0 -1
- data/test/helper.rb +12 -10
- data/test/import/samples/3de_v3/3de_export_v3.txt +2203 -0
- data/test/import/samples/3de_v4/3de_export_cube.txt +726 -0
- data/test/import/samples/3de_v4/FB1880_man_v05.txt +2402 -0
- data/test/import/samples/boujou_features_text/boujou_txt_export.txt +2885 -0
- data/test/import/samples/flame_stabilizer/FlameStab_Cornerpin_CorrectOrder.stabilizer +2758 -0
- data/test/import/samples/flame_stabilizer/FlameStab_Cornerpin_IncorrectOrder.stabilizer +2758 -0
- data/test/import/samples/flame_stabilizer/Flame_Stabilizer_2012.stabilizer +6954 -0
- data/test/import/samples/flame_stabilizer/cornerpin_2012.stabilizer +20958 -0
- data/test/import/samples/flame_stabilizer/flame2010_cornerpin.stabilizer +10792 -0
- data/test/import/samples/flame_stabilizer/flame_2012_another.stabilizer +2290 -0
- data/test/import/samples/flame_stabilizer/fromCombustion_fromMidClip_wSnap.stabilizer +2028 -0
- data/test/import/samples/flame_stabilizer/fromTracksperanto.stabilizer +541 -0
- data/test/import/samples/flame_stabilizer/hugeFlameSetup.stabilizer +263460 -0
- data/test/import/samples/flame_stabilizer/megaTrack.action.3dtrack.stabilizer +29793 -0
- data/test/import/samples/flame_stabilizer/stabilizer_2014_ref_for_reexport.stabilizer +2776 -0
- data/test/import/samples/flame_stabilizer/stabilizer_2014_stp.stabilizer +2536 -0
- data/test/import/samples/match_mover/2dtracks.rz2 +2076 -0
- data/test/import/samples/match_mover/EP_1000_head_trackers_v002.rz2 +935 -0
- data/test/import/samples/match_mover/NonSequentialMatchmoverPoints.rz2 +93306 -0
- data/test/import/samples/match_mover/cha_171_1020_atb_v001.rz2 +238 -0
- data/test/import/samples/match_mover/kipPointsMatchmover.rz2 +523 -0
- data/test/import/samples/match_mover_rzml/md_145_1070_right_t1.rzml +601 -0
- data/test/import/samples/mayalive/mayalive_kipShot.txt +1504 -0
- data/test/import/samples/nuke/018.nk +300 -0
- data/test/import/samples/nuke/45trackers.nk +331 -0
- data/test/import/samples/nuke/A099_L008_0207TW_001_head_R.nk +135 -0
- data/test/import/samples/nuke/cornerpin.nk +11 -0
- data/test/import/samples/nuke/curve-start-with-curve-command.nk +174 -0
- data/test/import/samples/nuke/failing_nuke7_trackers_job_1872.nk +112 -0
- data/test/import/samples/nuke/nuke708_tracker.nk +52 -0
- data/test/import/samples/nuke/nuke7_planar.nk +3143 -0
- data/test/import/samples/nuke/nuke7_tracker_2tracks.nk +116 -0
- data/test/import/samples/nuke/nuke7_transform2d.nk +69 -0
- data/test/import/samples/nuke/nuke8_tracker4_copypastes.nk +53 -0
- data/test/import/samples/nuke/one_tracker_with_break.nk +71 -0
- data/test/import/samples/nuke/one_tracker_with_break_in_grp.nk +91 -0
- data/test/import/samples/nuke/planar.nk +37692 -0
- data/test/import/samples/nuke/reconciles.nk +210 -0
- data/test/import/samples/nuke/sh110_trackers_004_ipad1.nk +56 -0
- data/test/import/samples/nuke/skip_invalid_curve_expressions.nk +62 -0
- data/test/import/samples/nuke/track_nuke8.nk +54 -0
- data/test/import/samples/nuke/tracker4_with_empty_tracks_knob.nk +13005 -0
- data/test/import/samples/nuke/tracker_with_differing_gaps.nk +82 -0
- data/test/import/samples/nuke/tracker_with_repeating_gaps.nk +79 -0
- data/test/import/samples/pfmatchit/pfmatchit_example.2dt +90 -0
- data/test/import/samples/pftrack4/sourcefile_pftrack.2dt +28972 -0
- data/test/import/samples/pftrack5/apft.2dt +164 -0
- data/test/import/samples/pftrack5/empty_trackers.2dt +30 -0
- data/test/import/samples/pftrack5/garage.2dt +79259 -0
- data/test/import/samples/pftrack5/stereo.2dt +21073 -0
- data/test/import/samples/shake_script/205_030_shaketrack_v01_pd.shk +379 -0
- data/test/import/samples/shake_script/REDACTED_shake_file.shk +317 -0
- data/test/import/samples/shake_script/cliff_many_stabilize.shk +675 -0
- data/test/import/samples/shake_script/comments_inline_with_args.shk +50 -0
- data/test/import/samples/shake_script/designated_global_range_starting_at_negative_frame.shk +496 -0
- data/test/{subpixel/shake_subpix_v01.shk → import/samples/shake_script/four_tracks_in_one_matchmove.shk} +50 -35
- data/test/import/samples/shake_script/four_tracks_in_one_stabilizer.shk +321 -0
- data/test/import/samples/shake_script/from_matchmover.shk +140 -0
- data/test/import/samples/shake_script/ofx_vardefs.shk +6 -0
- data/test/import/samples/shake_script/oldTrackerNode.shk +5 -0
- data/test/import/samples/shake_script/shake_script_from_boujou.shk +15 -0
- data/test/import/samples/shake_script/shake_tracker_nodes.shk +633 -0
- data/test/import/samples/shake_script/shake_tracker_with_no_anim.shk +6 -0
- data/test/import/samples/shake_script/shake_trackers_with_Nspline.shk +328 -0
- data/test/import/samples/shake_script/stabilize_nodes_with_hermite.shk +330 -0
- data/test/import/samples/shake_script/three_tracks_in_one_stabilizer.shk +320 -0
- data/test/import/samples/shake_script/track.shk +349 -0
- data/test/import/samples/shake_script/two_tracks_in_one_tracker.shk +319 -0
- data/test/import/samples/shake_text/nuke_camtracker.txt +11240 -0
- data/test/import/samples/shake_text/one_shake_tracker.txt +49 -0
- data/test/import/samples/shake_text/one_shake_tracker_from_first.txt +188 -0
- data/test/import/samples/shake_text/two_shake_trackers.txt +78 -0
- data/test/import/samples/syntheyes_2d_paths/cola_plate.txt +507 -0
- data/test/import/samples/syntheyes_2d_paths/flyover2DP_syntheyes.txt +12687 -0
- data/test/import/samples/syntheyes_2d_paths/morePoints_sy2010.txt +752 -0
- data/test/import/samples/syntheyes_2d_paths/one_tracker.txt +49 -0
- data/test/import/samples/syntheyes_2d_paths/shake_tracker_nodes_to_syntheyes.txt +4091 -0
- data/test/import/samples/syntheyes_all_tracker_paths/shot06_2dTracks.txt +6255 -0
- data/test/import/test_3de_import.rb +0 -1
- data/test/import/test_3de_import3.rb +0 -1
- data/test/import/test_boujou_import.rb +0 -1
- data/test/import/test_flame_import.rb +0 -1
- data/test/import/test_match_mover_import.rb +0 -1
- data/test/import/test_match_mover_rzml_import.rb +0 -1
- data/test/import/test_maya_live_import.rb +0 -1
- data/test/import/test_nuke_import.rb +0 -1
- data/test/import/test_pftrack_import.rb +0 -1
- data/test/import/test_shake_catcher.rb +0 -1
- data/test/import/test_shake_lexer.rb +0 -1
- data/test/import/test_shake_script_import.rb +0 -1
- data/test/import/test_shake_text_import.rb +0 -1
- data/test/import/test_syntheyes_all_tracker_paths_import.rb +0 -1
- data/test/import/test_syntheyes_import.rb +0 -1
- data/test/test_blacklist.rb +0 -1
- data/test/test_block_init.rb +0 -1
- data/test/test_buffer_io.rb +0 -1
- data/test/test_casts.rb +2 -3
- data/test/test_cli.rb +0 -1
- data/test/test_const_name.rb +0 -1
- data/test/test_extio.rb +0 -1
- data/test/test_format_detector.rb +0 -1
- data/test/test_keyframe.rb +0 -1
- data/test/test_parameters.rb +0 -1
- data/test/test_pipeline.rb +0 -1
- data/test/test_safety.rb +0 -1
- data/test/test_simple_export.rb +0 -1
- data/test/test_tracker.rb +0 -1
- data/test/test_tracksperanto.rb +0 -1
- data/test/test_uv_coords.rb +0 -1
- data/test/test_yield_non_empty.rb +0 -1
- data/test/test_zip_tuples.rb +0 -1
- data/test/tools/test_crop_middleware.rb +0 -1
- data/test/tools/test_flip_middleware.rb +0 -1
- data/test/tools/test_flop_middleware.rb +0 -1
- data/test/tools/test_golden_middleware.rb +0 -1
- data/test/tools/test_length_cutoff_middleware.rb +0 -1
- data/test/tools/test_lens_middleware.rb +0 -1
- data/test/tools/test_lerp_middleware.rb +0 -1
- data/test/tools/test_lint_middleware.rb +0 -1
- data/test/tools/test_move_to_first_frame_middleware.rb +0 -1
- data/test/tools/test_pad_middleware.rb +0 -1
- data/test/tools/test_prefix.rb +0 -1
- data/test/tools/test_reformat_middleware.rb +0 -1
- data/test/tools/test_scaler_middleware.rb +0 -1
- data/test/tools/test_shift_middleware.rb +0 -1
- data/test/tools/test_slip_middleware.rb +0 -1
- data/test/tools/test_start_trim_middleware.rb +0 -1
- data/tracksperanto.gemspec +53 -276
- metadata +136 -145
- data/test/subpixel/Flame_Smk2013_SubpixSample.stabilizer +0 -310
- data/test/subpixel/julik_pftrack.txt +0 -14
- data/test/subpixel/subpix_import_test.rb +0 -75
- data/test/subpixel/subpixel_grid.ifl +0 -1
- data/test/subpixel/subpixel_grid.sni +0 -0
- data/test/subpixel/subpixel_grid.tif +0 -0
- data/test/subpixel/sy_subpix_2dpaths.txt +0 -4
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
StabilizerFileVersion 5.0
|
|
2
|
-
CreationDate Fri Oct 19 14:18:41 2012
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
NbTrackers 2
|
|
6
|
-
Selected 0
|
|
7
|
-
FrameWidth 720
|
|
8
|
-
FrameHeight 576
|
|
9
|
-
AutoKey yes
|
|
10
|
-
MotionPath yes
|
|
11
|
-
Icons yes
|
|
12
|
-
AutoPan yes
|
|
13
|
-
EditMode 0
|
|
14
|
-
Format 0
|
|
15
|
-
Padding
|
|
16
|
-
Red 0
|
|
17
|
-
Green 0
|
|
18
|
-
Blue 0
|
|
19
|
-
Oversampling no
|
|
20
|
-
Opacity 50
|
|
21
|
-
Zoom 3
|
|
22
|
-
Field no
|
|
23
|
-
Backward no
|
|
24
|
-
Anim
|
|
25
|
-
Channel tracker1/ref/x
|
|
26
|
-
Extrapolation constant
|
|
27
|
-
Value 0.5
|
|
28
|
-
Size 1
|
|
29
|
-
KeyVersion 2
|
|
30
|
-
Key 0
|
|
31
|
-
Frame 1
|
|
32
|
-
Value 0.5
|
|
33
|
-
RHandle_dX 0.25
|
|
34
|
-
RHandle_dY 0
|
|
35
|
-
LHandle_dX -0.25
|
|
36
|
-
LHandle_dY 0
|
|
37
|
-
CurveMode hermite
|
|
38
|
-
CurveOrder constant
|
|
39
|
-
End
|
|
40
|
-
Colour 50 50 50
|
|
41
|
-
End
|
|
42
|
-
Channel tracker1/ref/y
|
|
43
|
-
Extrapolation constant
|
|
44
|
-
Value 0.5
|
|
45
|
-
Size 1
|
|
46
|
-
KeyVersion 2
|
|
47
|
-
Key 0
|
|
48
|
-
Frame 1
|
|
49
|
-
Value 0.5
|
|
50
|
-
RHandle_dX 0.25
|
|
51
|
-
RHandle_dY 0
|
|
52
|
-
LHandle_dX -0.25
|
|
53
|
-
LHandle_dY 0
|
|
54
|
-
CurveMode hermite
|
|
55
|
-
CurveOrder constant
|
|
56
|
-
End
|
|
57
|
-
Colour 50 50 50
|
|
58
|
-
End
|
|
59
|
-
Channel tracker1/ref/width
|
|
60
|
-
Extrapolation constant
|
|
61
|
-
Value 10
|
|
62
|
-
Colour 50 50 50
|
|
63
|
-
End
|
|
64
|
-
Channel tracker1/ref/height
|
|
65
|
-
Extrapolation constant
|
|
66
|
-
Value 10
|
|
67
|
-
Colour 50 50 50
|
|
68
|
-
End
|
|
69
|
-
Channel tracker1/ref/dx
|
|
70
|
-
Extrapolation constant
|
|
71
|
-
Value 0
|
|
72
|
-
Size 2
|
|
73
|
-
KeyVersion 2
|
|
74
|
-
Key 0
|
|
75
|
-
Frame 0
|
|
76
|
-
Value 0
|
|
77
|
-
RHandle_dX 0.333333343
|
|
78
|
-
RHandle_dY 0
|
|
79
|
-
LHandle_dX -0.333333343
|
|
80
|
-
LHandle_dY 0
|
|
81
|
-
ValueLock yes
|
|
82
|
-
DeleteLock yes
|
|
83
|
-
CurveMode hermite
|
|
84
|
-
CurveOrder constant
|
|
85
|
-
End
|
|
86
|
-
Key 1
|
|
87
|
-
Frame 1
|
|
88
|
-
Value 0
|
|
89
|
-
RHandle_dX 0.333333343
|
|
90
|
-
RHandle_dY 0
|
|
91
|
-
LHandle_dX -0.333333343
|
|
92
|
-
LHandle_dY 0
|
|
93
|
-
CurveMode hermite
|
|
94
|
-
CurveOrder constant
|
|
95
|
-
End
|
|
96
|
-
Colour 50 50 50
|
|
97
|
-
End
|
|
98
|
-
Channel tracker1/ref/dy
|
|
99
|
-
Extrapolation constant
|
|
100
|
-
Value 0
|
|
101
|
-
Size 2
|
|
102
|
-
KeyVersion 2
|
|
103
|
-
Key 0
|
|
104
|
-
Frame 0
|
|
105
|
-
Value 0
|
|
106
|
-
RHandle_dX 0.333333343
|
|
107
|
-
RHandle_dY 0
|
|
108
|
-
LHandle_dX -0.333333343
|
|
109
|
-
LHandle_dY 0
|
|
110
|
-
ValueLock yes
|
|
111
|
-
DeleteLock yes
|
|
112
|
-
CurveMode hermite
|
|
113
|
-
CurveOrder constant
|
|
114
|
-
End
|
|
115
|
-
Key 1
|
|
116
|
-
Frame 1
|
|
117
|
-
Value 0
|
|
118
|
-
RHandle_dX 0.333333343
|
|
119
|
-
RHandle_dY 0
|
|
120
|
-
LHandle_dX -0.333333343
|
|
121
|
-
LHandle_dY 0
|
|
122
|
-
CurveMode hermite
|
|
123
|
-
CurveOrder constant
|
|
124
|
-
End
|
|
125
|
-
Colour 50 50 50
|
|
126
|
-
End
|
|
127
|
-
Channel tracker1/track/x
|
|
128
|
-
Extrapolation linear
|
|
129
|
-
Value 360
|
|
130
|
-
Colour 50 50 50
|
|
131
|
-
End
|
|
132
|
-
Channel tracker1/track/y
|
|
133
|
-
Extrapolation linear
|
|
134
|
-
Value 288
|
|
135
|
-
Colour 50 50 50
|
|
136
|
-
End
|
|
137
|
-
Channel tracker1/track/width
|
|
138
|
-
Extrapolation constant
|
|
139
|
-
Value 15
|
|
140
|
-
Colour 50 50 50
|
|
141
|
-
End
|
|
142
|
-
Channel tracker1/track/height
|
|
143
|
-
Extrapolation constant
|
|
144
|
-
Value 15
|
|
145
|
-
Colour 50 50 50
|
|
146
|
-
End
|
|
147
|
-
Channel tracker1/shift/x
|
|
148
|
-
Extrapolation linear
|
|
149
|
-
Value 0
|
|
150
|
-
Size 1
|
|
151
|
-
KeyVersion 2
|
|
152
|
-
Key 0
|
|
153
|
-
Frame 1
|
|
154
|
-
Value 0
|
|
155
|
-
RHandle_dX 0.25
|
|
156
|
-
RHandle_dY 0
|
|
157
|
-
LHandle_dX -0.25
|
|
158
|
-
LHandle_dY 0
|
|
159
|
-
CurveMode hermite
|
|
160
|
-
CurveOrder linear
|
|
161
|
-
End
|
|
162
|
-
Colour 255 0 0
|
|
163
|
-
End
|
|
164
|
-
Channel tracker1/shift/y
|
|
165
|
-
Extrapolation linear
|
|
166
|
-
Value 0
|
|
167
|
-
Size 1
|
|
168
|
-
KeyVersion 2
|
|
169
|
-
Key 0
|
|
170
|
-
Frame 1
|
|
171
|
-
Value 0
|
|
172
|
-
RHandle_dX 0.25
|
|
173
|
-
RHandle_dY 0
|
|
174
|
-
LHandle_dX -0.25
|
|
175
|
-
LHandle_dY 0
|
|
176
|
-
CurveMode hermite
|
|
177
|
-
CurveOrder linear
|
|
178
|
-
End
|
|
179
|
-
Colour 255 0 0
|
|
180
|
-
End
|
|
181
|
-
Channel tracker1/offset/x
|
|
182
|
-
Extrapolation linear
|
|
183
|
-
Value 0
|
|
184
|
-
Colour 50 50 50
|
|
185
|
-
End
|
|
186
|
-
Channel tracker1/offset/y
|
|
187
|
-
Extrapolation linear
|
|
188
|
-
Value 0
|
|
189
|
-
Colour 50 50 50
|
|
190
|
-
End
|
|
191
|
-
Channel tracker2/ref/x
|
|
192
|
-
Extrapolation constant
|
|
193
|
-
Value 360
|
|
194
|
-
Colour 50 50 50
|
|
195
|
-
End
|
|
196
|
-
Channel tracker2/ref/y
|
|
197
|
-
Extrapolation constant
|
|
198
|
-
Value 288
|
|
199
|
-
Colour 50 50 50
|
|
200
|
-
End
|
|
201
|
-
Channel tracker2/ref/width
|
|
202
|
-
Extrapolation constant
|
|
203
|
-
Value 10
|
|
204
|
-
Colour 50 50 50
|
|
205
|
-
End
|
|
206
|
-
Channel tracker2/ref/height
|
|
207
|
-
Extrapolation constant
|
|
208
|
-
Value 10
|
|
209
|
-
Colour 50 50 50
|
|
210
|
-
End
|
|
211
|
-
Channel tracker2/ref/dx
|
|
212
|
-
Extrapolation constant
|
|
213
|
-
Value 0
|
|
214
|
-
Size 1
|
|
215
|
-
KeyVersion 2
|
|
216
|
-
Key 0
|
|
217
|
-
Frame 0
|
|
218
|
-
Value 0
|
|
219
|
-
RHandle_dX 0.25
|
|
220
|
-
RHandle_dY 0
|
|
221
|
-
LHandle_dX -0.25
|
|
222
|
-
LHandle_dY 0
|
|
223
|
-
ValueLock yes
|
|
224
|
-
DeleteLock yes
|
|
225
|
-
CurveMode hermite
|
|
226
|
-
CurveOrder constant
|
|
227
|
-
End
|
|
228
|
-
Colour 50 50 50
|
|
229
|
-
End
|
|
230
|
-
Channel tracker2/ref/dy
|
|
231
|
-
Extrapolation constant
|
|
232
|
-
Value 0
|
|
233
|
-
Size 1
|
|
234
|
-
KeyVersion 2
|
|
235
|
-
Key 0
|
|
236
|
-
Frame 0
|
|
237
|
-
Value 0
|
|
238
|
-
RHandle_dX 0.25
|
|
239
|
-
RHandle_dY 0
|
|
240
|
-
LHandle_dX -0.25
|
|
241
|
-
LHandle_dY 0
|
|
242
|
-
ValueLock yes
|
|
243
|
-
DeleteLock yes
|
|
244
|
-
CurveMode hermite
|
|
245
|
-
CurveOrder constant
|
|
246
|
-
End
|
|
247
|
-
Colour 50 50 50
|
|
248
|
-
End
|
|
249
|
-
Channel tracker2/track/x
|
|
250
|
-
Extrapolation linear
|
|
251
|
-
Value 360
|
|
252
|
-
Colour 50 50 50
|
|
253
|
-
End
|
|
254
|
-
Channel tracker2/track/y
|
|
255
|
-
Extrapolation linear
|
|
256
|
-
Value 288
|
|
257
|
-
Colour 50 50 50
|
|
258
|
-
End
|
|
259
|
-
Channel tracker2/track/width
|
|
260
|
-
Extrapolation constant
|
|
261
|
-
Value 15
|
|
262
|
-
Colour 50 50 50
|
|
263
|
-
End
|
|
264
|
-
Channel tracker2/track/height
|
|
265
|
-
Extrapolation constant
|
|
266
|
-
Value 15
|
|
267
|
-
Colour 50 50 50
|
|
268
|
-
End
|
|
269
|
-
Channel tracker2/shift/x
|
|
270
|
-
Extrapolation linear
|
|
271
|
-
Value 0
|
|
272
|
-
Colour 0 255 0
|
|
273
|
-
End
|
|
274
|
-
Channel tracker2/shift/y
|
|
275
|
-
Extrapolation linear
|
|
276
|
-
Value 0
|
|
277
|
-
Colour 0 255 0
|
|
278
|
-
End
|
|
279
|
-
Channel tracker2/offset/x
|
|
280
|
-
Extrapolation linear
|
|
281
|
-
Value 0
|
|
282
|
-
Colour 50 50 50
|
|
283
|
-
End
|
|
284
|
-
Channel tracker2/offset/y
|
|
285
|
-
Extrapolation linear
|
|
286
|
-
Value 0
|
|
287
|
-
Colour 50 50 50
|
|
288
|
-
End
|
|
289
|
-
ChannelEnd
|
|
290
|
-
Tracker 0
|
|
291
|
-
Active yes
|
|
292
|
-
Colour
|
|
293
|
-
Red 100
|
|
294
|
-
Green 0
|
|
295
|
-
Blue 0
|
|
296
|
-
FixedRef yes
|
|
297
|
-
FixedX no
|
|
298
|
-
FixedY no
|
|
299
|
-
Tolerance 100
|
|
300
|
-
Tracker 1
|
|
301
|
-
Active no
|
|
302
|
-
Colour
|
|
303
|
-
Red 0
|
|
304
|
-
Green 100
|
|
305
|
-
Blue 0
|
|
306
|
-
FixedRef yes
|
|
307
|
-
FixedX no
|
|
308
|
-
FixedY no
|
|
309
|
-
Tolerance 100
|
|
310
|
-
End
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
|
2
|
-
require File.expand_path(File.dirname(__FILE__)) + '/../helper'
|
|
3
|
-
|
|
4
|
-
class SubpixelImportTest < Test::Unit::TestCase
|
|
5
|
-
DELTA = 0.1
|
|
6
|
-
|
|
7
|
-
# We know that the following apps use the edge of the pixel raster as 0:
|
|
8
|
-
# Shake, Flame, 3DE.
|
|
9
|
-
|
|
10
|
-
# In Syntheyes, the coordinates of the corners are effectively at the center of the pixels of the grid.
|
|
11
|
-
# WE NEED to make adjustments to the Syntheyes workflows to account for "on-pixel" coordinates as opposed to "pixel corner"
|
|
12
|
-
def test_parsing_from_syntheyes_2dp
|
|
13
|
-
fixture = File.open(File.dirname(__FILE__) + '/sy_subpix_2dpaths.txt')
|
|
14
|
-
trackers = Tracksperanto::Import::Syntheyes.new(:io => fixture, :width => 720, :height => 576).to_a
|
|
15
|
-
|
|
16
|
-
bl_kf = trackers[2][0]
|
|
17
|
-
assert_in_delta 0.0, bl_kf.abs_x, DELTA
|
|
18
|
-
assert_in_delta 0.0, bl_kf.abs_y, DELTA
|
|
19
|
-
|
|
20
|
-
tr_kf = trackers[3][0]
|
|
21
|
-
assert_in_delta 720.0, tr_kf.abs_x, DELTA
|
|
22
|
-
assert_in_delta 576.0, tr_kf.abs_y, DELTA
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
# In PFTrack the coordinates are shifted by .5 pixels and the 0 coordinate is not at the edge of the pixel raster,
|
|
26
|
-
# but in the middle of the leftmost bottom pixel.
|
|
27
|
-
def test_parsing_from_pftrack
|
|
28
|
-
fixture = File.open(File.dirname(__FILE__) + '/julik_pftrack.txt')
|
|
29
|
-
trackers = Tracksperanto::Import::PFTrack.new(:io => fixture, :width => 720, :height => 576).to_a
|
|
30
|
-
|
|
31
|
-
bl_kf = trackers[0][0]
|
|
32
|
-
assert_in_delta 0.5, bl_kf.abs_x, DELTA
|
|
33
|
-
assert_in_delta 0.5, bl_kf.abs_y, DELTA
|
|
34
|
-
|
|
35
|
-
tr_kf = trackers[1][0]
|
|
36
|
-
assert_in_delta 715.5, tr_kf.abs_x, DELTA
|
|
37
|
-
assert_in_delta 571.514, tr_kf.abs_y, DELTA
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
# Subpixel accuracy is native in Shake.
|
|
41
|
-
# It is therefore IN LINE with the Tracksperanto spec.
|
|
42
|
-
def test_parsing_from_shake_script
|
|
43
|
-
fixture = File.open(File.dirname(__FILE__) + '/shake_subpix_v01.shk')
|
|
44
|
-
|
|
45
|
-
trackers = Tracksperanto::Import::ShakeScript.new(:io => fixture, :width => 720, :height => 576).to_a
|
|
46
|
-
assert_equal 2, trackers.length
|
|
47
|
-
|
|
48
|
-
bl_kf = trackers[0][0]
|
|
49
|
-
assert_in_delta 0.5, bl_kf.abs_x, DELTA
|
|
50
|
-
assert_in_delta 0.5, bl_kf.abs_y, DELTA
|
|
51
|
-
|
|
52
|
-
tr_kf = trackers[1][0]
|
|
53
|
-
assert_in_delta 715.5, tr_kf.abs_x, DELTA
|
|
54
|
-
assert_in_delta 571.514, tr_kf.abs_y, DELTA
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
# Flame DOES allow subpix references, however in Action the coordinates of the first tracked keyframe
|
|
58
|
-
# will be nudged to whole pixels. Which is shit. However we care about the stabilizer data, not about
|
|
59
|
-
# how it gets applied.
|
|
60
|
-
# Subpixel handling in Flame is therefore IN LINE with the Tracksperanto spec.
|
|
61
|
-
def test_from_flame_setup
|
|
62
|
-
fixture = File.open(File.dirname(__FILE__) + '/Flame_Smk2013_SubpixSample.stabilizer')
|
|
63
|
-
t = Tracksperanto::Import::FlameStabilizer.new(:io => fixture).to_a[0]
|
|
64
|
-
first_kf = t[0]
|
|
65
|
-
assert_in_delta 0.5, first_kf.abs_x, DELTA
|
|
66
|
-
assert_in_delta 0.5, first_kf.abs_y, DELTA
|
|
67
|
-
end
|
|
68
|
-
|
|
69
|
-
# Nuke properly computes coordinates off the corner.
|
|
70
|
-
# def test_from_nuke_script
|
|
71
|
-
# fixture = File.open(File.dirname(__FILE__) + '/julik_nuke.nk')
|
|
72
|
-
# t = Tracksperanto::Import::NukeScript.new(:width => 720, :height => 576, :io => fixture).to_a
|
|
73
|
-
# assert_equal 1, t.length, "Should have imported one tracker"
|
|
74
|
-
# end
|
|
75
|
-
end
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/Users/julik/Code/apps/tracksperanto/test/subpixel/subpixel_grid.tif
|
|
Binary file
|
|
Binary file
|