![]() |
PFTrack Documentation | Python Macro API |
This is the class for manipulating Auto Track nodes in the tracking tree. This class inherits from the generic PyNode class.
void startTracking()
- run the auto-track - equivalent to pressing the "Start Tracking" button in the GUI.
int getTargetNumber()
- returns the number of target feature tracks.
void setTargetNumber(int)
- sets the number of target feature tracks to the specified value.
float getFeatureStrength()
- returns the feature selection strength.
void setFeatureStrength(float)
- sets the feature selection strength to the specified value.
int getMinLength()
- returns the minimum track length.
void setMinLength(int)
- sets the minimum track length to the specified value.
int getSearchWidth()
- returns the horizontal size of the search window.
void setSearchWidth(int)
- sets the horizontal size of the search window.
int getSearchHeight()
- returns the vertical size of the search window.
void setSearchHeight(int)
- sets the vertical size of the search window.
int getRefine()
- returns the sub-pixel refinement flag (0 or 1).
void setRefine(int)
- sets the sub-pixel refinement flag (0 or 1).
int getChannels()
- returns the colour channels as an integer where the value is the combination of:
void setChannels(int)
- sets the colour channels to the specified value.
int getFeatureScale()
- returns the feature selection scale as an integer where the value is:
void setFeatureScale(int)
- sets the feature selection scale to the specified value
int getFeatureTemplate()
- returns the feature template value as an integer where the values is:
void setFeatureTemplate(int)
- sets the feature template value to the specified value.
int getMotionPrediction()
- returns the motion prediction for feature tracking as an integer where the values is:
void setMotionPrediction(int)
- sets the motion prediction for feature tracking to the specified value.
int getFromFrame()
- returns the start frame for tracking.
void setFromFrame(int)
- sets the start frame for tracking to the specified value.
int getToFrame()
- returns the end frame for tracking.
void setToFrame(int)
- sets the end frame for tracking to the specified value.