GithubHelp home page GithubHelp logo

ajuavinett / fly_tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jstaf/fly_tracker

1.0 1.0 2.0 20.57 MB

A MATLAB-based algorithm to track fruit flies in a video.

License: Other

MATLAB 100.00%

fly_tracker's Introduction

fly_tracker

A set of MATLAB algorithms designed to track Drosophila and their larvae without requiring any kind of special hardware (even videos from cellphone cameras will work). The fly tracking algorithms are extremely resilient and are even able to function if the animal doesn't move through the entire video or gets obscured by glare (this would normally kill another tracking algorithm). Data QC and cleaing is performed automatically.

Descriptions of what each script does:

  • flytrack_video.m - Tracks flies from a video. Optimized for fast moving objects like adult flies. Loosely based on FTrack.
  • larva_tracker.m - An alternate video tracking algorithm optimized for slow objects/stuff that barely even moves, like fly larvae.
  • calc_velocity.m - Calculate velocities from a set of position .csvs
  • stackTrace.m - Creates stacked position traces from a set of position .csvs.
  • position_heatmap.m - Make a heatmap of fly positions with the log(probability) of an animal being in a given location.
  • boxPlotter.m - Make a nice box plot of your data with standard error of the mean and individual replicates plotted on top.
  • The other files in this repository are utility functions and debugging tools that come in useful from time to time.

##Examples

Example position trace for an adult fly (the fly starts at the dark blue point and moves to the bright yellow one over the course of the video)

Imgur

Stacked position traces for multiple videos (without offset for initial positions)

Imgur

Heatmap of fly positions across multiple videos (0.2 cm bin size)

Imgur

Fly velocities across multiple videos

Imgur

fly_tracker's People

Contributors

ajuavinett avatar jstaf avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mgadelka bipn145

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.