Skip to content
/ BLITZ Public

Unified system code for running zebrafish operant learning experiment. Including visual stimulus generation (OpenGL), online image processing (OpenCV), video capture (Pylon) and relay control (Serial Comm).

Notifications You must be signed in to change notification settings

young24/BLITZ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to BLITZ (Behavioral Learning In The Zebrafish)

Introduction

BLITZ (Behavioral Learning In The Zebrafish) is a software that allows researchers to train larval zebrafish to associate visual pattern with electric shock in a fully automated way, which is adapted from MindControl (Leifer, A.M., Fang-Yen, C., Gershow, M., Alkema, M., and Samuel A. D.T., "Optogenetic manipulation of neural activity with high spatial resolution in freely moving Caenorhabditis elegans," Nature Methods, Submitted (2010).)

BLITZ processes multiple video streams of freely swimming larveas in real time. As feedback, it presents different visual patterns and give electric shocks to individual fish as user designed. With inputs and outputs in a close loop, researchers can training dozens of fish simultaneously with pre-designed behavioral paradigm in a fully automatic way. Detailed information about fish's position, the type of visual pattern, timing of given electric shocks and other system's state can be recorded in a user-defined way in YAML file, which is a human and computer readable file format. Also the raw video would be saved. The ABLITZER - "Analyzer of BLITZe Result" (MATLAB) produces quantitative analysis figures and formated quantification structure data based on the output from BLITZ.

Authors

BLITZ is written by Wenbin Yang. It is originally a product of the Wen Lab in the Department of Life Science and the HEFEI NATIONAL LABORATORY FOR PHYSICAL SCIENCES AT THE MICROSCALE at University of Science and Technology of China.

License

With the exception of certain libraries in the 3rdPartyLibs/ folder, all of BLITZ is released under the GNU Public License. This means you are free to copy, modify and redistribute this software.

Contact

Please contact Wenbin Yang, bysin7 (at) gmail (dot) com with questions or feedback.

Step by step install With Visual Studio 2017 for Windows 7 64 Bit

  • Install OpenCV 3.0 or later
  • Install OpenGL with GLFW3.0
  • Install Balser Pylon 5
  • Clone the repository to a new empty c++ project in VS2017
  • At the project Property Pages, Set "Character Set" -> "Use UniCode Character Set" and configure all libs and includes with OpenCV, OpenGL and Pylon 5. (More details at their official websites.)
  • Then build and run, you are all set.

About

Unified system code for running zebrafish operant learning experiment. Including visual stimulus generation (OpenGL), online image processing (OpenCV), video capture (Pylon) and relay control (Serial Comm).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published