I'm embarking on changing the default tracker values from 1/64 to 1/2048 for superior trackage, and I've tried 3 different formats in both .h and ui.h folders without luck. Is there some obvious syntax I'm missing?
Cheers!
John
Attempt 1;
nuiDefPCtrlLoc("Tracker.subPixelResolution",8);
Attempt 2; (aka Book suggestion)
nuiPushMenu("Tools");
nuiPushToolBox("Transform");
nuiToolBoxItem("Tracker", Tracker(0, "1", "1/1024", "luminance", 0.75, "use start frame",
0.5, "stop", 1, 1, "v2.0", 0.3, 0.59, 0.11, 0, 10, "track1",
width/2, height/2, 1, width/2-height/30, width/2+height/30,
height/2-height/30, height/2+height/30, width/2-height/15,
width/2+height/15, height/2-height/15, height/2+height/15,
width/2, height/2, 1, 1));
nuiPopToolBox();
nuiPopMenu();
image Tracker(image, const char *trackRange = "1",
const char *subPixelRes = "1/1024", const char * matchSpace = "luminance",
float referenceTolerance = 0.75, const char *referenceBehavior = "use start frame",
float failureTolerance = 0.5, const char *failureBehavior = "stop",
int limitProcessing = 1, float referenceFrame = 1.0,
const char *version = "v2.0",
float redWeight=0.3, float greenWeight=0.59, float blueWeight=0.11,
int preProcess = 0, float blurAmount = 10.0,
.... );