You will find MATLAB219b (or later) codes to process your images.
If you have an earlier MATLAB version, you cannot use the function "centerCropWindow2d", which is used in the code CroppingImages.m. For tutorial purposes, you can use the cropped images from the folder "CroppedImages1000by1000" to applied the image processing and the post-processing
Pre-processing: CroppingImages
Post-processing: FlocCounter, PlotFlocCounterML_interactions, ContourOverlayImage, Code Descriptions
CroppingImages: This code crops the batch images.
FlocCounter: This code counts flocs using batch images.
PlotFlocCounterML_interactions: This code shows the evolution of each training.
ContourOverlayImage: This code performs a delimitation of the edges of the detected flocs.
Number of images: 80
Number of time series: 2
Series nnumber 1: Odd labels
Series nnumber 2: Even labels
Sampling rate for a single serie:
t1 = 0.5:0.5:10;
t2 = t1(end)+1:1:30;
TimeSample = [t1,t2]';