Difference between revisions of "Tracker"
(added schematic for calculating angles) |
|||
Line 45: | Line 45: | ||
Direction of motion, velocity and distance are calculated from Time, Position and Orientation in the usual way. | Direction of motion, velocity and distance are calculated from Time, Position and Orientation in the usual way. | ||
− | |||
− | |||
− | |||
==Proposed Technology== | ==Proposed Technology== |
Revision as of 16:50, 16 October 2007
Tracker Program Description
Tracker is a working name for software to track the path of animal movements in experiments.
Source Code and Auto Build
Proposed Functionality
Input:
- Quicktime movies of experiment
Outputs:
- Numeric output
- Instantaneous
- time
- position
- orientation
- Derived
- velocity
- distance
- direction of motion
- measure of wall taxis
- Instantaneous
- Generated Movies
- Extracted data graphic.
- Overlay of extracted data graphic and original video.
Proposed Implementation
Time determined from Quicktime movie time stamps.
Position is average position of blob pixels.
Orientation is average vector from average position to blob pixels. Position and orientation can be used to define oval around body.
Direction of motion, velocity and distance are calculated from Time, Position and Orientation in the usual way.
Proposed Technology
Cocoa application.
Use QuickTime filter to convert video to 2-color B&W via brightness cutoff.
Filter (either QuickTime or after frame extraction) to clip non-experiment portion of video.
Frame-by-frame code to detect blob and calculate position, etc.
Alternative Implementation
Use grayscale instead of B&W. Position, etc would be calculated based on weighted pixels. This would be able to pick up sub-pixel changes and provide smoother, more accurate data.