Hi,
that sounds quite interesting. As I understand from what you write, you don't really need to process information about those targets further in the online system, just dump it somewhere and use it to create that video.
My suggestion would be to modify AssociationMap::ClassifyTargets() such that it dumps each target's final score into a text file where it may be picked up by your own program, which might be a Windows script, or a Premiere macro. You might add something like
Code: Select all
ofstream file( "myFileName.txt" );
for( TargetClassification::iterator i = result.begin(); i != result.end(); ++i )
file << i->first->Tag() << "\t" << i->second << "\n";
before line 248 in src/shared/modules/application/stimuli/Association.cpp (r3429).
Operating on targets rather than stimuli, this would cover both the StimulusPresentation, and the P3Speller applications. In the P3Speller, stimuli are rows and columns, while matrix elements are targets; in the StimulusPresentation, stimuli and targets are identical, but you can make them different by defining, e.g. combinations of targets into "Associations" which are then presented as stimuli.
Choosing an absolute threshold would require to modify classifier training such that it outputs classification scores for its training data. You might consider using a clustering algorithm such as k-means to sort scores into "selected" and "non-selected" without referring to an absolute threshold value.
Regards,
Juergen