This software package includes several Matlab scripts and auxiliary functions, which implement the computational algorithms for the framework BNP-Track described in: https://www.nature.com/articles/s41592-024-02349-9
Our code requires Matlab and its Statistics and Machine Learning Toolbox.
You can download our code by cloning the git repository:
git clone https://github.com/LabPresse/BNP-Track.git
Alternatively, GitHub allows users to download a repository as a tarball or zipball. Check here for more details.
- Once BNP-Track is downloaded (and extracted), open Matlab and navigate to the folder containing all source files.
- To get a quick start with GUI, please run
BNP_Track_app
in the Matlab command window. - If finer control is preferred, please open
BNP_track_driver.m
, directly modify the parameters there, then run this file. - Please refer to our manuscript and this documentation for more details.
We are working on the implementation and documentation of BNP-Track. You are highly encouraged to contact us at [email protected] or [email protected] for help! Issues and pull requests are also very much appreciated!
We seek to address issues directly, but this takes time. Therefore, we list some quick workarounds here for these issues.
- Currently, BNP-Track only supports reading image stacks that are already stored as a 3D array in Matlab. However, many users have their frames in the TIFF format. To help import the data, we provide
tiff2mat.m
, which reads an image stack from a TIFF file1. We also offermat2tiff.m
, which is the inverse oftiff2mat.m
.
Footnotes
-
The orientation of an image may be changed when loaded using
tiff2mat.m
. ↩