This work was was accepted for publication in Electronics Letters:
Measuring cellular migration with image processing CC Reyes-Aldasoro, D Biram, GM Tozer, C Kanthou
Electronics Letters 44 (13), 791-793
Input should be a matlab-readable image, the input can be a matlab matrix or the name of the file. For instance if the file "Example.tif" is in the matlab path, it can be read into matlab:
dataIn=imread('Example.tif');
imagesc(dataIn);
colormap(gray)
Or it can be passed as a string
dataIn='Example.tif';
dataIn, either as a string or a matrix, is the only input parameter required for the algorithm of measurement of cell migration:
[Res_stats,Res_colour,Res_gray]=cellMigration(dataIn);
The output arguments are the following: Res_stats, which will contain the minimum, average and maximum distances:
disp(Res_stats)
minimumDist: 268.0765 maxDist: 416.9149 avDist: 324.3023 area: [2x1 double]
The area covered by the wound is stored as number of pixels and as a relative to the total area of the image:
disp(Res_stats.area(1)) disp(Res_stats.area(2))
5855700.1911
The output images will display the original image with the boundaries overlaid:
imagesc(Res_colour);