Analysis performed for the publication L. Wong BioRxiv 2023 (provisional). A mask of the vesicle structures is performed with an intensity threshold, selected for each channel. This mask is used for the identification of the structure boundaries. The centroid position is calculated, and used for the nearest neightbour calculation.
Written with MATLAB R2023a (9.14). Compatible with MATLAB R2023 (9.14) or supperior. Required MATLAB toolboxes:
- Image Processing Toolbox 11.7
- Statistics and Machine Learning Toolbox 12.5 Usage:
- Download the folder from Github.
- In Matlab, click the folder containing all codes, and right click: Add to folders and subfolders.
- Open the live script
- Follow the instructions of the live script by executing the sections.