-
Notifications
You must be signed in to change notification settings - Fork 1
cyan example
Jian Tay edited this page Jan 25, 2022
·
2 revisions
This document will walk you through a full example of using the CyAn toolbox.
- CyAn toolbox installed
- Download example time-lapse image
- In MATLAB, create a new CyTracker object
CT = CyTracker;- Define settings for tracking. In this example, we will set the following:
- Segmentation algorithm: 'brightfield'
- Threshold level: 10
- MaxCellMinDepth: 5
- Channel to segment: 1
CT.ChannelToSegment = 1;
CT.SegMode = 'redSeg';
CT.ThresholdLevel = 10;
CT.MaxCellMinDepth = 5;Start processing
process(CT);A dialog box will pop up allowing you to select an image file. Navigate to where you saved the example image file and double-click it to select.
A second dialog will then open allowing you to select the output directory. Choose a new directory so we can see what files are generated.
By default, the tracking code will produce three files:
- An AVI-file that shows the outline of each cell along with the cell IDs
- A MAT-file that contains the tracked data
- A
settings.txtfile that contains theCyTrackersettings.
Note: Data analysis functions are still in development
-
In MATLAB, create a new
DataAnalyzerobjectDA = DataAnalyzer;
-
Import data
DA = importdata(DA)
- Select the MAT-file