tlevine
16th October 2007, 04:26
I previously posted here (http://neuron2.net/board/viewtopic.php?t=1197).
I've been working on a study analyzing average mousing location as a function of keyboard size. I've videotaped 54 people using two different keyboards and was planning on analyzing the video by manually measuring the location of the frames taken at intervals.
During the trials, the camera was placed directly above the desk, so I realized that I could use motion tracking or "time averaging" (That's the term that Cinelerra uses for laying all of the frames in a clip on top of each other. It seems similar to "blended fields.") to do determine the location of mousing automatically. I've been playing with these effects on Cinelerra, but I haven't been able to get them to work too well as the software is somewhat buggy.
I should be able to use some still image processing tool to analyze the average frames to determine the distribution of mouse locations. It won't be perfect, but it'll be much easier than motion tracking, which wouldn't be perfect either.
A crude version of this process seems rather simple. If I have 600000 frames, I divide the saturation of each one by 600000 and overlay all of the frames. The only more complex feature that I think may be useful is a way of emphasizing certain colors, but I want to try a very crude version first.
I think Avisynth would be appropriate for this, but is there a better way to go about it? Does such a script already exist, or does anyone want to write one? If nobody else does, I suppose I'll learn how to use Avisynth and do it myself, but I've never done any work with video before, so I'd appreciate any suggestions anyone has.
I've attached a paper that explains the project in case anyone's interested. I couldn't get all of the equipment that I wanted, so the methods changed a bit from that paper, but it's mostly what I did. And I'll be sure to mention that Avisynth is awesome when I publish this.
I've been working on a study analyzing average mousing location as a function of keyboard size. I've videotaped 54 people using two different keyboards and was planning on analyzing the video by manually measuring the location of the frames taken at intervals.
During the trials, the camera was placed directly above the desk, so I realized that I could use motion tracking or "time averaging" (That's the term that Cinelerra uses for laying all of the frames in a clip on top of each other. It seems similar to "blended fields.") to do determine the location of mousing automatically. I've been playing with these effects on Cinelerra, but I haven't been able to get them to work too well as the software is somewhat buggy.
I should be able to use some still image processing tool to analyze the average frames to determine the distribution of mouse locations. It won't be perfect, but it'll be much easier than motion tracking, which wouldn't be perfect either.
A crude version of this process seems rather simple. If I have 600000 frames, I divide the saturation of each one by 600000 and overlay all of the frames. The only more complex feature that I think may be useful is a way of emphasizing certain colors, but I want to try a very crude version first.
I think Avisynth would be appropriate for this, but is there a better way to go about it? Does such a script already exist, or does anyone want to write one? If nobody else does, I suppose I'll learn how to use Avisynth and do it myself, but I've never done any work with video before, so I'd appreciate any suggestions anyone has.
I've attached a paper that explains the project in case anyone's interested. I couldn't get all of the equipment that I wanted, so the methods changed a bit from that paper, but it's mostly what I did. And I'll be sure to mention that Avisynth is awesome when I publish this.